[comp.unix.xenix] Run away Getty << Hi-O-Silver >>

jmp@ecsvax.UUCP (Mike Pressley) (05/11/89)

Dear SCO Gurus,

We received our SCO system about a month ago and we are tickled pink with
it, except for one little problem.  Sometimes, a user will go into FoxBase
and get locked up for some reason or another and the getty keeps on running.
We have tried everything we know of to kill that process, but we have not
had any luck?? We would be grateful if someone could take a look at the
following example and render any suggestions or help in any way.

        **** Thank You Very Much! ****


 $ who -aTH
    .       old time     Apr 27 09:22
    .       new time     Apr 27 09:23

 NAME       LINE         TIME          IDLE    PID  COMMENTS
 LOGIN    + tty01        May  3 17:58 18:39   4075
 rosemary + tty3a        May  4 08:58  1:10   4035
 testacc  + tty3b        May  4 12:38   .     4028
/-------------------------------------------------\
|LOGIN    ? tty3d        May  2 15:58  old    2959| <-- How can I correct this
\-------------------------------------------------/       Problem ????
 LOGIN    + tty3g        Apr 27 09:23  old      44
 LOGIN    + tty3h        Apr 27 09:23  old      45
 johnson  + tty3c        May  4 12:05   .     4043
 LOGIN    + tty3e        May  4 12:35  0:03   4162
 LOGIN    + tty3f        May  1 11:32  old    1605


 $ whodo
 Thu May  4 12:38:52 EDT 1989
 XENIX
 3a       rosemary 08:58
   3a     4091      0:00 sh
   3a     4095      0:15 wp
 3b       testacc  12:38
   3b     4182      0:00 sh
   3b     4183      0:00 ps
   3b     4187      0:00 sh
 3c       johnson  12:05
   3c     4120      0:00 sh
   3c     4124      0:22 wp
/------------------------------\
|  3d     2959      0:01 getty | <-- How can I kill this Process ?????
\------------------------------/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Mike Pressley                            Bitnet --->PRESSLEY@UNCW.bitnet     |
|919-395-3096                             Bitnet ---> JMP@ECSVAX.bitnet       |
|Hoggard Hall                                                                 |
|University of North Carolina by the SEA  UUCP -----> mcnc!ecsvax!uncw!presley|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

rosso@sco.COM (Ross Oliver) (05/17/89)

In article <6981@ecsvax.UUCP> jmp@ecsvax.UUCP (Mike Pressley) writes:
>We received our SCO system about a month ago and we are tickled pink with
>it, except for one little problem.  Sometimes, a user will go into FoxBase
>and get locked up for some reason or another and the getty keeps on running.
>We have tried everything we know of to kill that process, but we have not
>had any luck?? We would be grateful if someone could take a look at the
>following example and render any suggestions or help in any way.
....
>/------------------------------\
>|  3d     2959      0:01 getty | <-- How can I kill this Process ?????
>\------------------------------/


If a kill -9 doesn't work, then the getty is probably hung in the
serial driver itself.  You can determine this by looking at a long
listing from ps (ps -el), for example:

  F S   UID   PID  PPID  C PRI NI  ADDR SZ    WCHAN TTY  TIME CMD
210 S     0   105     1  0  28 20    d1 24    7761c  5g  0:01 getty

If the number in the "PRI" (prioirty) column is less than 25, then
the getty process is stuck in the driver code somewhere in the
kernel, and will not respond to any signals sent with kill(C).
The only way to clear this condition is to reboot your machine.
This usually indicates a bug in the serial driver itself.  I noticed
that you are using some sort of multiport card.  If you are using
a board that is supported by the SCO XENIX serial driver, then call
SCO tech support so we can work on duplicating and fixing the problem.
If you are using a serial board that comes with its own driver software,
contact the vendor to see if they know of any problems or have an
update to the driver available.

Ross Oliver
Technical Support
The Santa Cruz Operation, Inc.