What happened was that, after having my system up for
16 hours, I found I suddenly couldn't run an `expect'
script in a particular xterm window. The script worked just
fine in other xterms.
The WCHAN seems to point to it getting hung up in
tty_wait_until_sent(). Here are the relevant processes:
PID WCHAN STA TTY TIME COMMAND
2255 pipe_read S p2 0:00 expect -f /home/frankm/bin/fly
2256 wait4 S p4 0:00 expect -f /home/frankm/bin/fly
2257 wait4 S p4 0:00 sh -c /bin/stty sane < /dev/ttyp4
2258 tty_wait_un S p4 0:00 /bin/stty sane
The script is running an automated telnet login (to a machine
I'm connected to over a PPP modem link).
System info:
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux localhost 2.2.1 #1 Sat Jan 30 17:09:03 CST 1999 i686 unknown
Kernel modules found
Gnu C 2.7.2.3
Binutils 2.9.1.0.15
Linux C Library 2.0.7
Dynamic linker ldd (GNU libc) 2.0.7
Linux C++ Library 2.8.0
Procps 1.2.9
Mount 2.8a
Net-tools (1998-06-29)
Kbd 0.96
Sh-utils 1.16
expect 5.26.0
For the record, in other xterms I see:
WCHAN STA TTY TIME COMMAND
do_select S p3 0:00 expect -f /home/frankm/bin/fly
... when it works correctly.
Is there any other information I could give that would help?
(Please cc: me in any replies - I'm having trouble with
being magically unsubscribed from the list right now...)
frank
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/