Hi, There was an update to stable busybox this weekend choosing version 1.23.0 as the new stable version. Since this update, for NEW kernels only, I'm unable to assemble my RAID6 root device and therefore the kernel won't boot. Has anyone else had similar problems? I've looked around for recent posts, etc., but haven't found anything as of yet but the gatekeeper in the Gentoo Bugzilla environment won't let me file a bug report.
At issue here is assembling the root RAID device. I build the initramfs into the kernel for exactly this sort of reason. Other than changing a few RAID UUIDs this setup hasn't changed in years. I masked 1.23.0, went back to 1.21.0 and that still works for new kernel so it appears to be a busybox issue. My configuration follows. initramfs.config is referenced in my kernel config file which then loads initramfs_init_new.sh to do the work. The failure is three messages: /init: line 16: mount: not found /init: line 17: mount: not found /init: line 18: mount: not found which appear to correlate with lines 16-18: mount -t proc none /proc mount -t sysfs none /sys mount -t devtmpfs none /dev Any input are greatly appreciated. Thanks, Mark mark@c2RAID6 ~ $ cat /usr/src/initramfs.config dir /bin 755 0 0 file /bin/busybox /bin/busybox 755 0 0 slink /bin/sh busybox 777 0 0 dir /realroot 755 0 0 dir /etc 755 0 0 dir /proc 755 0 0 dir /sys 755 0 0 dir /sbin 755 0 0 file /sbin/mdadm /sbin/mdadm 755 0 0 file /sbin/e2fsck /sbin/e2fsck 755 0 0 dir /lib 755 0 0 file /lib/libext2fs.so /usr/lib64/libext2fs.so 755 0 0 file /etc/mdadm.conf /usr/src/mdadm_initramfs.conf 755 0 0 dir /dev 755 0 0 nod /dev/console 600 0 0 c 5 1 nod /dev/null 666 0 0 c 1 3 nod /dev/tty 666 0 0 c 5 0 nod /dev/urandom 666 0 0 c 1 9 file /init /usr/src/initramfs_init_new.sh 755 0 0 mark@c2RAID6 ~ $ mark@c2RAID6 ~ $ cat /usr/src/initramfs_init_new.sh #!/bin/busybox sh rescue_shell() { echo "-----" echo "!!!!!" echo "Something went wrong." echo "Dropping into busybox" echo "!!!!!" echo "-----" busybox --install -s exec /bin/sh } # Mount the /proc and /sys filesystems. mount -t proc none /proc mount -t sysfs none /sys mount -t devtmpfs none /dev # Do your stuff here. echo " " echo "This init script assembles the RAID6 root as /dev/md3" echo "mounts it as rootfs and, if there are no problems," echo "boots it up, else calls rescue_shell/busybox" echo " " mdadm --assemble /dev/md3 # Mount the root filesystem. mount -o ro /dev/md3 /realroot || rescue_shell # Clean up. umount /dev umount /proc umount /sys # Boot the real thing. exec switch_root /realroot /sbin/init mark@c2RAID6 ~ $