From: Tejun Heo <htejun@gmail.com>
To: Mark Lord <liml@rtr.ca>
Cc: Roger While <simrw@sim-basis.de>,
linux-ide@vger.kernel.org, Alan Cox <alan@redhat.com>
Subject: Re: libata/SATA noprobe
Date: Thu, 19 Apr 2007 01:28:57 +0900 [thread overview]
Message-ID: <46264749.7080206@gmail.com> (raw)
In-Reply-To: <462645F6.50702@rtr.ca>
Mark Lord wrote:
> Roger While wrote:
>> Is there any knob/option to prevent libata
>> probing non-existent channels ?
>> Specifically how can I stop the kernel probing
>> the second SATA? -
> ..
>> <6>ata1.00: ATA-7, max UDMA/133, 490234752 sectors: LBA48 NCQ (depth 0/1)
>> <6>ata1.00: ata1: dev 0 multi count 8
>> <6>ata1.00: configured for UDMA/133
>> <6>scsi1 : ata_piix
>> <4>ata2: port is slow to respond, please be patient (Status 0xff)
>> <3>ata2: port failed to respond (30 secs, Status 0xff)
>> <3>ata2: SRST failed (status 0xFF)
>> <3>ata2: SRST failed (err_mask=0x100)
>> <4>ata2: softreset failed, retrying in 5 secs
>> <3>ata2: SRST failed (status 0xFF)
>> <3>ata2: SRST failed (err_mask=0x100)
>> <4>ata2: softreset failed, retrying in 5 secs
>> <3>ata2: SRST failed (status 0xFF)
>> <3>ata2: SRST failed (err_mask=0x100)
>> <3>ata2: reset failed, giving up
> ..
>
> Ugh. That could really slow down system startup.
>
> There is no parameter to avoid it,
> just one to reduce the delay while it probes. Not ideal.
>
> But it really could be more clever here, and notice the 0xff patterns,
> and have an early exit if there's obviously nothing attached.
>
> Or perhaps there's some register it could read to see if the
> port was disabled in the BIOS (I'm betting it is still "enabled",
> but it could be good to check if we don't already).
>
> Maybe just do it in the ata_piix subdriver. Tejun, Alan?
We do consider 0xff as port empty these days. Roger, which kernel
version are you using? Can you give a shot at 2.6.20.7?
--
tejun
next prev parent reply other threads:[~2007-04-18 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-18 14:41 libata/SATA noprobe Roger While
2007-04-18 16:23 ` Mark Lord
2007-04-18 16:28 ` Tejun Heo [this message]
2007-04-18 18:44 ` Roger While
-- strict thread matches above, loose matches on Subject: below --
2007-04-19 18:29 Roger While
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=46264749.7080206@gmail.com \
--to=htejun@gmail.com \
--cc=alan@redhat.com \
--cc=liml@rtr.ca \
--cc=linux-ide@vger.kernel.org \
--cc=simrw@sim-basis.de \
/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).