kern/51982: sio1: interrupt-level buffer overflows

Ian Freislich ianf at
Thu May 8 12:00:33 PDT 2003

>Number:         51982
>Category:       kern
>Synopsis:       sio1: interrupt-level buffer overflows
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 08 12:00:31 PDT 2003
>Originator:     Ian Freislich
>Release:        FreeBSD 5.0-CURRENT i386
System: FreeBSD 5.0-CURRENT FreeBSD 5.0-CURRENT #35: Sat May 3 11:21:01 SAST 2003 root at i386

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 #35: Sat May  3 11:21:01 SAST 2003
    root at
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0456000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0456244.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 267273839 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
real memory  = 201261056 (191 MB)
avail memory = 190533632 (181 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <GBT    AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00fdc60
acpi_bus_number: root bus has no _BBN, assuming 0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 17 -> irq 16
agp0: <Intel 82443LX (440 LX) host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piix0 port 0x5000-0x500f at device 7.3 on pci0
Timecounter "PIIX"  frequency 3579545 Hz
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xe400-0xe43f irq 2 at device 8.0 on pci0
xl0: Ethernet address: 00:60:08:0b:2e:c8
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
de0: <Digital 21041 Ethernet> port 0xe800-0xe87f mem 0xe7001000-0xe700107f irq 16 at device 9.0 on pci0
de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1
de0: address 00:00:f8:30:dd:c2
ahc0: <Adaptec aic7880 Ultra SCSI adapter> port 0xec00-0xecff mem 0xe7000000-0xe7000fff irq 2 at device 12.0 on pci0
ahc0: Using left over BIOS settings
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio2: configured irq 10 not in bitmap of probed irqs 0
sio2: port may not be enabled
sio2 port 0x2e8-0x2ef irq 10 on acpi0
sio2: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
orm0: <Option ROM> at iomem 0xc8000-0xc87ff on isa0
vga0: <Generic ISA VGA> at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 9787MB <WDC WD102AA-32BAA0> [19885/16/63] at ata0-master UDMA33
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s1a
cd1 at ahc0 bus 0 target 6 lun 0
cd1: <PIONEER CD-ROM DR-U12X 1.06> Removable CD-ROM SCSI-2 device 
cd1: 10.000MB/s transfers (10.000MHz, offset 15)
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <YAMAHA CRW4260 1.0q> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: cd present [1 x 512 byte records]
de0: enabling AUI port
de0: enabling 10baseT port

with user PPP

	Transferring data at "high" speed 115200bps over the serial
	line (even though the actual incoming line stream is about
	37000bps according to the modem LCD panel) results in the
	following messages on the console at a rate of about 1 log
	line every 10 to 15 seconds.

	These buffer overruns have gradually become more frequent
	from about 3 lines and 24 overruns a day around September
	2002 (when I started running Current - 4.x does not suffer
	from this) to the current flurry.

	sio1: 57 more interrupt-level buffer overflows (total 56638)
	sio1: 104 more interrupt-level buffer overflows (total 56742)
	sio1: 296 more interrupt-level buffer overflows (total 57038)
	sio1: 51 more interrupt-level buffer overflows (total 57089)
	sio1: 120 more interrupt-level buffer overflows (total 57209)
	sio1: 371 more interrupt-level buffer overflows (total 57580)

	These log messages were generated over 8392.50 seconds
	transferring 29876595 bytes over the serial interface.
	That is on average nearly 7 buffer overflows per second or
	almost 3 overflows per packet.

	Downloading and interactive use of the server at the end of
	this leased line is impaired as a result.

	Transfer data at "high" speed over the serial interface.




More information about the freebsd-bugs mailing list