Re: non-printable characters in /proc/interrupts

From: Randy Dunlap
Date: Fri Jun 10 2011 - 19:06:06 EST


On Sat, 11 Jun 2011 00:38:42 +0200 Toralf FÃrster wrote:

[adding Thomas]

> Randy Dunlap wrote at 18:11:32
> > On Fri, 10 Jun 2011 10:40:19 +0200 Toralf FÃrster wrote:
> > > I've wondering about this entry at my ThinkPad T400 (kernel 2.6.39.1):
> > >
> > > n22 ~ # grep 47: /proc/interrupts
> > >
> > > 47: 44041 69740 PCI-MSI-edge lâïï@ïEï
> > >
> > > I attached the output of
> > > $>grep 47: /proc/interrupts > /tmp/int47
> > > onto this email, the complete table looks like this :
> > >
> > > n22 ~ # cat /proc/interrupts
> > >
> > > CPU0 CPU1
> > >
> > > 0: 605293 71393 IO-APIC-edge timer
> > > 1: 13432 4 IO-APIC-edge i8042
> > > 8: 55 64 IO-APIC-edge rtc0
> > > 9: 6248 509 IO-APIC-fasteoi acpi
> > >
> > > 12: 1389 72 IO-APIC-edge i8042
> > > 16: 0 0 IO-APIC-fasteoi uhci_hcd:usb6
> > > 17: 0 0 IO-APIC-fasteoi uhci_hcd:usb7
> > > 18: 0 0 IO-APIC-fasteoi uhci_hcd:usb8
> > > 19: 0 0 IO-APIC-fasteoi ehci_hcd:usb2
> > > 20: 52881 0 IO-APIC-fasteoi uhci_hcd:usb3
> > > 21: 329 37 IO-APIC-fasteoi uhci_hcd:usb4
> > > 22: 0 0 IO-APIC-fasteoi uhci_hcd:usb5
> > > 23: 30046 8743 IO-APIC-fasteoi ehci_hcd:usb1
> > > 40: 0 0 PCI-MSI-edge PCIe PME
> > > 41: 0 0 PCI-MSI-edge PCIe PME
> > > 42: 0 0 PCI-MSI-edge PCIe PME
> > > 43: 0 0 PCI-MSI-edge PCIe PME
> > > 44: 484163 55698 PCI-MSI-edge ahci
> > > 45: 750 1809 PCI-MSI-edge eth0
> > > 46: 94 213 PCI-MSI-edge hda_intel
> > > 47: 44399 70713 PCI-MSI-edge lâïï@ïEï
> > > 48: 71969 102457 PCI-MSI-edge iwlagn
> > >
> > > NMI: 0 0 Non-maskable interrupts
> > > LOC: 10167789 10321319 Local timer interrupts
> > > SPU: 0 0 Spurious interrupts
> > > PMI: 0 0 Performance monitoring interrupts
> > > IWI: 213 200 IRQ work interrupts
> > > RES: 289390 333102 Rescheduling interrupts
> > > CAL: 4677 4542 Function call interrupts
> > > TLB: 22261 16007 TLB shootdowns
> > > TRM: 0 0 Thermal event interrupts
> > > THR: 0 0 Threshold APIC interrupts
> > > MCE: 0 0 Machine check exceptions
> > > MCP: 41 41 Machine check polls
> > > ERR: 0
> > > MIS: 0
> >
> > Is there any other info (like dmesg or boot log) that tells what
> > device/driver uses interrupt 47 ?
>
> 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
> Controller (rev 03)
> Subsystem: Lenovo Device 20f2
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR+ FastB2B- DisINTx+
> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> Latency: 0, Cache Line Size: 64 bytes
> Interrupt: pin B routed to IRQ 47
> Region 0: Memory at fc020000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: <access denied>
> Kernel driver in use: HDA Intel
> Kernel modules: snd-hda-intel
>
> I attached the dmesg output
>
> --

So for you lspci, IRQ 47 is HD Audio,
but in the dmesg.txt file, we can see:

iwlagn 0000:03:00.0: irq 46 for MSI/MSI-X // iwlagn uses irq 48 above
HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X // HDA Intel uses irq 46 above
i915 0000:00:02.0: irq 48 for MSI/MSI-X // i915 uses what irq above? maybe 47?

Hopefully Thomas can see something here.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/