Date: Mon, 21 Aug 1995 20:52:52 -0400 From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com> To: bde@zeta.org.au, freebsd-bugs@freefall.freebsd.org, ponds!rivers Subject: Re: Problem with sio at high baud on 2.0.5? Message-ID: <199508220052.UAA01958@lakes>
index | next in thread | raw e-mail
>
>
> > It appears that when I set my baud rate to 38,400 - on a call-out
> >line (i.e. /dev/cuaa1) - while the getty has the call-in line (/dev/ttyd1)
> >opened at 19,200 - things gets locked up after a few minutes, and
> >my only recourse is to reboot. The program that has /dev/cuaa1
> >opened gets blocked on a read. No other program can access the
> >device, and the blocking program can't be killed - you have to reboot
> >to clear the device.
>
> What is the `ps laxw' and `pstat -t' output for the two processes?
>
> Bruce
Bruce wanted the particulars - I cranked up the system, established
a kermit connection (at 38400) dialed the remote system and set up a SL/IP
link. This was all done over /dev/cuaa1 - at the time, /dev/cuaa0 was
busy with a UUCP connection, dialed out from my host.
Then, I started pinging the remote host. After about 30 seconds, all
modem traffics stops... then, after about a minute, the ping (which
of course, gets no ICMP packets back) at this point begins issueing a message
about "No buffer space available."
I've appended a 'script' log with the ps -laxw and pstat -t output, as
well as a snippet of what I get from ping.
Again, this is with a GENERIC 2.0.5-RELEASE kernel, on a 386DX-33, with
8 megs of RAM and a 387; and two 16550A sio ports, an aha1542B SCSI.
- Dave Rivers -
---------------- Script output -------------------------
Script started on Mon Aug 21 20:39:02 1995
ponds# ps -laxw
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
0 0 0 0 -18 0 0 0 sched DLs ?? 0:00.00 (swapper)
0 1 0 0 10 0 444 68 wait Is ?? 0:04.55 /sbin/init --
0 2 0 18 -18 0 0 12 psleep DL ?? 0:36.52 (pagedaemon)
0 3 0 4 29 0 0 12 psleep DL ?? 0:12.67 (vmdaemon)
0 4 0 1 -6 0 0 12 update DL ?? 1:48.77 (update)
0 20 1 4 18 0 216 0 pause IWs ?? 0:00.05 adjkerntz -i
0 54 1 1 2 0 192 76 select Is ?? 0:14.15 routed -q
0 78 1 0 2 0 184 128 select Ss ?? 0:16.43 syslogd
1 84 1 0 2 0 176 0 select IWs ?? 0:00.09 portmap
0 90 1 0 2 0 468 0 select IWs ?? 0:00.10 mountd
0 92 1 8 2 0 240 0 netcon IWs ?? 0:00.05 nfsd-master (nfsd)
0 94 92 7 2 0 232 0 nfsd IW ?? 0:00.01 nfsd-srv (nfsd)
0 95 92 7 2 0 232 0 nfsd IW ?? 0:00.00 nfsd-srv (nfsd)
0 96 92 7 2 0 232 0 nfsd IW ?? 0:00.00 nfsd-srv (nfsd)
0 97 92 8 2 0 232 0 nfsd IW ?? 0:00.01 nfsd-srv (nfsd)
0 101 1 0 10 0 228 12 nfsidl I ?? 0:00.11 nfsiod -n 4
0 102 1 0 10 0 228 0 nfsidl IW ?? 0:00.01 nfsiod -n 4
0 103 1 0 10 0 228 0 nfsidl IW ?? 0:00.00 nfsiod -n 4
0 104 1 0 10 0 228 0 nfsidl IW ?? 0:00.01 nfsiod -n 4
0 107 1 1 2 0 224 76 select Is ?? 0:02.31 inetd
0 114 1 0 18 0 280 104 pause Ss ?? 0:27.74 cron
0 116 1 22 2 0 188 0 select IWs ?? 0:00.20 lpd
0 119 1 10 2 0 424 0 netcon IWs ?? 0:02.72 sendmail: accepting connections (sendmail)
0 168 1 0 3 0 156 0 siobi IW ?? 0:00.20 /usr/libexec/getty d19200 ttyd0
0 7297 114 2 2 0 280 8 netio IW ?? 0:00.03 CRON (cron)
8 7298 7297 7 10 0 476 0 wait IWs ?? 0:00.08 /bin/sh -c /usr/lib/newsbin/input/newsrun
8 7301 7298 187 10 0 508 0 wait IW ?? 0:01.67 /bin/sh /usr/lib/newsbin/input/newsrun
0 7572 107 0 2 0 196 52 select S ?? 0:01.61 rlogind
8 7593 7301 22 -6 0 640 540 biowai D ?? 0:15.14 relaynews -r -n -o 14
66 7597 1 24 10 0 316 256 wait I ?? 0:00.57 uuxqt -sdithots
0 7599 1 2 3 0 156 8 siobi IW ?? 0:00.12 /usr/libexec/getty d38400 ttyd1
0 7633 107 1 2 0 196 64 select S ?? 0:00.79 rlogind
0 7664 7597 143 10 0 468 712 wait S ?? 0:03.23 /usr/sbin/sendmail -oee -odi -oi -oMrUUCP -fnascar-owner@dithots.
66 7686 7664 164 -6 0 292 532 biowai Ds ?? 0:00.30 uux - -r -z -anascar-owner@dithots.dithots.org -gC dg-rtp!rmail (
500 7573 7572 22 10 0 500 0 wait IWs p0 0:00.67 -sh (sh)
0 7584 7573 5 18 0 516 0 pause IW p0 0:01.30 -su (csh)
0 7598 7584 5 10 0 756 8 wait IW p0 0:00.64 kermit
0 7619 7598 57 18 0 516 0 pause IW p0 0:00.75 -sh -c sh (csh)
0 7621 7619 14 10 0 484 0 wait IW p0 0:00.12 sh
0 7630 7621 1 2 0 396 120 netio S+ p0 0:00.55 ping torpid
500 7635 7633 2 10 0 500 160 wait Is p1 0:00.64 -sh (sh)
0 7673 7635 19 18 0 516 312 pause S p1 0:01.29 -su (csh)
0 7679 7673 6 3 0 172 376 ttyin S+ p1 0:00.19 script
0 7680 7679 7 3 0 172 216 ttyin S+ p1 0:00.04 script
0 7681 7680 59 18 0 516 312 pause Ss p2 0:00.80 -h -i (csh)
0 7685 7681 41 38 0 472 188 - R+ p2 0:00.10 ps -laxw
0 22151 1 2 3 0 156 0 ttyin IWs+ v0 0:00.13 /usr/libexec/getty Pc ttyv0
0 166 1 3 3 0 156 0 ttyin IWs+ v1 0:00.15 /usr/libexec/getty Pc ttyv1
0 167 1 8 3 0 156 0 ttyin IWs+ v2 0:00.13 /usr/libexec/getty Pc ttyv2
66 4991 1 54 3 4 612 196 - RNs+ a0 16:01.16 /usr/libexec/uucp/uucico -r1
0 7627 1 11 18 0 256 0 pause IWs+ a1 0:00.05 slattach -c -s 38400 /dev/cuaa1
ponds# ping torpid
PING torpid (149.173.116.8): 56 data bytes
ping: sendto: No buffer space available
ping: wrote torpid 64 chars, ret=-1
ping: sendto: No buffer space available
ping: wrote torpid 64 chars, ret=-1
ping: sendto: No buffer space available
ping: wrote torpid 64 chars, ret=-1
^C
--- torpid ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
ponds# pstat -t
17 vty lines
LINE RAW CAN OUT HWT LWT COL STATE SESS PGID DISC
ttyv0 0 0 0 2052 256 7 OC 515700 22151 term
ttyv1 0 0 0 2052 256 7 OC 515680 166 term
ttyv2 0 0 0 2052 256 7 OC 520c20 167 term
3 0 0 0 0 0 0 - 0 0 term
4 0 0 0 0 0 0 - 0 0 term
5 0 0 0 0 0 0 - 0 0 term
6 0 0 0 0 0 0 - 0 0 term
7 0 0 0 0 0 0 - 0 0 term
8 0 0 0 0 0 0 - 0 0 term
9 0 0 0 0 0 0 - 0 0 term
10 0 0 0 0 0 0 - 0 0 term
11 0 0 0 0 0 0 - 0 0 term
12 0 0 0 0 0 0 - 0 0 term
13 0 0 0 0 0 0 - 0 0 term
14 0 0 0 0 0 0 - 0 0 term
15 0 0 0 0 0 0 - 0 0 term
?? 0 0 0 1296 256 0 OC 0 0 term
4 sio lines
LINE RAW CAN OUT HWT LWT COL STATE SESS PGID DISC
cuaa0 114 0 0 2052 256 -22912 OCl 582ea0 4991 term
cuaa1 0 0 87 2052 256 6382 OCB 5325c0 7627 slip
2 0 0 0 0 0 0 - 0 0 term
3 0 0 0 0 0 0 - 0 0 term
16 pty lines
LINE RAW CAN OUT HWT LWT COL STATE SESS PGID DISC
ttyp0 0 0 0 1296 256 19 OC 3d7900 7621 term
ttyp1 0 0 0 1296 256 6246 OC 56b860 7679 term
ttyp2 0 0 0 1296 256 0 OC 5a04c0 7699 term
3 0 0 0 0 0 0 - 0 0 term
4 0 0 0 0 0 0 - 0 0 term
5 0 0 0 0 0 0 - 0 0 term
6 0 0 0 0 0 0 - 0 0 term
7 0 0 0 0 0 0 - 0 0 term
8 0 0 0 0 0 0 - 0 0 term
9 0 0 0 0 0 0 - 0 0 term
10 0 0 0 0 0 0 - 0 0 term
11 0 0 0 0 0 0 - 0 0 term
12 0 0 0 0 0 0 - 0 0 term
13 0 0 0 0 0 0 - 0 0 term
14 0 0 0 0 0 0 - 0 0 term
15 0 0 0 0 0 0 - 0 0 term
ponds# exit
Script done on Mon Aug 21 20:40:27 1995
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508220052.UAA01958>
