Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20826 - gentoo-sources-2.4.20r* Does not work with RAID 0 with raid root
Summary: gentoo-sources-2.4.20r* Does not work with RAID 0 with raid root
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-11 21:05 UTC by Craig Sproule
Modified: 2003-09-25 15:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Sproule 2003-05-11 21:05:52 UTC
Any version of gentoo-sources that is based on the 2.4.20 kernel source tree,
does not allow a RAID 0 device (/dev/md?) be used as the root partition.
Wolk-sources, vanilla-sources and ac-sources do allow this (as they should). 

I am using lilo-22.5.1, if that helps at all. Currently I am running using
wolk-sources. I imagine it is a particular patch or set of patches that are
applied to gentoo-sources that disallows this standard feature of Linux

Reproducible: Always
Steps to Reproduce:
1. Set up a raid 0 root partition /dev/md0 for instance. Compile vanilla-sources
with built-in (not as a module) raid 0 support.
2. Configure lilo as usual and add a suitable append= line. For example 
append="md=0, /dev/hda3, /dev/hdb1", run /sbin/lilo as usual
3. Reboot and your RAID 0 workds properly
4. Repeat steps 1-3 with gentoo-sources and your RAID 0 root partition will not
work, the linux OS will not boot up, and you will be left with a kernel panic
VFS error, saying that the root partition cannot be found

Actual Results:  
kernel panic: VFS root partition cannot be found. (Or something similar)

Expected Results:  
Booted the RAID 0 correctly, like wolk-sources, vanilla-sources and ac-sources do.
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-11 21:10:36 UTC
post your .config and 'emerge info' for starters. Do not paste in the .config, put it as an attachment.

Thanks,

Jay
Comment 2 Bob Johnson (RETIRED) gentoo-dev 2003-05-11 23:33:48 UTC
Im using gentoo-sources-2.4.20-r5 right now on md0 @ /  
Do you have your partition types set as linuxraid? 
Is your /boot on the raid0 or another partition? 
also i donot use the md append line, as linuxraid takes care of it. 
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-09-25 15:34:18 UTC
Ignore me <<< We are having Bugzilla database issues.