My system (0.99p12 alpha, essentially a "stock" Slackware 1.01),
seems to be having some trouble respawning serial line getty's.
Below is the relevant portion of /etc/inittab.
c1:123456:respawn:/etc/getty 38400 tty1
c2:23456:respawn:/etc/getty 38400 tty2
c3:3456:respawn:/etc/getty 38400 tty3
c4:6:respawn:/etc/getty 2400 ttyS1
When the system is booted, getty is run on all four of the above
ttys with no problem. If I kill one of the first three, which are
running on the VC's, it will be respawned as though nothing happened,
except for having a new PID.
If I kill the last one, running on the second serial port (a modem),
it is also respawned, but in such a way that it no longer has a
controlling terminal. This is illustrated below. I am pretty sure
my modem is configured properly; 'AT S0=1 E0 Q1' is the power-up
default setting.
Here is an example. Portions of the output from 'ps' were deleted
to save space.
--
# ps aux
USER PID %CPU %MEM SIZE RSS TT STAT START TIME COMMAND
root 1 0.0 6.5 44 204 ? S 14:47 0:00 init
root 30 0.0 6.2 52 192 2 S 14:48 0:00 /etc/getty 38400 tty2
root 31 0.0 6.2 52 192 3 S 14:48 0:00 /etc/getty 38400 tty3
root 32 0.0 5.8 52 180 S1 S 14:48 0:00 /etc/getty 2400 ttyS1
root 85 0.0 7.1 64 220 1 R 14:57 0:00 ps aux
# kill 32
# ps aux
USER PID %CPU %MEM SIZE RSS TT STAT START TIME COMMAND
root 1 0.0 6.5 44 204 ? S 14:47 0:00 init
root 30 0.0 6.2 52 192 2 S 14:48 0:00 /etc/getty 38400 tty2
root 31 0.0 6.2 52 192 3 S 14:48 0:00 /etc/getty 38400 tty3
root 34 0.0 5.8 52 180 ? S 14:57 0:00 /etc/getty 2400 ttyS1
root 87 0.0 7.1 64 220 1 R 14:57 0:00 ps aux
--
(Note the 'TT' column for getty on ttyS1.)
My suspicion lies with init, but I have no idea where to go from
here. Has anyone else run into this problem? Thanks in advance
for the help.
Robert