View previous topic :: View next topic |
Author |
Message |
exsel n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Sep 2006 Posts: 3
|
Posted: Sat Sep 02, 2006 5:06 am Post subject: kernel not recognizing software arrays |
|
|
Ok, so I've got a fairly fresh installation of AMD64. I've had this system at the login screen for two weeks, but when I tried to update from 2.6.17-r4 to r7, I get this error.
Code: | md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "md3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) |
I've tried going back to my previous kernel image, still no go.
Drive setup -
sda5 sdb5 > /dev/md1 /boot
sda6 sdb6 > /dev/md2 swap
sda7 sdb7 > /dev/md3 /
sda8 sdb8 > /dev/md4 /home
So, after googling, here are the things I've checked.
RAID drivers compiled into the kernel.
SATA drivers compiled into the kernel.
IDE support compiled into the kernel.
To get it to boot the first time I had to append md=2,/dev/sda7,/dev/sdb7 in grub, but I'm still not clear how it booted once but won't anymore. I'm up for trying anything at this point (been working on it for 4 days trying different combinations). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54839 Location: 56N 3W
|
Posted: Sat Sep 02, 2006 10:04 am Post subject: |
|
|
exsel,
Its not forming your arrays at boot. From the liveCD, run fdisk and check the partition types. For array auto assembly they must be type 0xfd.
Then as you have said, you need the required raid personalities built into the kernel, along with the low level and high level SCSI drivers, the root filesystem driver and MSDOS Partition table support. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
exsel n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Sep 2006 Posts: 3
|
Posted: Sat Sep 02, 2006 2:15 pm Post subject: |
|
|
Thanks for the response.
The partitions are type 0xfd, and I have all the neccessary drivers installed. I have gotten this to boot before, so I'm not sure what's wrong now. It just looks like mdadm isn't finding my drives, which of course doesn't make any sense. I'll try and get in and post the important parts of my kernel config. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
exsel n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Sep 2006 Posts: 3
|
Posted: Sat Sep 02, 2006 3:39 pm Post subject: |
|
|
Ok, in the livecd and just checking everything.
partitions are type 0xfd.
all partitions are in raid0
/dev/sda5 /dev/sdb5 > no raid for boot
/dev/sda6 /dev/sdb6 > /dev/md2 swap
/dev/sda7 /dev/sdb7 > /dev/md3 /
/dev/sda8 /dev/sdb8 > /home
md1 is ext3, the rest are reiserfs
compiled in the kernel:
SCSI disk support
SCSI generic support
VIA82CXXX chipset support (via sata controller)
RAID 0 support
reiser, ext2, and ext3 FS supports with all the extras
PC BIOS (MSDOS partition tables) support
Anything noticeably missing? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54839 Location: 56N 3W
|
Posted: Sat Sep 02, 2006 3:56 pm Post subject: |
|
|
exsel,
Nope - that looks ok - but are you using the kernel that came from that config file?
Bring the system up with the liveCD and check the contents of /boot (when its not mounted too).
You may have installed the kernel to the wrong /boot.
Compare the date on the kernels .config file with that on the kernel file(s) in /boot.
The kernel you want is timestamped *after* the .config file. If that shows a problem, loot at the timestamp on /usr/src/linux/arch/<your_arch>/boot/bzImage, which shoul be the last kernel you built.
In short, are you running the kernel that comes from that .config file ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyrillic Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/8174739453e52fd5e9aef6.jpg)
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Sep 02, 2006 7:54 pm Post subject: |
|
|
exsel wrote: | VIA82CXXX chipset support (via sata controller) |
You have the correct driver for your VIA IDE controller.
You need this one for the SATA controller.
Code: | Device Drivers --->
SCSI device support --->
SCSI low-level drivers --->
<*> Serial ATA (SATA) support
<*> VIA SATA support |
Also make sure you don't have this selected.
Code: | Device Drivers --->
ATA/ATAPI/MFM/RLL support --->
[ ] Support for SATA (deprecated; conflicts with libata SATA drivers) |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|