Skip to contentSkip to conversation

hotplug create_slot hang

DISCUSSION Yinghai Lu 4 participants 7 messages Sep 6, 2008 – Sep 8, 2008

lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

calling pci_hotplug_init+0x0/0x1d
pci_hotplug: PCI Hot Plug PCI Core version: 0.5 initcall pci_hotplug_init+0x0/0x1d returned 0 after 11 msecs

calling acpiphp_init+0x0/0x5f
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:07:00
acpiphp: Slot [1] registered
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:0d:00
acpiphp: Slot [2] registered
initcall acpiphp_init+0x0/0x5f returned 0 after 105 msecs

calling pcied_init+0x0/0x7b
pciehp: HPC vendor_id 8086 device_id 340a ss_vid 0 ss_did 0
pci_create_slot: inc refcount to 2 on 0000:07:00
pci_destroy_slot: dec refcount to 1 on 0000:07:00
pciehp: pci_hp_register failed with error -16
pciehp: pciehp: slot already registered by another hotplug driver

#1 lore raw
Quoted 14 lines · On Sat, 6 Sep 2008 10:15:03 -0700 "Yinghai Lu" <[email protected]> wrote:

calling pci_hotplug_init+0x0/0x1d
pci_hotplug: PCI Hot Plug PCI Core version: 0.5 initcall pci_hotplug_init+0x0/0x1d returned 0 after 11 msecs

calling acpiphp_init+0x0/0x5f
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:07:00
acpiphp: Slot [1] registered
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:0d:00
acpiphp: Slot [2] registered
initcall acpiphp_init+0x0/0x5f returned 0 after 105 msecs

Quoted 6 lines

calling pcied_init+0x0/0x7b
pciehp: HPC vendor_id 8086 device_id 340a ss_vid 0 ss_did 0
pci_create_slot: inc refcount to 2 on 0000:07:00
pci_destroy_slot: dec refcount to 1 on 0000:07:00
pciehp: pci_hp_register failed with error -16
pciehp: pciehp: slot already registered by another hotplug driver

which kernel version is this?

author
#2 lore raw
Quoted 16 lines · Andrew Morton
Quoted 14 lines · On Sat, 6 Sep 2008 10:15:03 -0700 "Yinghai Lu" <[email protected]> wrote:

calling pci_hotplug_init+0x0/0x1d
pci_hotplug: PCI Hot Plug PCI Core version: 0.5 initcall pci_hotplug_init+0x0/0x1d returned 0 after 11 msecs

calling acpiphp_init+0x0/0x5f
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:07:00
acpiphp: Slot [1] registered
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:0d:00
acpiphp: Slot [2] registered
initcall acpiphp_init+0x0/0x5f returned 0 after 105 msecs

Quoted 7 lines
Quoted 6 lines

calling pcied_init+0x0/0x7b
pciehp: HPC vendor_id 8086 device_id 340a ss_vid 0 ss_did 0
pci_create_slot: inc refcount to 2 on 0000:07:00
pci_destroy_slot: dec refcount to 1 on 0000:07:00
pciehp: pci_hp_register failed with error -16
pciehp: pciehp: slot already registered by another hotplug driver

current tip/master

two days ago works.

YH

#3 lore raw
In reply to Yinghai Lu

* Yinghai Lu <[email protected]>:

Quoted 4 lines

calling pci_hotplug_init+0x0/0x1d
pci_hotplug: PCI Hot Plug PCI Core version: 0.5 initcall pci_hotplug_init+0x0/0x1d returned 0 after 11 msecs

Quoted 9 lines

calling acpiphp_init+0x0/0x5f
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:07:00
acpiphp: Slot [1] registered
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:0d:00
acpiphp: Slot [2] registered
initcall acpiphp_init+0x0/0x5f returned 0 after 105 msecs

Is this the hang?

Quoted 6 lines

calling pcied_init+0x0/0x7b
pciehp: HPC vendor_id 8086 device_id 340a ss_vid 0 ss_did 0
pci_create_slot: inc refcount to 2 on 0000:07:00
pci_destroy_slot: dec refcount to 1 on 0000:07:00
pciehp: pci_hp_register failed with error -16
pciehp: pciehp: slot already registered by another hotplug driver

This failure is by design -- we only allow one hotplug driver to claim a slot now, and it's "first one loaded wins".

Unless you're talking about something else?

Thanks.

/ac

author
#4 lore raw
Quoted 24 lines · Alex Chiang

* Yinghai Lu <[email protected]>:

Quoted 4 lines

calling pci_hotplug_init+0x0/0x1d
pci_hotplug: PCI Hot Plug PCI Core version: 0.5 initcall pci_hotplug_init+0x0/0x1d returned 0 after 11 msecs

Quoted 9 lines

calling acpiphp_init+0x0/0x5f
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:07:00
acpiphp: Slot [1] registered
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:0d:00
acpiphp: Slot [2] registered
initcall acpiphp_init+0x0/0x5f returned 0 after 105 msecs

Is this the hang?

Quoted 6 lines

calling pcied_init+0x0/0x7b
pciehp: HPC vendor_id 8086 device_id 340a ss_vid 0 ss_did 0
pci_create_slot: inc refcount to 2 on 0000:07:00
pci_destroy_slot: dec refcount to 1 on 0000:07:00
pciehp: pci_hp_register failed with error -16
pciehp: pciehp: slot already registered by another hotplug driver

Quoted 4 lines

This failure is by design -- we only allow one hotplug driver to claim a slot now, and it's "first one loaded wins".

Unless you're talking about something else?

after

pciehp: pciehp: slot already registered by another hotplug driver

never go on...

YH

#5 lore raw

* Yinghai Lu <[email protected]>:

Quoted 28 lines · Alex Chiang
Quoted 27 lines

* Yinghai Lu <[email protected]>:

Quoted 4 lines

calling pci_hotplug_init+0x0/0x1d
pci_hotplug: PCI Hot Plug PCI Core version: 0.5 initcall pci_hotplug_init+0x0/0x1d returned 0 after 11 msecs

Quoted 9 lines

calling acpiphp_init+0x0/0x5f
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:07:00
acpiphp: Slot [1] registered
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:0d:00
acpiphp: Slot [2] registered
initcall acpiphp_init+0x0/0x5f returned 0 after 105 msecs

Is this the hang?

Quoted 6 lines

calling pcied_init+0x0/0x7b
pciehp: HPC vendor_id 8086 device_id 340a ss_vid 0 ss_did 0
pci_create_slot: inc refcount to 2 on 0000:07:00
pci_destroy_slot: dec refcount to 1 on 0000:07:00
pciehp: pci_hp_register failed with error -16
pciehp: pciehp: slot already registered by another hotplug driver

This failure is by design -- we only allow one hotplug driver to claim a slot now, and it's "first one loaded wins".

Quoted 7 lines
Quoted 1 line

Unless you're talking about something else?

after

pciehp: pciehp: slot already registered by another hotplug driver

never go on...

You said that it worked a few days ago, but is hanging now.

Can you bisect it?

Kenji-san, any ideas?

/ac

#6 lore raw
Quoted 32 lines · Alex Chiang

* Yinghai Lu <[email protected]>:

Quoted 31 lines · Alex Chiang
Quoted 22 lines

* Yinghai Lu <[email protected]>:

Quoted 4 lines

calling pci_hotplug_init+0x0/0x1d
pci_hotplug: PCI Hot Plug PCI Core version: 0.5 initcall pci_hotplug_init+0x0/0x1d returned 0 after 11 msecs

Quoted 9 lines

calling acpiphp_init+0x0/0x5f
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:07:00
acpiphp: Slot [1] registered
decode_hpp: Could not get hotplug parameters. Use defaults
pci_create_slot: created pci_slot on 0000:0d:00
acpiphp: Slot [2] registered
initcall acpiphp_init+0x0/0x5f returned 0 after 105 msecs

Is this the hang?

Quoted 6 lines

calling pcied_init+0x0/0x7b
pciehp: HPC vendor_id 8086 device_id 340a ss_vid 0 ss_did 0
pci_create_slot: inc refcount to 2 on 0000:07:00
pci_destroy_slot: dec refcount to 1 on 0000:07:00
pciehp: pci_hp_register failed with error -16
pciehp: pciehp: slot already registered by another hotplug driver

Quoted 4 lines

This failure is by design -- we only allow one hotplug driver to claim a slot now, and it's "first one loaded wins".

Unless you're talking about something else?

after

pciehp: pciehp: slot already registered by another hotplug driver

Quoted 8 lines
Quoted 1 line

never go on...

You said that it worked a few days ago, but is hanging now.

Can you bisect it?

Kenji-san, any ideas?

I'm sorry, but I don't have any idea so far.

Yinghai, does this happen even when pciehp is not configured?

Thanks,
Kenji Kaneshige