2006-02-24 21:26:16

by Matheus Izvekov

[permalink] [raw]
Subject: IT8212 ide controller problem

Hi all

As of kernel 2.6.15.4, i get this during bootup:

IT8212: chipset revision 17
it821x: controller in smart mode.
IT8212: 100% native mode on irq 193
ide2: BM-DMA at 0xac00-0xac07, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xac08-0xac0f, BIOS settings: hdg:pio, hdh:pio
Probing IDE interface ide2...
Probing IDE interface ide3...
hdg: ST320410A, ATA DISK drive
hdg: Performing identify fixups.
ide3 at 0xa400-0xa407,0xa802 on irq 193
hdg: max request size: 128KiB
hdg: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63, BUG
hdg: cache flushes not supported
hdg:hdg: recal_intr: status=0x51 { DriveReady SeekComplete Error }
hdg: recal_intr: error=0x04 { DriveStatusError }
ide: failed opcode was: unknown
hdg1

This error doesnt happens if the same hd is connected to another ide
controller on the same machine.
Otherwise everything is fine, i have dma working at reasonable speed.


2006-02-25 00:43:39

by Alan

[permalink] [raw]
Subject: Re: IT8212 ide controller problem

On Gwe, 2006-02-24 at 18:26 -0300, Matheus Izvekov wrote:
> hdg:hdg: recal_intr: status=0x51 { DriveReady SeekComplete Error }
> hdg: recal_intr: error=0x04 { DriveStatusError }
> ide: failed opcode was: unknown
> hdg1
>
> This error doesnt happens if the same hd is connected to another ide
> controller on the same machine.


The core IDE code sends commands without checking if they are valid for
the hardware sometimes. This confuses the raid chip slightly but appears
harmless. I've no plan to fix it as I'm working on moving it to libata
anyway.