weird console issue w/ bhyve...

Peter Grehan peterg at ptree32.com.au
Sun Jun 28 18:01:56 UTC 2015


Hi John-Mark,

> more and less work perfectly fine when I first login from the console..
> Sometimes due to terminal issues, the cursor gets "stuck" at the bottom
> on the screen... If I run the rest command, more and less "break" in
> that they do not output...  It appears that they are waiting on open
> of the tty...
>
> # less /etc/motd
> load: 0.89  cmd: less 674 [ttydcd] 0.96r 0.00u 0.00s 0% 2528k
> load: 0.89  cmd: less 674 [ttydcd] 1.14r 0.00u 0.00s 0% 2528k
>
> # more /etc/motd
> load: 0.16  cmd: more 677 [ttydcd] 1.34r 0.00u 0.00s 0% 2528k
> load: 0.16  cmd: more 677 [ttydcd] 2.82r 0.00u 0.00s 0% 2528k
> load: 0.16  cmd: more 677 [ttydcd] 3.20r 0.00u 0.00s 0% 2528k
>
> Ideas?

  /usr/bin/reset clears the clocal flag. That can be reenabled with 
'stty clocal'.

  The bhyve 16550 emulation doesn't nail up DCD so modem control has to 
be disabled in software (i.e. by setting clocal). Perhaps this should be 
changed so the default is to have DCD always 1 unless specified otherwise.

later,

Peter.



More information about the freebsd-virtualization mailing list