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

Matthias Apitz guru at unixarea.de
Wed May 27 06:01:24 UTC 2015


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)


More information about the freebsd-current mailing list