[lkml]   [2009]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Q: state of pci express hotplug
Krishna Kothapalli wrote:
>> I'd like to know details of the bugs. Could you please show the
>> details of the bugs?
> Not sure if this is a bug or error on my part:
> a) Cold plug of the PCI express card looks ok ( the devices show up is the sysfs ).
> b)
> However hotplug of the same device does not work (it won't show up in
> the sysfs and uevents are not sent to udev ). Same issue when ACPI is removed from the kernel build and
> modprobe pciehp pciehp_force=1
> Posted some details in (can send in more details if needed) :

In the beginning, I'd like to know which hotplug controller driver
manages your hotplug slots. Could you tell me which hotplug controller
drivers add the directories under /sys/bus/pci/slots, with the following

(1) Build all your hotplug drivers as kernel modules.
(2) Modprobe hotplug drivers one by one, and check which drivers add
directories under /sys/bus/pci/slots. Before trying the next driver,
please rmmod the previous driver, because there are hotplug slots
that can be managed by the several drivers. Note that you don't need
to try fakephp this time.

Here is an example. My machine has four hotplug slots and those can be
handled by acpiphp or pciehp. I tried acpiphp, pciehp and shpchp on that

# ls /sys/bus/pci/slots/
# /sbin/modprobe acpiphp
# ls /sys/bus/pci/slots/
1 2 3 4
# /sbin/rmmod acpiphp
# ls /sys/bus/pci/slots/
# /sbin/modprobe pciehp
# ls /sys/bus/pci/slots/
1 2 3 4
# /sbin/rmmod pciehp
# ls /sys/bus/pci/slots/
# /sbin/modprobe shpchp
# ls /sys/bus/pci/slots/

Kenji Kaneshige

 \ /
  Last update: 2009-02-03 01:53    [W:0.081 / U:0.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site