LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-17-2010, 03:24 AM   #1
addux
Member
 
Registered: Dec 2006
Location: In the middle of the ocean.
Distribution: Ubuntu 12.04, Debian Squeeze, Windows 7
Posts: 67

Rep: Reputation: 16
Debian Lenny 2.6.34 kernel panic


I have attempted to install kernel 2.6.34 and 2.6.33 kernels with this Debian howto http://www.howtoforge.com/kernel_com...on_debian_etch
Everything worked without any errors until I went to boot into the new kernel. When I receive this kernel panic output
Kernel panic - not syncing VFS: unable to mount root fs on unknown-block(0,0)

It also spits out something about being unable to access ext2 FS. I googled this symptom and have seen that it is fairly common, but everyone's error seems somewhat unrelated. I used the same kernel configuration as the one that is currently working, to keep things simple. And here is what my menu.list looks like:

title Debian GNU/Linux, kernel 2.6.34
root (hd0,2)
kernel /vmlinuz-2.6.34 root=/dev/sda9 ro quiet

title Debian GNU/Linux, kernel 2.6.34 (single-user mode)
root (hd0,2)
kernel /vmlinuz-2.6.34 root=/dev/sda9 ro single

title Debian GNU/Linux, kernel 2.6.26-2-amd64
root (hd0,2)
kernel /vmlinuz-2.6.26-2-amd64 root=/dev/sda9 ro quiet
initrd /initrd.img-2.6.26-2-amd64


I can't see anything obvious here,
thanks in advance for any help....
addux
 
Old 05-17-2010, 07:44 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi,
key difference : your old kernel (2.6.26) is using an initrd image, which means that it loads a primitive userspace and then proceeds to load modules required for your hardware. You have no such thing on 2.6.34, thus you need to have the FS/storage controller drivers compiled directly into the kernel (marked with a (*) in menuconfig). Knowing this, its up to you to know which controller you have and which driver it uses, as well as which FS you use. (But still don't hesitate to ask)
Another option is to make an initrd image for the new kernel (which you might have, if you used the dpkg part; so all you need to do is add the relevant line to grub.conf. I never used the makedpkg option)

Serafean
 
Old 05-18-2010, 02:23 AM   #3
addux
Member
 
Registered: Dec 2006
Location: In the middle of the ocean.
Distribution: Ubuntu 12.04, Debian Squeeze, Windows 7
Posts: 67

Original Poster
Rep: Reputation: 16
I suppose I should have mentioned this as well...I have tried to configure the kernel multiple times and one time I did try and configure all of the filesystems support as built-in modules and I received the same error. I am really at a loss
maybe I am misunderstanding what you are saying here
thanks
addux

Last edited by addux; 05-18-2010 at 02:24 AM.
 
Old 05-18-2010, 11:41 AM   #4
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Ok then, check that you have the driver for your storage controller built-in. if its SATA, you usually need to also compile in SCSI-disk as well as the correct driver. A mistake I did quite often was to confuse the two storage architectures : if your disk is IDE, and you compiled in the IDE drivers, then your disk wouldn't be sda, but hda. A simple way to check whether you have the correct storage driver (and which one) built-in is to look for a line listing all avalable partitions on the disk it detected (should come just before your VFS error).
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel(2.6.18) compilation error in Debian Lenny jestinjoy Linux - General 5 05-03-2010 11:48 AM
Seeking for the kernel source tree in Debian 5.04 - Lenny grautu Debian 2 03-07-2010 09:18 AM
can i update Debian Lenny 5 kernel without problems !! L!NuS Debian 40 02-21-2010 11:16 PM
upgrade the kernel on the VM with debian lenny cccc Debian 6 02-18-2009 01:03 PM
Kernel panic-on Debian lenny Vassos Linux - Kernel 1 08-10-2008 11:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration