LinuxQuestions.org
Review your favorite Linux distribution.
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 06-03-2006, 04:57 AM   #1
swiminator
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 2

Rep: Reputation: 0
Problem with 2.6.* kernel


I recently installed Slackware 10.2 onto a Dell Inspiron E1405. It worked just fine with the 2.4.31 kernel that was installed by default but I have been trying to upgrade to a 2.6 kernel without success.

I first tried compiling the kernel (2.6.16.19) myself and went through everything making sure everything was properly selected, compile everything, install and reboot and it halts with this error:

Code:
VFS: Cannot open root device "302" or unknown-block(3,2)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,2)
So I went back to the configuration thinking that maybe I had forgotten to compile my root file system into the kernel, once I had checked that and a few other option I recompiled and tried again. Same error.

Then I figure maybe I just am not doing to well at choosing the options for this kernel, so I install the 2.6.13 kernel and modules in the /testing directory open up the config to make sure that my root file system is included and compile everything again. I reboot to find the same error. So I try again with the 2.6.16.19 kernel in the Slackware-current's /testing dir and get the same error.

Then I booted into SLAX 5.1.6 (kernel 2.6.16) to see if maybe 2.6 kernels don't like my laptop. It boots and works fine, but I noticed something strange, SLAX had recognized the hard drive had /dev/sda while Slackware saw the drive as /dev/hda, so I tried messing with that but I got basically the same error.

here is the pertinent part of my lilo.conf
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
 root = /dev/hda2
 label = Slackware
 read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

image = /boot/vmlinuz-ide-2.4.31
 root = /dev/hda2
 label = 2.4.31
 read-only

image = /boot/vmlinuz-2.6.16.19
 root = /dev/hda2
 label = 2.6.16.19
 read-only
Any suggestions would be greatly appreciated.
 
Old 06-03-2006, 05:30 AM   #2
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
Try booting slax and run the commands lspci -v and dmesg, and print those.
Use that output to make sure you have all the right drivers configured in your custom kernel.

Normally, sda* is for disks driven by SCSI-controllers, while hda are for IDE/ATA controllers, so I suspect the problem is with the harddisk controller in your kernel. dmesg/lspci should give you good hints..

-Y1
 
Old 06-03-2006, 07:57 PM   #3
swiminator
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 2

Original Poster
Rep: Reputation: 0
Solved

The issued turned out to becaused by that fact the the hard drive is SATA, I had only selected the new drivers in the SCSI section of the kernel because the ones in the ATA section were deprecated. Once I selected that and the new driver it booted just fine.

Thanks for your help.
 
  


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
USB kernel problem installing Debian testing on HP Proliant ML310 G3 - kernel freeze sjust Linux - Hardware 11 01-27-2009 02:17 PM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM

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

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