Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-12-2010, 08:50 AM   #1
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Rep: Reputation: 3
Question Kernel config - What IDE driver for aged P3 machine?


i'm very confused by the kernel-options for ATA ./. SATA

there are two main options for my hardware:

  │ Symbol: PATA_OLDPIIX [=m]                                                                                       │
  │ Prompt: Intel PATA old PIIX support                                                                             │
  │   Defined at drivers/ata/Kconfig:512                                                                            │
  │   Depends on: ATA [=m] && ATA_SFF [=y] && ATA_BMDMA [=y] && PCI [=y]                                            │
  │   Location:                                                                                                     │
  │     -> Device Drivers                                                                                           │
  │       -> Serial ATA and Parallel ATA drivers (ATA [=m])                                                         │
  │         -> ATA SFF support (ATA_SFF [=y])                                                                       │
  │           -> ATA BMDMA support (ATA_BMDMA [=y])

  │ Symbol: BLK_DEV_PIIX [=y]                                                                                       │
  │ Prompt: Intel PIIX/ICH chipsets support                                                                         │
  │   Defined at drivers/ide/Kconfig:496                                                                            │
  │   Depends on: IDE [=y] && PCI [=y]                                                                              │
  │   Location:                                                                                                     │
  │     -> Device Drivers                                                                                           │
  │       -> ATA/ATAPI/MFM/RLL support (DEPRECATED) (IDE [=y])                                                      │
  │   Selects: BLK_DEV_IDEDMA_PCI [=y]
i have also enabled/disabled this option, no change:
  │ Symbol: BLK_DEV_IDE_SATA [=n]                                                                                   │
  │ Prompt: Support for SATA (deprecated; conflicts with libata SATA driver)                                        │
  │   Defined at drivers/ide/Kconfig:47                                                                             │
  │   Depends on: IDE [=y]                                                                                          │
  │   Location:                                                                                                     │
  │     -> Device Drivers                                                                                           │
  │       -> ATA/ATAPI/MFM/RLL support (DEPRECATED) (IDE [=y])                                                      │
do i have to completely turn off either ATA or SATA support and build?

00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 05) (prog-if 80 [Master])
        Subsystem: Siemens Nixdorf AG Device 0055
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
        Region 4: I/O ports at 2400 [size=16]
        Kernel driver in use: PIIX_IDE
        Kernel modules: piix
the ATA stuff is "deprecated" the SATA stuff is "old"... what to choose?
i want performance. i compiled both as modules, but only the first (ATA) gets loaded and gives this at boot:

[    4.885146] libata version 3.00 loaded.
[    5.511634] Uniform Multi-Platform E-IDE driver
[    5.572935] piix 0000:00:1f.1: IDE controller (0x8086:0x244b rev 0x05)
[    5.573133] piix 0000:00:1f.1: not 100% native mode: will probe irqs later
[    5.573164]     ide0: BM-DMA at 0x2400-0x2407
[    5.573202]     ide1: BM-DMA at 0x2408-0x240f
[    5.573234] Probing IDE interface ide0...
[    5.850343] hda: ST320011A, ATA DISK drive
not 100% native mode? so HOW can i tell the kernel to load my SATA modules instead of ATA. maybe they are native then?

p3wrk:/home/marquisor# lsmod |grep ide
ide_cd_mod             20521  0
ide_gd_mod             11739  5
cdrom                  25835  1 ide_cd_mod
ide_pci_generic         1980  0
ide_core               61484  4 ide_cd_mod,ide_gd_mod,ide_pci_generic,piix
would i need the ide_pci_generic and ide_gd_mod modules at all?

thx in advance!


Last edited by marquisor; 10-12-2010 at 08:59 AM.
Old 10-12-2010, 09:01 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
By no means am I a guru on such matters, but I offer this advice.

Somewhere around kernel revision 2.6.22, an essential revision was made. All hard drives, whether IDE, SATA, or SCSI are treated as SCSI devices; either native SCSI or emulated-SCSI.

Therefore, to be on the safe side, I'd suggest that you compile the kernel with all IDE, SATA, and SCSI enabled and let the kernel determine which modules it needs for your system. That would at least get you up and running.

As you learn more about Debian in particular, and GNU/Linux in general, you should be able to reconfigure your kernel to remove unnecessary modules.

That, in a nutshell, is the approach I took when I first entered the Linux world about 10 years ago.
Old 10-12-2010, 11:38 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,744

Rep: Reputation: 2473Reputation: 2473Reputation: 2473Reputation: 2473Reputation: 2473Reputation: 2473Reputation: 2473Reputation: 2473Reputation: 2473Reputation: 2473Reputation: 2473
Get rid of all the old/deprecated stuff. Under BMDMA pick "INTEL ESB, ICH ..." (probably the first option) then any other (SCSI) you might need.
See how that goes.


ata, controller, ide, kernel config, sata

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
Cannot generate kernel .config w IDE, SCSI, SATA, FAT, Ext2, Ext3. smeezekitty General 10 11-01-2009 03:38 PM
kernel question - IDE-chipset driver bailmann Debian 1 01-14-2005 08:22 AM
IDE driver trend - compilation into kernel northtwilight Linux - Hardware 2 03-10-2004 07:28 AM
Where do I enable ide-scsi module in kernel config? TheOneAndOnlySM Slackware 3 12-12-2003 08:43 PM
Aged laptop - display config with Xfree86 mutex Linux - Laptop and Netbook 1 10-27-2003 10:23 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration