Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: error on TTY read: no such file or directory
- X-seq: zsh-users 4290
- From: lordzork@xxxxxxxxxxxx
- To: zsh-users@xxxxxxxxxx
- Subject: Re: error on TTY read: no such file or directory
- Date: Sat, 29 Sep 2001 03:49:53 -0400
- In-reply-to: <3BB56D03.2000300@xxxxxxxxxxxxxx>
- Mail-followup-to: lordzork@xxxxxxxxxxxx, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: lordzork industries
- References: <20010910200737.A6256@xxxxxxxxxxxxxx> <001f01c13abb$6997dca0$21c9ca95@xxxxxxxxxxxxxx> <20010911084904.A11501@xxxxxxxxxxxxxx> <1010911140155.ZM24429@xxxxxxxxxxxxxxxxxxxxxxx> <20010928121347.B16561@xxxxxxxxxxxxxx> <3BB56D03.2000300@xxxxxxxxxxxxxx>
- Reply-to: lordzork@xxxxxxxxxxxx
In the gothic chambers of the underworld on Sat 29 Sep 2001 at 02:41 -0400,
Borsenkow Andrej muttered darkly:
>
> Please, login (as root) on another tty and do strace on mingetty on,
> say, tty1 and then login on tty1. Do strace -f to follow all forks. This
> may give some hint (it did for me once I had similar problem).
>
> -andrej
yes, it does indeed:
ioctl(10, 0x541b, [0]) = 0
ioctl(10, 0x5410, [1321]) = 0
ioctl(10, SNDCTL_TMR_STOP, {B9600 opost isig -icanon -echo ...}) = 0
write(10, "\r\33[m\33[m\33[m\33[J\n\33[1;30m[ \33[1;37mlc"..., 270) = 270
write(10, "\33[K", 3) = 3
read(10, "@(\377\4\10\0\0\0\0\361\212\0@8Q\1@B\5\0\0@W\1@\2\217\0"..., 1) = 1025
ioctl(2, SNDCTL_TMR_TIMEBASE, 0xbffff8d8) = -1 ENOTTY (Inappropriate ioctl for device)
write(2, "zsh: error on TTY read: bad file"..., 44) = 44
stat64("/root/.zsh/.zlogout.zwc", 0xbffff73c) = -1 ENOENT (No such file or directory)
stat64("/root/.zsh/.zlogout", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
etc
inappropriate ioctl for device? what does this mean? a search on google
doesn't seem to turn up much.
t.
--
4.0k -rw-rw-r-- 1 zork zork 17 Apr 4 17:38 .signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author