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) 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 |
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 |
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. |
All times are GMT -5. The time now is 08:15 PM. |