svn commit: r293414 - in head/sys/boot: i386/loader userboot/userboot

Florian Smeets flo at smeets.xyz
Fri Jan 8 16:01:35 UTC 2016


On 08.01.16 16:29, Allan Jude wrote:
>>
>> this commit causes bhyveload to segfault for me. After reverting this
>> commit and reinstalling userboot.so I can successfully start byhve VMs
>> again.
>>
>> My bhyves use a zvol as backingstore, this is how I start them
>>
>> /usr/share/examples/bhyve/vmrun.sh -d /dev/zvol/zroot/bhyve/xxx -t tap0
>> -c 1 xxx
>>
> 
> I am not seeing this crash on my system. Do you have any other
> information? Like a backtrace or something?
> 

Yes, sure.

(gdb) where
#0  0x00000009c1c35f10 in strrchr () from /boot/userboot.so
#1  0x00000009c1c0e8ec in loader_main (cb=<value optimized out>,
arg=<value optimized out>, version=<value optimized out>, ndisks=<value
optimized out>)
    at /usr/src/sys/boot/userboot/userboot/main.c:219
#2  0x0000000000401c09 in main (argc=<value optimized out>, argv=<value
optimized out>) at /usr/src/usr.sbin/bhyveload/bhyveload.c:768

FWIW, the VMs use UFS for boot/root, maybe the disk layout will help you?

# gpart show
=>      40  83886000  vtbd0  GPT  (40G)
        40       128      1  freebsd-boot  (64K)
       168  81788720      2  freebsd-ufs  (39G)
  81788888   2097152         - free -  (1.0G)

HTH,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20160108/9f167c30/attachment.sig>


More information about the svn-src-head mailing list