linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SiI 3112 sata_error
@ 2003-05-29 12:58 Justin Cormack
  2003-06-02  9:30 ` Andre Hedrick
  0 siblings, 1 reply; 2+ messages in thread
From: Justin Cormack @ 2003-05-29 12:58 UTC (permalink / raw)
  To: Kernel mailing list, andre



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?




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SiI 3112 sata_error
  2003-05-29 12:58 SiI 3112 sata_error Justin Cormack
@ 2003-06-02  9:30 ` Andre Hedrick
  0 siblings, 0 replies; 2+ messages in thread
From: Andre Hedrick @ 2003-06-02  9:30 UTC (permalink / raw)
  To: Justin Cormack; +Cc: Kernel mailing list


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-02  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-29 12:58 SiI 3112 sata_error Justin Cormack
2003-06-02  9:30 ` Andre Hedrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).