Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 00:02:09 -0400
From:      Allan Jude <freebsd@allanjude.com>
To:        freebsd-virtualization@freebsd.org
Cc:        Devin Teske <dteske@FreeBSD.org>
Subject:   Re: Three observations on Bhyve
Message-ID:  <526DE1C1.604@allanjude.com>
In-Reply-To: <526A8E95.7090808@freebsd.org>
References:  <20131025143341.GC26481@lemon> <526A8E95.7090808@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-10-25 11:30, Peter Grehan wrote:
>> (1) You can't boot an i386 ISO. It can't load the kernel. I half
>> expected this would be the case. It would be nice if this did work.
>
>  The loader work isn't too bad to get this going, but the bhyve work
> is quite a bit more effort since the i386 kernel makes a lot more
> assumptions about the environment, such as the ability to call back
> into BIOS.
>
>  On the TODO list.
>
>> (2) VirtIO on a raw disc device seems to have some problems. I tried
>> installing using the -BETA1 amd64 ISO. The disc particulars seem to be
>> detected fine but when I try and commit the partition layout I see:
>>
>> 5vtbd0: hard error cmd=write 290-305
>>
>> The disc is a 640GB WD SATA disc and I used the automatic scheme, if it
>> makes any difference.
>
>  That's bhyve colliding with GEOM. There was a thread a while back
> about being able to exempt certain block devices from being tasted for
> iSCSI LUN usage - bhyve will probably need something similar.
>
>> (3) I tried to use the live environment in order to play around with
>> (2) a bit more but it lacks the necessary /etc/ttys line. It would be
>> great if this wasn't required *somehow*.
>
>  The ttys issue does need to be addressed. This applies for serial
> console users as well. Hey, works for Linux :)
>
>> Should I file PRs for these issues?
>
>  Yes, always file PRs please :)
>
> later,
>
> Peter.
>
> _______________________________________________
> 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"
>
>
>
Last night Devin made a patch to bsdinstall (at #vBSDCon hacker lounge)
to deal with the /etc/ttys issue on the system that bsdinstall installs,
but, I wonder what the correct fix is for the livecd environment.

During the hacker lounge discussion, we decided it probably wasn't a
good idea to enable the serial console by default (bsdinstall only does
it if it detects you using the serial console to do the install). I
suppose the same logic could be added to the rc.local script in
usr/src/release/ maybe, to 'patch' the /etc/ttys file when the serial
condition is detected.

-- 
Allan Jude




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526DE1C1.604>