** Description changed: Using Ubuntu 9.04 Jaunty as a reference, hotplugging an expresscard does not work on my Dell Inspiron 1420n laptop computer. I can add "pciehp.pciehp_force=1" to the kernel cmdline options and then hotplugging will work. + + The tested device is a StarTech EC1394B expresscard. + + A) Scenario pciehp.pciehp_force=1 and the expresscard absent at boot time + *A1. Insert card, dmesg output: + + pciehp 0000:00:1c.3:pcie04: Card present on Slot(5) + pci 0000:0d:00.0: supports D1 D2 + pci 0000:0e:00.0: reg 10 32bit mmio: [0x000000-0x0007ff] + pci 0000:0e:00.0: reg 14 32bit mmio: [0x000000-0x003fff] + pci 0000:0e:00.0: supports D1 D2 + pci 0000:0e:00.0: PME# supported from D0 D1 D2 D3hot + pci 0000:0e:00.0: PME# disabled + pci 0000:0d:00.0: bridge io port: [0x00-0xfff] + pci 0000:0d:00.0: bridge 32bit mmio: [0x000000-0x0fffff] + pci 0000:0d:00.0: bridge 64bit mmio pref: [0x000000-0x0fffff] + pci 0000:0d:00.0: PCI bridge, secondary bus 0000:0e + pci 0000:0d:00.0: IO window: disabled + pci 0000:0d:00.0: MEM window: 0xfe600000-0xfe6fffff + pci 0000:0d:00.0: PREFETCH window: disabled + pci 0000:0d:00.0: enabling device (0000 -> 0002) + pci 0000:0d:00.0: setting latency timer to 64 + ohci1394 0000:0e:00.0: enabling device (0000 -> 0002) + ohci1394 0000:0e:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 + ohci1394 0000:0e:00.0: setting latency timer to 64 + ohci1394: fw-host1: OHCI-1394 1.1 (PCI): IRQ=[19] MMIO=[fe604000-fe6047ff] Max Packet=[4096] IR/IT contexts=[4/8] + pciehp: Could not get hotplug parameters + ieee1394: Host added: ID:BUS[1-00:1023] GUID[0000000000300010] + + *A2. Eject card, dmesg output: + pciehp 0000:00:1c.3:pcie04: Card not present on Slot(5) + ieee1394: Node removed: ID:BUS[1-00:1023] GUID[0000000000300010] + ohci1394: fw-host1: Set PHY Reg timeout [0xffffffff/0x00004000/100] + ohci1394: fw-host1: Set PHY Reg timeout [0xffffffff/0x00004000/100] + + B) Scenario pciehp.pciehp_force=1 and the expresscard present at boot time + *B1. Eject card, dmesg output: + pciehp 0000:00:1c.3:pcie04: Card not present on Slot(5) + ieee1394: Node removed: ID:BUS[0-00:1023] GUID[0000000000300010] + ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100] + ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100] + + *B2. Insert card, dmesg output: + pciehp 0000:00:1c.3:pcie04: Card present on Slot(5) + pci 0000:0d:00.0: supports D1 D2 + pci 0000:0e:00.0: reg 10 32bit mmio: [0x000000-0x0007ff] + pci 0000:0e:00.0: reg 14 32bit mmio: [0x000000-0x003fff] + pci 0000:0e:00.0: supports D1 D2 + pci 0000:0e:00.0: PME# supported from D0 D1 D2 D3hot + pci 0000:0e:00.0: PME# disabled + pci 0000:0d:00.0: bridge io port: [0x00-0xfff] + pci 0000:0d:00.0: bridge 32bit mmio: [0x000000-0x0fffff] + pci 0000:0d:00.0: bridge 64bit mmio pref: [0x000000-0x0fffff] + pci 0000:0d:00.0: PCI bridge, secondary bus 0000:0e + pci 0000:0d:00.0: IO window: disabled + pci 0000:0d:00.0: MEM window: 0xfe600000-0xfe6fffff + pci 0000:0d:00.0: PREFETCH window: disabled + pci 0000:0d:00.0: enabling device (0000 -> 0002) + pci 0000:0d:00.0: setting latency timer to 64 + ohci1394 0000:0e:00.0: enabling device (0000 -> 0002) + ohci1394 0000:0e:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 + ohci1394 0000:0e:00.0: setting latency timer to 64 + ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[19] MMIO=[fe604000-fe6047ff] Max Packet=[4096] IR/IT contexts=[4/8] + pciehp: Could not get hotplug parameters + ieee1394: Host added: ID:BUS[0-00:1023] GUID[0000000000300010] + + C) Scenario difference in dmesg output booting default kcmdline kernel + between card present and card absent: + + --- /tmp/hotplugging-default_kcmdline-no_card.txt 2009-05-03 17:58:24.000000000 -0600 + +++ /tmp/hotplugging-default_kcmdline-with_card.txt 2009-05-03 18:01:16.000000000 -0600 + @@ -143,7 +143,7 @@ + PID hash table entries: 4096 (order: 12, 16384 bytes) + Extended CMOS year: 2000 + Fast TSC calibration using PIT + -Detected 2194.281 MHz processor. + +Detected 2194.796 MHz processor. + Console: colour VGA+ 80x25 + console [tty0] enabled + Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) + @@ -164,7 +164,7 @@ + SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 + hpet clockevent registered + HPET: 3 timers in total, 0 timers will be used for per-cpu timer + -Calibrating delay loop (skipped), value calculated using timer frequency.. 4388.56 BogoMIPS (lpj=8777124) + +Calibrating delay loop (skipped), value calculated using timer frequency.. 4389.59 BogoMIPS (lpj=8779184) + Security Framework initialized + SELinux: Disabled at boot. + Mount-cache hash table entries: 512 + @@ -183,7 +183,7 @@ + CPU0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz stepping 0b + Booting processor 1 APIC 0x1 ip 0x6000 + Initializing CPU#1 + -Calibrating delay using timer specific routine.. 4388.95 BogoMIPS (lpj=8777918) + +Calibrating delay using timer specific routine.. 4388.96 BogoMIPS (lpj=8777925) + CPU: L1 I cache: 32K, L1 D cache: 32K + CPU: L2 cache: 4096K + CPU: Physical Processor ID: 0 + @@ -191,7 +191,7 @@ + CPU1: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz stepping 0b + checking TSC synchronization [CPU#0 -> CPU#1]: passed. + Brought up 2 CPUs + -Total of 2 processors activated (8777.52 BogoMIPS). + +Total of 2 processors activated (8778.55 BogoMIPS). + CPU0 attaching sched-domain: + domain 0: span 0-1 level MC + groups: 0 1 + @@ -201,7 +201,7 @@ + net_namespace: 1056 bytes + Booting paravirtualized kernel on bare hardware + regulator: core version 0.5 + -Time: 17:30:01 Date: 05/03/09 + +Time: 17:50:04 Date: 05/03/09 + NET: Registered protocol family 16 + EISA bus registered + ACPI: bus type pci registered + @@ -265,9 +265,16 @@ + pci 0000:0c:00.0: PME# supported from D0 D3hot D3cold + pci 0000:0c:00.0: PME# disabled + pci 0000:00:1c.1: bridge 32bit mmio: [0xfe800000-0xfe8fffff] + +pci 0000:0d:00.0: supports D1 D2 + pci 0000:00:1c.3: bridge io port: [0xd000-0xdfff] + pci 0000:00:1c.3: bridge 32bit mmio: [0xfe600000-0xfe7fffff] + pci 0000:00:1c.3: bridge 64bit mmio pref: [0xf0000000-0xf01fffff] + +pci 0000:0e:00.0: reg 10 32bit mmio: [0xfe7fb800-0xfe7fbfff] + +pci 0000:0e:00.0: reg 14 32bit mmio: [0xfe7fc000-0xfe7fffff] + +pci 0000:0e:00.0: supports D1 D2 + +pci 0000:0e:00.0: PME# supported from D0 D1 D2 D3hot + +pci 0000:0e:00.0: PME# disabled + +pci 0000:0d:00.0: bridge 32bit mmio: [0xfe700000-0xfe7fffff] + pci 0000:09:00.0: reg 10 64bit mmio: [0xfe5f0000-0xfe5fffff] + pci 0000:09:00.0: PME# supported from D3hot D3cold + pci 0000:09:00.0: PME# disabled + @@ -304,7 +311,7 @@ + ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11) + ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *10 + ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 11) *4 + -ACPI: PCI Interrupt Link [LNKD] (IRQs *5 7 9 10 11) + +ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 11) *0, disabled. + ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 *10 11 12 14 15) + ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *9 10 11 12 14 15) + ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 *7 9 10 11 12 14 15) + @@ -374,6 +381,10 @@ + pci 0000:00:1c.1: IO window: disabled + pci 0000:00:1c.1: MEM window: 0xfe800000-0xfe8fffff + pci 0000:00:1c.1: PREFETCH window: disabled + +pci 0000:0d:00.0: PCI bridge, secondary bus 0000:0e + +pci 0000:0d:00.0: IO window: disabled + +pci 0000:0d:00.0: MEM window: 0xfe700000-0xfe7fffff + +pci 0000:0d:00.0: PREFETCH window: disabled + pci 0000:00:1c.3: PCI bridge, secondary bus 0000:0d + pci 0000:00:1c.3: IO window: 0xd000-0xdfff + pci 0000:00:1c.3: MEM window: 0xfe600000-0xfe7fffff + @@ -392,6 +403,7 @@ + pci 0000:00:1c.1: setting latency timer to 64 + pci 0000:00:1c.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19 + pci 0000:00:1c.3: setting latency timer to 64 + +pci 0000:0d:00.0: setting latency timer to 64 + pci 0000:00:1c.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17 + pci 0000:00:1c.5: setting latency timer to 64 + pci 0000:00:1e.0: setting latency timer to 64 + @@ -401,6 +413,7 @@ + pci_bus 0000:0d: resource 0 io: [0xd000-0xdfff] + pci_bus 0000:0d: resource 1 mem: [0xfe600000-0xfe7fffff] + pci_bus 0000:0d: resource 2 pref mem [0xf0000000-0xf01fffff] + +pci_bus 0000:0e: resource 1 mem: [0xfe700000-0xfe7fffff] + pci_bus 0000:09: resource 1 mem: [0xfe500000-0xfe5fffff] + pci_bus 0000:03: resource 1 mem: [0xfe400000-0xfe4fffff] + pci_bus 0000:03: resource 3 io: [0x00-0xffff] + @@ -421,7 +434,7 @@ + cpufreq-nforce2: No nForce2 chipset. + Scanning for low memory corruption every 60 seconds + audit: initializing netlink socket (disabled) + -type=2000 audit(1241371800.613:1): initialized + +type=2000 audit(1241373003.617:1): initialized + highmem bounce pool size: 64 pages + HugeTLB registered 4 MB page size, pre-allocated 0 pages + VFS: Disk quotas dquot_6.5.2 + @@ -466,7 +479,7 @@ + processor ACPI_CPU:01: registered as cooling_device1 + ACPI: Processor [CPU1] (supports 8 throttling states) + thermal LNXTHERM:01: registered as thermal_zone0 + -ACPI: Thermal Zone [THM] (43 C) + +ACPI: Thermal Zone [THM] (47 C) + isapnp: Scanning for PnP cards... + ACPI: Battery Slot [BAT0] (battery present) + isapnp: No Plug & Play device found + @@ -592,15 +605,15 @@ + Using IPI No-Shortcut mode + PM: Resume from disk failed. + registered taskstats version 1 + - Magic number: 9:498:541 + -rtc_cmos 00:03: setting system clock to 2009-05-03 17:30:01 UTC (1241371801) + + Magic number: 9:807:844 + +rtc_cmos 00:03: setting system clock to 2009-05-03 17:50:05 UTC (1241373005) + BIOS EDD facility v0.16 2004-Jun-25, 0 devices found + EDD information not available. + input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4 + ata4.00: ATAPI: HL-DT-ST DVD+/-RW GSA-T21N, A100, max UDMA/33 + ata4.00: configured for UDMA/33 + -ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) + ata3: SATA link down (SStatus 0 SControl 300) + +ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) + ata1.00: ATA-8: WDC WD1200BEVS-75UST0, 01.01A01, max UDMA/133 + ata1.00: 234441648 sectors, multi 8: LBA48 NCQ (depth 31/32) + ata1.00: configured for UDMA/133 + @@ -621,15 +634,17 @@ + Freeing unused kernel memory: 544k freed + Write protecting the kernel text: 4200k + Write protecting the kernel read-only data: 1660k + -Clocksource tsc unstable (delta = -266319339 ns) + -usplash[162] general protection ip:b7fe8d3b sp:bf9688a8 error:0 in libusplash.so.0[b7fd5000+29000] + -ohci1394 0000:03:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 + +usplash[162] general protection ip:b7f81d3b sp:bf800748 error:0 in libusplash.so.0[b7f6e000+29000] + +Clocksource tsc unstable (delta = -265118552 ns) + tg3.c:v3.98 (February 25, 2009) + tg3 0000:09:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 + tg3 0000:09:00.0: setting latency timer to 64 + tg3 0000:09:00.0: PME# disabled + +ohci1394 0000:0e:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 + usb 3-2: new full speed USB device using uhci_hcd and address 2 + -ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[19] MMIO=[fe4ff800-fe4fffff] Max Packet=[2048] IR/IT contexts=[4/4] + +ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[19] MMIO=[fe7fb800-fe7fbfff] Max Packet=[4096] IR/IT contexts=[4/8] + +ohci1394 0000:03:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 + +ohci1394: fw-host1: OHCI-1394 1.1 (PCI): IRQ=[19] MMIO=[fe4ff800-fe4fffff] Max Packet=[2048] IR/IT contexts=[4/4] + usb 3-2: configuration #1 chosen from 1 choice + hub 3-2:1.0: USB hub found + hub 3-2:1.0: 3 ports detected + @@ -642,48 +657,49 @@ + PM: Resume from partition 252:1 + PM: Checking hibernation image. + PM: Resume from disk failed. + -usb 5-1: configuration #1 chosen from 1 choice + -usbcore: registered new interface driver hiddev + kjournald starting. Commit interval 5 seconds + EXT3-fs: mounted filesystem with writeback data mode. + -input: Logitech Trackball as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input5 + -generic-usb 0003:046D:C404.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech Trackball] on usb-0000:00:1d.0-1/input0 + -usbcore: registered new interface driver usbhid + -usbhid: v2.6:USB HID core driver + +usb 5-1: configuration #1 chosen from 1 choice + usb 3-2.1: new full speed USB device using uhci_hcd and address 3 + usb 3-2.1: configuration #1 chosen from 1 choice + usb 3-2.2: new full speed USB device using uhci_hcd and address 4 + usb 3-2.2: configuration #1 chosen from 1 choice + -input: Broadcom Corp as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.2/3-2.2:1.0/input/input6 + -generic-usb 0003:0A5C:4502.0002: input,hidraw1: USB HID v1.11 Keyboard [Broadcom Corp] on usb-0000:00:1a.0-2.2/input0 + usb 3-2.3: new full speed USB device using uhci_hcd and address 5 + usb 3-2.3: configuration #1 chosen from 1 choice + -input: Broadcom Corp as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.3/3-2.3:1.0/input/input7 + -generic-usb 0003:0A5C:4503.0003: input,hidraw2: USB HID v1.11 Mouse [Broadcom Corp] on usb-0000:00:1a.0-2.3/input0 + -ieee1394: Host added: ID:BUS[0-00:1023] GUID[314fc000321989a1] + +ieee1394: Host added: ID:BUS[0-00:1023] GUID[0000000000300010] + +ieee1394: Host added: ID:BUS[1-00:1023] GUID[314fc000321989a1] + udev: starting version 141 + cfg80211: Calling CRDA to update world regulatory domain + -ricoh-mmc: Ricoh MMC Controller disabling driver + -ricoh-mmc: Copyright(c) Philip Langdale + -ricoh-mmc: Ricoh MMC controller found at 0000:03:01.2 [1180:0843] (rev 12) + -ricoh-mmc: Controller is now disabled. + -input: PC Speaker as /devices/platform/pcspkr/input/input8 + -Bluetooth: Generic Bluetooth USB driver ver 0.5 + -usbcore: registered new interface driver btusb + -Linux agpgart interface v0.103 + -dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2) + -iTCO_vendor_support: vendor-support=0 + sdhci: Secure Digital Host Controller Interface driver + sdhci: Copyright(c) Pierre Ossman + sdhci-pci 0000:03:01.1: SDHCI controller found [1180:0822] (rev 22) + sdhci-pci 0000:03:01.1: PCI INT B -> GSI 18 (level, low) -> IRQ 18 + Registered led device: mmc0:: + mmc0: SDHCI controller on PCI [0000:03:01.1] using DMA + -agpgart-intel 0000:00:00.0: Intel 965GM Chipset + -agpgart-intel 0000:00:00.0: detected 7676K stolen memory + +usbcore: registered new interface driver hiddev + +dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2) + +input: PC Speaker as /devices/platform/pcspkr/input/input5 + +Bluetooth: Generic Bluetooth USB driver ver 0.5 + +usbcore: registered new interface driver btusb + +input: Logitech Trackball as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input6 + +generic-usb 0003:046D:C404.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech Trackball] on usb-0000:00:1d.0-1/input0 + +Linux agpgart interface v0.103 + +input: Broadcom Corp as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.2/3-2.2:1.0/input/input7 + +generic-usb 0003:0A5C:4502.0002: input,hidraw1: USB HID v1.11 Keyboard [Broadcom Corp] on usb-0000:00:1a.0-2.2/input0 + +ricoh-mmc: Ricoh MMC Controller disabling driver + +ricoh-mmc: Copyright(c) Philip Langdale + +ricoh-mmc: Ricoh MMC controller found at 0000:03:01.2 [1180:0843] (rev 12) + +ricoh-mmc: Controller is now disabled. + +input: Broadcom Corp as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.3/3-2.3:1.0/input/input8 + +generic-usb 0003:0A5C:4503.0003: input,hidraw2: USB HID v1.11 Mouse [Broadcom Corp] on usb-0000:00:1a.0-2.3/input0 + +usbcore: registered new interface driver usbhid + +usbhid: v2.6:USB HID core driver + +iTCO_vendor_support: vendor-support=0 + iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05 + iTCO_wdt: Found a ICH8M TCO device (Version=2, TCOBASE=0x1060) + iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) + +agpgart-intel 0000:00:00.0: Intel 965GM Chipset + +agpgart-intel 0000:00:00.0: detected 7676K stolen memory + agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000 + cfg80211: World regulatory domain updated: + (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) + @@ -692,18 +708,18 @@ + (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) + (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) + (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) + +HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21 + +HDA Intel 0000:00:1b.0: setting latency timer to 64 + iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26ks + iwl3945: Copyright(c) 2003-2009 Intel Corporation + iwl3945 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 + iwl3945 0000:0c:00.0: setting latency timer to 64 + +input: PS/2 Mouse as /devices/platform/i8042/serio1/input/input9 + iwl3945 0000:0c:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels + iwl3945 0000:0c:00.0: Detected Intel Wireless WiFi Link 3945ABG + iwl3945 0000:0c:00.0: irq 29 for MSI/MSI-X + -phy0: Selected rate control algorithm 'iwl-3945-rs' + -input: PS/2 Mouse as /devices/platform/i8042/serio1/input/input9 + input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input10 + -HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21 + -HDA Intel 0000:00:1b.0: setting latency timer to 64 + +phy0: Selected rate control algorithm 'iwl-3945-rs' + input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input11 + input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input12 + input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input13 + @@ -749,4 +765,3 @@ + wlan0: associated + ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready + wlan0: no IPv6 routers present + -CE: hpet increasing min_delta_ns to 15000 nsec
-- PCI ExpressCard hotplug requires pciehp.pciehp_force=1 https://bugs.launchpad.net/bugs/371434 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
