From owner-freebsd-current@FreeBSD.ORG Tue May 15 23:37:22 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69E8016A407 for ; Tue, 15 May 2007 23:37:22 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.bluestop.org (muon.bluestop.org [80.68.94.188]) by mx1.freebsd.org (Postfix) with ESMTP id 107AE13C489 for ; Tue, 15 May 2007 23:37:22 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from [10.0.10.23] (dyn-62-56-57-18.dslaccess.co.uk [62.56.57.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTP id 739E4301BC for ; Wed, 16 May 2007 00:06:08 +0100 (BST) Message-ID: <464A3D8D.2070504@cran.org.uk> Date: Wed, 16 May 2007 00:09:01 +0100 From: Bruce Cran User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: if_sis interrupt storm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 23:37:22 -0000 I'm seeing an interrupt storm on the sis0 interface on 7.0-CURRENT (both on the May snapshot and a build from today's sources) - when transferring data the interrupt rate increases until throttling on irq19 occurs and the system hangs - I see lots of messages reporting the throttling of interrupts on irq19 but also get an ATA command timeout message. The problem first occurred when backing up data over the LAN, but I also see the issue at lower data rates: at 200KB/s the interrupt rate increases about once every second. vmstat -i: interrupt total rate irq1: atkbd0 777 3 irq6: fdc0 9 0 irq14: ata0 1377 5 irq15 ata1 664 2 irq19: sis0++ 72515 308 cpu0: timer 469669 1998 Total 545011 2319 I've tried disabling ACPI and compiling a custom kernel without USB support (previously sis0 was sharing an interrupt with uhci0) but the problem still occurs. Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #1: Tue May 15 23:09:10 BST 2007 brucec@neutrino.draftnet:/usr/obj/usr/src/sys/MYKERNEL WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM) XP 2800+ (1668.71-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0400800 real memory = 1073725440 (1023 MB) avail memory = 1041543168 (993 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xde000000-0xdeffffff,0xe0000000-0xefffffff,0xdd000000-0xddffffff irq 16 at device 0.0 on pci1 atapci0: port 0xd800-0xd807,0xd400-0xd403,0xd000-0xd007,0xb800-0xb803,0xb400-0xb40f mem 0xdc800000-0xdc803fff irq 19 at device 6.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] pci0: at device 7.0 (no driver attached) pci0: at device 9.0 (no driver attached) pci0: at device 9.1 (no driver attached) pci0: at device 9.2 (no driver attached) sis0: port 0xa400-0xa4ff mem 0xda800000-0xda800fff irq 19 at device 12.0 on pci0 sis0: Silicon Revision: DP83815D miibus0: on sis0 ukphy0: PHY 0 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:40:f4:57:98:71 sis0: [ITHREAD] pci0: at device 13.0 (no driver attached) pci0: at device 14.0 (no driver attached) pci0: at device 14.1 (no driver attached) atapci1: port 0x9400-0x9407,0x9000-0x9003,0x8800-0x8807,0x8400-0x8403,0x8000-0x800f irq 19 at device 16.0 on pci0 atapci1: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] pci0: at device 16.1 (no driver attached) isab0: at device 17.0 on pci0 isa0: on isab0 atapci2: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6000-0x600f at device 17.1 on pci0 ata0: on atapci2 ata0: [ITHREAD] ata1: on atapci2 ata1: [ITHREAD] fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1668711970 Hz quality 800 Timecounters tick every 1.000 msec ad0: 76319MB at ata0-master UDMA100 ad1: 58644MB at ata0-slave UDMA100 ad2: 78167MB at ata1-master UDMA133 acd0: DVDR at ata1-slave UDMA33 ad8: 239372MB at ata4-master SATA150 Trying to mount root from ufs:/dev/ad0s1a sis0: Applying short cable fix (reg=f1) -- Bruce Cran