linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.15 does not boot -- who creates RAID devices?
@ 2006-01-29  1:04 Moshe Yudkowsky
  0 siblings, 0 replies; only message in thread
From: Moshe Yudkowsky @ 2006-01-29  1:04 UTC (permalink / raw)
  To: linux-hotplug

I can't boot 2.6.15; the problem is rather straightforward, but I'd like 
a quick reality check from this list.

In 2.6.14, the device /dev/md/1 is started directly from the /init 
script inside initrd.img using mdadm and UUIDs, using info that it 
garners during LILO.

In 2.6.15, a script in /scripts/local-top/md calls /sbin/mdrun. mdrun 
script explicitly uses mknod to create md devices 0 through 24, and then 
calls mdadm to start these devices if they exist. Unfortunately, through 
an error that I haven't yet uncovered, it starts the components that I 
use for /dev/md/1 as /dev/md/0, my /dev/md/2 as /dev/md/1, etc. In turn, 
this conflicts with /etc/fstab, my file system is never mounted, and the 
boot stalls. (If anyone is interested, the script is part of the 
initramfs tools and can be found, in the Debian distribution, in 
/usr/share/initramfs-tools/scripts/local-top/md.)

Now, as far as I can tell from reading /etc/udev/compat-full.rules, the 
role of udev is strictly post-device creation; it has no role, even in 
theory, of starting these devices; udev just creates a symlink when it 
finds out that some other script creates the md device.

Or am I missing something that udev does? I'm particularly perplexed 
because the "mdrun" script has been around since 2003, and now it's 
suddenly assembling devices in funny way; udev is more in flux. On the 
other hand, 2.6.15 boots in a new way, and I suspect that's the culprit.
-- 
  Moshe Yudkowsky
  work: http://www.Disaggregate.com
  book: http://www.PebbleAndAvalanche.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-29  1:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-29  1:04 2.6.15 does not boot -- who creates RAID devices? Moshe Yudkowsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).