Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 11:01:43 -0700
From:      Peter Grehan <peterg@ptree32.com.au>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: weird console issue w/ bhyve...
Message-ID:  <55903687.1070601@ptree32.com.au>
In-Reply-To: <20150628162059.GU96349@funkthat.com>
References:  <20150628162059.GU96349@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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