On Fri, Dec 03, 2010 at 09:24:00PM +0100, Cestmir wrote:
> 
> I've moved fresh squeeze installation onto RAID setup (md0: unpartitioned 
> RAID1 with /boot; md1: partitioned RAID10f2 with root fs on /dev/md1p3).
> After that, mkinitramfs is no longer able to correctly derrive /sys/block/... 
> path for root. 
> sh -x /usr/sbin/mkinitramfs output attached.  

I see.
 
> # sh -x /usr/sbin/mkinitramfs -o /tmp/foo -v
<snipp>
> + [ /dev/md1p3 != /dev/md1p3 ]
> + [ /dev/md1p3 != /dev/md1p3 ]
> + [ /dev/md1p3 != /dev/md1p3 ]
> + [ 1p3 != /dev/md1p3 ]
> + root=1p3
> + sed -ne s/multipath/[/ -e s/linear/[/ -e s/raid[0-9][0-9]*/[/ -e 
> s/\([hs]d[a-z][a-z]*\)[0-9][0-9]*/\1/g -e /^md1p3 :/s/^[^[]*\[ 
> \([^\[]*\)\[.*$/\1/p
> + block=
> + [ -z  ]
> + echo mkinitramfs: for root 1p3 missing  /sys/block/ entry
> mkinitramfs: for root 1p3 missing  /sys/block/ entry
> + echo mkinitramfs: workaround is MODULES=most
> mkinitramfs: workaround is MODULES=most
> + echo mkinitramfs: Error please report the bug
> mkinitramfs: Error please report the bug
> + exit 1

please post the output of
ls /sys/block

or better
tree /sys/block
 
 
thank you for your report.

-- 
maks



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101203215332.gb...@vostochny.stro.at

Reply via email to