On 08/12/2010 19:30, Martin Johnson wrote: > After updating from 7.1 to 8.1, I'm seeing "kernel: stray irq7" kernel > messages in the syslogs on three NET5501's. ... > The box is a NET5501-70 with a SATA laptop drive, and no extra cards. > So I start to think there's something in my kernel config that doesn't > suit the 5501 hardware.
I have now trimmed down my kernel config for FreeBSD 8.1. If anyone wants it, it can be downloaded from http://net42.co.uk/downloads/NET5501 Everything seems to work, but "top" is still reporting up to 10% of CPU time being taken by interrupts, even when the system is idle: CPU: 0.0% user, 0.0% nice, 1.9% system, 9.3% interrupt, 88.7% idle After each boot, the log shows "kernel: stray irq7" and later "kernel: too many stray irq 7's: not logging anymore", as if there's something on the Soekris board generating IRQs that we aren't handling. I believe IRQ 7 on FreeBSD kernel reports is a placeholder for missed interrupts. Just looking at interrupt counters: # vmstat -i interrupt total rate irq0: clk 158121051 1000 irq3: uart1 2221 0 irq4: uart0 375 0 irq7: 6 0 stray irq7 6 0 irq8: rtc 161876641 1023 irq11: vr0 680731 4 irq14: ata0 436168 2 irq15: ata1 ohci0+ 94943420 600 Total 416060619 2631 Could the stats for irq0 & irq8 reflect a clock that's ticking a bit too quickly for a relatively slow CPU? I don't have anything on ATA1 (just a SATA laptop hard drive on /dev/ad0). But I do have a USB multi-port RS232 device, though as far as I know it's not hit very hard: it just plugs into various device consoles, plus a weather receiver that receives brief bursts of traffic at 19200 baud every 20 seconds or so. If I run vmstat -i on a different NET5501 (without the USB device), then I get: # vmstat -i interrupt total rate irq0: clk 572865511 999 irq3: uart1 4559 0 irq4: uart0 334 0 irq8: rtc 73317680 127 irq11: vr0 443655 0 irq14: ata0 617127 1 irq15: ata1 ohci0+ 1 0 Total 647248867 1129 Once again the clock rate seems a bit high, but the rate for IRQ15 is zero, presumably because there are no USB devices on that machine. Is CPU_ELAN_XTAL required on the NET5501, or was that only for NET4801 hardware? Thanks for any pointers, - Martin. _______________________________________________ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech