mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.28: Is there a way to disable sata probing for certain ports?
@ 2008-12-30 12:24 Justin Piszcz
  2008-12-30 17:08 ` Grant Grundler
  0 siblings, 1 reply; 4+ messages in thread
From: Justin Piszcz @ 2008-12-30 12:24 UTC (permalink / raw)
  To: linux-kernel, linux-ide

When I boot from an Intel X25-E SSD, it takes roughly a few seconds; 
however, items such as:

$ dmesg|grep link\ down
[    2.447030] ata4: SATA link down (SStatus 0 SControl 300)
[    4.481288] ata5: SATA link down (SStatus 0 SControl 0)
[    6.501288] ata6: SATA link down (SStatus 0 SControl 0)
[    8.522038] ata7: SATA link down (SStatus 0 SControl 0)
[   10.552288] ata8: SATA link down (SStatus 0 SControl 0)

Scanning for devices on channels that have nothing connected adds to the 
boot time, is there anyway to turn off/disable scanning for certain ports 
to help speed the boot process?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.28: Is there a way to disable sata probing for certain ports?
  2008-12-30 12:24 2.6.28: Is there a way to disable sata probing for certain ports? Justin Piszcz
@ 2008-12-30 17:08 ` Grant Grundler
  2008-12-30 19:08   ` Alan Jenkins
  2008-12-31 21:01   ` Justin Piszcz
  0 siblings, 2 replies; 4+ messages in thread
From: Grant Grundler @ 2008-12-30 17:08 UTC (permalink / raw)
  To: Justin Piszcz; +Cc: linux-kernel, linux-ide

On Tue, Dec 30, 2008 at 4:24 AM, Justin Piszcz <jpiszcz@lucidpixels.com> wrote:
> When I boot from an Intel X25-E SSD, it takes roughly a few seconds;
> however, items such as:
>
> $ dmesg|grep link\ down
> [    2.447030] ata4: SATA link down (SStatus 0 SControl 300)
> [    4.481288] ata5: SATA link down (SStatus 0 SControl 0)
> [    6.501288] ata6: SATA link down (SStatus 0 SControl 0)
> [    8.522038] ata7: SATA link down (SStatus 0 SControl 0)
> [   10.552288] ata8: SATA link down (SStatus 0 SControl 0)
>
> Scanning for devices on channels that have nothing connected adds to the
> boot time, is there anyway to turn off/disable scanning for certain ports to
> help speed the boot process?

Some BIOSs allow one to enable/disable each port individually.
Have you checked the BIOS config menus for such an option?

drivers/ata/libata-core.c declares "ata_force_param_buf" but I don't
see any documentation for it despite the reference to
Documentation/kernel-parameters.txt .

hth,
grant

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.28: Is there a way to disable sata probing for certain ports?
  2008-12-30 17:08 ` Grant Grundler
@ 2008-12-30 19:08   ` Alan Jenkins
  2008-12-31 21:01   ` Justin Piszcz
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Jenkins @ 2008-12-30 19:08 UTC (permalink / raw)
  To: Grant Grundler; +Cc: Justin Piszcz, linux-kernel, linux-ide

On Tue, Dec 30, 2008 at 5:08 PM, Grant Grundler <grundler@google.com> wrote:
> On Tue, Dec 30, 2008 at 4:24 AM, Justin Piszcz <jpiszcz@lucidpixels.com> wrote:
>> When I boot from an Intel X25-E SSD, it takes roughly a few seconds;
>> however, items such as:
>>
>> $ dmesg|grep link\ down
>> [    2.447030] ata4: SATA link down (SStatus 0 SControl 300)
>> [    4.481288] ata5: SATA link down (SStatus 0 SControl 0)
>> [    6.501288] ata6: SATA link down (SStatus 0 SControl 0)
>> [    8.522038] ata7: SATA link down (SStatus 0 SControl 0)
>> [   10.552288] ata8: SATA link down (SStatus 0 SControl 0)
>>
>> Scanning for devices on channels that have nothing connected adds to the
>> boot time, is there anyway to turn off/disable scanning for certain ports to
>> help speed the boot process?
>
> Some BIOSs allow one to enable/disable each port individually.
> Have you checked the BIOS config menus for such an option?
>
> drivers/ata/libata-core.c declares "ata_force_param_buf" but I don't
> see any documentation for it despite the reference to
> Documentation/kernel-parameters.txt .

There is.  Search the file for "libata.force".  But it doesn't support
disabling the scan for specific ports; that has yet to be implemented.

<https://kerneltrap.org/mailarchive/linux-kernel/2008/8/11/2900064/thread>

Alan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.28: Is there a way to disable sata probing for certain ports?
  2008-12-30 17:08 ` Grant Grundler
  2008-12-30 19:08   ` Alan Jenkins
@ 2008-12-31 21:01   ` Justin Piszcz
  1 sibling, 0 replies; 4+ messages in thread
From: Justin Piszcz @ 2008-12-31 21:01 UTC (permalink / raw)
  To: Grant Grundler; +Cc: linux-kernel, linux-ide



On Tue, 30 Dec 2008, Grant Grundler wrote:

> On Tue, Dec 30, 2008 at 4:24 AM, Justin Piszcz <jpiszcz@lucidpixels.com> wrote:
>> When I boot from an Intel X25-E SSD, it takes roughly a few seconds;
>> however, items such as:
>>
>> $ dmesg|grep link\ down
>> [    2.447030] ata4: SATA link down (SStatus 0 SControl 300)
>> [    4.481288] ata5: SATA link down (SStatus 0 SControl 0)
>> [    6.501288] ata6: SATA link down (SStatus 0 SControl 0)
>> [    8.522038] ata7: SATA link down (SStatus 0 SControl 0)
>> [   10.552288] ata8: SATA link down (SStatus 0 SControl 0)
>>
>> Scanning for devices on channels that have nothing connected adds to the
>> boot time, is there anyway to turn off/disable scanning for certain ports to
>> help speed the boot process?
>
> Some BIOSs allow one to enable/disable each port individually.
> Have you checked the BIOS config menus for such an option?
>
> drivers/ata/libata-core.c declares "ata_force_param_buf" but I don't
> see any documentation for it despite the reference to
> Documentation/kernel-parameters.txt .
>
> hth,
> grant
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Disabling the additional controllers helped a bit but for AHCI on a few 
boards its all or nothing, AHCI enabled/disabled.

Justin.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-31 21:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-30 12:24 2.6.28: Is there a way to disable sata probing for certain ports? Justin Piszcz
2008-12-30 17:08 ` Grant Grundler
2008-12-30 19:08   ` Alan Jenkins
2008-12-31 21:01   ` Justin Piszcz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®