From owner-freebsd-current Sun Feb 23 7:16:58 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04D1E37B401 for ; Sun, 23 Feb 2003 07:16:54 -0800 (PST) Received: from brane.digs.iafrica.com (brane.digs.iafrica.com [196.7.162.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79C3B43FD7 for ; Sun, 23 Feb 2003 07:16:48 -0800 (PST) (envelope-from ianf@digs.iafrica.com) Received: from localhost ([127.0.0.1]) by brane.digs.iafrica.com with esmtp (Exim 3.36 #1) id 18mxru-00042N-00 for FreeBSD-current@freebsd.org; Sun, 23 Feb 2003 17:16:42 +0200 From: ianf@za.uu.net To: FreeBSD-current@freebsd.org Subject: SIO interrupt level buffer overflows X-Attribution: BOFH Date: Sun, 23 Feb 2003 17:16:42 +0200 Message-Id: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I've had a resurgence of these starting a few days ago. Basically whenever there is fairly heavy IO (I mean as heavy as IO can get on a COM port) the console starts spewing these messages. [brane-dead] ~ # uptime 5:05PM up 1 day, 8:39, 1 user, load averages: 2.02, 2.10, 2.09 [brane-dead] ~ # grep "interrupt-level" /var/log/messages |tail Feb 23 17:15:17 brane-dead kernel: sio1: 793 more interrupt-level buffer overflows (total 316848) Feb 23 17:15:18 brane-dead kernel: sio1: 39 more interrupt-level buffer overflows (total 316887) Feb 23 17:15:26 brane-dead kernel: sio1: 33 more interrupt-level buffer overflows (total 316920) Feb 23 17:15:28 brane-dead kernel: sio1: 1 more interrupt-level buffer overflow (total 316921) Feb 23 17:15:29 brane-dead kernel: sio1: 256 more interrupt-level buffer overflows (total 317177) Feb 23 17:15:31 brane-dead kernel: sio1: 80 more interrupt-level buffer overflows (total 317257) Feb 23 17:15:32 brane-dead kernel: sio1: 64 more interrupt-level buffer overflows (total 317321) Feb 23 17:15:35 brane-dead kernel: sio1: 64 more interrupt-level buffer overflows (total 317385) Feb 23 17:15:41 brane-dead kernel: sio1: 64 more interrupt-level buffer overflows (total 317449) Feb 23 17:15:53 brane-dead kernel: sio1: 320 more interrupt-level buffer overflows (total 317769) It's affecting throughput on my leased line by causing errors and retransmissions. [brane-dead] ~ # grep "HDLC errors" /var/log/ppp.log |tail Feb 23 16:57:44 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 17, ADDR: 0, COMD: 0, PROTO: 0 Feb 23 16:58:46 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 16, ADDR: 0, COMD: 0, PROTO: 0 Feb 23 16:59:47 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 26, ADDR: 0, COMD: 0, PROTO: 0 Feb 23 17:00:48 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 27, ADDR: 0, COMD: 0, PROTO: 0 Feb 23 17:01:49 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 10, ADDR: 0, COMD: 0, PROTO: 0 Feb 23 17:02:50 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 18, ADDR: 0, COMD: 0, PROTO: 0 Feb 23 17:03:51 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 2, ADDR: 0, COMD: 0, PROTO: 0 Feb 23 17:04:53 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 1, ADDR: 0, COMD: 0, PROTO: 0 Feb 23 17:05:54 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 20, ADDR: 0, COMD: 0, PROTO: 0 Feb 23 17:06:55 brane-dead ppp[187]: Phase: deflink: HDLC errors -> FCS: 39, ADDR: 0, COMD: 0, PROTO: 0 I suspect the kernel isn't servicing the interrupts quickly enough. Is there any chance this is related to making sio0 my console? Any ideas? I know this was discussed about a year ago but that discussion was inconclusive. The system is SMP (dual Pii-266) using SCHED_4BSD without WITNESS. dmesg.boot follows. Ian -- Ian Freislich 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 #16: Sat Feb 22 08:20:17 SAST 2003 ianf@brane-dead.digs.iafrica.com:/usr/src/sys/i386/compile/BRANE-DEAD Preloaded elf kernel "/boot/kernel/kernel" at 0xc0412000. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80fbff real memory = 201261056 (191 MB) avail memory = 190816256 (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: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 8 entries at 0xc00fdc60 pcib0: at pcibus 0 on motherboard pci0: on pcib0 IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 17 -> irq 16 IOAPIC #0 intpin 18 -> irq 17 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd000-0xd01f irq 12 at device 7.2 on pci0 usb0: 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 Timecounter "PIIX" frequency 3579545 Hz pci0: at device 7.3 (no driver attached) xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xd400-0xd43f irq 2 at device 8.0 on pci0 xl0: Ethernet address: 00:60:08:0b:2e:c8 miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcn0: port 0xd800-0xd81f mem 0xeb000000-0xeb00001f irq 16 at device 9.0 on pci0 pcn0: Ethernet address: 00:60:b0:b6:d9:ee miibus1: on pcn0 lxtphy0: on miibus1 lxtphy0: 100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto de0: port 0xdc00-0xdc7f mem 0xeb002000-0xeb00207f irq 17 at device 10.0 on pci0 de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1 de0: address 00:00:f8:30:dd:c2 ahc0: port 0xe000-0xe0ff mem 0xeb001000-0xeb001fff 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 orm0: