LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-14-2006, 11:13 AM   #1
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Rep: Reputation: 30
How to enable SATA support


Hi. Can anyone tell me what option I need to set to compile SATA support into the kernel. I have a Seagate SATA disk. Thx.
 
Old 09-14-2006, 01:44 PM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
Here's a good set of generic settings for SATA. I use them and they are adopted from Slackware kernels that are SATA enabled. When you're running "make menuconfig" follow these menus. I can post the raw portion of the config file too if you would rather see that.

Device Drivers --> SCSI device support --> SCSI low-level drivers -->

< > iSCSI Initiator over TCP/IP
<*> 3ware 5/6/7/8xxx ATA-RAID support
<*> 3ware 9xxx SATA-RAID support
<*> 7000FASST SCSI support
<*> ACARD SCSI support
<*> Adaptec AHA152X/2825 support
<*> Adaptec AHA1542 support
<*> Adaptec AACRAID support
<*> Adaptec AIC7xxx Fast -> U160 support (New Driver)
(4) Maximum number of TCQ commands per device
(15000) Initial bus reset delay in milli-seconds
[ ] Compile in Debugging Code
(0) Debug code enable mask (2047 for all debugging)
[ ] Decode registers during diagnostics
<M> Adaptec AIC7xxx support (old driver)
<*> Adaptec AIC79xx U320 support
(4) Maximum number of TCQ commands per device
(15000) Initial bus reset delay in milli-seconds
[ ] Enable Read Streaming for All Targets
[ ] Compile in Debugging Code
(0) Debug code enable mask (16383 for all debugging)
[ ] Decode registers during diagnostics
<*> Adaptec I2O RAID support
< > AdvanSys SCSI support
<*> Always IN2000 SCSI support [*] LSI Logic New Generation RAID Device Drivers
<*> LSI Logic Management Module (New Driver)
<*> LSI Logic MegaRAID Driver (New Driver)
< > LSI Logic Legacy MegaRAID Driver
< > LSI Logic MegaRAID SAS RAID Module
<*> Serial ATA (SATA) support
<*> AHCI SATA support
<*> ServerWorks Frodo / Apple K2 SATA support
<*> Intel PIIX/ICH SATA support
< > Marvell SATA support (HIGHLY EXPERIMENTAL)
<*> NVIDIA SATA support
< > Pacific Digital ADMA support
<*> Pacific Digital SATA QStor support
<*> Promise SATA TX2/TX4 support
<*> Promise SATA SX4 support
<*> Silicon Image SATA support
< > Silicon Image 3124/3132 SATA support
<*> SiS 964/180 SATA support
<*> ULi Electronics SATA support
<*> VIA SATA support
<*> VITESSE VSC-7174 / INTEL 31244 SATA support
<*> BusLogic SCSI support
[ ] Omit FlashPoint support
<*> DMX3191D SCSI support
<*> DTC3180/3280 SCSI support
<*> EATA ISA/EISA/PCI (DPT and generic EATA/DMA-compliant boards)support
[ ] enable tagged command queueing
[ ] enable elevator sorting
(16) maximum number of queued commands
<*> Future Domain 16xx SCSI/AHA-2920A support
<*> Intel/ICP (former GDT SCSI Disk Array) RAID Controller support
<M> Generic NCR5380/53c400 SCSI PIO support
<*> Generic NCR5380/53c400 SCSI MMIO support [*] Enable NCR53c400 extensions
<*> IBM ServeRAID support
<*> Initio 9100U(W) support
<*> Initio INI-A100U2W support
<M> IOMEGA parallel port (ppa - older drives)
<M> IOMEGA parallel port (imm - newer drives)
[ ] ppa/imm option - Use slow (but safe) EPP-16
[ ] ppa/imm option - Assume slow parport control register
<M> NCR53c406a SCSI support
<*> SYM53C8XX Version 2 SCSI support
(1) DMA addressing mode
(16) Default tagged command queue depth
(64) Maximum number of queued commands [*] Use memory mapped IO
<*> IBM Power Linux RAID adapter support
[ ] enable driver internal trace
[ ] enable adapter dump support
<M> PAS16 SCSI support
<*> PSI240i support
<*> Qlogic FAS SCSI support
<*> Qlogic QLA 1240/1x80/1x160 SCSI support
< > QLogic QLA2XXX Fibre Channel Support
<*> Emulex LightPulse Fibre Channel Support
<*> Symbios 53c416 SCSI support
<*> Tekram DC395(U/UW/F) and DC315(U) SCSI support (EXPERIMENTAL)
<*> Tekram DC390(T) and Am53/79C974 SCSI support
<*> Trantor T128/T128F/T228 SCSI support
<M> UltraStor 14F/34F support
[ ] enable tagged command queueing
[ ] enable elevator sorting
(8) maximum number of queued commands
<M> UltraStor SCSI support
<*> Workbit NinjaSCSI-32Bi/UDE support
<M> SCSI debugging host simulator
 
Old 09-16-2006, 11:36 AM   #3
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
Nopes. I compiled my kernel with exactly the same setting as you. But it still gives the same error:
VFS: Kernel panic. Unable to mount root filesystem.
 
Old 09-16-2006, 04:39 PM   #4
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
It's likely not your sata kernel settings then. I would check now to make sure you have filesystem support compiled in with a "y" as opposed to an "m". If you're using Reiserfs for your Linux filesystem, then that support needs to be compiled in. Same with other filesystems like ext3 or whatever you are using. Check on that, try again, and give us the results.

If this doesn't work, then we'll take a look at your /etc/fstab file, then your boot loader, your /boot files, etc. We need System.map in /boot, and a properly configured boot loader too. We'll get it figured out... fear not
 
Old 09-16-2006, 05:36 PM   #5
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
Hmm. I didn't think of checking for filesystem support [] I'm using ext3. And I know for a FACT that my bootloader and fstab are configured properly, coz 2.4.31 works fine. Anyway, I'll check and let you know.
 
Old 09-16-2006, 06:26 PM   #6
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
Hey thx a lot guys. ext3 support wasn't compiled. That was such a newbie mistake. Anyway, an off-topci question. Whenever I start KDE,kmix and gaim automatically load. How do I disable that? Thanks.
 
Old 09-16-2006, 09:21 PM   #7
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
Hey, it doesn't matter how long you've been doing this, you're gonna miss stuff once in a while. Sometimes you just need a second set of eyes or ears to suggest something to get you going again. Glad you figured it out.

As far as start up in KDE, I actually don't know how to disable any of that. Never even thought about it So hopefully someone will post something to help us. If not, start a new thread or search for it.

Last edited by meetscott; 09-16-2006 at 09:23 PM.
 
Old 09-20-2006, 05:24 PM   #8
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
for KDE, in your home directory there should be a .kde folder with a startup subfolder. i think.
 
Old 09-20-2006, 07:50 PM   #9
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
You mean ~/.kde/Autostart? I've never used it but that might be what we're looking for.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.1 sata.i dosn't support my sata controller kryptobs2000 Slackware 7 12-05-2007 07:25 PM
How to setup linux to enable by HDDs as SATA vicky_me Linux - Hardware 3 09-11-2006 05:54 AM
Linux support: pci sata card vs integrated sata Synesthesia Linux - Hardware 2 10-17-2005 04:27 PM
SATA 1 & SATA 2 support varun_saa Mandriva 1 09-28-2005 05:35 AM
How to enable a SATA drive? jinsuh Linux - Hardware 1 11-19-2004 02:56 PM


All times are GMT -5. The time now is 08:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration