使用lpci能夠發現系統有這張PCI卡snx_golden, 查看 /proc/interrupts 可以看到PCI卡使用IRQ18 :
CPU0 CPU1
0: 12012 12202 IO-APIC-edge timer
1: 214 209 IO-APIC-edge i8042
9: 0 0 IO-APIC-fasteoi acpi
12: 943 898 IO-APIC-edge i8042
14: 1464 1404 IO-APIC-edge libata
15: 0 0 IO-APIC-edge libata
17: 0 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5
18: 0 0 IO-APIC-fasteoi snx_golden
19: 1 1 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb7
20: 500162 499839 IO-APIC-fasteoi uhci_hcd:usb3
21: 54 48 IO-APIC-fasteoi uhci_hcd:usb4, HDA Intel
22: 0 0 IO-APIC-fasteoi uhci_hcd:usb6
但是, 使用這張卡連接到PLC上卻出現以下訊息:
Jul 24 16:00:54 site kernel: Pid: 0, comm: swapper Tainted: PF 2.6.24.RT #1
Jul 24 16:00:54 site kernel: [<c015905a>] __report_bad_irq+0x36/0x75
Jul 24 16:00:54 site kernel: [<c011eceb>] __update_rq_clock+0x1a/0xf3
Jul 24 16:00:54 site kernel: [<c015926a>] note_interrupt+0x1d1/0x20f
Jul 24 16:00:54 site kernel: [<c0158777>] handle_IRQ_event+0x23/0x51
Jul 24 16:00:54 site kernel: [<c015980d>] handle_fasteoi_irq+0x8a/0xab
Jul 24 16:00:54 site kernel: [<c010694d>] do_IRQ+0x55/0x70
Jul 24 16:00:54 site kernel: [<c01049db>] common_interrupt+0x23/0x28
Jul 24 16:00:54 site kernel: [<c012007b>] set_user_nice+0xb3/0xeb
Jul 24 16:00:54 site kernel: [<f8857436>] acpi_idle_enter_bm+0x288/0x2f6 [processor]
Jul 24 16:00:54 site kernel: [<c0259f2b>] cpuidle_idle_call+0x5c/0x7e
Jul 24 16:00:54 site kernel: [<c0259ecf>] cpuidle_idle_call+0x0/0x7e
Jul 24 16:00:54 site kernel: [<c01025f7>] cpu_idle+0xab/0xe0
Jul 24 16:00:54 site kernel: [<c0385950>] start_kernel+0x341/0x349
Jul 24 16:00:54 site kernel: [<c03850e0>] unknown_bootoption+0x0/0x195
Jul 24 16:00:54 site kernel: =======================
handlers:
[<f9005f0b>] (usb_hcd_irq+0x0/0x4e [usb_core])
Disabling IRQ #20
請問那位大大能夠幫忙解決這個問題, thanks.