LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-22-2007, 06:45 PM   #1
ocgltd
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Fedora 12 i386
Posts: 56

Rep: Reputation: 15
Upgrade to 2.6.22 breaks nvidia raid - won't book


I just upgraded a system running FC6 2.6.18, with a mirrored pair (nvidia mobo raid). All worked well under 2.6.18.

Once I upgraded to 2.6.22, the system no longer boots (see the error below). Can anyone give me a clue on how to get the new kernel working? (Please don't say reformat without mobo raid - I know that was stupid to begin with).

MD


Code:
device-mapper: table: 253:0: mirror: Device lookup failure
device-mapper: reload ioctl failed: No such device or address
Unable to access resume device (LABEL=SWAP-nvidiajfe)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev/ failed: No such file or directory
setuprooot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
 
Old 09-26-2007, 03:06 PM   #2
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
Could you please confirm which device is "253:0" ..More or less it will be "/" but still good to ask.
 
Old 09-26-2007, 07:40 PM   #3
ocgltd
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Fedora 12 i386
Posts: 56

Original Poster
Rep: Reputation: 15
I'm not sure how to tell...

I have two disks: /dev/sda and /dev/sdb
They are mapped to a single mirrored pair as device /dev/mapper/nvidia_jfeeeade

The partitions are:
/dev/mapper/nvidia_jfeeeade1 * 1 25 200781 83 Linux
/dev/mapper/nvidia_jfeeeade2 26 16343 131074335 83 Linux
/dev/mapper/nvidia_jfeeeade3 16344 18383 16386300 83 Linux
/dev/mapper/nvidia_jfeeeade4 18384 19457 8626905 82 Linux swap / Solaris

And the first partition is /boot.
 
Old 11-12-2007, 08:43 PM   #4
dkm999
Member
 
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
Problem Still present in 2.6.23.1-21.fc7

I have reproduced this behavior on an ASUS M2N32 mobo (with Nvidia-590-SLI controller for SATA). The CPU is a dual-core AMD Athlon 5900+. I constructed the RAID 1 array using the BIOS utility, and then loaded Fedora 7 onto the disc(s). All seemed to be well, except for the nagging fact that /proc/mdstat was empty. So I powered down, disconnected the first SATA drive, and rebooted. This produced the kernel panic reported in the previous post. Next I powered down, reconnected the disc, and checked that the system booted normally. (Yes.) Then, for completeness, I powered down, and disconnected the *second* disc that was part of the RAID array, and booted the system again. This produced the identical panic report!

Once I restored the disc connections, and got the system back up, I checked and found this in /dev/mapper

brw-rw---- 1 root disk 253, 0 2007-11-12 17:20 nvidia_fjdddief
brw-rw---- 1 root disk 253, 1 2007-11-12 17:20 nvidia_fjdddiefp1
brw-rw---- 1 root disk 253, 2 2007-11-12 17:20 nvidia_fjdddiefp2
brw-rw---- 1 root disk 253, 3 2007-11-12 17:20 nvidia_fjdddiefp3
brw-rw---- 1 root disk 253, 4 2007-11-12 17:20 nvidia_fjdddiefp4
brw-rw---- 1 root disk 253, 5 2007-11-12 17:20 nvidia_fjdddiefp5

I believe this confirms that the entry that could not be looked up was the main RAID device, which in my case has several partitions defined on it.

My working theory now is that, even though the BIOS thinks that a RAID array exists, the kernel disagrees. Any recommendations on how to fix this would be appreciated.
 
Old 11-15-2007, 08:56 PM   #5
dkm999
Member
 
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
Update on my troubles with RAID: the Nvidia controller is actually a FakeRAID controller (like WinModem), and even though UDEV managed to make up a bunch of nodes for it, when I unplugged either side of the alleged RAID 1 array, some error occurred that the driver couldn't handle.

I have gone to pure Software Raid, and am finally making some headway with that. But one caveat there as well: it appears that you really need to create a RAID device for each partition, rather than one that spans the whole disc, and then has partitions inside it. At least if anyone knows how to do RAID 1 the other way, I would love to hear about it.
 
Old 01-09-2008, 10:33 AM   #6
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
Hello DKM99,

From what I understood from ur last comment ...u want one single big RAID disk directly using the 2 devices ( no partitions ). If this is correct then I think using the direct disk name as RAID device can help u a bit. Also If u looking for partition under RAID ( md0 and then create partition on that ) then you can try creating a LVM out of the RAID device. This will allow you to create further partition in for of LV's on the underline RAID devices.
 
Old 01-10-2008, 01:13 AM   #7
dkm999
Member
 
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
Actually, I wanted several partitions within a single RAID device, something that my further reading indicates is supported under software RAID only by using Logical Volume Management, even though some of the documentation might lead one to think otherwise. However, I have not taken the time or trouble to rebuild my systems in this way, since creating individual RAID devices (one per partition) seems to work just fine.

PS: This blog is not really like Instant Messaging; you might try to use the spellcheck features to improve the readability of your posting.
 
  


Reply

Tags
dmraid, failure, nvidia, upgrade


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
ubuntu breaks my raid 0 Typer0494 Linux - Newbie 2 07-16-2007 01:45 PM
Xorg upgrade breaks acpid kellinjar Linux - Software 4 02-11-2006 03:09 PM
upgrade breaks phpldapadmin gdsword Debian 2 11-04-2005 04:41 AM
SuSE 9.1->9.2, breaks RAID kbcnetau Suse/Novell 2 04-30-2005 06:00 PM
Mozilla upgrade to 1.7 breaks slack! slackhack Slackware 12 07-26-2004 07:10 AM


All times are GMT -5. The time now is 12:07 PM.

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