LinuxQuestions.org
Visit the LQ Articles and Editorials section
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: 12,229

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 05:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration