From: Paul Ionescu <i_p_a_u_l@yahoo.com>
To: linux-ide@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] IDE/ATA/SATA controller hotplug
Date: Thu, 12 Aug 2004 14:36:03 +0300 [thread overview]
Message-ID: <pan.2004.08.12.11.36.02.955485@yahoo.com> (raw)
In-Reply-To: 411A7472.9010606@pobox.com
On Wed, 11 Aug 2004 15:33:06 -0400, Jeff Garzik wrote:
>> I would have to differ with you here. From conversations and fairly
>> (2 or 3 months ago) experience, the IDE core is not capable of being
>> unloaded.
>
> As long as the low-level driver can be unloaded, that's sufficient for
> hardware- and device-hotplug.
>
Hi Jeff,
On my laptop I have 2 ide buses, ide0 and ide1.
On ide0 I have my hard-drive hda, and on ide1 I have a swappable
cdrom/hard bay as hdc (also I can plug floppy/2nd battery).
I want to be able to hotswap those devices in ide1.
"idectl 1 on/off" from hdparms is broken.
So, I decided to go for modular ide and have the ide module inserted
twice, one time for ide0, and second time for ide1. (of course with 2
different names).
Is this the correct approach ?
I tried to compile IDE as module (kernel 2.6.8-rc4-mm1) in order to have
ide.ko and to be able to insert it with
insmod ide.ko -o ide0 options="ide1=noprobe"
and
insmod ide.ko -o ide1 options="ide0=noprobe"
Is this supposed to work on a 2.6.x kernel ?
I could not find any ide.ko generated. Only ide-core.ko, ide-generic.ko
and others.
My inspiration was Documentation/ide.txt
Maybe the docs have to be updated a little bit, but till then, can you
give me some directions on how to proceed further ?
Thanks,
Paul
next prev parent reply other threads:[~2004-08-12 11:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-19 19:47 [RFC] IDE/ATA/SATA controller hotplug Doug Maxey
2004-07-25 19:00 ` Greg KH
2004-07-26 19:42 ` Doug Maxey
2004-07-28 22:59 ` Greg KH
2004-07-27 15:31 ` Jeff Garzik
2004-07-27 20:18 ` Doug Maxey
2004-07-27 21:31 ` J. Ryan Earl
2004-07-27 20:47 ` Doug Maxey
2004-08-11 19:33 ` Jeff Garzik
2004-08-12 11:36 ` Paul Ionescu [this message]
2004-07-27 21:14 ` J. Ryan Earl
2004-07-27 20:15 ` Jeff Garzik
2004-07-27 20:20 ` Jeff Garzik
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=pan.2004.08.12.11.36.02.955485@yahoo.com \
--to=i_p_a_u_l@yahoo.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.