Re: fastboot/async and initramfs: How am I supposed to know whendevices are finished initializing?

From: Thomas Bächler
Date: Sun Mar 29 2009 - 13:23:47 EST


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: signature.asc
Description: OpenPGP digital signature