Date: Mon, 19 Feb 1996 19:29:14 +0100 (MET) From: Ollivier Robert <roberto@keltia.freenix.fr> To: freebsd-current@FreeBSD.ORG (FreeBSD Current Users' list) Subject: Weird problem with ptys Message-ID: <199602191829.TAA19009@keltia.freenix.fr>
index | next in thread | raw e-mail
Hi,
After a while (random), I encouter a weird problem with my ptys. I can't
open ptys after ttyp9... Each xterm/rxvt fails without displaying anything.
18986 rxvt CALL open(0xefbfd300,0x2,0xefbfd480)
18986 rxvt NAMI "/dev/ptyp9"
18986 rxvt RET open -1 errno 5 Input/output error
18986 rxvt CALL open(0xefbfd300,0x2,0xefbfd480)
18986 rxvt NAMI "/dev/ptypa"
18986 rxvt RET open 4
18986 rxvt CALL geteuid
18986 rxvt RET geteuid 101/0x65
18986 rxvt CALL access(0xd420,0x6)
18986 rxvt NAMI "/dev/ttypa"
18986 rxvt RET access 0
18986 rxvt CALL fcntl(0x4,0x4,0x4)
18986 rxvt RET fcntl 0
18986 rxvt CALL lstat(0xd420,0xd798)
18986 rxvt NAMI "/dev/ttypa"
18986 rxvt RET lstat 0
18986 rxvt CALL getdtablesize
18986 rxvt RET getdtablesize 128/0x80
[...]
18986 rxvt RET read 0
18986 rxvt CALL ioctl(0x3,0x4004667f ,0xefbfcbe8)
18986 rxvt RET ioctl 0
18986 rxvt CALL select(0x80,0xefbfd424,0,0,0xefbfd41c)
18986 rxvt RET select 1
18986 rxvt CALL read(0x4,0xd800,0x800)
18986 rxvt GIO fd 4 read 0 bytes
""
18986 rxvt PSIG SIGCHLD caught handler=0x1700 mask=0x0 code=0x0
18986 rxvt RET read 0
18986 rxvt CALL wait4(0xffffffff,0,0,0)
18986 rxvt RET wait4 18987/0x4a2b
18986 rxvt CALL chmod(0xd420,0x21b6)
18986 rxvt NAMI "/dev/ttypa"
18986 rxvt RET chmod -1 errno 1 Operation not permitted
18986 rxvt CALL chown(0xd420,0,0)
18986 rxvt NAMI "/dev/ttypa"
18986 rxvt RET chown -1 errno 1 Operation not permitted
18986 rxvt CALL exit(0)
When I reboot, I'm able to use ptys after ptypa.
I have 48 ptys defined in my kernel config and all the devices are in the
/dev directory. I don't know where the SIGCHLD comes from.
If you need more info, just asks...
--
Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net
FreeBSD keltia.freenix.fr 2.2-CURRENT #6: Fri Feb 9 21:27:02 MET 1996
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602191829.TAA19009>
