Date: Thu, 05 Apr 2007 16:47:13 -0400 From: Mike Tancsa <mike@sentex.net> To: freebsd-hackers@freebsd.org Subject: fixing IRQ storms Message-ID: <200704052047.l35KlAVL060615@lava.sentex.ca>
next in thread | raw e-mail | index | archive | help
Using http://lists.freebsd.org/pipermail/freebsd-bugs/2007-March/022753.html I have been able to get my GPRS card to be recognized in FreeBSD. However, the IRQ it has picked, seems to conflict with the irq of the cardbus causing an interrupt storm. Is there a way to make the card use a different IRQ ? I tried ORing in PCCARD_CFE_IRQSHARE, but it doesnt seem to make a difference. The quirks entry shows from the above PR is and I tried adding in PCCARD_CFE_IRQSHARE without luck. It always goes to irq 10 and it always causes a storm. Any ideas how to fix it ? Thanks for any pointers! static struct pccard_config_entry pccard_sierra_a555_func1_cfe0 = { 0x22, /* cfe number */ PCCARD_CFE_IO8 | PCCARD_CFE_IRQLEVEL, PCCARD_IFTYPE_IO, 1, /* num_iospace */ 0, /* iomask */ { { 0x0008, 0x3e8 } }, /* iospace */ 0x3fbc, /* irqmask */ 0, /* num_memspace */ { }, /* memspace */ 0, /* maxtwins */ }; Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Enhanced Am486DX4/Am5x86 Write-Back (486-class CPU) Origin = "AuthenticAMD" Id = 0x494 Stepping = 4 Features=0x1<FPU> real memory = 67108864 (64 MB) avail memory = 60379136 (57 MB) cpu0 on motherboard sysctl machdep.i8254_freq=1189161 returns 0 Timecounter "ELAN" frequency 8333333 Hz quality 1000 pcib0: <AMD Elan SC520 host to PCI bridge> pcibus 0 on motherboard pci0: <PCI bus> on pcib0 cbb0: <TI1410 PCI-CardBus Bridge> mem 0xa0000000-0xa0000fff irq 10 at device 9.0 on pci0 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0xe100-0xe1ff mem 0xa0001000-0xa0001fff irq 11 at device 18.0 on pci0 sis0: Silicon Revision: DP83816A miibus0: <MII bus> on sis0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:00:24:c5:75:10 sis1: <NatSemi DP8381[56] 10/100BaseTX> port 0xe200-0xe2ff mem 0xa0002000-0xa0002fff irq 5 at device 19.0 on pci0 sis1: Silicon Revision: DP83816A miibus1: <MII bus> on sis1 ukphy1: <Generic IEEE 802.3u media interface> on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis1: Ethernet address: 00:00:24:c5:75:11 isa0: <ISA bus> on motherboard orm0: <ISA Option ROM> at iomem 0xc8000-0xd0fff on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 uart0: console (19200,n,8,1) Timecounters tick every 1.000 msec Elan-mmcr driver: MMCR at 0xc5b71000. Elan-mmcr Soekris net45xx comBIOS ver. 1.28 20050527 Copyright (C) 2000-2005 uart2: <Sierra Wireless AC860> at port 0x3e8-0x3ef irq 10 function 1 config 34 on pccard0 Interrupt storm detected on "irq10:"; throttling interrupt source ad0: 977MB <Hitachi XX.V.3.4.0.0 Rev 0.00> at ata0-master PIO4 % vmstat -i interrupt total rate irq0: clk 151537 996 irq4: uart0 288 1 irq8: rtc 19395 127 irq10: cbb0 uart2 134314 883 irq11: sis0 192 1 irq14: ata0 16891 111 Total 322617 2122 ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704052047.l35KlAVL060615>