From: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
To: Krishna Kothapalli <krishna_sunitha@hotmail.com>
Cc: ebiederm@xmission.com, linux-pci@vger.kernel.org,
jbarnes@virtuousgeek.org, achiang@hp.com, djwong@us.ibm.com,
xyzzy@speakeasy.org, linux-kernel@vger.kernel.org
Subject: Re: Q: state of pci express hotplug
Date: Tue, 03 Feb 2009 09:51:20 +0900 [thread overview]
Message-ID: <49879508.4090801@jp.fujitsu.com> (raw)
In-Reply-To: <BAY111-W15F61DA9CA66E14686D5F688C50@phx.gbl>
Krishna Kothapalli wrote:
>
>> I'd like to know details of the bugs. Could you please show the
>> details of the bugs?
>
> Not sure if this is a bug or error on my part:
>
> a) Cold plug of the PCI express card looks ok ( the devices show up is the sysfs ).
> b)
> However hotplug of the same device does not work (it won't show up in
> the sysfs and uevents are not sent to udev ). Same issue when ACPI is removed from the kernel build and
> modprobe pciehp pciehp_force=1
>
> Posted some details in (can send in more details if needed) :
> http://article.gmane.org/gmane.linux.kernel.pci/2865
> http://article.gmane.org/gmane.linux.kernel.pci/2868
>
In the beginning, I'd like to know which hotplug controller driver
manages your hotplug slots. Could you tell me which hotplug controller
drivers add the directories under /sys/bus/pci/slots, with the following
steps?
(1) Build all your hotplug drivers as kernel modules.
(2) Modprobe hotplug drivers one by one, and check which drivers add
directories under /sys/bus/pci/slots. Before trying the next driver,
please rmmod the previous driver, because there are hotplug slots
that can be managed by the several drivers. Note that you don't need
to try fakephp this time.
Here is an example. My machine has four hotplug slots and those can be
handled by acpiphp or pciehp. I tried acpiphp, pciehp and shpchp on that
machine.
# ls /sys/bus/pci/slots/
# /sbin/modprobe acpiphp
# ls /sys/bus/pci/slots/
1 2 3 4
# /sbin/rmmod acpiphp
# ls /sys/bus/pci/slots/
# /sbin/modprobe pciehp
# ls /sys/bus/pci/slots/
1 2 3 4
# /sbin/rmmod pciehp
# ls /sys/bus/pci/slots/
# /sbin/modprobe shpchp
# ls /sys/bus/pci/slots/
Thanks,
Kenji Kaneshige
next prev parent reply other threads:[~2009-02-03 0:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-31 7:01 Q: state of pci express hotplug Eric W. Biederman
2009-01-31 18:13 ` Rafael J. Wysocki
2009-02-02 2:19 ` Kenji Kaneshige
2009-02-02 17:15 ` Krishna Kothapalli
2009-02-03 0:51 ` Kenji Kaneshige [this message]
2009-02-03 20:48 ` Krishna Kothapalli
2009-02-04 2:32 ` Krishna Kothapalli
2009-02-04 5:51 ` Kenji Kaneshige
2009-02-04 18:17 ` Krishna Kothapalli
2009-02-04 19:40 ` Mark Lord
2009-02-04 23:49 ` Alex Chiang
2009-02-05 0:02 ` Kenji Kaneshige
2009-02-05 1:53 ` Krishna Kothapalli
2009-02-05 6:42 ` Kenji Kaneshige
2009-02-06 20:37 ` Krishna Kothapalli
2009-02-02 17:01 ` Alex Chiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49879508.4090801@jp.fujitsu.com \
--to=kaneshige.kenji@jp.fujitsu.com \
--cc=achiang@hp.com \
--cc=djwong@us.ibm.com \
--cc=ebiederm@xmission.com \
--cc=jbarnes@virtuousgeek.org \
--cc=krishna_sunitha@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=xyzzy@speakeasy.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox