LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Dell PowerEdge T100 support pcie hotplug? (http://www.linuxquestions.org/questions/linux-hardware-18/dell-poweredge-t100-support-pcie-hotplug-782058/)

dbrazeau 01-13-2010 05:46 PM

Dell PowerEdge T100 support pcie hotplug?
 
I'm having trouble getting a PCIe device to show up in lspci using pcie hotplug.

After booting the system I load the pciehp module, I then plug-in my PCIe card. After that I do an lspci, but I don't see my PCIe card. When I cold boot with the PCIe card installed the system sees it fine, i.e. it show up in lspci.

Does anyone know of an easy way to figure out if my hardware even supports pcie hotplug?

When I load the hotplug module I just do a modprobe pciehp. Is this all I need to do prior to plugging-in my pcie card?

I will try running pciehp with debugging turn on to see if that gives me any additional info.

Thanks.

dbrazeau 01-13-2010 06:33 PM

This is what I see in dmesg with debugging enabled:
--------------------------------------------------------------------
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
_OSC FW not grant req. control
_OSC FW not grant req. control
pciehp: pcie_port_service_register = 0
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
--------------------------------------------------------------------

What does "_OSC FW not grant req. control" mean? Does this indicate why hotplug is not working?

dbrazeau 01-13-2010 08:02 PM

Ok, it seems like I have it kind of working, although I have to use pciehp_force=1 when I call modprobe on pciehp. Also when I plug the pcie card back in I have to "echo 1 > /sys/bus/pci/slots/X/power" before it detects that the card has been plugged in. Not sure if this is related to the fact that I have to use pciehp_force. Any thoughts would be appreciated.


All times are GMT -5. The time now is 10:03 AM.