Package: mdadm Version: 1.9.0-2.1 Followup-For: Bug #294404
G'day, just finished reading the stuff on this bug after finding an apt-get upgrade to 1.9.0-21 broke my raid. The bug report for #301560 is also related... Moving mdadm-raid from S25 to S04 in rcS.d broke things for me. First, udev also starts at S04 so I'm not sure you actually beat udev starting up. Also, I had my system happily working with udev at S04 and mdamd-raid at S25... This is how I did it; The problem is udev creates device nodes when modules are loaded. modules have to notify the kernel what devices they need, then udev creates them. According to udev documentation, modules that don't correctly notify of their devices need to be updated so they do. Unfortunately the md module doesn't. I suspect it can't, because even it doesn't know what raid devices will be needed. Fortunately, udev has a workaround for modules that don't yet notify it what devices will be needed. In /etc/udev/links.conf you can specify additional devices that need to be created on startup. I simply added the following to the end of that file; # create md devices. M md0 b 9 0 M md1 b 9 1 M md2 b 9 2 M md3 b 9 3 Note that I have also used this for other things that need it like vmware etc. This means mdadm-raid can happily start with udev up and running. Moving mdadm-raid to start before udev is IMHO the wrong solution... mdadm and udev simply have to learn to work together, or be made to. The reason you broke my system is by moving mdadm-raid to S04, you have moved it before module-init-tools, which runs at S20. My raid requires the sata_sil module which I specified in /etc/modules. Unfortunately these modules are loaded by module-init-tools. mdadm-raid has to be after module_init_tools, which has to be after udev, so mdadm-raid has to be after udev... BTW, scanning /dev/ is an ugly hack too... there must be a better way to do it. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing'), (200, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Versions of packages mdadm depends on: ii debconf 1.4.30.11 Debian configuration management sy ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii makedev 2.3.1-77 creates device files in /dev -- debconf information: * mdadm/autostart: true * mdadm/mail_to: root * mdadm/warning: * mdadm/start_daemon: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]