From owner-freebsd-xen@FreeBSD.ORG Fri May 20 11:35:25 2011 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3B10106566B for ; Fri, 20 May 2011 11:35:24 +0000 (UTC) (envelope-from bouyer@asim.lip6.fr) Received: from osiris.lip6.fr (osiris.lip6.fr [IPv6:2001:660:3302:283c::1e]) by mx1.freebsd.org (Postfix) with ESMTP id 669C38FC1E for ; Fri, 20 May 2011 11:35:24 +0000 (UTC) Received: from antioche.lip6.fr (antioche.ipv6.lip6.fr [IPv6:2001:660:3302:282a:204:75ff:fe9f:9e11]) by osiris.lip6.fr (8.14.4/lip6) with ESMTP id p4KBZJnG025321 ; Fri, 20 May 2011 13:35:20 +0200 (CEST) X-pt: osiris.lip6.fr Received: from armandeche.soc.lip6.fr (armandeche.lip6.fr [132.227.63.133]) by antioche.lip6.fr (8.14.4/8.12.11) with ESMTP id p4KBZJFg015193; Fri, 20 May 2011 13:35:19 +0200 (MEST) Received: by armandeche.soc.lip6.fr (Postfix, from userid 20331) id F164534A9C; Fri, 20 May 2011 13:35:18 +0200 (MEST) Date: Fri, 20 May 2011 13:35:18 +0200 From: Manuel Bouyer To: Hugo Silva Message-ID: <20110520113518.GA9031@asim.lip6.fr> References: <4DB7616F.9060109@barafranca.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DB7616F.9060109@barafranca.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.2.6 (osiris.lip6.fr [IPv6:2001:660:3302:283c::1e]); Fri, 20 May 2011 13:35:20 +0200 (CEST) X-Scanned-By: MIMEDefang 2.71 on IPv6:2001:660:3302:283c::1e Cc: freebsd-xen@freebsd.org, port-xen@NetBSD.org Subject: Re: FreeBSD HVM+PV boot hangs with phy: run_interrupt_driven_hooks: still waiting after 60 seconds for xenbusb_nop_confighook_cb X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 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, 20 May 2011 11:35:25 -0000 On Wed, Apr 27, 2011 at 01:21:03AM +0100, Hugo Silva wrote: > Hello, > > Just as the subject says. > > dom0 is NetBSD 5.99.49/Xen 3.3.2 and domU is FreeBSD 8.2-STABLE (same > happens with -RELEASE). I tried to boot a FreeBSD 8.2-RELEASE on both Xen 3.3 and 4.1, the HVMPV kernel dies with a panic in the netfront driver (the panic is "do something smart"). I got 2 sightly different console output; one being clearly that it couldn't read the mac address (I suspect it's trying to read it from the wrong xenstore path), I guess the other case is that it can't get allocate a grant ref. > > If I create a FreeBSD VM and use file:, XENHVM will boot to completion. > > If I vnconfig that same file, then it will hang. On lvm storage it will > also hang. > > So it seems to be related to using phy:. It could be because with file:, the backend driver uses a vnd device attached to the file while qemu-dm opens the file directly. In the phy: case, both qemu-dm and the backend driver wants to open the device, and this may be denied by the kernel. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --