Re: EC seen at boot doesn't unplug

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

 



(2011/06/06 8:36), Bjorn Helgaas wrote:
On Sun, Jun 5, 2011 at 5:57 AM, Carl Karsten<carl@xxxxxxxxxxxxxxxxx>  wrote:
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

It might be useful to see the entire dmesg log and the "lspci -vv"
output from the Pavilion.

Could you add "pciehp.pciehp_debug" to kernel parameter when getting
dmesg log? With "pciehp.pciehp_debug", pciehp driver will display
debug messages.

Also, could you send "ls -l /sys/bus/pci/slots/" output?

I guess your hotplug slot is not detected by pciehp for some reason.

Regards,
Kenji Kaneshige



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