Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: thomas.debesse+debian@gmail.com, 598518@bugs.debian.org,
	linux-ide@vger.kernel.org
Subject: Re: Bug#598518: linux-image-2.6-686: ata_piix module loaded before ahci module deactivate hotplug support (regression from lenny)
Date: Mon, 04 Oct 2010 18:46:51 +0200	[thread overview]
Message-ID: <4CAA04FB.7070402@gmail.com> (raw)
In-Reply-To: <1285799230.28504.105.camel@localhost>

Hello,

On 09/30/2010 12:27 AM, Ben Hutchings wrote:
> On Wed, 2010-09-29 at 18:50 +0200, thomas.debesse+debian@gmail.com
> wrote:
> [...]
>> ICH6 sata controller could be managed by both ata_piix and ahci module but only
>> ahci module handle hotplug.
>> At boot time, when ata_piix is loaded before ahci module, it takes control of
>> the ICH6 controller and the ahci module does'nt manage nothing. Because
>> ata_piix also manage ICH6 sata controller, hard drives are managed, but because
>> ata_piix module is used in place of ahci module, because ahci module is'nt
>> used, hotplug (and other ahci functionnalities indeed) does'nt works.
> [...]
>> The solution is to load ahci module before ata_piix module, then we can have
>> SATA drives managed by ahci module and IDE drives managed by ata_piix module.
> [...]
> 
> You can force ahci to be loaded first:
> 1. Add the line 'ahci' to /etc/initramfs-tools/modules.
> 2. Run 'update-initramfs -u' to regenerate the initramfs.
> 3. Reboot.
> 
> But it seems like it would be better if ahci was automatically
> preferred.

With modules.order in place, modprobe will always prefer ahci over
ata_piix (the preference follows the link order).  Maybe debian initrd
doesn't handle modules.order properly?

Thanks.

-- 
tejun

  reply	other threads:[~2010-10-04 16:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100929165034.21331.69639.reportbug@albatros.savanenet>
2010-09-29 22:27 ` Bug#598518: linux-image-2.6-686: ata_piix module loaded before ahci module deactivate hotplug support (regression from lenny) Ben Hutchings
2010-10-04 16:46   ` Tejun Heo [this message]
2010-10-04 17:54     ` maximilian attems
2010-10-05  7:45       ` Thomas DEBESSE
2010-10-05  9:05         ` maximilian attems
2010-10-06 17:04           ` Thomas DEBESSE
2010-10-06 18:33             ` Ben Hutchings
2010-10-20 12:58               ` Thomas DEBESSE
2010-11-15 13:43                 ` Thomas DEBESSE

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=4CAA04FB.7070402@gmail.com \
    --to=htejun@gmail.com \
    --cc=598518@bugs.debian.org \
    --cc=ben@decadent.org.uk \
    --cc=linux-ide@vger.kernel.org \
    --cc=thomas.debesse+debian@gmail.com \
    /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