Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!garnet.bmr.gov.au!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news00.sunet.se!sunic!news99.sunet.se!news.funet.fi!news.cs.hut.fi!news.clinet.fi!dystopia.fi!deva
From: deva@dystopia.fi (Henrikki Karapuu)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: HELP: shells not dying on hung-up
Date: 27 Mar 1996 00:21:30 GMT
Organization: Dystopia Oy
Lines: 131
Message-ID: <4ja1ma$luc@news.clinet.fi>
NNTP-Posting-Host: final.dystopia.fi
X-Newsreader: TIN [version 1.2 PL2]
We upgraded our modem server from 2.0.5R to 2.1.0R few days ago and
started experiencing strange problem:
Around 10% of calls:
When user hangs up the line, modem drops carrier detect nicely, but
login shell keeps on running so mgetty does not start again, lockfile
is not removed and device owner is not reseted -> modem line won't
answer again. In 1-2 hours whole modem bank is down. Sending SIGHUP to
login shell will kill it and reset line.
Around 1% of calls:
Same as above, expect that sending SIGHUP (or even -9) to login shell
won't do; shell tries to exit, but leaves running and only reboot
helps.
misc:
When looking a jammed line with watch, it shows sometimes normal
prompt again and again, as pressing return on an empty line! I'm not
sure if this occurs only with shells that wont hup at all and get zombied.
It also seems that shells other than login shells from modem can stay
running - taking ps showed me once around 10 su (zsh), yet everything
were working as normal.
Hard- and software in use:
Well AT/XT2814SAM V34 modems
Cyclades Cyclom 8Yo serial card
Default FreeBSD drivers for it (cy0)
Mgetty v. 0.98
FreeBSD 2.1.0-RELEASE
P60, 32MB, 2 * 1GB IBM DPES-31080 SCSI-2 HDs, NCR810 PCI controller,
ATI MACH 32 PCI video card, SCSI DAT, SMC elite ultra combo ethernet card.
With 2.0.5R we didn't experience this kind of problem, but it was too
unstable and we got cyclades working only with Brian's drivers and
reduced upload speed.
As i'm starting to be shit out of luck with this one and problem is
critical, any help is very highly apreciated.
--
Henrikki Karapuu
Included:
1) Kernel config
2) stty -a on jammed line
3) anything else needed?
#
# FINAL i586, 32MB RAM, NCR 810, 1GB SCSI, SMC ULTRA ELITE COMBO
#
# GENERIC,v 1.45.2.3 1995/06/05 21:50:41 jkh Exp
machine "i386"
cpu "I586_CPU"
ident FINAL
maxusers 64
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options NFS #Network Filesystem
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3
options BOUNCE_BUFFERS #include support for DMA bounce buffers
options UCONSOLE #Allow users to grab the console
options QUOTA #Filesystem quotas
options "NMBCLUSTERS=2048" #Increase network memory buffers
options HARDFONTS #Allow iso_8599 fonts
options DUMMY_NOPS #Disable some loops
options "AUTO_EOI1" #Decreases interrupt latency
options "CHILD_MAX=128" #Max no. of child processes
options "MAXCONS=12" #Max no. of virtual consoles
options "COM_MULTIPORT" #Code for somecards that use shared irq
options "GATEWAY" #Allows packet forwarding
config kernel root on sd0
controller isa0
controller pci0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
controller ncr0
controller scbus0
device sd0
device st0
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
#device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr
#device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr
device cy0 at isa? tty irq 15 iomem 0xd4000 iosiz 8192 vector cyintr
#device cyb0 at isa? tty irq 15 iomem 0xd4000 iosiz 8192 vector cybintr
device ed1 at isa? port 0x300 net irq 10 iomem 0xd8000 vector edintr
pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device snp 3
pseudo-device ppp 16
pseudo-device pty 64
------------------------------------------------------------------
stty -a -f /dev/cuac0
speed 38400 baud; 30 rows; 80 columns;
lflags: icanon isig -iexten echo echoe echok -echoke -echonl -echoctl
-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany -imaxbel -ignbrk
brkint -inpck ignpar -parmrk
oflags: opost onlcr oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ^@; eol2 = <undef>;
erase = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\;
reprint = ^R; start = ^Q; status = <undef>; stop = ^P; susp = ^Z;
time = 0; werase = ^W;