public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* hotplug create_slot hang
@ 2008-09-06 17:15 Yinghai Lu
  2008-09-06 19:44 ` Andrew Morton
  2008-09-06 21:50 ` Alex Chiang
  0 siblings, 2 replies; 7+ messages in thread
From: Yinghai Lu @ 2008-09-06 17:15 UTC (permalink / raw)
  To: Ingo Molnar, Linux Kernel Mailing List, Andrew Morton,
	jbarnes@virtuousgeek.org

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hotplug create_slot hang
  2008-09-06 17:15 hotplug create_slot hang Yinghai Lu
@ 2008-09-06 19:44 ` Andrew Morton
  2008-09-06 21:18   ` Yinghai Lu
  2008-09-06 21:50 ` Alex Chiang
  1 sibling, 1 reply; 7+ messages in thread
From: Andrew Morton @ 2008-09-06 19:44 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Ingo Molnar, Linux Kernel Mailing List, jbarnes@virtuousgeek.org

On Sat, 6 Sep 2008 10:15:03 -0700 "Yinghai Lu" <yhlu.kernel@gmail.com> 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
> 
> 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?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hotplug create_slot hang
  2008-09-06 19:44 ` Andrew Morton
@ 2008-09-06 21:18   ` Yinghai Lu
  0 siblings, 0 replies; 7+ messages in thread
From: Yinghai Lu @ 2008-09-06 21:18 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ingo Molnar, Linux Kernel Mailing List, jbarnes@virtuousgeek.org

On Sat, Sep 6, 2008 at 12:44 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Sat, 6 Sep 2008 10:15:03 -0700 "Yinghai Lu" <yhlu.kernel@gmail.com> 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
>>
>> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hotplug create_slot hang
  2008-09-06 17:15 hotplug create_slot hang Yinghai Lu
  2008-09-06 19:44 ` Andrew Morton
@ 2008-09-06 21:50 ` Alex Chiang
  2008-09-06 22:18   ` Yinghai Lu
  1 sibling, 1 reply; 7+ messages in thread
From: Alex Chiang @ 2008-09-06 21:50 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Ingo Molnar, Linux Kernel Mailing List, Andrew Morton,
	jbarnes@virtuousgeek.org

* Yinghai Lu <yhlu.kernel@gmail.com>:
> 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

Is this the hang?

> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hotplug create_slot hang
  2008-09-06 21:50 ` Alex Chiang
@ 2008-09-06 22:18   ` Yinghai Lu
  2008-09-07  4:59     ` Alex Chiang
  0 siblings, 1 reply; 7+ messages in thread
From: Yinghai Lu @ 2008-09-06 22:18 UTC (permalink / raw)
  To: Alex Chiang, Yinghai Lu, Ingo Molnar, Linux Kernel Mailing List,
	Andrew Morton, jbarnes@virtuousgeek.org

On Sat, Sep 6, 2008 at 2:50 PM, Alex Chiang <achiang@hp.com> wrote:
> * Yinghai Lu <yhlu.kernel@gmail.com>:
>> 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
>
> Is this the hang?
>
>> 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?

after

pciehp: pciehp: slot already registered by another hotplug driver

never go on...

YH

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hotplug create_slot hang
  2008-09-06 22:18   ` Yinghai Lu
@ 2008-09-07  4:59     ` Alex Chiang
  2008-09-08 12:55       ` Kenji Kaneshige
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Chiang @ 2008-09-07  4:59 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Ingo Molnar, Linux Kernel Mailing List, Andrew Morton,
	jbarnes@virtuousgeek.org, kaneshige.kenji

* Yinghai Lu <yhlu.kernel@gmail.com>:
> On Sat, Sep 6, 2008 at 2:50 PM, Alex Chiang <achiang@hp.com> wrote:
> > * Yinghai Lu <yhlu.kernel@gmail.com>:
> >> 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
> >
> > Is this the hang?
> >
> >> 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?
> 
> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hotplug create_slot hang
  2008-09-07  4:59     ` Alex Chiang
@ 2008-09-08 12:55       ` Kenji Kaneshige
  0 siblings, 0 replies; 7+ messages in thread
From: Kenji Kaneshige @ 2008-09-08 12:55 UTC (permalink / raw)
  To: Alex Chiang, Yinghai Lu, Ingo Molnar, Linux Kernel Mailing List,
	Andrew Morton, jbarnes@virtuousgeek.org, kaneshige.kenji

Alex Chiang wrote:
> * Yinghai Lu <yhlu.kernel@gmail.com>:
>> On Sat, Sep 6, 2008 at 2:50 PM, Alex Chiang <achiang@hp.com> wrote:
>>> * Yinghai Lu <yhlu.kernel@gmail.com>:
>>>> 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
>>> Is this the hang?
>>>
>>>> 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?
>> 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?
> 

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-08 12:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-06 17:15 hotplug create_slot hang Yinghai Lu
2008-09-06 19:44 ` Andrew Morton
2008-09-06 21:18   ` Yinghai Lu
2008-09-06 21:50 ` Alex Chiang
2008-09-06 22:18   ` Yinghai Lu
2008-09-07  4:59     ` Alex Chiang
2008-09-08 12:55       ` Kenji Kaneshige

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox