LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-27-2006, 11:53 PM   #1
pafrica
Member
 
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
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?
 
Old 01-28-2006, 12:19 AM   #2
pafrica
Member
 
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
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?
 
Old 01-29-2006, 04:16 AM   #3
pafrica
Member
 
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
*bump* help?
 
Old 01-29-2006, 05:50 AM   #4
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
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.
 
Old 01-29-2006, 05:03 PM   #5
pafrica
Member
 
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
hi basel,

i've tried using the sata.i kernel. it detects the drive but it shows up as /dev/hda.
 
Old 01-29-2006, 05:54 PM   #6
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
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.
 
Old 01-29-2006, 07:45 PM   #7
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
review sata.i kernel config and test26s(2.6.13) config files. I think your mob should work with either.
 
Old 01-29-2006, 08:10 PM   #8
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
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!
 
Old 02-05-2006, 11:59 PM   #9
pafrica
Member
 
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
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.
 
Old 02-06-2006, 01:35 PM   #10
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
sata on 2.4 kernel

pafrica great to hear.
 
  


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
sata support for kernel form scratch cb951303 Slackware 2 09-08-2005 12:19 PM
trying to compiling 2.6 kernel with sata support madcow007 Slackware 5 06-03-2005 05:46 PM
compiling kernel for SATA support acidjuice Slackware 3 02-22-2005 05:34 PM
2.4 kernel SATA support equilibrium Slackware 2 08-02-2004 01:45 PM
Compiling SATA support into the 9.2 kernel hfinger Mandriva 0 03-23-2004 09:11 PM

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

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