raid+kernel_update=KERNEL PANIC! Need help, guys!
1 Attachment(s)
Hi guys. Sorry for my English, but I still hope you are understands me =).
I have slackware 13 x64 with the default kernel and all the stuff updated to CURRENT. Kernel is vmlinuz-huge-2.6.29.6 and all works fine with it. My Disk Drive system is: adaptec 5405 raid controller + raid5 on it. I got the last stable kernel from kernel.org and built it as usual with SCSI enabled and my RAID controller support added (SCSI->low level devices->Adaptec RAID aacraid) But when I'm trying to boot system again, KERNEL PANIC happens! Root partition can not be mounted =\ P.S. I did the kernel update before. I can not get it working since I have RAID5+adaptec5405 as root disk system on my server... But the default kernel mounts raid as root partition ok! Help me please.. |
Even though linux can boot from RAID, it is still good practise to put /boot an a normal (non-RAID) volume. This is true for all systems.
Sounds like your new kernel is not loading raid stuff early enough - did you compile in the capability or leave it as modules? It can take quite a while to locate everything in the kernel tree, it is a good idea for you to get used to trawling through it though. What most people do is make a config for the old kernel, then use that as a point of departure to build the new one. You should also check that grub is pointed at the correct volume. |
If it worked before with raid, how did you have your initrd.gz set up? Are you using one now? Maybe try using one. In the /etc/mkinitrd.conf, use RAID="0" along with any other options you need to use.
|
Quote:
man mkinitdir says: Quote:
|
Quote:
Quote:
I'm using lilo and it looks to be set up correctly... Because I just need to replace /boot/vmlinuz with /boot/vmlinuz.old and call "lilo" to take me back to working kernel... how can I use my old config to compile my new kernel from source? I think it can help me... Is the trouble in the kernel config, or somewhere else? |
Have you tried statically compiling your raid driver and filesystem instead of using modules?
|
1 Attachment(s)
Quote:
And I get a new error) It can see my partition but can't mount EXT2 now =\ (see the picture below) |
Something like this happened to me a long long time ago. But i just compiled the kernel, i didn't updated to current
You must make sure that you compile the kernel, and make sure that you have your modules loaded or you can compile the kernel with all the options you need. Also make sure that your lilo.conf has the correct path to your mounting point (vi /etc/lilo.conf) and after you had checked your lilo.conf file, then reload lilo by typing lilo on the console environment ($: lilo) Hope this helps. Regards |
Quote:
There are no EXT2 support in default kernel config... Just ext3 only. Thank you, guys! |
All times are GMT -5. The time now is 09:33 PM. |