Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2014 15:15:26 -0800
From:      Neel Natu <neelnatu@gmail.com>
To:        William B <william@firstyear.id.au>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: Bhyve crash: Effective AML package length is zero.
Message-ID:  <CAFgRE9F_urvDGyXd=xBnh99Ju%2BG2YOXUFXNGghZ1Er4ra9o6Cg@mail.gmail.com>
In-Reply-To: <20141229093713.53611c11@franky.ipa.blackhats.net.au>
References:  <20141229093713.53611c11@franky.ipa.blackhats.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi William,

On Sun, Dec 28, 2014 at 3:07 PM, William B <william@firstyear.id.au> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Good morning,
>
> I am having an issue with bhyve on my 10-STABLE amd64 system.
>
> When running the following:
>
> /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.

best
Neel

> I recieve the following:
>
> /tmp/bhyve.1f9VBHc     84:       Name (PPRT, Package ()
> Remark   2095 - Effective AML package length is zero ^
>
> vm exit[0]
>         reason          VMX
>         rip             0xffffffff802db5c0
>         inst_length     3
>         status          0
>         exit_reason     48
>         qualification   0x0000000000000184
>         inst_type               0
>         inst_error              0
>
>
> When inserted into gdb I see the following output from bt:
>
> #0  0x000000080110a6ca in thr_kill () from /lib/libc.so.7
> #1  0x00000008011df149 in abort () from /lib/libc.so.7
> #2  0x00000000004099f1 in vm_loop (ctx=0x801c160c0, vcpu=0, rip=18446744071565063616) at /usr/src/usr.sbin/bhyve/bhyverun.c:608
> #3  0x000000000040806b in fbsdrun_start_thread (param=0x838600) at /usr/src/usr.sbin/bhyve/bhyverun.c:245
> #4  0x0000000800e814f5 in pthread_create () from /lib/libthr.so.3
> #5  0x0000000000000000 in ?? ()
>
>
> I am happy to debug this further if needed. Any other advice would be appreciated.
>
> I am offlist, so please include me in replies.
>
> Note the -Y is due to mptable errors when I run without it. "mptable requires mapped mem".
>
> hw.machine: amd64
> hw.model: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz
> hw.ncpu: 4
> hw.machine_arch: amd64
>
>
> - --
> Sincerely,
>
> William Brown
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBAgAGBQJUoI0hAAoJEO/EFteBqAmaBvIP/0rds9YwAfWJoRKX89o7tsf/
> Gka/oIy5NdazWqjt0nNQCv3bB9xvotSCcolDGyLjmDCh0N7y2hWatWyostCTL85L
> ZBtxkbiPOSuwm0BbVmBXfjvIZnYciwk9jTcPVYKMW78IwcWfz0hWu6fzLe7psmRR
> tfhW8mam1ZyZIcPgroXH+TSRllmYdTV9IJK2pGZuUPTjoWHNfNMvejn2R1+3fgZj
> 4yaj7aLnhY+Y+R8JldKOuMfNvIZAV/TF7SKxl1chbE2VuYee/RJr90de/1k+iP4q
> 4kpkdoNxhP2Xk65RbaIFJHs7JES1XE8oYjxCD2XxR1sZfyva9tZhK/2nVinVmyKc
> za1day5CzqOGHPiAW/u18B4Qg55+nwthCWsIE5tb0+/USm+ea1/mVlXN2gK6IPqJ
> d/tVuBpm+N9liTyFdEDGarR2gYayqOc3Xo9KbIX6CXUuXbVgmovLgs0hRGMhdwDP
> AgT/XcgXt91kwkGWrUCSdd74VQt0RP+qpoqxz4fqiLjBg6MuZqkDLlUx8MjjSPRT
> +EG0gbJKXq14+Vir7utBFaOanVYvYAXgsc5V0Pnihbukcf6a3knt0nH0YfWwDRjT
> Qiydm1/Fnw1IZLZ1dNR1lYeXoPVfQCTE99tTKNsMhW+mbr+6h5QrzGHALd4qSkba
> qisg8VXJnKZUaK+qUHvm
> =ETzm
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFgRE9F_urvDGyXd=xBnh99Ju%2BG2YOXUFXNGghZ1Er4ra9o6Cg>