Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 16:08:37 +0100
From:      Fergus Cameron <fergus@cobbled.net>
To:        questions@freebsd.org
Subject:   SIO buffer overflows
Message-ID:  <20030522150837.GA3250@pooh.cobbled.net>
Resent-Message-ID: <200305291500.h4TF0Kqb002291@pooh.cobbled.net>

next in thread | raw e-mail | index | archive | help

--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

i've been running BSD as a gateway on my old i486
for a few years now and have just reconnected my
modem (was on DSL).  unfortunately there
is a constant problem with sio buffer overflows.

not surprising i hear you say as it's in the bugs
section of sio(4).

still, the system is running 5.0 release well and
i'm reluctant to decomission it over something
trivial.  anyone ideas on how to tune to eliminate
the overflows?  failing that what version would i
need to drop back to 4, 3?  i don't remember the
problem existing in late 4 (4.6-4.7) but cannot
verify 100% at the moment.

i've attached the dmesg output including errors
from sio1@57600.  the test was a simple -- tip to
the modem and then ati4 to generate enough output
for the overflow.

thanks for any advice.

--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dmesg

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #2: Mon Mar 31 23:27:49 GMT 2003
    fergus@eyore.cobbled.net:/usr/share/software/binary/FreeBSD/build/usr/share/software/source/FreeBSD/FUTURE/sys/TIGGER
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0386000.
Timecounter "i8254"  frequency 1193182 Hz
CPU: i486DX (486-class CPU)
real memory  = 37748736 (36 MB)
avail memory = 32931840 (31 MB)
Allocating major#253 to "net"
Allocating major#252 to "g_ctl"
npx0: <math processor> on motherboard
npx0: INT 16 interface
isa0: <ISA bus> on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1 at port 0x376,0x170-0x177 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
ed0 at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
ed0: address 00:40:05:aa:98:51, type NE2000 (16 bit) 
ed1 at port 0x300-0x31f iomem 0xd0000 irq 5 on isa0
ed1: address 00:40:05:aa:44:71, type NE2000 (16 bit) 
fdc0: <NEC 765 or clone> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Allocating major#251 to "devstat"
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16450
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16450
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
ad0: 520MB <ST3660A> [1057/16/63] at ata0-master PIO3
ad1: 204MB <ST3243A> [1024/12/34] at ata0-slave PIO0
acd0: DVD-RAM <CD220E> at ata1-slave PIO2
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
stray irq 7
stray irq 7
sio1: 21 more silo overflows (total 21)
sio1: 19 more silo overflows (total 40)
sio1: 21 more silo overflows (total 61)
sio1: 1 more silo overflow (total 62)

--pWyiEgJYm5f9v55/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030522150837.GA3250>