Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-27-2006, 11:53 PM
|
#1
|
Member
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66
Rep:
|
SATA support on a 2.4.31 kernel
Hi everyone,
I've been trying to configure a 2.4.31 kernel to recognize my SATA hard drive.
I get the kernel panic message during boot:
Code:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter errno = 2
.
.
.
VFS: Cannot open root device "805" or device 8: 05
please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on /dev/sda5
I have SATA support built in using the CONFIG_SCSI_SATA option with my specific SATA controller CONFIG_SCSI_ATA_PIIX (intel). this is under the scsi low level drivers section. I've also tried the deprecated sata drivers but they dont work either.
here's the output of lspci which might help:
Code:
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce Go 6600] (rev a2)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
03:01.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
03:01.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)
03:03.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)
I'm doing this on an asus z71v laptop using slackware 10.2. suggestions, anyone?
|
|
|
01-28-2006, 12:19 AM
|
#2
|
Member
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66
Original Poster
Rep:
|
also, i've looked through the entire menuconfig and there is no module or option called scsi_hostadapter. what could the kernel be referring to?
|
|
|
01-29-2006, 04:16 AM
|
#3
|
Member
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66
Original Poster
Rep:
|
*bump* help?
|
|
|
01-29-2006, 05:50 AM
|
#4
|
Member
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319
Rep:
|
Did you compile the kernel yourself?
Did you select sata.i when you installed Slackware 10.2?
This might be helpful: http://www.linuxquestions.org/questi...95#post1760995
Last edited by Basel; 01-29-2006 at 05:55 AM.
|
|
|
01-29-2006, 05:03 PM
|
#5
|
Member
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66
Original Poster
Rep:
|
hi basel,
i've tried using the sata.i kernel. it detects the drive but it shows up as /dev/hda.
|
|
|
01-29-2006, 05:54 PM
|
#6
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
check out www.linux-on-laptops.com there is entry for debian install on lappy similar to yours including kernel config file. Also http://tuxmobil.org/asus.html has several linux installs on that lappy. Have fun!
Last edited by lestoil; 01-29-2006 at 06:59 PM.
|
|
|
01-29-2006, 07:45 PM
|
#7
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
review sata.i kernel config and test26s(2.6.13) config files. I think your mob should work with either.
|
|
|
01-29-2006, 08:10 PM
|
#8
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
It may help you to know that when module ata_piix is used sata drives are seen as
/dev/hda.This was optained from notes on debian sarge install on sata drive using 2.6.8 kernel. And depending how the bios is setup sata drive can be seen as /dev/hdx also. Hope this is helpful. Cheers!
|
|
|
02-05-2006, 11:59 PM
|
#9
|
Member
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66
Original Poster
Rep:
|
fixed!
@lestoil: i got it to list my hard drive as sda. i enabled sata support, ahci, and intel ich6 drivers in the kernel and disabled support for IDE drives. works fine now.
thanks everyone for your input.
|
|
|
02-06-2006, 01:35 PM
|
#10
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
sata on 2.4 kernel
pafrica great to hear.
|
|
|
All times are GMT -5. The time now is 01:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|