LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SATA AHCI problem with i925x (ICH6) on Kernel 2.6.10 (https://www.linuxquestions.org/questions/linux-hardware-18/sata-ahci-problem-with-i925x-ich6-on-kernel-2-6-10-a-284884/)

Sironius 02-01-2005 09:06 AM

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

tinelush 02-20-2005 04:56 PM

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.

Sironius 03-03-2005 09:02 AM

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.

sacular39 03-09-2005 01:46 AM

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

Sironius 03-10-2005 08:58 AM

Hi Andrew,

it's on the way.

J.W. 03-10-2005 03:56 PM

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.

Sironius 03-15-2005 10:51 AM

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.

rolflist 03-17-2005 04:47 PM

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

marquis 04-12-2005 05:40 PM

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.


All times are GMT -5. The time now is 11:38 PM.