From owner-freebsd-virtualization@FreeBSD.ORG Tue Oct 28 18:47:12 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C99A5BA5 for ; Tue, 28 Oct 2014 18:47:12 +0000 (UTC) Received: from mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9BF39679 for ; Tue, 28 Oct 2014 18:47:12 +0000 (UTC) Received: from mail.nomadlogic.org (localhost [127.0.0.1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.nomadlogic.org (Postfix) with ESMTPS id 6232E125EE1 for ; Tue, 28 Oct 2014 11:47:12 -0700 (PDT) Received: from pop.rubicorp.com (unknown [72.34.113.100]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.nomadlogic.org (Postfix) with ESMTPSA id 55AC9125EBA for ; Tue, 28 Oct 2014 11:47:12 -0700 (PDT) Message-ID: <544FE4B0.4030302@nomadlogic.org> Date: Tue, 28 Oct 2014 11:47:12 -0700 From: Pete Wright User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: core dump after centos-6.5 install References: <544FDD34.7070506@nomadlogic.org> <544FE0D2.4090704@freebsd.org> <544FE307.70200@nomadlogic.org> <544FE35C.4020509@freebsd.org> In-Reply-To: <544FE35C.4020509@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 18:47:12 -0000 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@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@nomadlogic.org twitter => @nomadlogicLA