lkml.org 
[lkml]   [2008]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject2.6.28-rc2: initrd fails to create bloc devices
Date
I am using Mandriva which has mkinitrd based on RedHat (current version
in 6.0.63). With 2.6.28 it sporadically fails (or I should rather say,
it sporadically manages) to created block devices in initrd which of
course prevents kernel from finding root later.

The control flow is

1. mkblkdevs (I assume, it is for any built-in driver)
2. load modules, needed for disk access/file system
3. mkblkdevs again
4. mount real root etc etc etc

First mkblkdevs will initially traverse /sys/block and create all it
finds there. It is empty in my case (no built-in driver).

Second mkblkdev will notice that device tree was already initialized
and will not descend into /sys/block but rather listen and process to
hotplug events generated in step 2. At least that is how I interpret
nash code.

So it looks like something has changed between 2.6.27 and 2.6.28 regarding
event delivery. It looks like race condition. I do not see any pattern
except after several attempts it would suddenly boot.

I tried both IDE and PATA, both show the same problem.

Any idea?

-andrey
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-10-30 19:51    [W:0.761 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site