LinuxQuestions.org
Help answer threads with 0 replies.
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 02-13-2008, 06:10 PM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 129

Rep: Reputation: 15
Enabling SATA support in stock 12.0 kernel


I replaced a dying SCSI cd-rw drive with a SATA cd-rw/dvd-r/etc. drive. It's hooked to the SATA3 connector on the ASUS motherboard, but is not seen by the system. This weekend I will upgrade from -11.0 to -12.0, and I'd like to make the drive usable with the stock kernel. How should I do this?

Or, should I grab the tarball for the latest kernel from kernel.org, configure and build it here?

Rich
 
Old 02-13-2008, 08:26 PM   #2
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 883

Rep: Reputation: 78
I have a asus p5vd2-vm se on one of my boxes that Slack 12 would not detect the sata at all.
But Slack 12 Current did perfectly with stock kernel

Last edited by slackass; 02-13-2008 at 08:27 PM.
 
Old 02-14-2008, 03:03 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
What SATA controller do you have. Post the output of '/sbin/lspci -vv' (really just the part about SATA controller).
 
Old 02-14-2008, 12:50 PM   #4
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by H_TeXMeX_H View Post
What SATA controller do you have. Post the output of '/sbin/lspci -vv' (really just the part about SATA controller).
The board is an Asus M2NPV-VM.

lspci reports:

00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) (
prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc. Unknown device 81c0
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 0 (750ns min, 250ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at 09f0 [size=8]
Region 1: I/O ports at 0bf0 [size=4]
Region 2: I/O ports at 0970 [size=8]
Region 3: I/O ports at 0b70 [size=4]
Region 4: I/O ports at e000 [size=16]
Region 5: Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot
-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b0] Message Signalled Interrupts: 64bit+ Queue=0/2 Enable
-
Address: 0000000000000000 Data: 0000
Capabilities: [cc] HyperTransport: MSI Mapping

00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) (
prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc. Unknown device 81c0
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 0 (750ns min, 250ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at 09e0 [size=8]
Region 1: I/O ports at 0be0 [size=4]
Region 2: I/O ports at 0960 [size=8]
Region 3: I/O ports at 0b60 [size=4]
Region 4: I/O ports at cc00 [size=16]
Region 5: Memory at fe02c000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot
-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b0] Message Signalled Interrupts: 64bit+ Queue=0/2 Enable
-
Address: 0000000000000000 Data: 0000
Capabilities: [cc] HyperTransport: MSI Mapping

Rich
 
Old 02-14-2008, 03:32 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Well, it looks like the controller is recognized properly, and I assume there is also a line like this in there:
Code:
SATA controller: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
I know that for Slackware 12.0 support for this controller is built-in:
Code:
  ┌────────────────────────── NVIDIA SATA support ──────────────────────────┐
  │ CONFIG_SATA_NV:                                                         │  
  │                                                                         │  
  │ This option enables support for NVIDIA Serial ATA.                      │  
  │                                                                         │  
  │ If unsure, say N.                                                       │  
  │                                                                         │  
  │ Symbol: SATA_NV [=y]                                                    │  
  │ Prompt: NVIDIA SATA support                                             │  
  │   Defined at drivers/ata/Kconfig:62                                     │  
  │   Depends on: ATA && PCI                                                │  
  │   Location:                                                             │  
  │     -> Device Drivers                                                   │  
  │       -> Serial ATA (prod) and Parallel ATA (experimental) drivers      │  
  │         -> ATA device support (ATA [=y])                                │
But, the same option is NOT built-in in the stock Slackware 11.0 kernel (huge26.s), so maybe if you enable it if it's there or upgrade to a newer kernel and then enable it, it will work. Or just upgrade to Slackware 12.0.
 
Old 02-15-2008, 12:30 PM   #6
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 15
The SATA paragraph is not present.

I'll upgrade to 12.0 and check that it's working properly with that release and the newer kernel.

Thanks very much,

Rich
 
Old 02-15-2008, 03:19 PM   #7
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Rep: Reputation: 15
Are you sure that it is not being detected? Have you checked the /dev folder for anything other than your hard drive? dmesg output? perhaps it is just detected as IDE. Try appending "combined_mode=libata" in your lilo.conf (if you use LILO, that is)
 
Old 02-16-2008, 04:01 PM   #8
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jets0n View Post
Are you sure that it is not being detected? Have you checked the /dev folder for anything other than your hard drive? dmesg output? perhaps it is just detected as IDE. Try appending "combined_mode=libata" in your lilo.conf (if you use LILO, that is)
Yes, I've checked under Slackware-11.0, and the drives are not recognized. I've not rebooted for a while.

I'll wait until I upgrade the distribution and see if the drive is recognized then. I'm sure it will be.

Thanks,

Rich
 
  


Reply

Tags
drive, kernel, sata, support


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
enabling oprofiler support in a 2.6.16.29 kernel oddiofile Linux - Kernel 1 04-19-2007 07:55 PM
Upgrading stock 2.4.22 kernel to 2.5.x then to 2.6.6 with existing stock .config file Kyl3 Slackware 8 06-09-2004 05:34 PM
enabling sata support for silicon image on kernel 2.6.2 fobius Linux - Software 3 02-06-2004 07:12 AM
Enabling APMD Kernel Support mackid97140 Linux - Laptop and Netbook 4 09-16-2003 12:52 PM
Enabling USB mouse support in kernel 2.4 Craigwd Linux - Software 3 12-22-2001 05:43 PM


All times are GMT -5. The time now is 02:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration