LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-03-2006, 11:16 AM   #1
Fredde87
Member
 
Registered: Aug 2005
Posts: 158

Rep: Reputation: 30
switching to mkinitcpio causing kernel panic due to raid'


Hi,

I have just switched from mkinitrd to mkinitcpio as support for it has been dropped in archlinux. I tried it a while back ago and had problems but thought it might just be a version bug so I have waited 5 months and decided today to switch to it as I was having other problems with the server as well.

Anyway, what happens is the server boots and receive a kernel panic as the raid array isnt being setup as it should.

It crashes after Attempting to create root device /dev/md0 in the "Loading root filesystem module... -e" part. The first error message says "ERROR: Failed to parse block device name for /dev/md0
Unknown"
It then says "ERROR: root fs cannot be detected. Try using the rootfstype kernel parameter". I have ofcourse tried this but it doesnt change anything.

It will then enter the Running Hook [raid] phase where it will start to configure and load md0 and then spit out an error sayíng "opeen failed - cannot start array /dev/md0"

It then goes to kinit but since it cant find the kernel it gives me a kernel panic.

Any suggestions on what to try?


Thanks
 
Old 12-04-2006, 08:42 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Thought I saw something in the wiki about raid hook being available but not enabled by default when I looked a while back. I don't use raid, so I skimmed it.
Check out the (Arch) wiki/forums.
 
Old 12-05-2006, 03:29 AM   #3
Fredde87
Member
 
Registered: Aug 2005
Posts: 158

Original Poster
Rep: Reputation: 30
What do you mean by enabled? I have added it to raid to hooks in mkinitcpio.conf and added the md=0,/dev/hd..... line to menu.lst
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic, thought it was due to hardware fault???! klod Linux - Hardware 4 04-21-2008 10:32 PM
Kernel Upgrade causing Kernel Panic DragonM15 Linux - Software 28 12-20-2006 10:41 AM
kernel panic due to /initrd deleted linux_ecil Linux - Kernel 1 07-10-2006 08:30 AM
kernel panic due to incorrect root partition neelay1 Linux - General 7 05-02-2006 03:14 PM
Kernel panic due to dma problems ? lolx Linux - Hardware 24 06-20-2002 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration