Bhyve crash: Effective AML package length is zero.

William B william at firstyear.id.au
Mon Dec 29 01:20:14 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 28 Dec 2014 15:15:26 -0800
Neel Natu <neelnatu at gmail.com> wrote:

> Hi William,
> 
> On Sun, Dec 28, 2014 at 3:07 PM, William B <william at firstyear.id.au>
> >
> > /usr/sbin/bhyveload -m 1
> > -d /var/lib/libvirt/images/FreeBSD-10.1-RELEASE-amd64-disc1.iso
> > bhyve /usr/sbin/bhyve -c 1 -m 1 -A -I -H -P -s 0:0,hostbridge -s
> > 2:0,virtio-net,tap0,mac=52:54:00:dc:cd:c5 -s
> > 4:0,ahci-cd,/var/lib/libvirt/images/FreeBSD-10.1-RELEASE-amd64-disc1.iso
> > -s 3:0,ahci-hd,/var/lib/libvirt/images/bhyve_freebsd.img -Y bhyve
> >
> 
> You'll need to give the VM a bit more than 1MB of memory :-)
> 
> I think something like "-m 512" or "-m 1G" will work better.

Ohhh! Haha, what a silly mistake. 

I was trying to use bhyve with libvirt, and using the command:

virsh domxml-to-native --format bhyve-argv --xml ./vm.xml

To see what it was making. Libvirt has configured for 1G of ram, so I guess I shouldn't blindly trust the output that it's creating. This may also be a bug in lbivirt infact for not giving it the correct amount of memory.

Now with:

/usr/sbin/bhyveload -m 1G -d /var/lib/libvirt/images/FreeBSD-10.1-RELEASE-amd64-disc1.iso -c /dev/nmdm0A bhyve
/usr/sbin/bhyve -c 1 -m 1G -A -I -H -P -s 0:0,hostbridge -s 2:0,virtio-net,tap0,mac=52:54:00:dc:cd:c5 -s 4:0,ahci-cd,/var/lib/libvirt/images/FreeBSD-10.1-RELEASE-amd64-disc1.iso -s 3:0,ahci-hd,/var/lib/libvirt/images/bhyve_freebsd.img -Y -l com1,/dev/nmdm0A  bhyve

I get the output of the BSD loader from /dev/nmdm0B correctly. Following that, the bhyve command appears to hang after I recieve:

/tmp/bhyve.OLmK2S8     84:       Name (PPRT, Package ()
Remark   2095 - Effective AML package length is zero ^ 

No data seems to come through /dev/nmdm0B either. I'm sure that once again this is a PEBKAC though, so some tips would be most appreciated.


- -- 
Sincerely,

William Brown

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUoKxHAAoJEO/EFteBqAmaCmAP/3KWb9myeqH/W/aEOaL88BxU
xYLzABzl5ABU/mHarbzPO0AYzjMN9J1ggSQkcjis1r8lPS//y2MGp+fz6WmByIrA
Fd4V7VHuE5RRqtdEtFz2XMahiFwOlOKyoNULLesvW+PAbPykT3ER9hlRgoVbf5Lt
WXk/zgu6D9GH1V3OS1HmUePc00OOEs4gLxudtr/JTCVsLDE0ijJIBd3uYaYC6e3k
qKNjrujxclNq1dhStM9HmfQXnszTMUvUnm2YT/Iaz7IlrvdI+35A9XMHLirhLhND
BUIiUJOnlrTU4dSV1LTEgmo+QG8PvH2eSJsgva59U4LI9PTtjkevchefwHOAcmu5
Z0wksn/uyoUcRU/sA3scoZQDUtpxdLbC5v53MJixWWrGyREcCwDN/WwNNa3yEpQP
erGc72DrYEeCEWpflxUywQvw1FKGg2wM7JJTIx8e0r2VyGbwTli0+9t44R6vO91k
t+gu/ZIb/zOohXSbwzLpJ1YsuAOxl1sP776ytFnLCk8iIocX6fmTrBFNxuZLZLud
WkgBTvt93+wmEEUUrsLJJ8qXpbTufLFV2PBew8gTvgjidoYXCf2HWu7FPE10Fp9O
fOeImqh2rnYQES+kKbhBviuodvrSNtqqiDt8HjOuqb0rI3dDzax5q0YhzQY1J21d
owqVSPlyJTmAETERrrgr
=b7jz
-----END PGP SIGNATURE-----


More information about the freebsd-virtualization mailing list