Hi Arun,

Not exactly DM6446 related, but maybe of historical interest:

We've seen similar SD card issues with the older davinci TMS320DM320
part, with kernel 2.6.15, where at a certain point write access to a
SD card will "Hang".  In our case, in addition, any subsequent access
to the filesystem of the card will hang as well.  We've straced
various applications, and whatever system call stats the card never
returns.  There is usually extra debug information you can turn on in
the driver source, and recompile the kernel and check the output.  In
our case, it did not help, and we're still hanging intermittently
without a workaround.

Regards,
Mitch


> Date: Wed, 6 Oct 2010 19:13:31 -0400
> From: arun thomas whitchurch <[email protected]>
> To: [email protected]
> Subject: Copy to SD card gets stuck
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
> I am using the git kernel 2.6.30 on a dm6446 board based on the evm. I have
> a process copying files periodically over to a microSD card which has an
> ext3 filesystem. The copy rate is about 4 MB at a time followed by 40
> seconds of sleep. When I have other processes also running on the board,
> which use about 40 % of the CPU on average, the copy call gets stuck after
> about 5 minutes. When I do a 'ps aux' I see that the copy is in an
> 'uninterruptible sleep state' :
>
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> root           9498  0.0      0.1         1452   376   pts/0    D+
>  17:49     0:00 cp 1MBFile /mnt/usb/1.tst
>
> When I do a cat on /sys/class/mmcblk0/stat, the field indicating the number
> I/Os currently in progress is around 60 and does not come down. I am not
> able to kill the cp even with a SIGKILL.
>
> If I have no other processes running, I do not see this problem. I was able
> to recreate this issue, both on a 2GB microSD card and a 16GB microSDHC
> card.
>
> Is there any known issue with the SD/MMC driver which could be causing this?
> Do you think moving to the latest version kernel might fix this?
>
> Thanks,
> Arun
-- 
Mitch Rybczynski, BSc
Software Developer, Embedded

Miovision Technologies Inc.
www.miovision.com
[email protected]
phone 519.513.2407 / 877.646.8476
fax 866.413.2928
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to