From owner-freebsd-xen@freebsd.org Mon Aug 21 17:56:57 2017 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83749DEB4C0 for ; Mon, 21 Aug 2017 17:56:57 +0000 (UTC) (envelope-from james@pacehouse.com) Received: from mail-wr0-x22c.google.com (mail-wr0-x22c.google.com [IPv6:2a00:1450:400c:c0c::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2380F7E2FC for ; Mon, 21 Aug 2017 17:56:56 +0000 (UTC) (envelope-from james@pacehouse.com) Received: by mail-wr0-x22c.google.com with SMTP id z91so103928427wrc.4 for ; Mon, 21 Aug 2017 10:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacehouse.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=4b/PSVRcduU0GNftPhsfkDl9/CqpB3dkdTi1A5l2X90=; b=C1oB1Zv4UQahKQJCyc/SPCdUaCzx7FrFzLw6ipMlths3kjdtIUm8PLpJG/SBBZvVMI wOdC6Wez9naB7ftxL3YORFUdcf2gW6Ed9k9gaSQLonUUgkyjK0a6Ewvkm4rDiIBljZ/r R9RlIxIJKaIP1DIMN32K5aDqon2xXM75mvpLA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=4b/PSVRcduU0GNftPhsfkDl9/CqpB3dkdTi1A5l2X90=; b=ej62vITUdZqU3SLLYzIb52lEG8Tmjv9nEXsX5zgHuiTKgWSaaxRmlNOUOM7YoFeFYg MH4TSadhqE/l/vFjSxTBrujDgY5D92v/WryDpu+jfqbjgXsNawFPNPPYJDpsxXR3cKNx yo52wDqXcDsLLyBz7Rmsbg6I8U5+LnqEeZSsVHWC1GrmuB/0JiZtUAdgb52yMqr5LlnI /YRoWVNKg/NqB9HcIELlRjS4xo4Mnewr5KQ9hCyqgFZ3uWkiJjM33Y936NtOSYPBG0Hn y5RUeRZy+/8875z5DdPm9vAGHePqnTXpD05iXn1QvO80h+s1SlD2WWmalOYYMisDzQI7 MB/w== X-Gm-Message-State: AHYfb5g7KUqA/ahwasqiB2zwZAIeLzZSGH1MrSL2tpJrNTrYkyL7vdGx +ABdFgB81cV64KldjWesYR4s0imDyrbX29Q= X-Received: by 10.28.226.214 with SMTP id z205mr17659wmg.166.1503338214476; Mon, 21 Aug 2017 10:56:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.135.2 with HTTP; Mon, 21 Aug 2017 10:56:33 -0700 (PDT) In-Reply-To: References: From: "James E. Pace" Date: Mon, 21 Aug 2017 10:56:33 -0700 Message-ID: Subject: Fwd: FreeBSD 11.1 xen trying to create linux domU instance To: freebsd-xen@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2017 17:56:57 -0000 Hi, I have a couple questions about running xen with FreeBSD 11.1 (amd64) as Dom0. I am pretty new to this whole concept, so it is very likely I am not understanding something. First, each time I boot the (physical) system, I have to tell the FreeBSD boot loader to turn on xen. (That is, hit 6 to set options, then 7 to enable xen, then 1 to return to the main menu, then 1 to boot). Is there a way to make this the default behavior? Second, I want to create a Linux domU instance. I have been successful in getting a FreeBSD 11.1 domU running, but changing that config file to use a Linux CD doesn't boot (or crashes on boot?). I've tried a couple linux distributions with similar results. Here's my xen config file: builder = "hvm" name = "xen-ubuntu" memory = 1024 vcpus = 1 vif = [ 'bridge=bridge0' ] disk = [ '/dev/zvol/pool/xen-ubuntu,,hda,rw', '/pool/Downloads/ubuntu-15.10-desktop-amd64.iso,raw,hdc:cdrom,r' ] vnc = 1 vnclisten = "0.0.0.0" serial = "pty" I created the backing filesystem with: zfs create -V20G -o volmode=dev pool/xen-ubuntu "xl create foo.cfg" returns fine, and "xl list" shows the instance, but the running instance (via vncviewer) eventually spits out: 4.130084] vbd vbd-5632: 19 xenbus_dev_probe on device/vbd/5632 4.130956] vbd vbd-5632: failed to write error node for device device/vbd/5632 (19 xenbus_dev_probe on device/vbd/5632) I suspect the linux kernel isn't booting because it can't figure out something about the zfs volume. But I'm not sure, and I don't know how to work around it. Third, on my DomU FreeBSD guest, I'm trying to set up X / Gnome3. The mouse pointer and the little dot are far apart; that is, the mouse isn't tracking my movements well. I found several suggestions to add "usbdevice=tablet" to the config file, but that caused it to not respond to my mouse at all. Suggestions? Thanks for help, tips, or pointers to info! James -- James E. Pace