EC seen at boot doesn't unplug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am wondering why I see a difference between 2 similar setups:

I have 2 laptops, ubuntu 2.6.39-3-generic on both.
pciehp is included, acpiphp built but not inserted by default.

HP EliteBook 8530w (KS051UA#ABA)
HP Pavilion dv6700 Notebook PC (KC300UA#ABA)

On the EliteBook,  hotplug works: lspci entries come and go, modules
un/load, udev reports add/remove.  good.

On the Pavilion, if I load acpiphp (via /etc/modules), hotplug works.
If I don't load any additional modules hotplug does not work: insert
card - nothing in syslog, lspci, udev.  If a card is in the slot when
the kernel loads, it shows in syslog, lscpi and the drivers get
loaded.  If I pull it out, nothing changes: still listed in lspci,
modules still loaded, dev nodes still around.

Here is some logs lines from Pavilion:

stock module, doesn't work:
[    0.560575] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.560605] pciehp: PCI Express Hot Plug Controller Driver version: 0.4

onboard firewire, irrelevant but might cause confusion if I don't bring it up:
[    0.314713] pci 0000:02:05.0: proprietary Ricoh MMC controller
disabled (via firewire function)
[    1.582830] ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 5
[    1.582853] firewire_ohci 0000:02:05.0: PCI INT A -> Link[LNK1] ->
GSI 5 (level, low) -> IRQ 5
[    1.630061] usb 2-2: new high speed USB device number 3 using ehci_hcd
[    1.640134] firewire_ohci: Added fw-ohci device 0000:02:05.0, OHCI
v1.10, 4 IR + 4 IT contexts, quirks 0x1
[    2.140126] firewire_core: created device fw0: GUID 00241b00964cac00, S400


juser@pc8:~$ sudo modprobe acpiphp
juser@pc8:~$ sudo dmesg -c
[ 1407.598144] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 1407.599274] acpiphp: Slot [1] registered

plug in card
root@pc8:~# sudo dmesg -c
[  857.351959] pci 0000:04:00.0: [11c1:5901] type 0 class 0x000c00
[  857.351996] pci 0000:04:00.0: reg 10: [mem 0x00000000-0x00000fff 64bit]
[  857.352082] pci 0000:04:00.0: supports D1 D2
[  857.352089] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  857.352099] pci 0000:04:00.0: PME# disabled
[  857.352472] pci 0000:04:00.0: BAR 0: assigned [mem
0xf2000000-0xf2000fff 64bit]
[  857.352489] pci 0000:04:00.0: BAR 0: set to [mem
0xf2000000-0xf2000fff 64bit] (PCI address [0xf2000000-0xf2000fff])
[  857.352518] pci 0000:04:00.0: no hotplug settings from platform
[  857.353261] firewire_ohci 0000:04:00.0: enabling device (0000 -> 0002)
[  857.353725] ACPI: PCI Interrupt Link [LK1E] enabled at IRQ 16
[  857.353740] firewire_ohci 0000:04:00.0: PCI INT A -> Link[LK1E] ->
GSI 16 (level, low) -> IRQ 16
[  857.353754] firewire_ohci 0000:04:00.0: setting latency timer to 64
[  857.410139] firewire_ohci: Added fw-ohci device 0000:04:00.0, OHCI
v1.10, 8 IR + 8 IT contexts, quirks 0x10
[  857.910326] firewire_core: created device fw1: GUID 0108000000005e01, S800


ubuntu kernel config:

grep -i hotplug /boot/config-2.6.39-3-generic
CONFIG_HOTPLUG=y
# CONFIG_MEMORY_HOTPLUG is not set
CONFIG_HOTPLUG_CPU=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_FAKE=m
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
CONFIG_HOTPLUG_PCI_CPCI=y
CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m
CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m
CONFIG_HOTPLUG_PCI_SHPC=m


root@pc8:/sys/module/pciehp/parameters# tail *
==> pciehp_debug <==
N

==> pciehp_detect_mode <==
(null)

==> pciehp_force <==
N

==> pciehp_poll_mode <==
N

==> pciehp_poll_time <==
0


I'll be happy to post more logs from other machines etc.



-- 
Carl K
--
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


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux