Comment 3 for bug 371434

Revision history for this message
Eric Shattow (eshattow) wrote :

Boot with kcmdline options: ro quiet splash pciehp.pciehp_force=0 pciehp.pciehp_debug=1 pci_hotplug.debug_acpi=1

Relevant dmesg output below:

[ 0.636504] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.636516] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636526] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0.RP01
[ 0.636531] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0.RP01 OSHP not found
[ 0.636544] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636548] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0 OSHP not found
[ 0.636559] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Cannot get control of hotplug hardware for pci 0000:00:1c.0
[ 0.636567] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636570] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0.RP02
[ 0.636574] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0.RP02 OSHP not found
[ 0.636583] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636586] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0 OSHP not found
[ 0.636596] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Cannot get control of hotplug hardware for pci 0000:00:1c.1
[ 0.636603] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636606] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0.RP04
[ 0.636610] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0.RP04 OSHP not found
[ 0.636619] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636622] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0 OSHP not found
[ 0.636633] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Cannot get control of hotplug hardware for pci 0000:00:1c.3
[ 0.636639] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636642] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0.RP06
[ 0.636646] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0.RP06 OSHP not found
[ 0.636655] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636659] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0 OSHP not found
[ 0.636669] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Cannot get control of hotplug hardware for pci 0000:00:1c.5
[ 0.636735] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636739] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0.RP01
[ 0.636743] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0.RP01 OSHP not found
[ 0.636752] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636756] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0 OSHP not found
[ 0.636766] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Cannot get control of hotplug hardware for pci 0000:00:1c.0
[ 0.636773] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636776] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0.RP02
[ 0.636780] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0.RP02 OSHP not found
[ 0.636789] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636793] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0 OSHP not found
[ 0.636803] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Cannot get control of hotplug hardware for pci 0000:00:1c.1
[ 0.636809] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636813] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0.RP04
[ 0.636816] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0.RP04 OSHP not found
[ 0.636825] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636829] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0 OSHP not found
[ 0.636839] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Cannot get control of hotplug hardware for pci 0000:00:1c.3
[ 0.636846] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636849] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0.RP06
[ 0.636853] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0.RP06 OSHP not found
[ 0.636862] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Trying to get hotplug control for \_SB_.PCI0
[ 0.636865] acpi_pcihp: acpi_run_oshp: acpi_run_oshp:\_SB_.PCI0 OSHP not found
[ 0.636875] acpi_pcihp: acpi_get_hp_hw_control_from_firmware: Cannot get control of hotplug hardware for pci 0000:00:1c.5
[ 0.636907] pciehp: pcie_port_service_register = 0
[ 0.636908] pciehp: PCI Express Hot Plug Controller Driver version: 0.4

The pciehp code does not run if it cannot find hotplug parameters from pci_hotplug code. To fix this bug, we need to know how to determine if a laptop computer will support hotplug or not, and correct the pci_hotplug hotplug detection.