Problems with missing ttyv devices in BHyve?

Peter Grehan grehan at freebsd.org
Sat Sep 7 16:11:05 UTC 2013


Hi Craig,

> Does anyone have any ideas what the fix for this should be?

  You'll have to edit the /etc/ttys file and

-ttyu2   "/usr/libexec/getty std.9600"   dialup  off secure
+ttyu2   "/usr/libexec/getty std.9600"   vt100   on secure

  bhyve is ttyu2 rather than ttyu0 since it emulates a PCI serial port.

  Maybe this could go into the FreeNAS repo - I've never really 
understood the aversion to having logins open on the serial ports by 
default. Seems a relic of 1980's Unix dialup modems.

> It would be handy to boot FreeNAS inside BHyve, especially for testing.  I
> don't get this problem under QEMU, Virtualbox, or VMWare still work.

  All of those have VGA emulation which will pop up logins on the ttyv* 
devices. Work on that is underway for bhyve.

later,

Peter.



More information about the freebsd-virtualization mailing list