Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2014 10:29:34 -0700
From:      Neel Natu <neelnatu@gmail.com>
To:        =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@cochard.me>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve and serial port emulation problem
Message-ID:  <CAFgRE9HrDAzsNpsafQGS8TPZ7CPbOXsG2D5t0scvUrKDp=bAoQ@mail.gmail.com>
In-Reply-To: <CA%2Bq%2BTcq8fMGGUh_X25w6PZuoiSEHoXqEvjLsWydAmMkmxmip2A@mail.gmail.com>
References:  <CA%2Bq%2BTcrssCnQ_6%2BP6vn69nH103WuBB7E7Wv5dCSKcFgVPQWTbw@mail.gmail.com> <CAFgRE9FG9WNA=nguEOK_7N7dOXSQG2qGuCbDsVj4UD6_Vun0jA@mail.gmail.com> <CA%2Bq%2BTcq8fMGGUh_X25w6PZuoiSEHoXqEvjLsWydAmMkmxmip2A@mail.gmail.com>

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

On Wed, Apr 30, 2014 at 3:28 PM, Olivier Cochard-Labb=C3=A9
<olivier@cochard.me> wrote:
> On Wed, Apr 30, 2014 at 7:33 PM, Neel Natu <neelnatu@gmail.com> wrote:
>>
>> Hi Olivier,
>>
>>
>> Can you share the command line options you pass the bhyve(8)?
>>
>
> Hi Neel,
>
> sure, here it is:
>
> bhyveload -m 256M -d /tmp/BSDRP/BSDRP_1 -c /dev/nmdm1A BSDRP_1
> bhyve -c 1 -m 256M -A -H -P -s 0:0,hostbridge -s 0:1,lpc -s
> 2:0,virtio-net,tap0,mac=3D58:9c:fc:01:00:01 -s
> 1:0,virtio-blk,/tmp/BSDRP/BSDRP_1 -l com1,/dev/nmdm1A BSDRP_1
>

The UPDATING entry in r264175 describes how to fix this:
http://svnweb.freebsd.org/base?view=3Drevision&revision=3D264175

Briefly, you will now need to change your /etc/ttys to look like this:
ttyu0   "/usr/libexec/getty 3wire" vt100   on secure

If your virtual machine has an older world then your /etc/gettytab
will not have the entry for "3wire" and you may want to use
"3wire.9600" instead.

best
Neel

> Regards,
>
> Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFgRE9HrDAzsNpsafQGS8TPZ7CPbOXsG2D5t0scvUrKDp=bAoQ>