LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-30-2006, 10:48 PM   #1
Wocky
Member
 
Registered: Oct 2004
Location: Australia
Posts: 37

Rep: Reputation: 3
New kernel can't find disk


I've just compiled and installed a 2.4.33.3 kernel; it's installed on hda1, where /dev/ide/hda/model reports hda as a "QUANTUM FIREBALLP KA6.4". I'm using lilo; the applicable lilo.conf entry is:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
image=/boot/vmlinuz-2.4.33.3
label=linux-new
read-only
root=/dev/hda1

When I try to boot it, I get a kernel panic and a request for a valid "root=" line. It's clearly finding hda1, because it gives the usual "Uncompressing vmlinuz" line, and the kernel prints the usual startup messages, but when it lists the disks it finds and the partitions it finds on them, I can't see hda there at all, but it goes off the page so quickly that I can't see what the problem is.

Is there a way to slow down the rate of the messages, or perhaps to pass them through a pager? It's not in the boot log - that starts after the disks have been detected.

I'm currently running a 2.4.20 kernel with xfs patches, on a dual-processor 500MHz celeron box. It was originally a redhat 7.2 system, but I've changed almost everything.

Thanks in advance
Wocky
 
Old 10-01-2006, 06:48 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Wocky,

You must either (a) have support for your root filesystem (xfs?) built into your kernel (Y), not built as a module (M), or (b) install and run an initrd image to load that module for the kernel.

This is the most common cause of kernel panic.
 
Old 10-03-2006, 09:57 PM   #3
Wocky
Member
 
Registered: Oct 2004
Location: Australia
Posts: 37

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Bruce Hill
Wocky,

You must either (a) have support for your root filesystem (xfs?) built into your kernel (Y), not built as a module (M), or (b) install and run an initrd image to load that module for the kernel.

This is the most common cause of kernel panic.
Thanks for that; unfortunately it's not the problem (it was the first thing I checked.) /dev/hda1 is an ext2 fs, and support for ext2 is compiled in (Y). As far as I can see, the kernel is not finding the disk at all. In the partition list, hda (which has 4 partitions) doesn't appear at all.

Thanks, though.

Incidentally, it was /proc/ide/hda/model (not /dev/ide...) that reported the disk type (of course!)

Thanks again.

Wocky
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find hard disk recursv Slackware - Installation 4 06-08-2006 03:10 AM
can not find install disk Pacux Slackware - Installation 7 10-04-2005 07:22 AM
Help! Can't find the right Disk Driver! Jedy Fedora - Installation 3 04-09-2004 03:38 PM
how to find disk capacity Henry_1 Linux - General 4 09-11-2003 11:40 PM
How do i find out how much disk space i have Fathonkey Linux - General 5 06-07-2003 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:32 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