Re: CMD bug report - any progress?

From: Andre Hedrick (andre@linux-ide.org)
Date: Sun Mar 26 2000 - 01:31:04 EST


    RAID storage controller: CMD 648 (rev 1).
      Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=64. Min Gnt=2.Max Lat=4.
      I/O at 0xdc00 [0xdc01].
      I/O at 0xe000 [0xe001].
      I/O at 0xe400 [0xe401].
      I/O at 0xe800 [0xe801].

add to ide-pci.c

                    IDE_PCI_DEVID_EQ(d->devid, DEVID_CY82C693) ||
+ IDE_PCI_DEVID_EQ(d->devid, DEVID_CMD646) ||
+ IDE_PCI_DEVID_EQ(d->devid, DEVID_CMD648) ||
                    ((dev->class >> 8) == PCI_CLASS_STORAGE_IDE &&

It is reporting as a RAID and not IDE device class and ide-pci needs to
know about this........

On Sat, 25 Mar 2000, Sasi Peter wrote:

> Hi Andre!
>
> Have you got any good news in the CMD front?
> I am now using your latest patch (ide.2.2.15-14.20000324.patch.bz2), and
> 2.2.15-pre14 kernel. Here is the problem demonstrated:
> [root@iq /root]# hdparm -d1 -i -tT /dev/hde
>
> /dev/hde:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
>
> Model=WDC WD68BA, FwRev=P72OA30A, SerialNo=WD-WT9510032257
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> RawCHS=13240/16/63, TrkSize=0, SectSize=0, ECCbytes=34
> BuffType=3(DualPortCache), BuffSize=1961kB, MaxMultSect=16, MultSect=off
> DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
> CurCHS=13240/16/63, CurSects=-1535115061, LBA=yes
> LBA CHS=827/256/63 Remapping, LBA=yes, LBAsects=13345920
> tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
> IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
> UDMA modes: mode0 mode1 mode2
>
> Timing buffer-cache reads: 128 MB in 1.80 seconds =71.11 MB/sec
> Timing buffered disk reads: 64 MB in 25.91 seconds = 2.47 MB/sec
> [root@iq /root]#
>
> output of dmesg, and my .config and my /proc/pci are attached. Please! I
> need this working! You told me it is!
>
> -- SaPE
>
> Peter, Sasi <sape@sch.hu>
>

Andre Hedrick
The Linux ATA/IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:16 EST