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 11-15-2006, 06:13 PM   #1
capn_hector
LQ Newbie
 
Registered: Nov 2006
Posts: 18

Rep: Reputation: 0
Slack 10.2 with kernel panic after compile of 2.6.18.1


ok im running slackware 10.2 on a toshiba laptop and am compiling the new 2.6.18.1 kernel. i get
Quote:
Kernel Panic - not syncing : VFS: Unable to mount Root FS on unknown-block(3,2)
heres my lilo.conf
Quote:
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.15.6
root = /dev/hda2
label = Back|Track
read-write
image = /boot/vmlinuz
root = /dev/hda2
label = new
read-write
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda3
label = Windoze
table = /dev/hda
# Windows bootable partition config ends
(learned to leave my self an out)

heres my config file (portions of it any way)
Quote:
#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# File systems
#
CONFIG_REISERFS_FS=y
and my fstab
Quote:
/dev/hda3 / auto defaults 1 1
tmpfs / tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hda1 swap swap swap 0 0 # AutoUpdate
/dev/hda2 /mnt/hda2 reiserfs auto,users,suid,dev,exec 0 0 # AutoUpdate
/dev/hda3 /mnt/hda3 ntfs auto,users,suid,dev,exec 0 0 # AutoUpdate
/dev/hdc /mnt/hdc_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
ive been googleing my ass off and as you can see compiled in support for reiserfs. any help would be greatly appriciated.

EDIT: after my newest compile failed "no file system could mount root tried: reiserfs vfat iso9660 ntfs. Kernel Panic..." i booted into my working kernel and got "reiserfs: hda2 found reiserfs version "3.6"" that may or may not help.

Last edited by capn_hector; 11-15-2006 at 06:30 PM.
 
Old 11-15-2006, 07:13 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Welcome to LQ.

I think you are missing the boot parameter. Just add the following line to the top of lilo.conf
Code:
boot = /dev/hda
Note that you need to rerun the lilo program to make your changes take effect
Code:
/sbin/lilo
 
Old 11-15-2006, 09:41 PM   #3
capn_hector
LQ Newbie
 
Registered: Nov 2006
Posts: 18

Original Poster
Rep: Reputation: 0
heres my entire lilo.conf

Quote:
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# VESA framebuffer console @ 1024x768x256
vga = 773
# Ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.15.6
root = /dev/hda2
label = Back|Track
read-write
image = /boot/vmlinuz
root = /dev/hda2
label = new
read-write
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda3
label = Windoze
table = /dev/hda
# Windows bootable partition config ends
i edited it slightly for my first post.
 
Old 11-15-2006, 10:19 PM   #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,

I know you said that you compiled filesystem support in your new kernel, right.

What about for your controller?

To get the system going for now, read the /boot/README.initrd and create a initrd. Modify your lilo.conf stanza for the new kernel as per the example.

edit: BTW, don't forget to run lilo. <end edit>

Last edited by onebuck; 11-15-2006 at 10:20 PM.
 
Old 11-16-2006, 08:52 AM   #5
capn_hector
LQ Newbie
 
Registered: Nov 2006
Posts: 18

Original Poster
Rep: Reputation: 0
well in a move that worked some what (i needed to vpn in to my work which is why im recompiling my kernel) i went out and downloaded the 2.6.16.32 source and the 2.6.18.1 md5 hash. the 16.32 kernel compiled and had no problems the md5 hash for the 2.6.18.1 tarbell did not match what i got so my download was screwed up. thanks for all your help and this has taught me a lesson. always check the hash. now i just have to get my drivers compiled into my new kernel.
 
  


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 panic after 2.6 compile drlouis Slackware 3 08-28-2006 12:20 AM
Kernel Panic error after 2.6.7 compile - please help Repeater Slackware 10 08-22-2004 06:23 PM
Kernel panic after 2.6.1 compile Phaethar Fedora 6 01-14-2004 10:55 PM
kernel panic after compile RIgimp75 Slackware 1 01-09-2004 07:46 PM
Kernel panic: A blown compile? Hangdog42 Slackware 14 03-21-2003 03:50 PM

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

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