Messages in this thread | | | From | Ian Hastie <> | Subject | Re: PATCH: Add support for IT8212 IDE controllers | Date | Fri, 6 Aug 2004 01:45:49 +0100 |
| |
On Monday 02 Aug 2004 00:05, Alan Cox wrote: > Ok try this
OK, tried it now. Sorry it took so long to get around to it.
It gets the ATA clock setting right, but that's the only obvious change. Everything else in the boot log seems the same.
The UDMA rate is still detected wrongly, but this is because the PCI reg 0x40 contains the value 0xa000 which should mean 40 wire cables. I am using rounded canbles, but I can't say if this would cause a misdetection or not. The ITE driver seems to suggest that cable detect can only be used if the chip is in "Firmware" mode. I thought I saw a more definite reference to this, but I can't seem to find it now. It's certainly true that I have not seen any data corruption on the connected drives even when running at hat should be UDMA133.
One other small point is that SMART doesn't work through this driver. smartctl -A says there is a checksum error and then says SMART is not active.
IT8212: IDE controller at PCI slot 0000:00:0c.0 ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 17 IT8212: chipset revision 17 IT8212: 100% native mode on irq 17 ide2: BM-DMA at 0xec00-0xec07, BIOS settings: hde:pio, hdf:pio it8212: controller in smart mode. it8212: BIOS seleted a 66MHz clock. ide3: BM-DMA at 0xec08-0xec0f, BIOS settings: hdg:pio, hdh:pio it8212: BIOS seleted a 66MHz clock. hde: Maxtor 6Y120P0, ATA DISK drive ide2 at 0xb000-0xb007,0xa802 on irq 17 hde: max request size: 128KiB hde: recal_intr: status=0x51 { DriveReady SeekComplete Error } hde: recal_intr: error=0x04 { DriveStatusError } hde: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(33) /dev/ide/host2/bus0/target0/lun0: p1 p2 hdg: Maxtor 6Y120P0, ATA DISK drive ide3 at 0xa400-0xa407,0xa002 on irq 17 hdg: max request size: 128KiB hdg: recal_intr: status=0x51 { DriveReady SeekComplete Error } hdg: recal_intr: error=0x04 { DriveStatusError } hdg: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(33) /dev/ide/host2/bus1/target0/lun0: p1 p2
-- Ian. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |