All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Bächler" <thomas@archlinux.org>
To: Arjan van de Ven <arjan@infradead.org>
Cc: "Thomas Bächler" <thomas@archlinux.org>, linux-kernel@vger.kernel.org
Subject: Re: fastboot/async and initramfs: How am I supposed to know when devices are finished initializing?
Date: Sun, 29 Mar 2009 19:23:15 +0200	[thread overview]
Message-ID: <49CFAE83.5080700@archlinux.org> (raw)
In-Reply-To: <20090329094220.4e80c267@infradead.org>

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

Arjan van de Ven schrieb:
>> Thanks, I will integrate that into our initramfs. Will that also work 
>> for USB mass storage (which was already problematic with older
>> kernels, you load the module you don't know how long it takes until
>> the sdX devices are created)?
> 
> in part.
> 
> The problem with USB probing is that devices come online whenever they
> feel like it; there is no way to wait for that.

Yes, that is a problem when trying to make bootable USB pen drives.

>> Can I load that module before loading the actual SCSI/SATA/PATA
>> driver?
> 
> it's the loading of the driver that causes the wait. Not the act
> of having the driver loaded.
> 
> so the way to wait for things to settle is to load the driver...
> 
> ... I take it the answer to your question is "no". Yes you can load it
> earlier, but no it has no effect. You can however load/unload it
> multiple times.

I understand the logic now, works as expected on my machine. Many thanks 
for your quick help.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

      parent reply	other threads:[~2009-03-29 17:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-29 16:02 fastboot/async and initramfs: How am I supposed to know when devices are finished initializing? Thomas Bächler
2009-03-29 16:11 ` Arjan van de Ven
2009-03-29 16:39   ` Thomas Bächler
2009-03-29 17:36     ` Kay Sievers
2009-03-29 17:52       ` Thomas Bächler
2009-03-29 18:06         ` Kay Sievers
2009-03-30 18:23           ` Dan Williams
2009-03-30 18:42             ` Kay Sievers
2009-03-30 19:08               ` Dan Williams
2009-03-29 20:03         ` fastboot/async and initramfs: How am I supposed to know when?devices " Alexander Clouter
2009-03-30 20:20           ` Thomas Bächler
     [not found]   ` <49CFA2CC.9080506@archlinux.org>
     [not found]     ` <20090329094220.4e80c267@infradead.org>
2009-03-29 17:23       ` Thomas Bächler [this message]

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=49CFAE83.5080700@archlinux.org \
    --to=thomas@archlinux.org \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@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.