.ExternalClass .EC_hmmessage P {padding:0px;} Hi, Iam trying to get hotplug of a PCI controller card working and running into issues. Appreciate any pointers. 1) Error messages in /var/log/messages when the PCI card is hotplugged. If I plug in and out a 2 times the Linux box hangs Jan 22 12:44:31 krishna-lnx-2 last message repeated 4 times Jan 22 12:47:56 krishna-lnx-2 kernel: irq 16: nobody cared (try booting with the "irqpoll" option) Jan 22 12:47:56 krishna-lnx-2 kernel: Pid: 0, comm: swapper Not tainted 2.6.28 #2 Jan 22 12:47:56 krishna-lnx-2 kernel: Call Trace: Jan 22 12:47:56 krishna-lnx-2 kernel: [] __report_bad_irq+0x24/0x69 Jan 22 12:47:56 krishna-lnx-2 kernel: [] __report_bad_irq+0x2b/0x69 Jan 22 12:47:56 krishna-lnx-2 kernel: [] note_interrupt+0xed/0x131 Jan 22 12:47:56 krishna-lnx-2 kernel: [] handle_IRQ_event+0x1a/0x3f Jan 22 12:47:56 krishna-lnx-2 kernel: [] handle_fasteoi_irq+0x7e/0x9c Jan 22 12:47:56 krishna-lnx-2 kernel: [] handle_fasteoi_irq+0x0/0x9c Jan 22 12:47:56 krishna-lnx-2 kernel: [] common_interrupt+0x23/0x28 Jan 22 12:47:56 krishna-lnx-2 kernel: [] mwait_idle+0x32/0x37 Message from syslogd@ at Thu Jan 22 12:47:56 2009 ... krishna-lnx-2 kernel: Disabling IRQ #16Jan 22 12:47:56 krishna-lnx-2 kernel: [] cpu_idle+0x5e/0x72 Jan 22 12:47:56 krishna-lnx-2 kernel: handlers: Jan 22 12:47:56 krishna-lnx-2 kernel: [] (usb_hcd_irq+0x0/0x53) Jan 22 12:47:56 krishna-lnx-2 kernel: Disabling IRQ #16 2) The coldplug of the device is good. Linux detects it as follows: #lspci ... 05:00.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) 05:00.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) 05:00.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65) ... #lspci -v ... 05:00.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller Flags: bus master, medium devsel, latency 32, IRQ 16 I/O ports at c400 [size=32] Capabilities: [80] Power Management version 2 05:00.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller Flags: bus master, medium devsel, latency 32, IRQ 17 I/O ports at cc00 [size=32] Capabilities: [80] Power Management version 2 05:00.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65) (prog-if 20 [EHCI]) Subsystem: VIA Technologies, Inc. USB 2.0 Flags: bus master, medium devsel, latency 32, IRQ 18 Memory at feafec00 (32-bit, non-prefetchable) [size=256] Capabilities: [80] Power Management version 2 ... 3) Details of the box: [root@krishna-lnx-2 log]# uname -a Linux krishna-lnx-2 2.6.28 #2 SMP Tue Jan 13 13:42:13 PST 2009 i686 i686 i386 GNU/Linux [root@krishna-lnx-2 log]# [root@krishna-lnx-2 ~]# cat /etc/issue CentOS release 5.2 (Final) Kernel \r on an \m #dmesg <-- output of dmesg during coldboot .... pci_hotplug: PCI Hot Plug PCI Core version: 0.5 processor ACPI_CPU:00: registered as cooling_device0 ACPI: Processor [CPU1] (supports 8 throttling states) processor ACPI_CPU:01: registered as cooling_device1 ACPI: Processor [CPU2] (supports 8 throttling states) processor ACPI_CPU:02: registered as cooling_device2 ACPI: Processor [CPU3] (supports 8 throttling states) processor ACPI_CPU:03: registered as cooling_device3 ACPI: Processor [CPU4] (supports 8 throttling states) ... Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000) PCI: Found Intel Corporation E7520 Memory Controller Hub with MMCONFIG support. PCI: Using MMCONFIG for extended config space PCI: Using configuration type 1 for base access ACPI: EC: Look up EC in DSDT ACPI: Interpreter enabled ACPI: (supports S0 S1 S3 S5) ACPI: Using IOAPIC for interrupt routing ACPI: No dock devices found. ACPI: PCI Root Bridge [PCI0] (0000:00) ... pci 0000:05:00.0: supports D1 D2 pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:05:00.0: PME# disabled pci 0000:05:00.1: reg 20 io port: [0xcc00-0xcc1f] pci 0000:05:00.1: supports D1 D2 pci 0000:05:00.1: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:05:00.1: PME# disabled pci 0000:05:00.2: reg 10 32bit mmio: [0xfeafec00-0xfeafecff] pci 0000:05:00.2: supports D1 D2 pci 0000:05:00.2: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:05:00.2: PME# disabled pci 0000:05:01.0: reg 10 32bit mmio: [0xfd000000-0xfdffffff] pci 0000:05:01.0: reg 14 io port: [0xc800-0xc8ff] pci 0000:05:01.0: reg 18 32bit mmio: [0xfeaff000-0xfeafffff] pci 0000:05:01.0: reg 30 32bit mmio: [0xfeac0000-0xfeadffff] pci 0000:05:01.0: supports D1 D2 ... Thanks. Krishna _________________________________________________________________ Windows Live™ Hotmail®…more than just e-mail. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009-- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html