I really need help kernel panic

Spahn, Daniel dspahn at cuh2a.com
Fri Aug 8 12:05:23 PDT 2008


Correction!
I read a little more carefully. You have not compiled the correct
drivers for your SCSI hard drive into the kernel. You can run lspci,
then make menuconfig (In a different terminal) and match up the SCSI
drive characteristics with a driver, most likely in the SCSI section of
Device Drivers.
This line here:
[     13.472000] 0300     4194302 hda driver : ide-cdrom
Is the only available drive, which means that from a hardware
standpoint, your hard drive is not being seen. When you compile support
or your hard drive, MAKE SURE IT IS NOT A MODULE! Modules don't load
until after the kernel loads, so if your root partition is brought in by
a module, the kernel cannot find it, and cannot load. I hope this isn't
too pedantic- it's very easy to overlook, and I'm not sure how much
experience you have with other distributions.

-----Original Message-----
From: lfs-support-bounces at linuxfromscratch.org
[mailto:lfs-support-bounces at linuxfromscratch.org] On Behalf Of Spahn,
Daniel
Sent: Friday, August 08, 2008 2:35 PM
To: Daniel Corda; LFS Support List
Subject: RE: I really need help kernel panic

We need more info. Can you supply your grub.conf (or the config for
whatever bootloader you are using?) Also, are you sure your kernel is
correctly configured for the hard drive?
You probably either have a typo in your bootloader config, or you have a
misconfigured kernel.
-----Original Message-----
From: lfs-support-bounces at linuxfromscratch.org
[mailto:lfs-support-bounces at linuxfromscratch.org] On Behalf Of Daniel
Corda
Sent: Friday, August 08, 2008 2:05 PM
To: lfs-support at linuxfromscratch.org
Subject: I really need help kernel panic

OK guys I am done but I have on big problem which I really need help on.
My kernel panics on startup sayin 

[     13.472000] VFS: Cannot open root device "sda5 or
unknown-block(0,0)
[     13.472000] Please append a correct "root=" boot option; here are
the available partitions: 
[     13.472000] 0300     4194302 hda driver : ide-cdrom
[     13.472000] Kernel panic - not syncing: VFS: Unable to mount root
fs 
on unknown-block(0,0)

I do not know what to do I have looked at some similar errors but cannot
really isolate  a problem.

I have a lenovo/ibm t60 it has a scsi hardrive the partitions are as
follows

/dev/sda2/    ext3

/dev/sda1     extended 
/dev/sda5/    ext3 boot partition with lfs
/dev/sda6/    swap

sda 5 and 6 are in extended partition 1

I really do not know if this information is relevant but i noticed that
my boot partitions type is ext3 and it is using vfs I enabled vfs as a
module  for compatibility. I have looked at a couple of forum
conversations. please I really appreciate any solutions or idea on what
to fix this problem. Thank you so much. Peace

Dan C   


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page



More information about the lfs-support mailing list