zsh-users
 help / color / mirror / code / Atom feed
From: lordzork@lordzork.com
To: zsh-users@sunsite.dk
Subject: Re: error on TTY read: no such file or directory
Date: Sat, 29 Sep 2001 03:49:53 -0400	[thread overview]
Message-ID: <20010929034953.E16561@hithaeglir.net> (raw)
In-Reply-To: <3BB56D03.2000300@mow.siemens.ru>

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


      reply	other threads:[~2001-09-29  7:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-11  0:07 lordzork
2001-09-11 12:15 ` Borsenkow Andrej
2001-09-11 12:49   ` lordzork
2001-09-11 14:01     ` Bart Schaefer
2001-09-28 16:13       ` lordzork
2001-09-28 17:48         ` Bart Schaefer
2001-09-28 20:35           ` lordzork
2001-09-29  1:33             ` Bart Schaefer
2001-09-29  2:16               ` lordzork
2001-09-29  6:41         ` Borsenkow Andrej
2001-09-29  7:49           ` lordzork [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010929034953.E16561@hithaeglir.net \
    --to=lordzork@lordzork.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).