All of lore.kernel.org
 help / color / mirror / Atom feed
From: Todd and Margo Chester <ToddAndMargo@verizon.net>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: no hotplugging support (FIXME)
Date: Tue, 24 Feb 2009 13:57:57 -0800	[thread overview]
Message-ID: <49A46D65.1030008@verizon.net> (raw)
In-Reply-To: <49A0C8F5.30405@gmail.com>

Robert Hancock wrote:
> Todd and Margo Chester wrote:
>> Robert Hancock wrote:
>>> Todd and Margo Chester wrote:
>>>> Hi Jeff,
>>>>
>>>> I am having a nasty problem with hot swapping a removable (not
>>>> eSATA) drive I use for backup on several servers.  It is reported
>>>> over on
>>>> http://bugs.centos.org/view.php?id=3391
>>>>
>>>> Trying to help me find a work around to the problem at
>>>> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=18608&start=0#forumpost68783 
>>>>
>>>> Alan posted your ata_piix.c code at
>>>> http://centos.toracat.org/ajb/tmp/toddandmargo/ata_piix.c
>>>> He pointed out
>>>>
>>>> 1483 /* no hotplugging support (FIXME) */
>>>> 1484 if (!in_module_init)
>>>> 1485 return -ENODEV;
>>>>
>>>> What do you mean by the comment in line 1483?  Is there some
>>>> know issue with hot swapping SATA drives?
>>>
>>> If you're using the ata_piix driver then it means your motherboard is 
>>> not in AHCI mode, so hotplugging is not supported by either the 
>>> driver or controller. You have to enable AHCI for SATA hotplug to 
>>> work on Intel controllers.
>>>
>>
>> Hi Robers,
>>
>>    As far as I can tell, ACHI is turned on on my motherboard.
>> I have tried all variation in bios (one of them turns /dev/sdb
>> into /dev/hda).   Does not mean ACHI is working right.
>>
>>    Do you know of any reason why my kernel
>> (CentOS 5.2: 2.6.18-92.1.22.el5) would not support
>> (bugs, etc.) hotplugging?
>>
>>    Also, do you know of a utility that I can use to
>> ask ACHI what is has for me (give me a report)?
>>
>> Many thanks,
>> -T
> 
> If the device is in AHCI mode then the ata_piix driver won't load for it 
> - at least it won't in current kernels, I can't say for sure that it 
> won't in the CentOS 5 version.. You do need to get it using the ahci 
> driver instead of ata_piix or hotplug definitely won't work.
> 
> You can try changing the boot initrd to try to load the AHCI driver 
> instead by changing the scsi_hostadapter entry in /etc/modprobe.conf to 
> be ahci instead of ata_piix, then rebuilding the initrd or reinstalling 
> the kernel RPM. However, if the BIOS isn't set up properly for AHCI mode 
> to work, you'll have to either boot up in rescue mode and fix it, or 
> boot up from a different kernel entry in grub.
> 

Hi Robert,

I have

$ modprobe --dry-run -v ahci
insmod /lib/modules/2.6.18-92.1.22.el5/kernel/drivers/ata/ahci.ko

in my system.  Do I just use "modprobe" to install the module
and go edit /etc/modprobe.conf?

And, does the modprobe insertion stay permanent (survives a reboot)?

I am confused   :-[   Can you point me to a link that gives the
directions?

-T

  parent reply	other threads:[~2009-02-24 22:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-04 14:12 Honest does not pay here Andre Hedrick
2003-01-04 14:22 ` Murray J. Root
2003-01-04 14:28 ` William Lee Irwin III
2003-01-04 14:49 ` Andrew McGregor
2003-01-04 15:28 ` Rik van Riel
2003-01-04 20:48   ` Andre Hedrick
2003-01-04 20:56     ` Mark Rutherford
2003-01-04 17:06 ` Steve Lee
2003-01-04 18:38 ` Andrew Walrond
2003-01-04 21:50 ` brian
2009-02-20 20:48 ` no hotplugging support (FIXME) Todd and Margo Chester
2009-02-20 21:37   ` Alan Cox
2009-02-21  1:03   ` Robert Hancock
     [not found]     ` <49A0B1D8.10303@verizon.net>
     [not found]       ` <49A0C8F5.30405@gmail.com>
2009-02-22  4:09         ` Todd and Margo Chester
2009-02-22  4:15           ` Robert Hancock
2009-02-22  4:40             ` Todd and Margo Chester
2009-02-22  4:43               ` Robert Hancock
2009-02-22  4:50                 ` Todd and Margo Chester
2009-02-22  7:40                   ` Robert Hancock
2009-02-24 21:52                 ` Todd and Margo Chester
2009-02-24 21:57         ` Todd and Margo Chester [this message]
2009-02-24 23:59           ` Robert Hancock

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=49A46D65.1030008@verizon.net \
    --to=toddandmargo@verizon.net \
    --cc=hancockrwd@gmail.com \
    --cc=linux-ide@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.