PCI ExpressCard hotplug requires pciehp.pciehp_force=1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Low
|
Unassigned |
Bug Description
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.
The tested device is a StarTech EC1394B expresscard.
A) Scenario pciehp.
*A1. Insert card, dmesg output:
pciehp 0000:00:
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-
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-
pciehp: Could not get hotplug parameters
ieee1394: Host added: ID:BUS[1-00:1023] GUID[0000000000
*A2. Eject card, dmesg output:
pciehp 0000:00:
ieee1394: Node removed: ID:BUS[1-00:1023] GUID[0000000000
ohci1394: fw-host1: Set PHY Reg timeout [0xffffffff/
ohci1394: fw-host1: Set PHY Reg timeout [0xffffffff/
B) Scenario pciehp.
*B1. Eject card, dmesg output:
pciehp 0000:00:
ieee1394: Node removed: ID:BUS[0-00:1023] GUID[0000000000
ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/
ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/
*B2. Insert card, dmesg output:
pciehp 0000:00:
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-
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-
pciehp: Could not get hotplug parameters
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0000000000
C) Difference in dmesg output booting default kcmdline kernel between card present and card absent:
(the diff is trimmed a bit for relevance)
--- /tmp/hotpluggin
+++ /tmp/hotpluggin
@@ -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-
+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-
pci 0000:00:1c.3: bridge 64bit mmio pref: [0xf0000000-
+pci 0000:0e:00.0: reg 10 32bit mmio: [0xfe7fb800-
+pci 0000:0e:00.0: reg 14 32bit mmio: [0xfe7fc000-
+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-
pci 0000:09:00.0: reg 10 64bit mmio: [0xfe5f0000-
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-
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-
+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-
@@ -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-
pci_bus 0000:0d: resource 2 pref mem [0xf0000000-
+pci_bus 0000:0e: resource 1 mem: [0xfe700000-
pci_bus 0000:09: resource 1 mem: [0xfe500000-
pci_bus 0000:03: resource 1 mem: [0xfe400000-
pci_bus 0000:03: resource 3 io: [0x00-0xffff]
@@ -621,15 +634,17 @@
Freeing unused kernel memory: 544k freed
Write protecting the kernel text: 4200k
Write protecting the kernel read-only data: 1660k
-ohci1394 0000:03:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
+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-
+ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[19] MMIO=[fe7fb800-
+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-
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 @@
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0000000000
+ieee1394: Host added: ID:BUS[1-00:1023] GUID[314fc00032
udev: starting version 141
cfg80211: Calling CRDA to update world regulatory domain
description: | updated |
description: | updated |
Changed in ubuntu: | |
status: | New → Confirmed |
affects: | ubuntu → linux (Ubuntu) |
description: | updated |
tags: | added: needs-kernel-logs |
This issue was found also on Toshiba A200 with a firewire express card