Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2015 10:02:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200445] login into system on serial line /dev/cuaU0 hangs on open of /dev/tty
Message-ID:  <bug-200445-8-3YO3U9zHrm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200445-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200445-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445

--- Comment #6 from Matthias Apitz <guru@unixarea.de> ---
(In reply to Konstantin Belousov from comment #5)

I have not specified hw flow control and I do not know if the USB-serial
supports this. As described in the handbook, I added to /etc/ttys a line:

cuaU0 "/usr/libexec/getty std.9600"    vt102    on secure

and after 'kill -HUP 1' on the terminal, login as root is possible and, for
example, an 'ls -lR /' works nicely passing the output fine to the VT102; i.e.
I do not think, that we have some flow control issue; 

the only things I have figured out so far are:

1) one can not use /bin/sh as login shell, it will hang on login;
2) you can not open /dev/tty after login; it will hang
3) if you use MUA mutt, and below this the vim to write the mail, mutt will
   hang too after the end of vim; and a Ctrl-C makes it continue (perhaps
   for the same reason of hang on /dev/tty open call)

what Do you want me to check or change exactly?
Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200445-8-3YO3U9zHrm>