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 Fix: Patch attached with submission follows: 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
Responsible Changed From-To: freebsd-i386->mav Hi mav, Is there anything we might be able to do and see where this is coming from?
I don't know what exactly causes interrupt storms here. But tests were done with FreeBSD 8.0, since which too many things changed in ata(4) stack, including SVN rev 200297, fixing some interrupt storms after 8.0-RELEASE. It would be nice to retest this with FreeBSED 8.2. At least on my tests VT6421 were working fine. -- Alexander Motin
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped