LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel panic during boot with software RAID1 (https://www.linuxquestions.org/questions/linux-general-1/kernel-panic-during-boot-with-software-raid1-582206/)

Petevs 09-04-2007 04:48 PM

Kernel panic during boot with software RAID1
 
I am using 3 SATA disks in a software RAID1 array running on FC6.
When I remove one of the disks and connect it to a different computer
(with different motherboard....etc.) the computer starts to boot but
then complains about the file system and panics. Here are the
last few lines of console output during boot:

Does anyone have a clue what the problem is?
Thanks Pete
~~~~~~~~~~~

Trying to resume from /dev/md3
Creating root device
Mounting root filesystem
EXT3-fs : unable to read superblock
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
Setting up other filesystems
Setting up new root fs
setuproot: moving /dev failed : No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys : No such file or directory
Switching to new root and running halt
unmounting /olddev
unmounting old /proc
unmounting /oldsys
switchroot: mount failed : No such file or directory
Kernel panic - not syncing: Attempting to kill init

rch1231 09-04-2007 06:11 PM

By the sound of things the problem is in the /etc/fstab file. The system is trying to mount the file systems listed in fstab and they are associated with the device names for the drive when it is part of the RAID array. See if you can boot to a shell and then make a copy of the file and edit it changing the mount devices to /dev/sda or what ever device the controller is now using. The actual device name is listed as the system detects devices and if it is a sata drive off of a regular controller it is probably /dev/sda or /dev/hda.

Petevs 09-11-2007 06:41 PM

Thanks for the reply. It turns out that my problem was partially fixed by changing the
BIOS setting on the target computer to disable PATA and enable SATA mode ONLY.

This means that the CD ( and other IDE ) stuff does not work- not what I want.
I think I may repost to the hardware forum for additional help.

Pete


All times are GMT -5. The time now is 12:25 AM.