Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RAID problems with 2.6.19 and 2.6.20 kernels [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Fri May 25, 2007 6:21 pm    Post subject: RAID problems with 2.6.19 and 2.6.20 kernels [SOLVED] Reply with quote

Hi all,

I've had a server running a software RAID system happily for about a year and a half. Unfortunately, when I recently tried upgrading to the 2.6.20 and then 2.6.19 versions of the kernel, I get a kernel panic saying that the kernel cannot be mounted. I have looked around and found nothing that clearly indicated how to clear this up and trying to reassemble the RAID just resulted in me being told that it was operating and, as such, it won't go.

Anyway, is there some solution to this problem, and, if I do have to reassemble the array, how do I go about doing it? Sorry if I seem dense and all, but I am tired and a bit frustrated that the kernel upgrade didn't go as seamlessly as umpteen past ones have.

Best,

Alex


Last edited by evoweiss on Mon May 28, 2007 5:40 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9892
Location: almost Mile High in the USA

PostPosted: Fri May 25, 2007 7:23 pm    Post subject: Reply with quote

make sure it's detecting your raid... is md compiled in and working and detected your disks? is the root partition set to the right partition?
what's in your bootup logs?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sat May 26, 2007 12:35 am    Post subject: Reply with quote

Hi, thanks for the reply.

eccerr0r wrote:
make sure it's detecting your raid... is md compiled in and working and detected your disks? is the root partition set to the right partition?
what's in your bootup logs?


Hope I don't sound dense, but how can I tell whether it's detecting my raid? I am pretty sure md is compiled in and working, etc., as there's no problem when booting into other versions of the kernel and it looks as if raid is up and running. Again, let me know how I can check for sure and I will. As per the root partition, I see no problem with the grub entry.

If I type in cat /proc/mdstat, however, I get the following. Does this mean something is not right?

Code:
Personalities : [raid1]
md1 : active raid1 sda3[0]
      77103872 blocks [2/1] [U_]

md0 : active raid1 sdb1[1] sda1[0]
      40064 blocks [2/2] [UU]

unused devices: <none>


Best,

Alex
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sat May 26, 2007 7:07 am    Post subject: Reply with quote

Hi,

In the hopes that I won't have to replace the drive, I just used mdadm --add to reconstruct the RAID drive. From what I gathered by watching mdstat, it went well. Looking at /proc/mdstat I now get:

Code:

Personalities : [raid1]
md1 : active raid1 sdb3[1] sda3[0]
      77103872 blocks [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
      40064 blocks [2/2] [UU]

unused devices: <none>


I don't feel like going to the office today at all (read working 3-4 7 day weeks in a row) but will see whether kernel 2.6.19 or 2.6.20 boot up next week. I've gotta say though, RAID is cool, and, if the drive truly crapped out, I'm glad to have gone through the trouble of setting it up as the data on that drive is pretty important and it gave me a chance to back it up in case something is wrong. Updates on Monday!

Best,

Alex
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat May 26, 2007 8:59 pm    Post subject: Re: RAID problems with 2.6.19 and 2.6.20 kernels Reply with quote

evoweiss wrote:
when I recently tried upgrading to the 2.6.20 and then 2.6.19 versions of the kernel, I get a kernel panic saying that the kernel cannot be mounted.

Are your drives SATA ?

If they are, then look at your kernel config for the low-level SATA controller drivers, because they were moved to a separate menu starting with linux-2.6.19 .
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sat May 26, 2007 10:05 pm    Post subject: Re: RAID problems with 2.6.19 and 2.6.20 kernels Reply with quote

I'm fairly sure they are SATA (they're definitely scsi and SATA was enabled in my last kernel). Where can I find the new information, and, if you would be so kind, what do I need to enable? I set up this machine once way back when and most all the information has left my brain since then!

Alex

cyrillic wrote:
evoweiss wrote:
when I recently tried upgrading to the 2.6.20 and then 2.6.19 versions of the kernel, I get a kernel panic saying that the kernel cannot be mounted.

Are your drives SATA ?

If they are, then look at your kernel config for the low-level SATA controller drivers, because they were moved to a separate menu starting with linux-2.6.19 .
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54845
Location: 56N 3W

PostPosted: Sat May 26, 2007 10:16 pm    Post subject: Reply with quote

evoweiss,

The SATA settings that were under SCSI Low Level drivers have been moved to a new section called ATA.

The option names have been preserved (and many new ones added). Look at your SATA settings in your old kernel and choose the same options in their new menu.

As you don't give error messages or tell use what hardware you have, we can't point to specific settings
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sat May 26, 2007 10:23 pm    Post subject: Reply with quote

Hi there,

Ok, thanks for pointing out where the new section is; sorry for not posting more information as I am not at the office and don't have the access I need. I am trying to avoid going into the office this weekend, but wanted to move as quickly forward as possible so that I don't spend all day Monday trying to figure something out.

Anyway, I checked my previous settings with make menuconfig and I had "serial ATA (SATA) support" and "intel piix/ich sata support" build into the kernel. I set ATA device support and intel piix/ich sata support to be built into the kernel. Does this sound right?

Best,

Alex
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54845
Location: 56N 3W

PostPosted: Sat May 26, 2007 10:27 pm    Post subject: Reply with quote

evoweiss,

Yes. The module names and config options have not changed.
Stick with the old IDE section meanwhile. the IDE drivers are being moved into libsata but they are not yet complete, so don't use the PATA drives under the new ATA menu
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sat May 26, 2007 10:30 pm    Post subject: Reply with quote

Hi all,

Thanks... that did the trick. Everything is humming along nicely now.

Alex
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum