Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2015 08:01:13 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-current@freebsd.org
Subject:   after login through serial line, open(2) on /dev/tty hangs
Message-ID:  <20150527060113.GA2166@c720-r276659>

next in thread | raw e-mail | index | archive | help

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@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)



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