Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262042AbTFBJ14 (ORCPT ); Mon, 2 Jun 2003 05:27:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262066AbTFBJ14 (ORCPT ); Mon, 2 Jun 2003 05:27:56 -0400 Received: from astound-64-85-224-253.ca.astound.net ([64.85.224.253]:23048 "EHLO master.linux-ide.org") by vger.kernel.org with ESMTP id S262042AbTFBJ1z (ORCPT ); Mon, 2 Jun 2003 05:27:55 -0400 Date: Mon, 2 Jun 2003 02:30:30 -0700 (PDT) From: Andre Hedrick To: Justin Cormack cc: Kernel mailing list Subject: Re: SiI 3112 sata_error In-Reply-To: <1054213120.17709.72.camel@lotte> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2092 Lines: 66 The driver needs to have "drive->id->hw_config |= 0x6000;" added in siimagemask... for the device id only. This commits a LIE, but so what. We just tell the driver that SATA does not care about cable detect. On 29 May 2003, Justin Cormack wrote: > > > I have a SiI3112 PCI card > > 01:01.0 Unknown mass storage controller: CMD Technology Inc: Unknown > device 3112 (rev 01) > > SiI3112 Serial ATA: IDE controller at PCI slot 01:01.0 > SiI3112 Serial ATA: chipset revision 1 > SiI3112 Serial ATA: not 100% native mode: will probe irqs later > ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio > ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio > > The drives are Maxtor 4A250J0 parallel ATA with Silicon Image > converters. > > hdparm -i /dev/hde > > /dev/hde: > > Model=Maxtor 4A250J0, FwRev=RAMB1TU0, SerialNo=A804KZ3E > Config={ Fixed } > RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57 > BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16 > CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455 > IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} > PIO modes: pio0 pio1 pio2 pio3 pio4 > DMA modes: mdma0 mdma1 mdma2 > UDMA modes: udma0 udma1 *udma2 > AdvancedPM=yes: disabled (255) WriteCache=enabled > Drive conforms to: (null): 1 2 3 4 5 6 7 > > > running under 2.4.21-pre4-ac1 and I get continual errors of: > > May 29 12:42:42 calamari kernel: hde: sata_error = 0x00000000, watchdog > = 0, siimage_mmio_ide_dma_test_irq > May 29 12:42:42 calamari kernel: hdg: sata_error = 0x00000000, watchdog > = 0, siimage_mmio_ide_dma_test_irq > > as soon as I turn dma on. > > If I remove the printk from siimage.c they seem to run fine, with good > performance, so I wonder if this error might be bogus? > > > Andre Hedrick LAD Storage Consulting Group - 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/