View previous topic :: View next topic |
Author |
Message |
evoweiss Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/57397225542ecb15642367.jpg)
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Fri May 25, 2007 6:21 pm Post subject: RAID problems with 2.6.19 and 2.6.20 kernels [SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9892 Location: almost Mile High in the USA
|
Posted: Fri May 25, 2007 7:23 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
evoweiss Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/57397225542ecb15642367.jpg)
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Sat May 26, 2007 12:35 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
evoweiss Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/57397225542ecb15642367.jpg)
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Sat May 26, 2007 7:07 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cyrillic Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/8174739453e52fd5e9aef6.jpg)
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat May 26, 2007 8:59 pm Post subject: Re: RAID problems with 2.6.19 and 2.6.20 kernels |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
evoweiss Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/57397225542ecb15642367.jpg)
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Sat May 26, 2007 10:05 pm Post subject: Re: RAID problems with 2.6.19 and 2.6.20 kernels |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54845 Location: 56N 3W
|
Posted: Sat May 26, 2007 10:16 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
evoweiss Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/57397225542ecb15642367.jpg)
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Sat May 26, 2007 10:23 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54845 Location: 56N 3W
|
Posted: Sat May 26, 2007 10:27 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
evoweiss Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/57397225542ecb15642367.jpg)
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Sat May 26, 2007 10:30 pm Post subject: |
|
|
Hi all,
Thanks... that did the trick. Everything is humming along nicely now.
Alex |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|