From owner-freebsd-xen@freebsd.org Thu Feb 7 13:00:56 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 A18E414D989E for ; Thu, 7 Feb 2019 13:00:56 +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 CA7C18E8DF; Thu, 7 Feb 2019 13:00:55 +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 x17D0pSn050526; Thu, 7 Feb 2019 05:00:51 -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 x17D0nCd050525; Thu, 7 Feb 2019 05:00:49 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201902071300.x17D0nCd050525@pdx.rh.CN85.dnsmgr.net> Subject: Re: Extend documentation (was: Re: Issue getting my first Xen domU up) In-Reply-To: <20190207114819.uvidsagdiqpwfna2@mac> To: "Roger Pau Monn?" Date: Thu, 7 Feb 2019 05:00:49 -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: CA7C18E8DF X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.56 / 15.00]; ARC_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.90)[0.897,0]; FROM_HAS_DN(0.00)[]; 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.35)[0.351,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.44)[0.435,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: Thu, 07 Feb 2019 13:00:56 -0000 > On Wed, Feb 06, 2019 at 09:39:47AM -0800, Rodney W. Grimes wrote: > > > 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. > > There doesn't seem to be a virtualization troubleshooting section I'm > afraid. I've added something similar to my suggestion above as a tip, > which will make it more visible. There should be a trouble shooting section within the Xen pages of the handbook, and that is where this and other things should probably be placed. How about create sections 21.8.4 Troubleshooting 21.8.4.1 host 21.8.4.2 guest and fill them in with some details. -- Rod Grimes rgrimes@freebsd.org