Date: Thu, 24 Dec 2009 10:47:37 GMT From: Fabio Arpino <fabio.arpino@libero.it> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/141942: interrupt storm (VIA 6421A atapci controller) Message-ID: <200912241047.nBOAlbEf059036@www.freebsd.org> Resent-Message-ID: <200912241050.nBOAo2CN060087@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141942 >Category: i386 >Synopsis: interrupt storm (VIA 6421A atapci controller) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 24 10:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Fabio Arpino >Release: FreeBSD 8.0 >Organization: >Environment: FreeBSD provasys 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: my system (AMD XP/1GB RAM) with one or two PCI SATA VIA 6421A continuously shows: - interrupt storm detected on "irq19:"; throttling interrupt source -. It shows when the SATA disk(s) attached to the controller are more than little accessed. - just tried ZFS mirror (or RAID1) configuration - WD disks have been set (jumper) to SATA 150 - one or two SATA cards installed - tried to move cards from one slot to other (no change) - both when 1 disk per card or two disks on one card (ZFS mirror configuration) - most of the unused onboard devices have been switched off in BIOS (serial/parallel ports, audio, midi, game, IDE2, floppy); just IDE1, USB and LAN active. -tried with FreeBSD 8.0 and FreeNAS 7.0 (based on Freebsd 7.2) vmstat -i: interrupt total rate irq1: atkbd0 2791 1 irq14: ata0 44931 30 irq16: rl0 12 0 irq17: atapci1 226198 151 irq19: atapci0 402990 269 irq22: ehci0 3516 2 cpu0: timer 2984839 1999 Total 3665277 2454 head of messages: Dec 23 22:12:59 provasys kernel: interrupt storm detected on "irq17:"; throttling interrupt source Dec 23 22:13:00 provasys kernel: interrupt storm detected on "irq19:"; throttling interrupt source Dec 23 22:13:00 provasys kernel: interrupt storm detected on "irq17:"; throttling interrupt source Dec 23 22:13:01 provasys kernel: interrupt storm detected on "irq19:"; throttling interrupt source Dec 23 22:13:01 provasys kernel: ad10: TIMEOUT - READ_DMA retrying (1 retry left) LBA=1605120 Dec 23 22:13:02 provasys kernel: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=1605760 Dec 23 22:13:02 provasys kernel: interrupt storm detected on "irq19:"; throttling interrupt source Dec 23 22:13:05 provasys last message repeated 3 times Dec 23 22:13:05 provasys halt: halted by root Dec 23 22:13:05 provasys syslogd: exiting on signal 15 Dec 24 08:01:01 provasys syslogd: kernel boot file is /boot/kernel/kernel Dec 24 08:01:01 provasys kernel: Copyright (c) 1992-2009 The FreeBSD Project. Dec 24 08:01:01 provasys kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Dec 24 08:01:01 provasys kernel: The Regents of the University of California. All rights reserved. Dec 24 08:01:01 provasys kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Dec 24 08:01:01 provasys kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 Dec 24 08:01:01 provasys kernel: root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Dec 24 08:01:01 provasys kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Dec 24 08:01:01 provasys kernel: CPU: AMD Athlon(tm) (1830.01-MHz 686-class CPU) Dec 24 08:01:01 provasys kernel: Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Dec 24 08:01:01 provasys kernel: Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> Dec 24 08:01:01 provasys kernel: AMD Features=0xc0400800<SYSCALL,MMX+,3DNow!+,3DNow!> Dec 24 08:01:01 provasys kernel: real memory = 1610612736 (1536 MB) Dec 24 08:01:01 provasys kernel: avail memory = 1563680768 (1491 MB) Dec 24 08:01:01 provasys kernel: ACPI APIC Table: <Nvidia AWRDACPI> Dec 24 08:01:01 provasys kernel: ioapic0 <Version 1.1> irqs 0-23 on motherboard Dec 24 08:01:01 provasys kernel: kbd1 at kbdmux0 Dec 24 08:01:01 provasys kernel: acpi0: <Nvidia AWRDACPI> on motherboard Dec 24 08:01:01 provasys kernel: acpi0: [ITHREAD] Dec 24 08:01:01 provasys kernel: acpi0: Power Button (fixed) Dec 24 08:01:01 provasys kernel: acpi0: reservation of 0, a0000 (3) failed Dec 24 08:01:01 provasys kernel: acpi0: reservation of 100000, 5fef0000 (3) failed Dec 24 08:01:01 provasys kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Dec 24 08:01:01 provasys kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 Dec 24 08:01:01 provasys kernel: acpi_button0: <Power Button> on acpi0 Dec 24 08:01:01 provasys kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0 Dec 24 08:01:01 provasys kernel: pci0: <ACPI PCI bus> on pcib0 Dec 24 08:01:01 provasys kernel: Correcting nForce2 C1 CPU disconnect hangs Dec 24 08:01:01 provasys kernel: agp0: <NVIDIA nForce2 AGP Controller> on hostb0 Dec 24 08:01:01 provasys kernel: pci0: <memory, RAM> at device 0.1 (no driver attached) Dec 24 08:01:01 provasys kernel: pci0: <memory, RAM> at device 0.2 (no driver attached) Dec 24 08:01:01 provasys kernel: pci0: <memory, RAM> at device 0.3 (no driver attached) Dec 24 08:01:01 provasys kernel: pci0: <memory, RAM> at device 0.4 (no driver attached) Dec 24 08:01:01 provasys kernel: pci0: <memory, RAM> at device 0.5 (no driver attached) Dec 24 08:01:01 provasys kernel: isab0: <PCI-ISA bridge> at device 1.0 on pci0 Dec 24 08:01:01 provasys kernel: isa0: <ISA bus> on isab0 Dec 24 08:01:01 provasys kernel: pci0: <serial bus, SMBus> at device 1.1 (no driver attached) Dec 24 08:01:01 provasys kernel: ohci0: <OHCI (generic) USB controller> mem 0xee003000-0xee003fff irq 20 at device 2.0 on pci0 Dec 24 08:01:01 provasys kernel: ohci0: [ITHREAD] Dec 24 08:01:01 provasys kernel: usbus0: <OHCI (generic) USB controller> on ohci0 Dec 24 08:01:01 provasys kernel: ohci1: <OHCI (generic) USB controller> mem 0xee004000-0xee004fff irq 21 at device 2.1 on pci0 Dec 24 08:01:01 provasys kernel: ohci1: [ITHREAD] Dec 24 08:01:01 provasys kernel: usbus1: <OHCI (generic) USB controller> on ohci1 Dec 24 08:01:01 provasys kernel: ehci0: <NVIDIA nForce2 USB 2.0 controller> mem 0xee000000-0xee0000ff irq 22 at device 2.2 on pci0 Dec 24 08:01:01 provasys kernel: ehci0: [ITHREAD] Dec 24 08:01:01 provasys kernel: usbus2: EHCI version 1.0 Dec 24 08:01:01 provasys kernel: usbus2: <NVIDIA nForce2 USB 2.0 controller> on ehci0 Dec 24 08:01:01 provasys kernel: pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0 Dec 24 08:01:01 provasys kernel: pci1: <ACPI PCI bus> on pcib1 Dec 24 08:01:01 provasys kernel: vgapci0: <VGA-compatible display> port 0xa000-0xa0ff mem 0xe0000000-0xe7ffffff,0xed000000-0xed07ffff irq 18 at device 6.0 on pci1 Dec 24 08:01:01 provasys kernel: atapci0: <VIA 6421 SATA150 controller> port 0xa400-0xa40f,0xa800-0xa80f,0xac00-0xac0f,0xb000-0xb00f,0xb400-0xb41f,0xb800-0xb8ff irq 19 at device 7.0 on pci1 Dec 24 08:01:01 provasys kernel: atapci0: [ITHREAD] Dec 24 08:01:01 provasys kernel: ata2: <ATA channel 0> on atapci0 Dec 24 08:01:01 provasys kernel: ata2: [ITHREAD] Dec 24 08:01:01 provasys kernel: ata3: <ATA channel 1> on atapci0 Dec 24 08:01:01 provasys kernel: ata3: [ITHREAD] Dec 24 08:01:01 provasys kernel: ata4: <ATA channel 2> on atapci0 Dec 24 08:01:01 provasys kernel: ata4: [ITHREAD] Dec 24 08:01:01 provasys kernel: atapci1: <VIA 6421 SATA150 controller> port 0xbc00-0xbc0f,0xc000-0xc00f,0xc400-0xc40f,0xc800-0xc80f,0xcc00-0xcc1f,0xd000-0xd0ff irq 17 at device 9.0 on pci1 Dec 24 08:01:01 provasys kernel: atapci1: [ITHREAD] Dec 24 08:01:01 provasys kernel: ata5: <ATA channel 0> on atapci1 Dec 24 08:01:01 provasys kernel: ata5: [ITHREAD] Dec 24 08:01:01 provasys kernel: ata6: <ATA channel 1> on atapci1 Dec 24 08:01:01 provasys kernel: ata6: [ITHREAD] Dec 24 08:01:01 provasys kernel: ata7: <ATA channel 2> on atapci1 Dec 24 08:01:01 provasys kernel: ata7: [ITHREAD] Dec 24 08:01:01 provasys kernel: rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem 0xed080000-0xed0800ff irq 16 at device 11.0 on pci1 Dec 24 08:01:01 provasys kernel: miibus0: <MII bus> on rl0 Dec 24 08:01:01 provasys kernel: rlphy0: <RealTek internal media interface> PHY 0 on miibus0 Dec 24 08:01:01 provasys kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Dec 24 08:01:01 provasys kernel: rl0: Ethernet address: 00:0d:61:7f:4d:22 Dec 24 08:01:01 provasys kernel: rl0: [ITHREAD] Dec 24 08:01:01 provasys kernel: atapci2: <nVidia nForce2 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0 Dec 24 08:01:01 provasys kernel: ata0: <ATA channel 0> on atapci2 Dec 24 08:01:01 provasys kernel: ata0: [ITHREAD] Dec 24 08:01:01 provasys kernel: ata1: <ATA channel 1> on atapci2 Dec 24 08:01:01 provasys kernel: ata1: [ITHREAD] Dec 24 08:01:01 provasys kernel: pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 Dec 24 08:01:01 provasys kernel: pci2: <ACPI PCI bus> on pcib2 Dec 24 08:01:01 provasys kernel: atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0 Dec 24 08:01:01 provasys kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 Dec 24 08:01:01 provasys kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0 Dec 24 08:01:01 provasys kernel: kbd0 at atkbd0 Dec 24 08:01:01 provasys kernel: atkbd0: [GIANT-LOCKED] Dec 24 08:01:01 provasys kernel: atkbd0: [ITHREAD] Dec 24 08:01:01 provasys kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0 Dec 24 08:01:01 provasys kernel: psm0: [GIANT-LOCKED] Dec 24 08:01:01 provasys kernel: psm0: [ITHREAD] Dec 24 08:01:01 provasys kernel: psm0: model Generic PS/2 mouse, device ID 0 Dec 24 08:01:01 provasys kernel: cpu0: <ACPI CPU> on acpi0 Dec 24 08:01:01 provasys kernel: pmtimer0 on isa0 Dec 24 08:01:01 provasys kernel: orm0: <ISA Option ROM> at iomem 0xc0000-0xcafff pnpid ORM0000 on isa0 Dec 24 08:01:01 provasys kernel: sc0: <System console> at flags 0x100 on isa0 Dec 24 08:01:01 provasys kernel: sc0: VGA <16 virtual consoles, flags=0x300> Dec 24 08:01:01 provasys kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Dec 24 08:01:01 provasys kernel: ppc0: parallel port not found. Dec 24 08:01:01 provasys kernel: Timecounter "TSC" frequency 1830011307 Hz quality 800 Dec 24 08:01:01 provasys kernel: Timecounters tick every 1.000 msec Dec 24 08:01:01 provasys kernel: usbus0: 12Mbps Full Speed USB v1.0 Dec 24 08:01:01 provasys kernel: usbus1: 12Mbps Full Speed USB v1.0 Dec 24 08:01:01 provasys kernel: usbus2: 480Mbps High Speed USB v2.0 Dec 24 08:01:01 provasys kernel: ad0: 8062MB <QUANTUM FIREBALLlct08 08 A05.0X00> at ata0-master UDMA66 Dec 24 08:01:01 provasys kernel: ugen0.1: <nVidia> at usbus0 Dec 24 08:01:01 provasys kernel: uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 Dec 24 08:01:01 provasys kernel: ugen1.1: <nVidia> at usbus1 Dec 24 08:01:01 provasys kernel: uhub1: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 Dec 24 08:01:01 provasys kernel: ugen2.1: <nVidia> at usbus2 Dec 24 08:01:01 provasys kernel: uhub2: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2 Dec 24 08:01:01 provasys kernel: acd0: CDROM <NEC CD-ROM CD-3002A/C000> at ata0-slave UDMA33 Dec 24 08:01:01 provasys kernel: ad4: 476940MB <WDC WD5000AADS-00S9B0 01.00A01> at ata2-master SATA150 Dec 24 08:01:01 provasys kernel: uhub0: 3 ports with 3 removable, self powered Dec 24 08:01:01 provasys kernel: uhub1: 3 ports with 3 removable, self powered Dec 24 08:01:01 provasys kernel: ad10: 476940MB <WDC WD5000AADS-00S9B0 01.00A01> at ata5-master SATA150 Dec 24 08:01:01 provasys kernel: Root mount waiting for: usbus2 Dec 24 08:01:01 provasys kernel: Root mount waiting for: usbus2 Dec 24 08:01:01 provasys kernel: uhub2: 6 ports with 6 removable, self powered Dec 24 08:01:01 provasys kernel: Trying to mount root from ufs:/dev/ad0s1a Dec 24 08:01:03 provasys kernel: rl0: link state changed to UP Dec 24 08:01:09 provasys dhclient: New IP Address (rl0): 192.168.1.2 Dec 24 08:01:09 provasys dhclient: New Subnet Mask (rl0): 255.255.255.0 Dec 24 08:01:09 provasys dhclient: New Broadcast Address (rl0): 192.168.1.255 Dec 24 08:01:09 provasys dhclient: New Routers (rl0): 192.168.1.1 Dec 24 08:01:11 provasys login: ROOT LOGIN (root) ON ttyv0 Dec 24 08:01:52 provasys root: Unknown USB device: vendor 0x0951 product 0x1603 bus uhub2 Dec 24 08:01:52 provasys kernel: ugen2.2: <Kingston> at usbus2 Dec 24 08:01:52 provasys kernel: umass0: <Kingston DataTraveler 2.00000000934, class 0/0, rev 2.00/2.00, addr 2> on usbus2 Dec 24 08:01:52 provasys kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Dec 24 08:01:53 provasys kernel: umass0:0:0:-1: Attached to scbus0 Dec 24 08:01:53 provasys kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Dec 24 08:01:53 provasys kernel: da0: <Kingston DataTraveler 2.0 1.00> Removable Direct Access SCSI-2 device Dec 24 08:01:53 provasys kernel: da0: 40.000MB/s transfers Dec 24 08:01:53 provasys kernel: da0: 953MB (1952256 512 byte sectors: 64H 32S/T 953C) Dec 24 08:02:22 provasys login: ROOT LOGIN (root) ON ttyv1 >How-To-Repeat: - PCI SATA VIA 6421A controller board - two SATA disks in ZFS mirror (or 1 PATA+2SATA in ZFS raid1) - heavy read/write load or "zpool scrub" starts errors >Fix: Patch attached with submission follows: hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x01e010de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'AGP Controller (nForce2)' class = bridge subclass = HOST-PCI none0@pci0:0:0:1: class=0x050000 card=0x0c1710de chip=0x01eb10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'Memory Controller 1 (nForce2)' class = memory subclass = RAM none1@pci0:0:0:2: class=0x050000 card=0x0c1710de chip=0x01ee10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'Memory Controller 4 (nForce2)' class = memory subclass = RAM none2@pci0:0:0:3: class=0x050000 card=0x0c1710de chip=0x01ed10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'Memory Controller 3 (nForce2)' class = memory subclass = RAM none3@pci0:0:0:4: class=0x050000 card=0x0c1710de chip=0x01ec10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'Memory Controller 2 (nForce2)' class = memory subclass = RAM none4@pci0:0:0:5: class=0x050000 card=0x0c1710de chip=0x01ef10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'Memory Controller 5 (nForce2)' class = memory subclass = RAM isab0@pci0:0:1:0: class=0x060100 card=0x0c111458 chip=0x006010de rev=0xa4 hdr=0x00 vendor = 'Nvidia Corp' device = 'ISA Bridge (nForce MCP2)' class = bridge subclass = PCI-ISA none5@pci0:0:1:1: class=0x0c0500 card=0x0c111458 chip=0x006410de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'SMBus Controller (nForce MCP-T)' class = serial bus subclass = SMBus ohci0@pci0:0:2:0: class=0x0c0310 card=0x50041458 chip=0x006710de rev=0xa4 hdr=0x00 vendor = 'Nvidia Corp' device = 'OpenHCI USB Controller (nForce MCP2)' class = serial bus subclass = USB ohci1@pci0:0:2:1: class=0x0c0310 card=0x50041458 chip=0x006710de rev=0xa4 hdr=0x00 vendor = 'Nvidia Corp' device = 'OpenHCI USB Controller (nForce MCP2)' class = serial bus subclass = USB ehci0@pci0:0:2:2: class=0x0c0320 card=0x50041458 chip=0x006810de rev=0xa4 hdr=0x00 vendor = 'Nvidia Corp' device = 'EHCI USB 2.0 Controller (nForce MCP2)' class = serial bus subclass = USB pcib1@pci0:0:8:0: class=0x060400 card=0x00000000 chip=0x006c10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce MCP-T CPU to PCI Bridge' class = bridge subclass = PCI-PCI atapci2@pci0:0:9:0: class=0x01018a card=0x50021458 chip=0x006510de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'PATA Controller (nForce MCP2/MCP2-T/MCP2-U)' class = mass storage subclass = ATA pcib2@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x01e810de rev=0xc1 hdr=0x01 vendor = 'Nvidia Corp' device = 'AGP Host to PCI Bridge (nForce2)' class = bridge subclass = PCI-PCI vgapci0@pci0:1:6:0: class=0x030000 card=0x00391002 chip=0x51441002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'Radeon 7200 QD SDR/DDR (Radeon 7200 QD SDR/DDR)' class = display subclass = VGA atapci0@pci0:1:7:0: class=0x010400 card=0x32491106 chip=0x32491106 rev=0x50 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VIA VT6421 RAID Controller - Windows XP 32.bit (VT6421)' class = mass storage subclass = RAID atapci1@pci0:1:9:0: class=0x010400 card=0x32491106 chip=0x32491106 rev=0x50 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VIA VT6421 RAID Controller - Windows XP 32.bit (VT6421)' class = mass storage subclass = RAID rl0@pci0:1:11:0: class=0x020000 card=0xe0001458 chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'Realtek RTL8139 Family PCI Fast Ethernet NIC (RTL-8139/8139C/8139C)' class = network subclass = ethernet >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912241047.nBOAlbEf059036>