From: Rajat Jain <rajatxjain@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Faking a Hot-Unplug event in kernel 2.6
Date: Thu, 02 Jun 2005 11:33:28 +0000 [thread overview]
Message-ID: <1e2adab7050602042131a92e85@mail.gmail.com> (raw)
Hi,
Please pardon me if this is not the right list for this post. I'm
using 2.6 Kernel. I'm having a (Hot-pluggable) Qlogic HBA plugged into
a PCI Express Slot.
I want to fake an hot-unplug event for this HBA, without physically
removing it from the slot. Basically what I want is that while the HBA
is still physically present at the slot, I want to fire a command /
program that would fake the hot-unplug event for this slot, and thus
will deregister the HBA from Linux. Ideally, I want to do this from
userspace. But if it is not possible, then I can go for a kernel
module as well.
I think that this feature was made available by "Fake PCI Hot plug
controller Driver", but I believe that can only be used if my system
does not have REAL hot-plugging slots. Can "Fake PCI Hot-plug
Controller Driver (fakephp.ko)" and "PCI Express Hot-plug Controller
Driver (pciehp.ko)" Co-exist ??? (So that I can manually give fake
unplug event and THEN remove the device; While hot-plugging, I want
PCI Express HPC driver to take care of every thing)
Is it possible to do what I am trying to do?
TIA,
Rajat
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next reply other threads:[~2005-06-02 11:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-02 11:33 Rajat Jain [this message]
2005-06-03 6:08 ` Faking a Hot-Unplug event in kernel 2.6 Rajat Jain, Noida
2005-06-03 8:11 ` Greg KH
2005-07-25 2:30 ` Rajat Jain
2005-07-25 2:46 ` randy_dunlap
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=1e2adab7050602042131a92e85@mail.gmail.com \
--to=rajatxjain@gmail.com \
--cc=linux-hotplug@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).