LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-12-2007, 07:13 AM   #1
drimades
Member
 
Registered: Jun 2006
Posts: 60

Rep: Reputation: 15
Configuring the file .config


I need to know which is the row in the .config file that enables support for the SATA hard disks of my desktop and for the USB external HDD & flashdisk.
 
Old 02-12-2007, 09:36 AM   #2
georkost
LQ Newbie
 
Registered: Mar 2006
Location: Greece
Distribution: Slackware 11
Posts: 7

Rep: Reputation: 0
Post

This is for kernel 2.6.20 but propably would fit for you. With a graphical tooll like xconfig you could go to the
device drivers
---> serial ATA (prod)....
check as built-in the "ata device support" and down from that choose your ATA host adapter that you will find in the manual of our motherboard. Mine is ich so i checked the "intel piix/ich".

(The following I am not sure that is totally needed, but wouldn't hurt)
then go to the i2c support section and i2c hardware support bus and check also something that fits for your motherboard again. In the manual of your motherboard you can see the different chps that are used

Also other options that I am not sure that are needed but wouldn't hurt are
on scsi device support
scsi disk support
scsi generic support
scsi cdrom support
on ata/atapi/mf/rll support
enhanced ide/.......
include ide/atapi cdrom support

CAUTION!!!!: Your disks should be named as /dev/sdx and not /dev/hdx . If you right now use ide ( the disks are named as /dev/hdx) then it's a little bit tricky. Because after changing the kernel to use the sata support you should also change the fstab to see this changes fron hd to sd. To solve this first check that you don't hae a kernel panic (it is possible to happen) without changing the fstab and then boot from a boot installation linux cd/dvd. Mount the /dev/sdxy (or whatever the disk name will be, x the disk drive ,y the number of the partition, check it with fdisk -l) and change the fstab.

Also in previous kernels if the ide was enabled that caused the ide system to manage the disks and not the sata system. So you propably pass some parameters at boot in grub or lilo like those:
ide1=noprobe libata.atapi_enabled=1
I don't know if this problem is solved in newer kernels, i haven't tested
 
  


Reply



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
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 12:07 PM
X config tool not creating X config file Pingus Debian 3 05-02-2005 11:49 AM
krfb --config; Format of config file? Need to allow ports below 1024. SavvyPlayer Linux - Software 0 10-16-2004 08:28 PM
Configuring the Apache2 config file to use PHP4 mindstormsguy Linux - Software 3 05-29-2003 12:59 PM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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