core dump after centos-6.5 install
Pete Wright
pete at nomadlogic.org
Tue Oct 28 18:47:12 UTC 2014
On 10/28/14 11:41, Allan Jude wrote:
> On 2014-10-28 14:40, Pete Wright wrote:
>>
>>
>> On 10/28/14 11:30, Allan Jude wrote:
>>> On 2014-10-28 14:15, Pete Wright wrote:
>>>> just had bhyve coredump on me and was wondering if anyone else had seen
>>>> this behavior:
>>>>
>>>>> uname -ar
>>>> FreeBSD pop.rubicorp.com 10.1-RC3 FreeBSD 10.1-RC3 #0 r273437: Tue Oct
>>>> 21 23:55:15 UTC 2014
>>>> root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>>>>> pkg info|grep grub2
>>>> grub2-bhyve-0.24 Grub-emu loader for bhyve
>>>>
>>>> I was following the instructions on this page to use grub-bhyve to
>>>> install CentOS-6.5_amd64 on my 10.1-RC3 hypervisor:
>>>> https://www.monkeybrains.net/support/bhyve
>>>>
>>>> The installation went through as expected. I ran grub-bhyve w/o issues,
>>>> then executed the bhyve command and installation proceeded without
>>>> issue. When bhyve exited I re-ran my bhyve command to start my VM
>>>> resulting in this:
>>>>
>>>>
>>>>> sudo /tmp/cmd.sh
>>>> Assertion failed: (error == 0), function fbsdrun_addcpu, file
>>>> /usr/src/usr.sbin/bhyve/bhyverun.c, line 266.
>>>> Abort trap (core dumped)
>>>>
>>>>
>>>> I have run gdb against the resulting core file, but since there are no
>>>> debug symbols in there I don't think it's useful. Please let me know if
>>>> this is a pebkac event, or if I should file a PR.
>>>>
>>>> Thanks!
>>>> -pete
>>>>
>>>
>>> After the first run, before the second, did you bhyvectl --destroy --vm=blah
>>>
>>> and then do the grub-bhyve step again (off the disk instead of the
>>> install image this time)
>>>
>>>
>>
>> Thanks Allan - I misread the instructions on the site - makes sense. I
>> am working through getting centos to boot now. unfortunately the kernel
>> is not named vmlinuz by default IIRC.
>>
>> -pete
>>
>>
>
> If you follow my instructions here:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-host-bhyve.html#virtualization-bhyve-linux
>
> it walks you through using 'ls' in grub to find the correct name of the
> kernel files.
>
>
ah so much fail - not sure why i didn't read the handbook first :( ok i
think i've got this sorted out on my end - thanks for the help/time!
-p
--
Pete Wright
pete at nomadlogic.org
twitter => @nomadlogicLA
More information about the freebsd-virtualization
mailing list