* 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