lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200810302148.10761.arvidjaar@mail.ru>
Date:	Thu, 30 Oct 2008 21:48:10 +0300
From:	Andrey Borzenkov <arvidjaar@...l.ru>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: 2.6.28-rc2: initrd fails to create bloc devices

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

Download attachment "signature.asc " of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ