LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-16-2005, 03:19 PM   #1
Keyser Sose
Member
 
Registered: Feb 2004
Distribution: Slackware 10
Posts: 46

Rep: Reputation: 15
New 2.6.10 kernel panic error


I have downloaded the new kernel 2.6.10. Compiled it, added a new section to lilo, and when I try to boot it I get

Code:
    
VFS: Cannot open root device "301" or unknown-block(3,1)
Please append a correct "root=" boot option.
Kernel panic - not snycing: VFS: unable to mount root fs on unknown-block(3,1)
I've googled this many times, no solutions so far.

Here is my lilo.conf :

Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
vga=ask
#vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/hdb1
  label = Windows
  table = /dev/hdb
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
  vga=ask
# Linux bootable partition config ends
image = /vmlinuz
  root = /dev/hda1
  label = Linux2.6
  read-only
  vga=ask
And my fdisk -l

Code:
bash-2.05b# fdisk -l

Disk /dev/hdg: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Disk /dev/hdg doesn't contain a valid partition table

Disk /dev/hda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1008     7620448+  83  Linux
/dev/hda2           10183       10337     1171800    5  Extended
/dev/hda3            1009       10182    69355440   83  Linux
/dev/hda5           10183       10337     1171768+  82  Linux swap

Partition table entries are not in disk order

Disk /dev/hdb: 120.0 GB, 120000000000 bytes
240 heads, 63 sectors/track, 15500 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       15500   117179968+   c  W95 FAT32 (LBA)
bash-2.05b#
I am using a PCI to IDE controller card to control the extra 80gb /dev/hdg


Anyone have a good solution for this?

and my /dev/hda1 is my root partition.........

And I tried to compile it this way also :



Thanks.
Code:
make clean && make mrproper
make menuconfig
make bzImage
make modules
make modules_install
Thanks!
 
Old 01-16-2005, 03:32 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What file-system did you choose for / and/or /boot ?
Did you make sure it's NOT compiled as a module in
your kernel but rather as a built-in driver?


Cheers,
Tink
 
Old 01-16-2005, 03:35 PM   #3
Keyser Sose
Member
 
Registered: Feb 2004
Distribution: Slackware 10
Posts: 46

Original Poster
Rep: Reputation: 15
They are Ext3 and i also enable ext2 cause of my /dev/hdg

Last edited by Keyser Sose; 01-16-2005 at 03:38 PM.
 
Old 01-16-2005, 04:47 PM   #4
Keyser Sose
Member
 
Registered: Feb 2004
Distribution: Slackware 10
Posts: 46

Original Poster
Rep: Reputation: 15
here is a screenshot

http://filenetwork.org/kernel.jpg
 
Old 01-17-2005, 01:40 AM   #5
d00msweek
Member
 
Registered: Jan 2004
Location: Cebu City, Philippines
Distribution: Slackware 10,Gentoo 2005.1,LFS
Posts: 92

Rep: Reputation: 15
Have u choose the right chipset in Device Drivers-->ATA/ATAPI/MFM/RLL support-->
 
  


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 Error!!! anujpatel89 SUSE / openSUSE 4 11-02-2005 03:04 PM
kernel panic error after rebooting new kernel image fiero Linux - General 4 07-13-2005 08:32 AM
kernel panic error corbis_demon Linux - Newbie 1 11-04-2004 04:16 AM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
kernel panic error farhan Linux - General 1 03-02-2003 12:53 AM

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

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