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"