* EC seen at boot doesn't unplug
@ 2011-06-04 15:26 Carl Karsten
2011-06-05 1:41 ` Greg KH
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Carl Karsten @ 2011-06-04 15:26 UTC (permalink / raw)
To: linux-hotplug
I am wondering why I see a difference between 2 similar setups:
ubuntu 2.6.39-3-generic
EC card (many firewire cards)
I have 2 laptops. 2.6.39-3-generic on both.
HP EliteBook 8530w (KS051UA#ABA)
HP Pavilion dv6700 Notebook PC (KC300UA#ABA)
On the EliteBook, hotplug works: lspci entries come and go, modules
un/load, udev reports add/remove. good.
On the Pavilion, if I load acpiphp (via /etc/modules), hotplug works.
If I don't load any additional modules hotplug does not work: insert
card - nothing in syslog, lspci, udev. If a card is in the slot when
the kernel loads, it shows in syslog, lscpi and the drivers get
loaded. If I pull it out, nothing changes: still listed in lspci,
modules still loaded, dev nodes still around.
Here is some logs lines from Pavilion:
stock module, doesn't work:
[ 0.560575] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.560605] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
onboard firewire, irrelevant but might cause confusion if I don't bring it up:
[ 0.314713] pci 0000:02:05.0: proprietary Ricoh MMC controller
disabled (via firewire function)
[ 1.582830] ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 5
[ 1.582853] firewire_ohci 0000:02:05.0: PCI INT A -> Link[LNK1] ->
GSI 5 (level, low) -> IRQ 5
[ 1.630061] usb 2-2: new high speed USB device number 3 using ehci_hcd
[ 1.640134] firewire_ohci: Added fw-ohci device 0000:02:05.0, OHCI
v1.10, 4 IR + 4 IT contexts, quirks 0x1
[ 2.140126] firewire_core: created device fw0: GUID 00241b00964cac00, S400
juser@pc8:~$ sudo modprobe acpiphp
juser@pc8:~$ sudo dmesg -c
[ 1407.598144] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 1407.599274] acpiphp: Slot [1] registered
plug in card
root@pc8:~# sudo dmesg -c
[ 857.351959] pci 0000:04:00.0: [11c1:5901] type 0 class 0x000c00
[ 857.351996] pci 0000:04:00.0: reg 10: [mem 0x00000000-0x00000fff 64bit]
[ 857.352082] pci 0000:04:00.0: supports D1 D2
[ 857.352089] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 857.352099] pci 0000:04:00.0: PME# disabled
[ 857.352472] pci 0000:04:00.0: BAR 0: assigned [mem
0xf2000000-0xf2000fff 64bit]
[ 857.352489] pci 0000:04:00.0: BAR 0: set to [mem
0xf2000000-0xf2000fff 64bit] (PCI address [0xf2000000-0xf2000fff])
[ 857.352518] pci 0000:04:00.0: no hotplug settings from platform
[ 857.353261] firewire_ohci 0000:04:00.0: enabling device (0000 -> 0002)
[ 857.353725] ACPI: PCI Interrupt Link [LK1E] enabled at IRQ 16
[ 857.353740] firewire_ohci 0000:04:00.0: PCI INT A -> Link[LK1E] ->
GSI 16 (level, low) -> IRQ 16
[ 857.353754] firewire_ohci 0000:04:00.0: setting latency timer to 64
[ 857.410139] firewire_ohci: Added fw-ohci device 0000:04:00.0, OHCI
v1.10, 8 IR + 8 IT contexts, quirks 0x10
[ 857.910326] firewire_core: created device fw1: GUID 0108000000005e01, S800
I'll be happy to post more logs from other machines etc.
--
Carl K
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EC seen at boot doesn't unplug
2011-06-04 15:26 EC seen at boot doesn't unplug Carl Karsten
@ 2011-06-05 1:41 ` Greg KH
2011-06-05 3:07 ` Carl Karsten
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2011-06-05 1:41 UTC (permalink / raw)
To: linux-hotplug
On Sat, Jun 04, 2011 at 10:26:27AM -0500, Carl Karsten wrote:
> I am wondering why I see a difference between 2 similar setups:
> ubuntu 2.6.39-3-generic
> EC card (many firewire cards)
>
> I have 2 laptops. 2.6.39-3-generic on both.
>
> HP EliteBook 8530w (KS051UA#ABA)
> HP Pavilion dv6700 Notebook PC (KC300UA#ABA)
>
> On the EliteBook, hotplug works: lspci entries come and go, modules
> un/load, udev reports add/remove. good.
>
> On the Pavilion, if I load acpiphp (via /etc/modules), hotplug works.
> If I don't load any additional modules hotplug does not work: insert
> card - nothing in syslog, lspci, udev. If a card is in the slot when
> the kernel loads, it shows in syslog, lscpi and the drivers get
> loaded. If I pull it out, nothing changes: still listed in lspci,
> modules still loaded, dev nodes still around.
Try pciehp instead of acpiphp, that's usually used for "newer" systems.
Let us know if that works or not.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EC seen at boot doesn't unplug
2011-06-04 15:26 EC seen at boot doesn't unplug Carl Karsten
2011-06-05 1:41 ` Greg KH
@ 2011-06-05 3:07 ` Carl Karsten
2011-06-05 3:28 ` Carl Karsten
2011-06-05 5:42 ` Greg KH
3 siblings, 0 replies; 5+ messages in thread
From: Carl Karsten @ 2011-06-05 3:07 UTC (permalink / raw)
To: linux-hotplug
On Sat, Jun 4, 2011 at 8:41 PM, Greg KH <greg@kroah.com> wrote:
> On Sat, Jun 04, 2011 at 10:26:27AM -0500, Carl Karsten wrote:
>> I am wondering why I see a difference between 2 similar setups:
>> ubuntu 2.6.39-3-generic
>> EC card (many firewire cards)
>>
>> I have 2 laptops. 2.6.39-3-generic on both.
>>
>> HP EliteBook 8530w (KS051UA#ABA)
>> HP Pavilion dv6700 Notebook PC (KC300UA#ABA)
>>
>> On the EliteBook, hotplug works: lspci entries come and go, modules
>> un/load, udev reports add/remove. good.
>>
>> On the Pavilion, if I load acpiphp (via /etc/modules), hotplug works.
>> If I don't load any additional modules hotplug does not work: insert
>> card - nothing in syslog, lspci, udev. If a card is in the slot when
>> the kernel loads, it shows in syslog, lscpi and the drivers get
>> loaded. If I pull it out, nothing changes: still listed in lspci,
>> modules still loaded, dev nodes still around.
>
> Try pciehp instead of acpiphp, that's usually used for "newer" systems.
>
> Let us know if that works or not.
>
Dose not work: It's included in the kernel.
[ 0.560605] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
--
Carl K
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EC seen at boot doesn't unplug
2011-06-04 15:26 EC seen at boot doesn't unplug Carl Karsten
2011-06-05 1:41 ` Greg KH
2011-06-05 3:07 ` Carl Karsten
@ 2011-06-05 3:28 ` Carl Karsten
2011-06-05 5:42 ` Greg KH
3 siblings, 0 replies; 5+ messages in thread
From: Carl Karsten @ 2011-06-05 3:28 UTC (permalink / raw)
To: linux-hotplug
On Sat, Jun 4, 2011 at 10:07 PM, Carl Karsten <carl@personnelware.com> wrote:
> On Sat, Jun 4, 2011 at 8:41 PM, Greg KH <greg@kroah.com> wrote:
>> On Sat, Jun 04, 2011 at 10:26:27AM -0500, Carl Karsten wrote:
>>> I am wondering why I see a difference between 2 similar setups:
>>> ubuntu 2.6.39-3-generic
>>> EC card (many firewire cards)
>>>
>>> I have 2 laptops. 2.6.39-3-generic on both.
>>>
>>> HP EliteBook 8530w (KS051UA#ABA)
>>> HP Pavilion dv6700 Notebook PC (KC300UA#ABA)
>>>
>>> On the EliteBook, hotplug works: lspci entries come and go, modules
>>> un/load, udev reports add/remove. good.
>>>
>>> On the Pavilion, if I load acpiphp (via /etc/modules), hotplug works.
>>> If I don't load any additional modules hotplug does not work: insert
>>> card - nothing in syslog, lspci, udev. If a card is in the slot when
>>> the kernel loads, it shows in syslog, lscpi and the drivers get
>>> loaded. If I pull it out, nothing changes: still listed in lspci,
>>> modules still loaded, dev nodes still around.
>>
>> Try pciehp instead of acpiphp, that's usually used for "newer" systems.
>>
>> Let us know if that works or not.
>>
>
> Dose not work: It's included in the kernel.
>
> [ 0.560605] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
more info:
root@pc8:/var/log# grep -i hotplug /boot/config-2.6.39-3-generic
CONFIG_HOTPLUG=y
# CONFIG_MEMORY_HOTPLUG is not set
CONFIG_HOTPLUG_CPU=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_FAKE=m
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
CONFIG_HOTPLUG_PCI_CPCI=y
CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m
CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m
CONFIG_HOTPLUG_PCI_SHPC=m
root@pc8:/sys/module/pciehp/parameters# tail *
=> pciehp_debug <=
N
=> pciehp_detect_mode <=
(null)
=> pciehp_force <=
N
=> pciehp_poll_mode <=
N
=> pciehp_poll_time <=
0
--
Carl K
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EC seen at boot doesn't unplug
2011-06-04 15:26 EC seen at boot doesn't unplug Carl Karsten
` (2 preceding siblings ...)
2011-06-05 3:28 ` Carl Karsten
@ 2011-06-05 5:42 ` Greg KH
3 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2011-06-05 5:42 UTC (permalink / raw)
To: linux-hotplug
On Sat, Jun 04, 2011 at 10:07:25PM -0500, Carl Karsten wrote:
> On Sat, Jun 4, 2011 at 8:41 PM, Greg KH <greg@kroah.com> wrote:
> > On Sat, Jun 04, 2011 at 10:26:27AM -0500, Carl Karsten wrote:
> >> I am wondering why I see a difference between 2 similar setups:
> >> ubuntu 2.6.39-3-generic
> >> EC card (many firewire cards)
> >>
> >> I have 2 laptops. 2.6.39-3-generic on both.
> >>
> >> HP EliteBook 8530w (KS051UA#ABA)
> >> HP Pavilion dv6700 Notebook PC (KC300UA#ABA)
> >>
> >> On the EliteBook, hotplug works: lspci entries come and go, modules
> >> un/load, udev reports add/remove. good.
> >>
> >> On the Pavilion, if I load acpiphp (via /etc/modules), hotplug works.
> >> If I don't load any additional modules hotplug does not work: insert
> >> card - nothing in syslog, lspci, udev. If a card is in the slot when
> >> the kernel loads, it shows in syslog, lscpi and the drivers get
> >> loaded. If I pull it out, nothing changes: still listed in lspci,
> >> modules still loaded, dev nodes still around.
> >
> > Try pciehp instead of acpiphp, that's usually used for "newer" systems.
> >
> > Let us know if that works or not.
> >
>
> Dose not work: It's included in the kernel.
>
> [ 0.560605] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
Ok, try posting this on the linux-pci@vger.kernel.org list, that's where
the PCI hotplug people are at, not here.
good luck,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-05 5:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-04 15:26 EC seen at boot doesn't unplug Carl Karsten
2011-06-05 1:41 ` Greg KH
2011-06-05 3:07 ` Carl Karsten
2011-06-05 3:28 ` Carl Karsten
2011-06-05 5:42 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).