[OE-core] [PATCH 1/2] meta-ostro-fixes: initramfs-framework: add retry loop for slow boot devices (like USB)

Otavio Salvador otavio.salvador at ossystems.com.br
Mon Jul 11 14:35:24 UTC 2016


Hello Ross,

On Fri, Jul 1, 2016 at 2:50 PM, Otavio Salvador <otavio at ossystems.com.br> wrote:
> On Fri, Jul 1, 2016 at 10:53 AM, Patrick Ohly <patrick.ohly at intel.com> wrote:
>> On some hardware platforms (Gigabyte, qemu), detection of USB devices
>> by the kernel is slow enough such that it happens only after the first
>> attempt to mount the rootfs. We need to keep trying for a while
>> (default: 5s seconds, controlled by roottimeout=<seconds>) and sleep
>> between each attempt (default: one second, rootdelay=<seconds>).
>>
>> This change intentionally splits finding the rootfs (in the new
>> "rootfs") and switching to it ("finish"). That is needed to keep udev
>> running while waiting for the rootfs, because it shuts down before
>> "finish" starts. It is also the direction that was discussed on the OE
>> mailing list for future changes to initramfs-framework (like
>> supporting a "live CD" module, which would replace or further augment
>> mounting of the rootfs).
>>
>> Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
>
> Agreed but please split the rootfs in another module; so we don't
> force it to be included. The e2fs can rdepend on it.

I noticed this has been merged but my comment here was totally ignored. Why?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list