From owner-freebsd-xen@freebsd.org Wed Feb 6 17:40:09 2019 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0647E14DA254 for ; Wed, 6 Feb 2019 17:40:09 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51D86767DC; Wed, 6 Feb 2019 17:40:08 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x16HdlDN046744; Wed, 6 Feb 2019 09:39:47 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x16Hdls7046743; Wed, 6 Feb 2019 09:39:47 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201902061739.x16Hdls7046743@pdx.rh.CN85.dnsmgr.net> Subject: Re: Extend documentation (was: Re: Issue getting my first Xen domU up) In-Reply-To: <20190206171713.asav4wlhkce2m5wq@mac> To: "Roger Pau Monn?" Date: Wed, 6 Feb 2019 09:39:47 -0800 (PST) CC: Benedict Reuschling , freebsd-xen@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 51D86767DC X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.90 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.93)[0.932,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.46)[0.456,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; NEURAL_SPAM_LONG(0.63)[0.631,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.01)[ip: (0.02), ipnet: 69.59.192.0/19(0.01), asn: 13868(-0.02), country: US(-0.07)] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 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, 06 Feb 2019 17:40:09 -0000 > Adding Benedict who wrote the Xen handbook documentation, and > hopefully would be able to fix it :). > > On Tue, Feb 05, 2019 at 08:18:05PM +0000, Marcin Cieslak wrote: > > On Tue, 5 Feb 2019, Eric Bautsch wrote: > > > > > And yes, the qemu-dm-titania.log would have been the place to look. I feel > > > pretty stupid. It says: > > > > Don't feel stupid. I am using Xen with Dom0 on FreeBSD for months now > > and I didn't know where the qemu logs go - I was able to figure out > > the problem by staring at the configuration file for a long time. > > > > Therefore your question was very helpful also for me - thanks! > > It seems there's one piece missing in the handbook which I didn't > realize, the if_tap module needs to be loaded for QEMU to work. > > I suggest the following is added to the handbook: > > ``` > sysrc -f /boot/loader.conf if_tap_load="YES" > ``` > > And then I've also realized the following line: > > ``` > sysrc -f /boot/loader.conf hw.pci.mcfg=0 > ``` > > Is only needed for Xen 4.7, but not for Xen 4.11. > > Finally it might be interesting to add a reference to the location of > the Xen logs. This should likely be added at the end of the document, > I think something along the lines of: > > ``` > Xen toolstack related logs can be found at /var/log/xen/ be sure to > check the contents of that directory if experiencing issues. > ``` Is there a troubleshooting section in the handbook? If not there should be, and this would defanitly be mentioned in that section. > > Sorry to bother you Benedict, but do you think you could make the > following changes? > > Thanks, Roger. -- Rod Grimes rgrimes@freebsd.org