LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-06-2006, 07:46 AM   #1
davidmbomb
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Rep: Reputation: 0
Kernel Panic!


I am currently running slackware 10.2. I am having a bit of trouble upgrading from kernel 2.4.31 to 2.6.17.9. I have followed many HOWTO's, and tutorials on this subject. I have searched previous threads and forms here at linuxquestions. I still don't have a working 2.6 kernel.
I know that there are many ways to compile a new kernel, so I will explain what I have done so far.
1. I downloaded the source from: http://www.csh.lkams.kernel.org/pub/linux/kernel/v2.6/
2. Went to the unpackaged 2.6 directory, did a make menuconfig and applied (to my knowledge) all options applicable to my current setup.
3. Make bzImage
4. make modules, make modules_install
5. I then copied the newly created bzImage to directory /boot/bzImage-2.6. Also copied System.map /boot/System.map-2.6.
6. Edited lilo and ran /sbin/lilo with no errors.
7. Rebooted to new kernel installation.
Ok, everything seems to load fine until I get the error
"VFS: Cannot open root device "802" or unkown-block(8,2)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)"

I tryed to install the new kernel a different way also, by making a new directory in /boot called 2.6, editing the Makefile "export INSTALL_pATH ?= /boot", changed to /boot/2.6. Went through all of the steps previously mentioned but with one extra step: make install. I then checked the /boot/2.6 dir to see if the files were coppied and they were. Rebooted to find the same error.
I am not sure if the problem is hardware specific so I will give a brief description of what is in my box
asus a8v Delux motherboard
nvidia geforce 6200 BFG agp 8x
2gig's of kingston ddr400 duel channel
300gig serialATA sata drive
I would like to thank anyone in advance, who might have a solution to my problem or can direct me to a soulition. If there is any additional information you need, to help resolve this problem, please ask.

Last edited by davidmbomb; 09-06-2006 at 07:47 AM.
 
Old 09-06-2006, 07:52 AM   #2
Marsanghas
Member
 
Registered: Sep 2003
Location: Spijkenisse, Netherlands
Posts: 119

Rep: Reputation: 15
Apparently you've supplied no, or an incorrect root= option. Maybe you could show us your lilo config?
 
Old 09-06-2006, 08:05 AM   #3
davidmbomb
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Here is my current /etc/lilo.config. I forgot to mention in my previous thred that when I did a make install it created a vmlinuz image insted of a bzImage, so I edited lilo accordingly.

#End LILO global section
#Windows bootable partition config begins
other = /dev/sda1 <-------------WORKING
label = Windows
table = /dev/sda
#Windows bootable partition config ends
#Linux bootable partition config begins
image = /boot/vmlinuz <-------------WORKING
root = /dev/sda2
label = Linux
read-only

image = /boot/bzImage-2.6.17.9 <-------------ERROR
root = /dev/sda2
label = Linux-2.6.17.9
read-only

image = /boot/2.6.17.9/bzImage <------------ERROR
root = /dev/sda2
label = Test-2.6.17.9
read-only

image = /boot/2.6.17.9/vmlinuz <-----------ERROR
root = /dev/sda2
label = Test-linuz2.6
read-only
#Linux bootable partition config ends

Last edited by davidmbomb; 09-06-2006 at 08:16 AM.
 
Old 09-06-2006, 08:46 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Probably forgot to compile your FS in the kernel? If so you will need to mkinitrd and add it to the stanza in your lilo.conf. README.initrd in the /boot will assist you.
 
Old 09-06-2006, 09:02 AM   #5
davidmbomb
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you for your suggestion. I will check the menuconfig and see if I forgot to add reiserfs filesystem option. If so I will mkinitrd and post a reply.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:00 AM.

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