new SUSE 10 install - Linux RAID - kernel panic - only starts in failsafe
I've just set up an OpenSUSE 10 system. At boot, the system experiences a Kernel Panic and halts prior to completely booting up. The last few lines displayed before things hang are: md: raid1 personality registered as nr 3. Waiting for device /dev/md0 to appear: ok No record for 'md0' in database Attempting manual resume Kernel panic - not syncing: I/O error reading memory image. (Starting in failsafe mode appears to work perfectly well - what is differnet about failsafe? What do I lose in failsafe mode?) I've got a matched pair of Seagate SATA 160G drives, connected to an Adaptec 'SATACONNECT' PCI SATA controller card (model 1205SA). During the install, I chose to mirror the drives using the 'built-in' software RAID. I've never done software RAID before, and may have caused the problem here. I initially thought I'd mirror the two drives, and then format & partition the volume. When I tried to create the RAID volume, though, the install program complained that there were no available partitions to add to the RAID volume. So I backed up a step, and using the partitioning tool in the install program, I created identical 1Gig partitions on each drive for swap, identical 20G partitions for '/', and identical partitions to the end of the drive for '/home'. Using the RAID button I created a RAID1 volume of each 'partition-pair', formatting the 1G as swap, and the other 2 partitions as Reiserfs. I believe/suspect that md0 is the swap partition. What did I do incorrectly, and how may I repair this? While it would be a huge time sink if I have to reformat and start over, there's no data on the system yet, so it wouldn't be any problem, and I'd rather do it now than later, if it will need to be done at all. Thanks, Steve
Wed, 05 Apr 2006, by stevetjacobs@gmail.com:
I've just set up an OpenSUSE 10 system.
At boot, the system experiences a Kernel Panic and halts prior to completely booting up. The last few lines displayed before things hang are:
[..]
Using the RAID button I created a RAID1 volume of each 'partition-pair', formatting the 1G as swap, and the other 2 partitions as Reiserfs.
I believe/suspect that md0 is the swap partition.
What did I do incorrectly, and how may I repair this? While it would be a huge time sink if I have to reformat and start over, there's no data on the system yet, so it wouldn't be any problem, and I'd rather do it now than later, if it will need to be done at all.
Don't put swap on a RAID. It'll kill performance and won't do anything for data-security anyway. Just select both 1G partitions for use as swap, Linux will then use both swaps round-robin. The procedure for software RAID is easy; make partitions, designate type FD (Linux raid auto) to the RAID partitons, make RAID drives, make filesystems, install. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 9.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.8 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply.
On 4/6/06, Theo v. Werkhoven <twe-suse.e@ferrets4me.xs4all.nl> wrote:
Wed, 05 Apr 2006, by stevetjacobs@gmail.com:
At boot, the system experiences a Kernel Panic and halts prior to completely booting up. The last few lines displayed before things hang are:
[..]
Using the RAID button I created a RAID1 volume of each 'partition-pair', formatting the 1G as swap, and the other 2 partitions as Reiserfs.
I believe/suspect that md0 is the swap partition.
Don't put swap on a RAID. It'll kill performance and won't do anything for data-security anyway. Just select both 1G partitions for use as swap, Linux will then use both swaps round-robin. The procedure for software RAID is easy; make partitions, designate type FD (Linux raid auto) to the RAID partitons, make RAID drives, make filesystems, install.
Theo
Theo - I repartitioned, creating 2 separate, 1Gig swap partitions, and only RAID'ing the root and home partitions. All works perfectly now. For the last hour I've been browsing for rootkit revealers/repairers (to fix a client's PC), listening to a Wilco CD with Kaffeine, and burning a CD of the (previously mentioned )downloaded malware tools. All is working great, thanks a ton for the help! I've got a few followup questions about the RAID, but will research it myself first, and come back if I hit a wall. -- Steve
participants (2)
-
Steve Jacobs
-
Theo v. Werkhoven