LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-21-2008, 10:41 PM   #1
linuxgentoo
LQ Newbie
 
Registered: Nov 2007
Location: Shanghai,China
Distribution: gentoo
Posts: 19
Blog Entries: 1

Rep: Reputation: 0
sda-> hda


my kernel is 2.6.22.19 patched by linux vserver(2.6.22.19-vs2.2.0.7-r1)
my storage is SATA disk
from livecd ,It can recognize as sda,

Code:
scsi1 : ata_piix
  Vendor: ATA       Model: HDS728080PLA380   Rev: PF2O
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
SCSI device sda: drive cache: write back
but I use my kernel,the disk can be recognized as hda

in .config
I already set
Code:
CONFIG_ATA_PIIX=y
CONFIG_BLK_DEV_PIIX=y
note: i don't find the macro CONFIG_SCSI_ATA_PIIX

thanks for your help
 
Old 04-22-2008, 02:34 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Your disk is a Serial-ATA drive, but you chose IDE controller options for a Parallel-ATA disk -> ATA/ATAPI/MFM/RLL support (IDE) -> ATI IXP chipset IDE support (BLK_DEV_ATIIXP)

The latest stable kernel is 2.6.25. In it use the libata driver -> Serial ATA (prod) and Parallel ATA (experimental) drivers (ATA) and choose the options for your motherboard's controller. From your post it seems to be Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support (ATA_PIIX). You may also need AHCI SATA support (SATA_AHCI). If unsure, chose M for SATA_AHCI.
 
Old 04-22-2008, 05:06 AM   #3
linuxgentoo
LQ Newbie
 
Registered: Nov 2007
Location: Shanghai,China
Distribution: gentoo
Posts: 19
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Bruce Hill View Post
Your disk is a Serial-ATA drive, but you chose IDE controller options for a Parallel-ATA disk -> ATA/ATAPI/MFM/RLL support (IDE) -> ATI IXP chipset IDE support (BLK_DEV_ATIIXP)

The latest stable kernel is 2.6.25. In it use the libata driver -> Serial ATA (prod) and Parallel ATA (experimental) drivers (ATA) and choose the options for your motherboard's controller. From your post it seems to be Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support (ATA_PIIX). You may also need AHCI SATA support (SATA_AHCI). If unsure, chose M for SATA_AHCI.


thanks,it does work
I should close ATA options
 
  


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
Why sda* and not hda* ? hepburnenthorpe Arch 9 06-27-2007 04:18 PM
SDA is Now HDA carlosinfl Linux - Hardware 6 06-05-2007 09:00 PM
/hda to /sda - help! dodgydodgy Linux - General 9 10-20-2006 06:07 PM
Do I use hda or sda? jumico Linux - General 2 02-12-2006 05:55 PM
hda? sda? what do i have? nr5 Linux - Newbie 12 02-24-2005 06:50 PM


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