Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2014 23:49:06 +0100
From:      Andrea Brancatelli <abrancatelli@schema31.it>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve machine not starting after upgrading
Message-ID:  <7931E297-104B-4BCA-BA08-D425DE7D85A7@schema31.it>
In-Reply-To: <5452B8D4.4070204@freebsd.org>
References:  <D136FCF3-2BAB-4F9D-B109-792F69BFB47A@schema31.it> <5452B8D4.4070204@freebsd.org>

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

>> 
>> I did some experiments with set currdev and got the kernel loaded but
>> then the machine just hangs.
>> 
>> Please give me some advice :-)
> 
> This was reported by Craig Rodrigues a while back - the email thread is at
> 
> http://docs.freebsd.org/cgi/mid.cgi?CAG=rPVd5OQ1Gw6q-e94Ffnk_zPxkFvjaR5bpOOjMg7j-9AvSdw
> 
> I never got around to implementing the flag to disable ZFS boot, but you may be able to use an alternate workaround. From your manual fix:
> 
> OK set currdev=disk0p2:
> OK set rootdev=disk0p2:
> 
> Env variables can be set from the bhyveload command line using "-e <env>=<value>". Now, I'm not sure that currdev and rootdev can be set that early in the boot, but it's worth a try e.g. add these:
> 
> -e currdev="disk0p2:" -e rootdev="disk0p2:"
> 
> later,

Wait! I think I didn’t make it clear enough: the machine doesn’t boot. After I specify the currdev and rootdev the machine can successfully “load” the kernel but then it all totally freezes at the spinning wheel…

I’ll try with the -e on the command line but I think the problem is a bit beyond that.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7931E297-104B-4BCA-BA08-D425DE7D85A7>