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 From owner-freebsd-xen@freebsd.org Mon Aug 21 19:46:25 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 C9582DCB8E2 for ; Mon, 21 Aug 2017 19:46:25 +0000 (UTC) (envelope-from syd.meyer@gmail.com) Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (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 5897681EF4 for ; Mon, 21 Aug 2017 19:46:25 +0000 (UTC) (envelope-from syd.meyer@gmail.com) Received: by mail-wr0-x242.google.com with SMTP id f8so14133446wrf.3 for ; Mon, 21 Aug 2017 12:46:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=YUSiUYP2DYDYhVxrtKopmGYqtyrx9txw9DPKhWE8tHE=; b=kk2yZJbxX8fq35ynKEVUGjk9OQoqM4dgHbTIfT0HJG5gPKWilHJjqKVG1UPUrOCOuY Zrk2R18V739UFCvkFnFq+S4x9uc2kxt6tTcaDxwf5MdoZAveb9cvUlijALt9XUbG4DpN RKNbESLXBk9dfm6gKBzPPgjbfkHgTsbuKHZ5wh5fPWY/PNGa86dCqV7/zJA/Whp7nRTv PHAi1rUNihLR0180EznIwiCZWZNTtnd4yBAXipM/tz/ns68Lkg1RQPGD9QnDmRreQiYz QcMr/ZhN3qg/Xs3mIll6WRxxKRaD4WP8sMBs+eBkSrHx0kmeQfhUslbHo9Ad/H/5Yfs/ H8jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=YUSiUYP2DYDYhVxrtKopmGYqtyrx9txw9DPKhWE8tHE=; b=GCnOvAxXUhFx/3MVipxkjyF2BljIRdQEjr1nK4RHT/fxhWDHCteNeCBHan/KJNItCW Kei1M6Ms8LyHsz6HR7u7WSz92igYc1CZGuJLNIIDrBNxOaobJcJx+dxF8eLH7V15J/nK s/0CbteDM9gaBBqlrPzR/cQay6wwV9Qj77rKwxFlIMZyiGkLiQvbJA/SutY8dn5KuMMs FJ8B1nhDIHEghcoxsDW2acBE3mYjv+ev1wskZuvj0/g2bPu+IoHPBs3IW4qM4LZSlJpO Hl4bF8qt0802hEtWvoSTrsd1V4W5B9A2XABq6qMY31ebFLc5jPRP6kTusgIj7p5NMo+P GyEQ== X-Gm-Message-State: AHYfb5j4qoLCMmdO9IBihtoDRV3ov3yeX+P+BfiDTbU1XBtgYIPFkGm2 mpfxqsYHcZ7+LKLK2ss= X-Received: by 10.223.171.184 with SMTP id s53mr10802941wrc.75.1503344783267; Mon, 21 Aug 2017 12:46:23 -0700 (PDT) Received: from ?IPv6:2a02:a03f:a0a:6001:31d0:d0b6:c584:4368? ([2a02:a03f:a0a:6001:31d0:d0b6:c584:4368]) by smtp.gmail.com with ESMTPSA id l131sm10055354wmb.5.2017.08.21.12.46.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2017 12:46:22 -0700 (PDT) From: Sydney Meyer Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: FreeBSD 11.1 xen trying to create linux domU instance Date: Mon, 21 Aug 2017 21:46:21 +0200 References: To: freebsd-xen@freebsd.org In-Reply-To: Message-Id: <858A997A-AAAE-41BA-B372-C59982880D9A@gmail.com> X-Mailer: Apple Mail (2.3273) 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 19:46:25 -0000 You can change the default kernel by adding "kernel=3Dnewkernel", or = perhaps "kernel=3Dxen" in your case, to the /boot/loader.conf.local = file. Is there perhaps a "raw" missing in your linux guest cfg at the line = where you define the zvol? Also, can you try putting the tablet in the line "usbdevice=3Dtablet" in = quotes like "usbdevice =3D "tablet"".. Sydney =20 > On 21. Aug 2017, at 19:56, James E. Pace wrote: >=20 > Hi, >=20 > 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. >=20 > 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? >=20 >=20 > 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. >=20 > Here's my xen config file: >=20 > builder =3D "hvm" > name =3D "xen-ubuntu" > memory =3D 1024 > vcpus =3D 1 > vif =3D [ 'bridge=3Dbridge0' ] > disk =3D [ > '/dev/zvol/pool/xen-ubuntu,,hda,rw', > '/pool/Downloads/ubuntu-15.10-desktop-amd64.iso,raw,hdc:cdrom,r' > ] > vnc =3D 1 > vnclisten =3D "0.0.0.0" > serial =3D "pty" >=20 > I created the backing filesystem with: > zfs create -V20G -o volmode=3Ddev pool/xen-ubuntu >=20 > "xl create foo.cfg" returns fine, and "xl list" shows the instance, = but the > running instance (via vncviewer) eventually spits out: >=20 > 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) >=20 > 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. >=20 >=20 > 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=3Dtablet" to the config file, but that caused it to not = respond to > my mouse at all. Suggestions? >=20 > Thanks for help, tips, or pointers to info! >=20 > James > --=20 > James E. Pace > _______________________________________________ > freebsd-xen@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" From owner-freebsd-xen@freebsd.org Tue Aug 22 08:12:20 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 B45A9DD74E9 for ; Tue, 22 Aug 2017 08:12:20 +0000 (UTC) (envelope-from prvs=400f1e73e=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.ctxuk.citrix.com [185.25.65.24]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 86E0777286 for ; Tue, 22 Aug 2017 08:12:18 +0000 (UTC) (envelope-from prvs=400f1e73e=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.41,411,1498521600"; d="scan'208";a="51337163" Date: Tue, 22 Aug 2017 09:11:03 +0100 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: "James E. Pace" CC: Subject: Re: Fwd: FreeBSD 11.1 xen trying to create linux domU instance Message-ID: <20170822081103.juauywgrjximcv2y@MacBook-Pro-de-Roger.local> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170714 (1.8.3) X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) 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: Tue, 22 Aug 2017 08:12:20 -0000 On Mon, Aug 21, 2017 at 10:56:33AM -0700, James E. Pace wrote: > 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? Yes, you need to add the following to /boot/loader.conf: xen_kernel="/boot/xen" You can also set xen_cmdline if you want/need to pass any extra command line arguments to Xen. > > 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', ^ try adding raw here. > '/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) It seems like the disk is failing to attach AFAICT. Try adding raw as suggested above. > > 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? This should be: usbdevice=['tablet'] Roger. From owner-freebsd-xen@freebsd.org Tue Aug 22 16:52:10 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 0AC67DD4070 for ; Tue, 22 Aug 2017 16:52:10 +0000 (UTC) (envelope-from james@pacehouse.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 A8BF46B3F5 for ; Tue, 22 Aug 2017 16:52:09 +0000 (UTC) (envelope-from james@pacehouse.com) Received: by mail-wm0-x22f.google.com with SMTP id b189so2211825wmd.0 for ; Tue, 22 Aug 2017 09:52:09 -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 :cc; bh=wg/lAfBlRKFAknMVEV2pdRrUB8ilPdyE5vxkvYR5k9g=; b=IzwKF9bJHozduuSSe5paDA1k/VGARA7JVwB98bX5e9FmXBbBPpHIEQpdmdIASks7eO aQnBorw2vedcA0wm69wQj9XzycbgFkMSY9R7BmOxM6KowHxXJTif+O9rZzmF5yj8GWLS UASZajvNWpA3zXMEOSyyiAJtWw8g90MgX9MOo= 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:cc; bh=wg/lAfBlRKFAknMVEV2pdRrUB8ilPdyE5vxkvYR5k9g=; b=Wc3ax6rgZKJFbU+7bqmV3EPHZt9sY8r11d1XUoOrgMKLjHeOCLQseYzq7O2ljlyzPM KyXmZhtZJBSo+nlPi+NqsXTT8yNk8AVPzYCIdJpiGt3vDNzs+yVHUVKDURqqan4fQSbf W8fiBSh+FUftTtKq3+6pvo6h1DJja6MOoX+ZuDGDdZC2dkBcXN/abZ+kH1Xzpukr9v4I DCRK3iAVchraPgvq5W9USWgggN9P+rEH3FZ59VnSN1PqnuhzzUR6NRDRudL9ajyxsDNJ nZZcc3eZMxLjk/c/7wJoucNifLnI7zi2rmrX0/dgqV4Bma9LPN4TZtzyDs3pt5Q/pKkP w9tw== X-Gm-Message-State: AHYfb5jgI47a4WPOa/fqmfP/+uGnAIpOVKHJFsX774dXwcoY/6R4kOrr iUsnIWcgOf3pMaJOQz+z8jviThROUSSF X-Received: by 10.28.9.13 with SMTP id 13mr156463wmj.78.1503420727798; Tue, 22 Aug 2017 09:52:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.135.2 with HTTP; Tue, 22 Aug 2017 09:51:47 -0700 (PDT) In-Reply-To: <20170822081103.juauywgrjximcv2y@MacBook-Pro-de-Roger.local> References: <20170822081103.juauywgrjximcv2y@MacBook-Pro-de-Roger.local> From: "James E. Pace" Date: Tue, 22 Aug 2017 09:51:47 -0700 Message-ID: Subject: Re: Fwd: FreeBSD 11.1 xen trying to create linux domU instance To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Cc: freebsd-xen@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Tue, 22 Aug 2017 16:52:10 -0000 Thank you for the responses; I appreciate the help. On Tue, Aug 22, 2017 at 1:11 AM, Roger Pau Monn=C3=A9 > wrote: > >> On Mon, Aug 21, 2017 at 10:56:33AM -0700, James E. Pace wrote: >> > > > First, each time I boot the (physical) system, I have to tell the FreeB= SD >> > 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? >> >> Yes, you need to add the following to /boot/loader.conf: >> >> xen_kernel=3D"/boot/xen" >> > I have already added this to loader.conf, as suggested in the FreeBSD handbook section on Xen, which I followed. I figure this allows the possibility of booting xen, but doesn't make it the default? [Deleted info about not booting Linux. I added 'raw' for the zfs filesystem as hda and that didn't change anything. However, after leaving it for hours, it appears that the domU got further in the boot process. Investigation continues.] > > 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=3Dtablet" to the config file, but that caused it to not >> respond to >> > my mouse at all. Suggestions? >> >> This should be: >> >> usbdevice=3D['tablet'] >> > This didn't change the behavior; mouse still does not move. Any other thoughts? Thank you, James --=20 James E. Pace From owner-freebsd-xen@freebsd.org Wed Aug 23 10:15:21 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 C4DC8DE315E for ; Wed, 23 Aug 2017 10:15:21 +0000 (UTC) (envelope-from s-50x39emov1g53dsw5tprzjck7b1baysrcm37p3ccw61fltw10fwugpyd@bounce.linkedin.com) Received: from maile-hc.linkedin.com (maile-hc.linkedin.com [IPv6:2620:119:50c0:207::203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.linkedin.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F6D369F61 for ; Wed, 23 Aug 2017 10:15:21 +0000 (UTC) (envelope-from s-50x39emov1g53dsw5tprzjck7b1baysrcm37p3ccw61fltw10fwugpyd@bounce.linkedin.com) From: Mohnish Nagpal Message-ID: <248366847.6621855.1503483311247.JavaMail.app@lsg1-app1020.prod.linkedin.com> Subject: Hi from Mohnish MIME-Version: 1.0 To: Date: Wed, 23 Aug 2017 10:15:11 +0000 (UTC) X-LinkedIn-Class: INVITE-GUEST X-LinkedIn-Template: invite_guest X-LinkedIn-fbl: m2-at00jt68u5zxbdgs5s0dvlhcdoza8x3qhk9ca0s17aszavhx7t115jvxj66x7bbjrdlddv9pmvlbjdivzwah0thro3gjsir1os94xk X-LinkedIn-Id: mcbmkn-j6ov5319-jk Feedback-ID: invite_guest:linkedin Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Wed, 23 Aug 2017 10:15:21 -0000 Hey, Discover high quality jobs and connect with recruiters on LinkedIn. -=C2=A0Mohnish Accept invite: https://www.linkedin.com/comm/start/accept-invitation?shared= Key=3D31CfNflt&invitationId=3D6306060954593529875&trk=3Deml-invite_guest-in= vite_guest-32-india_a&trkEmail=3Deml-invite_guest-invite_guest-32-india_a-n= ull-mcbmkn%7Ej6ov5319%7Ejk-ssuw-start%7Esignup%7Ewarm&lipi=3Durn%3Ali%3Apag= e%3Aemail_invite_guest%3BdqOjq%2FvKQKW0ZJploMWRBA%3D%3D You received an invitation to connect. LinkedIn will use your email address= to make suggestions to our members in features like People You May Know. U= nsubscribe here: https://www.linkedin.com/e/v2?e=3Dmcbmkn-j6ov5319-jk&t=3Dl= un&midToken=3DAQFmrFVhGEd36Q&ek=3Dinvite_guest&loid=3DAQEGfc8BqHpXlgAAAV4Ol= rQmkzpeIaC0meCMdj-OlDC9QsaSZ2GaBXP7ITQAsqygLF5LqZ4i7YDhx93zuf0Uy5IurpubSUSK= miGRBMflYw&eid=3Dmcbmkn-j6ov5319-jk This email was sent to freebsd-xen@freebsd.org. If you need assistance or have questions, please contact LinkedIn Customer = Service: https://www.linkedin.com/e/v2?e=3Dmcbmkn-j6ov5319-jk&lipi=3Durn%3A= li%3Apage%3Aemail_invite_guest%3BdqOjq%2FvKQKW0ZJploMWRBA%3D%3D&a=3Dcustome= rServiceUrl&ek=3Dinvite_guest =C2=A9 2017 LinkedIn Corporation, 1000 West Maude Avenue, Sunnyvale, CA 940= 85. LinkedIn and the LinkedIn logo are registered trademarks of LinkedIn. From owner-freebsd-xen@freebsd.org Wed Aug 23 14:50:56 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 9CCA6DE8F0B for ; Wed, 23 Aug 2017 14:50:56 +0000 (UTC) (envelope-from prvs=401e59dfb=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [185.25.65.24]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF38873553 for ; Wed, 23 Aug 2017 14:50:55 +0000 (UTC) (envelope-from prvs=401e59dfb=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.41,417,1498521600"; d="scan'208";a="51434592" Date: Wed, 23 Aug 2017 15:49:09 +0100 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: "James E. Pace" CC: Subject: Re: Fwd: FreeBSD 11.1 xen trying to create linux domU instance Message-ID: <20170823144909.l62dzkg7retsidsc@dhcp-3-128.uk.xensource.com> References: <20170822081103.juauywgrjximcv2y@MacBook-Pro-de-Roger.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170714 (1.8.3) X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) 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: Wed, 23 Aug 2017 14:50:56 -0000 On Tue, Aug 22, 2017 at 09:51:47AM -0700, James E. Pace wrote: > Thank you for the responses; I appreciate the help. > > On Tue, Aug 22, 2017 at 1:11 AM, Roger Pau Monné > > wrote: > > > >> On Mon, Aug 21, 2017 at 10:56:33AM -0700, James E. Pace wrote: > >> > > > > > > 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? > >> > >> Yes, you need to add the following to /boot/loader.conf: > >> > >> xen_kernel="/boot/xen" > >> > > > I have already added this to loader.conf, as suggested in the FreeBSD > handbook section on Xen, which I followed. I figure this allows the > possibility of booting xen, but doesn't make it the default? That makes it the default, you don't need to press any key. > [Deleted info about not booting Linux. I added 'raw' for the zfs > filesystem as hda and that didn't change anything. However, after leaving > it for hours, it appears that the domU got further in the boot process. > Investigation continues.] If you paste your guest config file + the serial output I might be able to give you some clues. > > > > 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? > >> > >> This should be: > >> > >> usbdevice=['tablet'] > >> > > > This didn't change the behavior; mouse still does not move. Any other > thoughts? It works for me, weird. Roger. From owner-freebsd-xen@freebsd.org Wed Aug 23 14:57:30 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 46B82DE91DB for ; Wed, 23 Aug 2017 14:57:30 +0000 (UTC) (envelope-from prvs=401e59dfb=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [185.25.65.24]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B801373A19 for ; Wed, 23 Aug 2017 14:57:28 +0000 (UTC) (envelope-from prvs=401e59dfb=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.41,417,1498521600"; d="scan'208";a="51435300" Date: Wed, 23 Aug 2017 15:56:49 +0100 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: "James E. Pace" , Subject: Re: Fwd: FreeBSD 11.1 xen trying to create linux domU instance Message-ID: <20170823145649.dlvqom63qpjkm5jc@dhcp-3-128.uk.xensource.com> References: <20170822081103.juauywgrjximcv2y@MacBook-Pro-de-Roger.local> <20170823144909.l62dzkg7retsidsc@dhcp-3-128.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170823144909.l62dzkg7retsidsc@dhcp-3-128.uk.xensource.com> User-Agent: NeoMutt/20170714 (1.8.3) X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) 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: Wed, 23 Aug 2017 14:57:30 -0000 On Wed, Aug 23, 2017 at 03:49:09PM +0100, Roger Pau Monné wrote: > On Tue, Aug 22, 2017 at 09:51:47AM -0700, James E. Pace wrote: > > >> usbdevice=['tablet'] > > >> > > > > > This didn't change the behavior; mouse still does not move. Any other > > thoughts? > > It works for me, weird. Forgot to mention, I use tiger-vnc [0] on OS X as the client. Roger [0] http://tigervnc.org/ From owner-freebsd-xen@freebsd.org Wed Aug 23 19:51:32 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 C1417DEE002 for ; Wed, 23 Aug 2017 19:51:32 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "saper.info", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 59DD87FFD2 for ; Wed, 23 Aug 2017 19:51:32 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.15.2/8.15.2) with ESMTPS id v7NJpSlE001737 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 23 Aug 2017 19:51:28 GMT (envelope-from saper@saper.info) Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id v7NJpSMN001734; Wed, 23 Aug 2017 19:51:28 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Wed, 23 Aug 2017 19:51:28 +0000 From: Marcin Cieslak To: "James E. Pace" cc: freebsd-xen@freebsd.org Subject: Re: Fwd: FreeBSD 11.1 xen trying to create linux domU instance In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="1563967779-963476565-1503517888=:1673" 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: Wed, 23 Aug 2017 19:51:32 -0000 --1563967779-963476565-1503517888=:1673 Content-Type: text/plain; charset=US-ASCII On Mon, 21 Aug 2017, James E. Pace wrote: > Hi, > > 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. I'am using 11.1-STABLE (r321629) as Xen dom0, running under Xen kernel 4.7.2_3. I have sucessfully started appliances built on oldish RedHat kernels (2.6.32-573.18.1.el6.x86_64) without any problems. For Fedora 25 (4.10.8-200.fc25.x86_64) I had to add xen_platform_pci=0 to the config file to get it running. This still seems to be needed. My disk definition for fedora and the RedHats looks like this: '/dev/zvol/zroot/fedora0,raw,hda,w' (xvda seems to work well in place of "hda" for RHEL and Fedora as well) Marcin --1563967779-963476565-1503517888=:1673 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: BASE64 Content-Description: S/MIME Cryptographic Signature Content-Disposition: attachment; filename=smime.p7s MIIOSwYJKoZIhvcNAQcCoIIOPDCCDjgCAQExDzANBglghkgBZQMEAgEFADAL BgkqhkiG9w0BBwGgggqQMIIElzCCA3+gAwIBAgIOSBtqCKJEiNNcmz3JSA0w DQYJKoZIhvcNAQELBQAwTDEgMB4GA1UECxMXR2xvYmFsU2lnbiBSb290IENB IC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2JhbFNp Z24wHhcNMTYwNjE1MDAwMDAwWhcNMjQwNjE1MDAwMDAwWjBdMQswCQYDVQQG EwJCRTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEzMDEGA1UEAxMqR2xv YmFsU2lnbiBQZXJzb25hbFNpZ24gMSBDQSAtIFNIQTI1NiAtIEczMIIBIjAN BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyrCba00KOKyGuwh9h+/MAcZm ZUF9OxGKA56AADHaDE08rB0WEbgm6J4XvJP3OGQ7cgHdVJu6XMZkRd6EcfjD yRrIwE6oAVWJe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ZisTtv4OXiMzrO7Ow 14TkKrK87qOdvQnOUXSiaLionGOsuAVoDwrSxKsX61jNssJqEF9Q4I/S3Cww m1OuA0E+bgKBS0ti9uXibh1J --1563967779-963476565-1503517888=:1673-- From owner-freebsd-xen@freebsd.org Fri Aug 25 22:50:16 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 7A70DDE30FE for ; Fri, 25 Aug 2017 22:50:16 +0000 (UTC) (envelope-from james@pacehouse.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 2EF5E739AB for ; Fri, 25 Aug 2017 22:50:16 +0000 (UTC) (envelope-from james@pacehouse.com) Received: by mail-wm0-x229.google.com with SMTP id y71so1559601wmd.0 for ; Fri, 25 Aug 2017 15:50:15 -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 :cc; bh=Kmzy5l/p1YIcTEZH1Iqp6s3YaDrqPyutEf+TJVJRUZo=; b=T04C2rD+gMlYU9iu6AzTSzXDnvBJPRKmidFnWn3Cx3rjGivvGUYS/fz6V/JOe8Qkko 0f1kzwjP9OklHIA7yOW3t7frAAKCKYVhFF9zgnLfxvjXYyFviEjKPYc8WwGQr1jCAHg2 Dk0+WdRP8hMQWnQXJv0mBu8fNm7XssO640s7E= 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:cc; bh=Kmzy5l/p1YIcTEZH1Iqp6s3YaDrqPyutEf+TJVJRUZo=; b=YPJ4yZzEo1l0w7IiMLhf5NfyBjp9HKNzONcxc7H2avSqQJZb/OxWLltQhFbYBrJXjn RPcSFTdMoX9RlugE1CT0NjWCiQgOzDzYQ8p1k4d9RfUzrCko0oBspHceYk4755zmnzAV 4cbbeZwU9v5/oy+tEcUcCMrw5h8+g6xwEIDygHBTKvUsriXNgV7i/PZAZSllCxWbS930 yUR2/gmDHMKtLOcc7XnoQ36cj87MIbIvNLO+u1bin51NJSLsWh63Xq3e624fE8i0JyCA UZ4mxyy8+bxnVePslMQFO7aEO03H/JwGBvpOktWnMDywODBjo+94QaS44RfWxjXxvd9l FUGQ== X-Gm-Message-State: AHYfb5gX4av+Vm/oEBmza6+UO7t42JHMjSDimskO4CcZDfLB9YV8O3F0 rBGAahidw43SNf7Od8me++mCx/s1bNrwR4MyrA== X-Received: by 10.28.130.133 with SMTP id e127mr1914wmd.123.1503701414010; Fri, 25 Aug 2017 15:50:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.135.2 with HTTP; Fri, 25 Aug 2017 15:49:53 -0700 (PDT) In-Reply-To: References: From: "James E. Pace" Date: Fri, 25 Aug 2017 15:49:53 -0700 Message-ID: Subject: Re: Fwd: FreeBSD 11.1 xen trying to create linux domU instance To: Marcin Cieslak Cc: 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: Fri, 25 Aug 2017 22:50:16 -0000 Marcin, thank you so much for the "xen_platform_pci=0" config line! That, and using a file instead of a ZFS device, got me up and running. For my future reference, I wrote down the steps I took to getting Linux Mint running as a domU: http://blog.pacehouse.com/2017/08/how-to-run-linux-under-freebsd-111.html I welcome feedback on things I have wrong. JEP -- James E. Pace On Wed, Aug 23, 2017 at 12:51 PM, Marcin Cieslak wrote: > On Mon, 21 Aug 2017, James E. Pace wrote: > > > Hi, > > > > 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. > > I'am using 11.1-STABLE (r321629) as Xen dom0, running under > Xen kernel 4.7.2_3. > > I have sucessfully started appliances built on oldish RedHat kernels > (2.6.32-573.18.1.el6.x86_64) without any problems. > For Fedora 25 (4.10.8-200.fc25.x86_64) I had to add > > xen_platform_pci=0 > > to the config file to get it running. > This still seems to be needed. > > My disk definition for fedora and the RedHats > looks like this: > > '/dev/zvol/zroot/fedora0,raw,hda,w' > > (xvda seems to work well in place of "hda" for RHEL and Fedora > as well) > > Marcin > >