CMD/SIL680 raid/IDE controller

From: Gunnar (gunnar_at_gunix.dk)
Date: 07/22/03


Date: Mon, 21 Jul 2003 22:29:38 GMT

Hello! I have a strange error with a CMD Technology/Silicon Image 680
Raid/IDE controller card. I used debian with a 2.4.21 kernel.

I have a IDE hard disc (WD 9.5 GB, old disc) that I have tested on the
controller on the motherboard, I can create an ext2 filesystem on it, and
read/write. No problems (after 5 minutes of testing)

When I put the harddisc on the controller card, I get bad results.
Directly after boot:
dmesg |grep hde
   ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio
hde: WDC AC310000R, ATA DISK drive
hde: attached ide-disk driver.
hde: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hde: task_no_data_intr: error=0x04 { DriveStatusError }
hde: host protected area => 1
hde: 19541088 sectors (10005 MB) w/512KiB Cache, CHS=19386/16/63, UDMA(33)
 hde: [PTBL] [1216/255/63] hde1
hde: DMA disabled

That doesn't look good :-(

cat /proc/interrupts |grep ide gives
 10: 2416 XT-PIC ide2, usb-uhci, usb-uhci, eth0
 14: 8641 XT-PIC ide0
 15: 25 XT-PIC ide1
so the controller shares the irq (if that now is of any matter, I don't
know)

Now, hdparm /dev/hde is set to

/dev/hde:
 multcount = 0 (off)
 I/O support = 0 (default 16-bit)
 unmaskirq = 0 (off)
 using_dma = 0 (off)
 keepsettings = 0 (off)
 nowerr = 0 (off)
 readonly = 0 (off)
 readahead = 8 (on)
 geometry = 1216/255/63, sectors = 19541088, start = 0
 busstate = 1 (on)

I read a few hundred files, mounts and unmounts 20 times quickly. I first
get the errors (in syslog):
(8 times)
kernel: hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
kernel: hde: dma_intr: error=0x84 { DriveStatusError BadCRC }

kernel: ide2: reset timed-out, status=0xd0
hde: status timeout: status=0xd0 { Busy }
kernel: hde: DMA disabled

Then the munting starts: here is a summary of the errors:
kernel: ide2: reset timed-out, status=0xd0
kernel: end_request: I/O error, dev 21:01 (hde), sector 88 (same error for
a lot of sectors between 0 and 104)
kernel: FAT:unable to read boot sector
kernel: end_request: I/O error, dev 21:01 (hde), sector 0

and so on...
It finaly stops.

Now I can't mount the filesystem.

A while after the first errors, the disc appears not to be there... fdisk
-l /dev/hde shows noting.
But hdparm -i /dev/hde shows the same thing as before:
/dev/hde:

 Model=WDC AC310000R, FwRev=15.01J15, SerialNo=WD-WM6510174466
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
 BuffType=DualPortCache, BuffSize=512kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=19541088
 IORDY=on/off, tPIO={min:160,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 *udma1 udma2 udma3 udma4
 AdvancedPM=no WriteCache=enabled
 Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4

I have moved around the cables in the box to reduce electro magnetic
interference (i.e.) I have placed the 80pin cables as far away from each
other as possible (I have the internel controller's cable, and the card's
cable).

Please, can someone helt me with this? Feel free to ask me for more
information.



Relevant Pages

  • repost/wishlist item: FC2 libata/system response with busy disk
    ... kernel update would make me very happy. ... system now uses libata and sees my SATA disk as sda ... with my hdd recognised as hde has hde my system would ... love to get FC2 working like I had FC1 working with kernels greater than ...
    (Fedora)
  • Re: Motherboard Change- will Fedora survive?
    ... >>moving the hard disk to a different controller (hde to hda). ... make sure the kernel is built for the lowest common ... Athlon, 686 kernels will blow up on a 386, you get the idea. ...
    (Fedora)
  • Re: 2.6.2-mm1 aka "Geriatric Wombat"
    ... hangs probing hpt366 ide controller. ... Later my kernel hangs when detecting hde, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • kernel > 2.4.18 and problems with UDMA
    ... After long time running with kernel 2.4.5 I decided to upgrade it ... hde: 0 bytes in FIFO ... hde: DMA disabled ... With kernel version 2.4.18 everything is ok, ...
    (comp.os.linux.hardware)
  • Re: USB2 trouble: EHCI HCD died
    ... This seems to be the common factor, My Dynex USB2.0 controller card has ... Works with kernel 2.6.5. ... kernel to the 2.6.5 kernel shipped with Fedora Core 2, your USB2 card will ... probably work in Fedora, too. ...
    (Fedora)