Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325583 - sys-kernel/xen-sources-2.6.34 regression bug about raid
Summary: sys-kernel/xen-sources-2.6.34 regression bug about raid
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 20:20 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2010-06-25 22:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/boot/config-2.6.32-xen-r1-Gentoo-uranus-1-15 (config-2.6.32-xen-r1-Gentoo-uranus-1-15,71.13 KB, text/plain)
2010-06-25 20:21 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/boot/config-2.6.34-xen-Gentoo-uranus-1-18 (config-2.6.34-xen-Gentoo-uranus-1-18,75.30 KB, text/plain)
2010-06-25 20:21 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/tmp/diff (diff,9.64 KB, text/plain)
2010-06-25 20:22 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-25 20:20:29 UTC
i am migrating from 2.6.32 to 2.6.34, and new kernel refuses to mount root.

It says it can't find root, and can not mount it. It tries all FS drivers (ext2, ext3, ext4), and failes to mount. 2.6.32 can mount it properly using ext4.

The grub sections are identical:

title   Gentoo Linux (2.6.32-xen-r1-Gentoo-uranus-1-15 works with xorg.conf_works_2010_06_07)
root    (hd1,0)
kernel  /xen.gz
module  /vmlinuz-2.6.32-xen-r1-Gentoo-uranus-1-15 root=/dev/md5 odmraid \
        root_=UUID=3ae46540:5da32e75:3b8ef3b3:48c699fd \
        loop.max_part=63 max_part=63 panic=30 quiet noresume_ \
        vga=794 video=1280x1024 vgaa_=normal nomodeset
savedefault

title   Gentoo Linux (2.6.34-xen-r1-Gentoo-uranus-1-18 works with ...)
root    (hd1,0)
kernel  /xen.gz
module  /vmlinuz-2.6.34-xen-r1-Gentoo-uranus-1-18 root=/dev/md5 odmraid \
        root_=UUID=3ae46540:5da32e75:3b8ef3b3:48c699fd \
        loop.max_part_=63 max_part_=63 panic=30 quiet_ noresume_ \
        vga_a=794 video_o=1280x1024 vga_a=normal nomodeset
savedefault

This will explain what my raid chains are:
uranus ~ # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
md3 : active raid0 sdb3[1] sdc3[2] sdd3[3] sda3[0]
      7839232 blocks 64k chunks

md5 : active raid5 sdb5[1] sdc5[2] sdd5[3] sda5[0]
      29326272 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

md6 : active raid5 sdb6[1] sdc6[2] sdd6[3] sda6[0]
      87907392 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

md7 : active raid5 sdb7[1] sdc7[2] sdd7[3] sda7[0]
      146512512 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

md8 : active raid5 sdb8[1] sdc8[2] sdd8[3] sda8[0]
      2599059648 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

unused devices: <none>
uranus ~ #

During 2.6.34 boot, kernel can assemble properly the md3 chain; it's the last thing I can see on screen before the panic message. A bit earlier, I can read that on sda, it finds all partitions from 1 to 8.

You will see that the .config after make menuconfig are almost identical, and, do not miss essential thing.

To me, either the kernel just panics after failing to mount md3 (and forgets to try to mount other md devices), or forgets to try to build md devices on top of logical partitions.

I will try to get a log from serial port, but I can't promise.
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-25 20:21:00 UTC
Created attachment 236551 [details]
/boot/config-2.6.32-xen-r1-Gentoo-uranus-1-15
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-25 20:21:17 UTC
Created attachment 236553 [details]
/boot/config-2.6.34-xen-Gentoo-uranus-1-18
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-25 20:22:05 UTC
Created attachment 236557 [details]
/tmp/diff

diff config-2.6.32-xen-r1-Gentoo-uranus-1-15 config-2.6.34-xen-Gentoo-uranus-1-18 >/tmp/diff