FreeBSD HVM+PV boot hangs with phy: run_interrupt_driven_hooks: still waiting after 60 seconds for xenbusb_nop_confighook_cb

Manuel Bouyer bouyer at
Fri May 20 11:35:25 UTC 2011

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 at>
     NetBSD: 26 ans d'experience feront toujours la difference

More information about the freebsd-xen mailing list