|
|
Heads-up: New interrupt dcmdsDate: Mon, 14 Nov 2005 12:04:14 -0800 From: Edward Gillett <Edward dot Gillett at Sun dot COM> To: on-all at eng dot sun dot com, onnv-gate at onnv dot eng dot sun dot com Subject: Heads-up: New interrupt dcmds The putback of 6342319 Need a sparc mdb dcmd to display pci/px interrupt registrations 6343599 Need an x86 mdb dcmd to display interrupt registrations adds a new '::interrupts' dcmd to mdb and kmdb. Running this dcmd will dump out the interrupts that have been registered with the PCI or PCI Express nexus drivers on SPARC platforms, and will display the APIC table entries on x86/x64 systems. Sample output from a PCI Express (Sun Ultra 45) workstation and an x86 system is below. For any bugs or feature requests, please file a bug (or rfe) with product: Solaris, category: utility, subcat: mdb, and please include 'ddi-intr-iteam at sun dot com' in the interest list. For any other questions, comments, etc, please send email to ddi-intr-iteam at sun dot com Thanks, The DDI Intr iteam ------- Ultra 45: > ::interrupts +-----------------------------------------------------------------------------+ | Device | Shard | Type | MSG # | State | INO | Mondo | Pil | CPU | +-----------------------------------------------------------------------------+ | uata#0 | no | Fixed | --- | enbl | 0x4 | 0x784 | 4 | 1 | | bge#0 | no | Fixed | --- | enbl | 0x16 | 0x796 | 6 | 0 | | px_pci#5 | no | MSI | 5 | enbl | 0x1d | 0x79d | 9 | 1 | | ohci#0 | yes | Fixed | --- | enbl | 0x0 | 0x780 | 9 | 1 | | ohci#1 | yes | Fixed | --- | enbl | 0x0 | 0x780 | 9 | 1 | | px_pci#1 | no | MSI | 4 | enbl | 0x1c | 0x79c | 9 | 1 | | mpt#0 | no | MSI | 3 | enbl | 0x1b | 0x79b | 4 | 1 | | px_pci#8 | no | MSI | 2 | enbl | 0x1a | 0x79a | 9 | 1 | | px_pci#6 | no | MSI | 1 | enbl | 0x19 | 0x799 | 9 | 1 | | px_pci#0 | no | MSI | 0 | enbl | 0x18 | 0x798 | 9 | 1 | | mi2cv#1 | no | Fixed | --- | enbl | 0x3d | 0x7bd | 4 | 1 | | mi2cv#0 | no | Fixed | --- | enbl | 0x3c | 0x7bc | 4 | 1 | | px#0 | no | PCIe | 27 | enbl | 0x3b | 0x7bb | 1 | 1 | | px#0 | no | PCIe | 51 | enbl | 0x3a | 0x7ba | 14 | 1 | | px#0 | no | PCIe | 49 | enbl | 0x39 | 0x7b9 | 14 | 1 | | px#0 | no | PCIe | 48 | enbl | 0x38 | 0x7b8 | 9 | 1 | +-----------------------------------------------------------------------------+ x86: echo ::interrupts | mdb -k IRQ# Vector# Bus Type CPU Shared IOAPIC/INTIN Driver Name(s)/ISR(s) 6 0x43 ISA Fixed 0 1 0x0/0x6 fdc#0 9 0x80 PCI Fixed 1 0 0x0/0x9 acpi_wrapper_isr 15 0x42 ISA Fixed 0 1 0x0/0xf ata#3 16 0x81 PCI Fixed 1 3 0x0/0x10 uhci#0, hci1394#0, uhci#3 17 0x82 PCI Fixed 1 1 0x0/0x11 audio810#0 18 0x40 PCI Fixed 0 3 0x0/0x12 pci-ide#1, pci-ide#1, uhci#2 19 0x22 PCI Fixed 1 1 0x0/0x13 uhci#1 23 0x20 PCI Fixed 0 1 0x0/0x17 ehci#0 48 0x60 PCI Fixed 1 1 0x2/0x0 e1000g#0 72 0x41 MSI 1 1 n/a mpt#0 160 0xa0 IPI 0 0 192 0xc0 IPI 0 1 xc_serv 208 0xd0 IPI 0 1 kcpc_hw_overflow_intr 209 0xd1 IPI 0 1 cbe_fire 210 0xd3 IPI 0 1 cbe_fire 224 0xe0 IPI 0 1 xc_serv 225 0xe1 IPI 0 1 apic_error_intr |