This version is no longer supported. If this is still reproducible on a
newer/supported version, please reopen.


** Changed in: linux (Ubuntu)
       Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/371434

Title:
  PCI ExpressCard hotplug requires pciehp.pciehp_force=1

Status in linux package in Ubuntu:
  Won't Fix

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.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) Difference in dmesg output booting default kcmdline kernel between
  card present and card absent:

  (the diff is trimmed a bit for relevance)

  --- /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
  @@ -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]
  @@ -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-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 @@
   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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/371434/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to