Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2011 13:35:18 +0200
From:      Manuel Bouyer <bouyer@antioche.eu.org>
To:        Hugo Silva <hugo@barafranca.com>
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
Message-ID:  <20110520113518.GA9031@asim.lip6.fr>
In-Reply-To: <4DB7616F.9060109@barafranca.com>
References:  <4DB7616F.9060109@barafranca.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110520113518.GA9031>