after login through serial line, open(2) on /dev/tty hangs

From: Matthias Apitz <guru_at_unixarea.de>
Date: Wed, 27 May 2015 08:01:13 +0200
Hello,

I'm preparing something for an exposition on some Vintage Computer Event
and connected an old original VT102 to my netbook running CURRENT. See
here: http://www.unixarea.de/freebsd-vt102.jpg
The system is r276659 on i386.

The VT102 is connected through an USB-serial adapter and getty spawns
nicely login: to /dev/cuaU0. Login works as well, but only with /bin/csh
as login-shell, not with /bin/sh. After some digging, I figured out that
the real problem is the hanging open(2) syscall on /dev/tty: no proc
can't open this file after login through /dev/cuaU0.. More details in
the issue in bugzilla:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445

What part of the kernel should I instrument with more debugging log to
get light into this problem? Any other ideas? 

Thanks

	matthias
-- 
Matthias Apitz, guru_at_unixarea.de, http://www.unixarea.de/ +49-170-4527211    +49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)
Received on Wed May 27 2015 - 04:01:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:57 UTC