LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   DMA error on Transcend CF cards (https://www.linuxquestions.org/questions/linux-hardware-18/dma-error-on-transcend-cf-cards-584070/)

ravi_chobey 09-12-2007 12:59 AM

DMA error on Transcend CF cards
 
Hi,

I am new to this forum,i am Ravi from Mumbai,India.

I have been working on ICOP Vortex86 - 6047 LVseries of motherboard
board for last one year.

I am using Transcend 128 MB CF card(80x speed) as a Hard Disk drive.I am using a bootable CD for transferring OS image of windows and Linux on that CF card.

For past some days i am getting errors while transferring the image,
the error is listed

below:{inLinux OS}



hda:dma timer dma status == 0x61 expired

hda:dma_timer_expiry:dma status == 0x61

hda : error waitingfor DMA

hda : dmatimeout retry : Status == 0x58

{

DriveReadySeekComplete DataRequest}

What may be the reason, that i don't know.Previously i was using PIO mode Cf card.It was working fine.But now i have changed it to DMA mode Cf card.

Any suggestions for that errors.

Thanks,
Ravi

Electro 09-12-2007 01:53 AM

Call me judgemental, I do not think Transcend SSD know how to make a quality SSD. NAND Flash memory is slow and has low tolerance of power. Sure Transcend may advertise 80X faster than regular hard drives, but that is only in accessing time. Their throughput or bandwidth is limited just like regular flash USB sticks. Also NAND Flash memory has limited writes, so the chances of data corruption increases significantly.

DMA can corrupt data if the electronics can not buffer enough data and control itself while the main processor is doing other tasks.

I suggest look into Bitmicro E-Disk. Their SSD hard drives are a lot better.

You may want to mount the drive with the sync option. Also use hdparm to set IO to 32-bit /w sync, disable unmaskirq, and transfer mode of DMA to the lowest mode. You may want to include the -p option when trying to enable DMA.

I think the drive is going or you can try to re-compile with the multi-word option enabled in the kernel. The cable could be giving you problems. Another gremlin might be the power supply.

ravime 09-12-2007 09:43 AM

Quote:

Originally Posted by ravi_chobey (Post 2889357)
Hi,

I am new to this forum,i am Ravi from Mumbai,India.

I have been working on ICOP Vortex86 - 6047 LVseries of motherboard
board for last one year.

I am using Transcend 128 MB CF card(80x speed) as a Hard Disk drive.I am using a bootable CD for transferring OS image of windows and Linux on that CF card.

For past some days i am getting errors while transferring the image,
the error is listed

below:{inLinux OS}



hda:dma timer dma status == 0x61 expired

hda:dma_timer_expiry:dma status == 0x61

hda : error waitingfor DMA

hda : dmatimeout retry : Status == 0x58

{

DriveReadySeekComplete DataRequest}

What may be the reason, that i don't know.Previously i was using PIO mode Cf card.It was working fine.But now i have changed it to DMA mode Cf card.

Any suggestions for that errors.

Thanks,
Ravi

From your bootble CD you might unknowingly passing the bootparameter nodma.
This results an error.

If you can able remove the bootparameter nodma then you wont get any error like mentioned above.

Good luck
Ravime

ravi_chobey 09-14-2007 12:38 AM

Quote:

Originally Posted by ravime (Post 2889690)
From your bootble CD you might unknowingly passing the bootparameter nodma.
This results an error.

If you can able remove the bootparameter nodma then you wont get any error like mentioned above.

Good luck
Ravime

Dear friend,

I came to know from some website that i have disable some entry related related to DMA flash disk in the compiled kernel and recompile my linux kernel.

Send suggestions if possible,

Thanks,
Ravi Chobey

ravime 09-19-2007 10:59 AM

Quote:

Originally Posted by ravi_chobey (Post 2891406)
Dear friend,

I came to know from some website that i have disable some entry related related to DMA flash disk in the compiled kernel and recompile my linux kernel.

Send suggestions if possible,

Thanks,
Ravi Chobey

Sorry yaar, My knowledge is very limited.
I dont know. Try out. May work

Goodluck
Ravime


All times are GMT -5. The time now is 11:51 PM.