Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 1996 22:10:02 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        questions@freefall.freebsd.org
Subject:   couldn't kill -9 kermit
Message-ID:  <v03006f08adda94218d93@[206.104.22.178]>

next in thread | raw e-mail | index | archive | help

While messing around with kermit and serial ports I managed to get kermit
hung where I can't kill -9 it or nothing.

nexgen: {471} ps -l
  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
 1131 26317 26316   0  18  0   524  392 pause  Is    p0    0:00.44 -csh (csh)
 1131 22837     1   0   4  0   744  868 ttywai IE    p1-   0:04.42 kermit -l /d
 1131 26353 26352   0  18  0   524  388 pause  Ss    p1    0:00.40 -csh (csh)
 1131 26364 26353   2  28  0   448  264 -      R+    p1    0:00.01 ps -l
nexgen: {472}

The full kermit command was "kermit -l /dev/ttyd3". As I said, was messing
around, probably typed "set flow cts", and maybe other things.

So now as I write, I've managed to kill the stuck kermit by finding a
different RS-232 device to plug into the cable, and cycle the handshake
lines. I think when my new device toggled CTS (pin 5) kermit finally quit.

It doesn't seem right that a process could block on ttywait and be immune
to kill -9. Could probably repeat this situation if it would help. Its
likely I didn't originally have a device on the serial cable when I was
playing with kermit.

--
David Kelly N4HHE,   n4hhe@amsat.org,    dkelly@hiwaay.net
=============================================================
To invent, you need a good imagination and a pile of junk.
                - Thomas Edison





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v03006f08adda94218d93>