Serial port problems on the sparc I

Joe Smith jms at tardis.tymnet.com
Sat Jul 28 09:21:54 AEST 1990


In article <9974 at brazos.Rice.edu> porphano at lehi3b15.csee.lehigh.edu (Paul Orphanos) writes:
>having another problem. Slip is crashing my system (data panic) with ring
>and silo buffer overflows. As far as I can tell, the kernel is not
>servicing the serial interrupts fast enough to keep the hardware buffer
>from overflowing, and thus the data panics. This is the only reasonable
>explanation I can think of.

Our Sun-3 was having problems very similar to what your Sun-4 is having.
In particular, I think you need the new heap_kmem and zs_async modules.

 Current       Original     Name
 59245 8       31849 6      sun3/OBJ/heap_kmem.o
  6449 24      42794 24     sun3/OBJ/machdep.o
 54647 5       59441 5      sun3/OBJ/mcp.o
  4825 16      50132 16     sun3/OBJ/mcp_async.o
  4445 12      55088 12     sun3/OBJ/mti.o
 37552 30      11819 30     sun3/OBJ/str_io.o
 26187 3       25352 3      sun3/OBJ/tty.o
 43549 7       64885 7      sun3/OBJ/uipc_mbuf.o
 51155 12      36901 12     sun3/OBJ/zs_async.o

The patches to the above files fixed our problems with "bus error 80" due
to improper allocation of buffers at interrupt level when heavy traffic
was present on the serial ports.  This patch also fixed the problem with
X.25 circuits getting hung.

----- Contents of README from the tape ----
serial I/O patch tape

This tape contains all the changes to the serial drivers and streams code
since SunOS 4.0.3 FCS.  The bugs fixed with this patch are:

1020129	ALM-2 hangs system when encountering Framing Errors
1022156	ALM-2 parallel printer output purged by close
1022741	ALM-1 error codes incompletely reported
1024746	system with serial console watchdog resets
1025254	UUCICO can wedge port and eventually system
1025622	Panic bus error in streams close code

Kernel object files are included for Sun-2, Sun-3, Sun-3X, and Sun-4
architectures.  Note that the Sun-2 does not support the ALM-2, therefore
no mcp driver files are provided.

Files:
------
README
install
sun2/mti.o
sun2/str_io.o
sun2/zs_async.o
sun3/mcp.o
sun3/mcp_async.o
sun3/mti.o
sun3/str_io.o
sun3/zs_async.o
sun3x/mcp.o
sun3x/mcp_async.o
sun3x/mti.o
sun3x/str_io.o
sun3x/zs_async.o
sun4/mcp.o
sun4/mcp_async.o
sun4/mti.o
sun4/str_io.o
sun4/zs_async.o
-- 
Joe Smith (408)922-6220 | SMTP: jms at tardis.tymnet.com or jms at gemini.tymnet.com
BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms
PO Box 49019, MS-C41    | BIX: smithjoe | 12 PDP-10s still running! "POPJ P,"
San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga speaks for me."



More information about the Comp.sys.sun mailing list