All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Andrei Martynov <andrei.martynov@web.de>
Cc: linux-ide@vger.kernel.org
Subject: Re: libata: waiting for the drives to settle
Date: Sat, 22 Aug 2009 12:13:39 -0400	[thread overview]
Message-ID: <4A901933.6000709@garzik.org> (raw)
In-Reply-To: <969415927.20090821095633@web.de>

On 08/21/2009 03:56 AM, Andrei Martynov wrote:
> Thursday, August 20, 2009, 5:55:47 PM, Jeff Garzik wrote:
>
>> Have you verified this is needed, under libata?  We already have several
>> waits...
>
> Unfortunately it is needed. It is embedded system, where bootloader
> always tries to boot from the first device (dvd-rom). Second device
> (hard disk) is not yet ready when kernel is loaded from flash and does
> probe.

Can you show us the dmesg (printk) output from libata, _without_ 
dev_select or other "wait for drive to settle" special code?

Turn on ATA_DEBUG and ATA_VERBOSE_DEBUG in include/linux/libata.h before 
generating this output, please.

Thanks,

	Jeff





  reply	other threads:[~2009-08-22 16:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20  9:40 libata: waiting for the drives to settle Andrei Martynov
2009-08-20 15:55 ` Jeff Garzik
2009-08-21  7:56   ` Re[2]: " Andrei Martynov
2009-08-22 16:13     ` Jeff Garzik [this message]
2009-09-02  8:51       ` Andrei Martynov

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=4A901933.6000709@garzik.org \
    --to=jeff@garzik.org \
    --cc=andrei.martynov@web.de \
    --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.