LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2005, 02:18 PM   #1
noemeenswat
LQ Newbie
 
Registered: Aug 2004
Location: The Netherlands
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Kernel panic


Hi all,

I'd like to compile a new kernel (V2.6.10) on an old computer, but after boot I get always the message:

VFS: Cannot open Root device "301" or unknown block(3,1)
Please append a correct "root=" boot option
Kernel panic - not syncing:
VFS: Unable to mount root fs on Unknown-block ide

The problem i think about is the processor type or the ide bus support, but what I try, I wo uldn't work good

My CPU is an Intel Celleron (Mendicono) 466 MHz,
and the output of lspci is:
00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge (rev 03)
00:04.0 ISA bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 02)
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
00:0b.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
01:00.0 VGA compatible controller: nVidia Corporation Riva TnT2 [NV5] (rev 15)


Does anybody has this problem to or who can help me?

Thanks in advance,

Willumpie

BTW: Sorry for my wrong and poor English (always trying to learn it )
 
Old 01-22-2005, 02:56 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Make sure you have Intel PIIXn chipsets support compiled into your kernel. Option is in Device Drivers->ATA/ATAPI/MFM/FLL support. Also make sure you have IDE/ATA-2 DISK support and IDE/ATAPI CDROM support.
 
Old 01-22-2005, 02:58 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I almost forgot... you are passing a root=/dev/hdXY (substitute X and Y or correct values) into your kernel through the bootloader right?
 
Old 01-22-2005, 04:54 PM   #4
noemeenswat
LQ Newbie
 
Registered: Aug 2004
Location: The Netherlands
Distribution: Debian
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jtshaw
I almost forgot... you are passing a root=/dev/hdXY (substitute X and Y or correct values) into your kernel through the bootloader right?
Yes, I've just two boot options in my lilo.conf. Just the old one and the new one. The old one boot from /vmlinuz and the new one from /boot/bzImage
And both image's are on the same partition, /dev/hda1, so i'm afraid it would be correct.

Quote:
Originally posted by jtshaw
Make sure you have Intel PIIXn chipsets support compiled into your kernel. Option is in Device Drivers->ATA/ATAPI/MFM/FLL support. Also make sure you have IDE/ATA-2 DISK support and IDE/ATAPI CDROM support.
I include PIIXn chipsetssupport, but the other one not.


Thanks a lot,

Willumpie
 
Old 01-22-2005, 06:31 PM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
....and also include the filesystem ( like ext2/ext3/reiserfs ) you use on the root-partition.
( not as modules but compiled in )

egag
 
Old 05-03-2005, 10:09 AM   #6
ceyhunk
LQ Newbie
 
Registered: Apr 2005
Location: Ankara
Distribution: Debian, Fedora
Posts: 3

Rep: Reputation: 0
First, use rescue cd or floopy or smt. to access your distro files
Second,look files at /boot and identify your new .img ( this file name must be included in /etc/lilo.conf )

Third, edit your /etc/lilo.conf with your favorite text editor and add initrd=/boot/initrd.img to the image =/vmlinuz section

Finally, type lilo ( this activates your lilo conf) and press enter

Now, you will be able to boot your Linux normally.

Eg.
Look at " initrd.img-2.6.11-1-386". This is my .img
-----------------------------------------
debian:/boot# ls
System.map-2.4.18-bf2.4 boot-text.b config-2.4.18-bf2.4 vmlinuz-2.4.18-bf2.4 initrd.img-2.6.11-1-386
boot-bmp.b boot.0300 lost+found
boot-compat.b boot.b map
boot-menu.b chain.b os2_d.b
------------------------------------------

my lilo.conf before modification:


default=Linux

image=/vmlinuz
label=Linux
read-only


my lilo.conf after modification


default=Linux

image=/vmlinuz
label=Linux
initrd=/boot/initrd.img-2.6.11-1-386
read-only
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration