Date: Tue, 26 May 2015 16:17:27 +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-PSpH65xAAw@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 Matthias Apitz <guru@unixarea.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|login into system on serial |login into system on serial |line /dev/cuaU0 hangs if |line /dev/cuaU0 hangs on |login shell is /bin/sh |open of /dev/tty --- Comment #4 from Matthias Apitz <guru@unixarea.de> --- the real problem is, that after login por the serial line /dev/cuaU0 no process is able to open /dev/tty, it just hangs on open(2) syscall; I verified this with a small C-code: fd = open("/dev/tty", O_RDWR|O_CLOEXEC, 0); gives in truss: ... open("/dev/tty",O_RDWR|O_CLOEXEC,00) ERR#4 'Interrupted system call' SIGNAL 2 (SIGINT) (the SIGINT is from Ctrl-C -- 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-PSpH65xAAw>