LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
Search this Thread
Old 02-01-2005, 09:06 AM   #1
Sironius
LQ Newbie
 
Registered: Feb 2005
Location: Berlin, Germany
Distribution: SuSE
Posts: 8

Rep: Reputation: 0
SATA AHCI problem with i925x (ICH6) on Kernel 2.6.10


Hi *,

I use a Gigabyte 8I925x with an ICH6 SATA controller in AHCI mode (Bios). My problem is: the attached devices are not recognized.
I have connected a native SATA Seagate HDD and an ATAPI DVD-ROM with an adapter on the onboard SATA controller.
I compiled kernel 2.6.10 on a SuSE 9.2 base system and it works well. I use SMP support for my HT CPU and patched some SuSE related stuff in it (subfs, bootsplash).
The controller device driver (ahci, ata_piix) are included in the initrd and loaded at boot time:
Code:
<5>SCSI subsystem initialized
<7>libata version 1.10 loaded.
<7>ata_piix version 1.03
<6>ACPI: PCI interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 177
<4>ata: 0x1f0 IDE port busy
<7>PCI: Setting latency timer of device 0000:00:1f.2 to 64
<6>ata1: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xE008 irq 15
<4>ATA: abnormal status 0x7F on port 0x177
<3>ata1: disabling port
<6>scsi0 : ata_piix
The modules are also listed correctly (lsmod):
Code:
ahci                   11780  0
ata_piix               10116  0
libata                 47364  2 ahci,ata_piix
sd_mod                 19072  0
scsi_mod              123136  6 sg,st,sr_mod,ahci,libata,sd_mod
But there are no drives:
Code:
> cat /proc/scsi/scsi
Attached devices:
I tried kernel 2.6.11-rc2 with #define ATA_ENABLE_ATAPI and #define ATA_DEBUG in include/linux/libata.h. The result does not change.
Code:
SCSI subsystem initialized
libata version 1.10 loaded.
piix_init: pci_module_init
ata_piix version 1.03
ata_pci_init_one: ENTER
ACPI: PCI interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 201
ata: 0x1f0 IDE port busy
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata_device_add: ENTER
ata_host_add: ENTER
ata_port_start: prd alloc, virt f79f7000, dma 379f7000
ata1: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xE008 irq 15
ata_device_add: probe begin
ata_device_add: ata1: probe begin
ata_bus_reset: ENTER, host 1, port 0
ata_bus_softreset: ata1: bus reset via SRST
ATA: abnormal status 0x7F on port 0x177
ata1: disabling port
ata_bus_reset: EXIT
ata_device_add: ata1: probe end
scsi0 : ata_piix
ata_device_add: probe begin
ata_scsi_dump_cdb: CDB (1:0,0,0) 12 00 00 00 24 00 ff df 92
ata_scsi_dump_cdb: CDB (1:0,1,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,2,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,3,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,4,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,5,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,6,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,7,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,8,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,9,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,10,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,11,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,12,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,13,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,14,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:0,15,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,0,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,1,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,2,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,3,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,4,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,5,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,6,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,7,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,8,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,9,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,10,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,11,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,12,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,13,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,14,0) 12 00 00 00 24 00 24 c0 82
ata_scsi_dump_cdb: CDB (1:1,15,0) 12 00 00 00 24 00 24 c0 82
piix_init: done
Thanks for suggestions!

Yours
Sironius
 
Old 02-20-2005, 04:56 PM   #2
tinelush
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
I use Gigabyte 8I925X-G too and using segate SATA too and the system doesn t see the HDD . Go to the intel.com -> download center -> and type 925x for the search . The search will find 2 results but I think they are the same.Select one, the OS and Then go to the Drivers section and download this file : RAID: F6 Driver Disk (Optional) [IAA-F6FLPY32_XP2K_4.6.0.6758_PV.EXE]]

This is the direct link for the download: ftp://aiedownload.intel.com/df-suppo....0.6758_pv.exe - for Win XP PRO only. For other OS follow the instructions I wrote before.

This exe file makes the bootable floppy disk to use it with F6 when installing Win Xp Pro . There are 4 files to select when loading the F6 and I don t know for sure which one is (I think is the first) .

THE DRIVERS FROM GIGABYTE CD ARE NOT GOOD . RIGHT NOW I AM TRYING TO RESOLVE OTHER PROBLEM. I HAVE RADEON X700 PRO AND IT IS NOT WORKING PROPERLY . AND I FOUND OUT THAT IS BECAUSE THE MB DRIVERS.

SORRY FOR MY BAD ENGLISH.
 
Old 03-03-2005, 09:02 AM   #3
Sironius
LQ Newbie
 
Registered: Feb 2005
Location: Berlin, Germany
Distribution: SuSE
Posts: 8

Original Poster
Rep: Reputation: 0
Smile problem solved

Thanks tinelush for your comment. I had no problems under Windows and use no RAID functionality.
So I decided to wait for the final kernel 2.6.11 - and now it works fine!

After booting the kernel 2.6.11 I missed the proper device links for /dev/sdaX. SuSE 9.2 uses the udev device manager.
An update of this package form version 03x to udev-052-3 solved this problem.
 
Old 03-09-2005, 01:46 AM   #4
sacular39
LQ Newbie
 
Registered: Mar 2005
Distribution: ubuntu,suse,gentoo
Posts: 1

Rep: Reputation: 0
Hi Sironius,

I am trying to get kernel 2.6.11 to work with SATA AHCI also. Could you email me your kernel .config?

To andrew.lucas@westnet.com.au


Thanks

andrew
 
Old 03-10-2005, 08:58 AM   #5
Sironius
LQ Newbie
 
Registered: Feb 2005
Location: Berlin, Germany
Distribution: SuSE
Posts: 8

Original Poster
Rep: Reputation: 0
Hi Andrew,

it's on the way.
 
Old 03-10-2005, 03:56 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
A request: it would be better to post answers here in the forums rather than via private Email. The idea is that by posting the answer here, it will benefit many people. In contrast, an Email will only benefit the recipient.

In this case, I realize the kernel config file may be pretty lengthy, but if the focus remained on the main relevant section(s), those could easily be posted. Thanks -- J.W.

Last edited by J.W.; 03-10-2005 at 03:59 PM.
 
Old 03-15-2005, 10:51 AM   #7
Sironius
LQ Newbie
 
Registered: Feb 2005
Location: Berlin, Germany
Distribution: SuSE
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
it would be better to post answers here in the forums rather than via private Email.
I fully agree but I did not have configured any special options. I post the relevant sections here:
Code:
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_AHCI=m
CONFIG_SCSI_ATA_PIIX=m
I decided to configure this as modules to keep the SuSE 9.2 default configuration widely.
 
Old 03-17-2005, 04:47 PM   #8
rolflist
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Rep: Reputation: 0
Based on notes that I took from http://www.homerengineeringcorp.net/mythtv/myth.html ,
I installed Suse 9.2(2.6.8-24)+ kernel 2.6.11, but I am fairly confident that one can do the same with debian, knoppix, redhat or fedora.
My system is a Dell Dimension 8400 (I925), BIOS A03, 2x SATA WD160GB, ATI X300.
There is on both disks a bootable Windows XP, both initially with 2 partitions:
partition 1 is a Dell Utility Fat16 file system, partition 2 is NTFS with Windows XP.

I added linux to disk 2. It boots from "Autoraid/AHCI". I can choose Grub to choose between XP and linux.
I have still the original Dell Windows XP installation.

The SATA part in .config (made with "make cloneconfig" and using the defaults suggested in "make xconfig") is
....
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_AHCI is not set
CONFIG_SCSI_SATA_SVW=m
CONFIG_SCSI_ATA_PIIX=m
CONFIG_SCSI_SATA_NV=m
....

I posted the details of this installation at a different forum.
URL will follow here:
http://forums.us.dell.com/supportfor...essage.id=5859
 
Old 04-12-2005, 05:40 PM   #9
marquis
LQ Newbie
 
Registered: Nov 2004
Distribution: suse
Posts: 3

Rep: Reputation: 0
I just got SuSe 9.3, with kernel 2.6.11 (I pre-ordered it). It detects my SATA drives in my Dell Dimension 8400 when I set the Bios to "Autoraid/AHCI". Previously I have installed SuSe 9.2 with the Bios set to Combination mode.
 
  


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
Does Anyone Have Ahci Sata Hard Drive Working Under Red Hat 2.4.29 ??? zotyi Linux - Hardware 4 04-11-2005 05:27 AM
Does Anyone Have Ahci Sata Hard Drive Working Under Red Hat 2.4.29 ??? zotyi Linux - General 1 04-11-2005 05:06 AM
SATA AHCI problem under 2.4.29 and Intel915G banga Linux - Hardware 3 03-15-2005 04:33 AM
ICH6 SATA chipset supported yet? hamish Linux - Hardware 7 03-07-2005 12:31 PM
Installation problem with SATA drive and Intel ICH6 controller tags142 Linux - Hardware 3 08-14-2004 06:29 AM


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