msdos_format - deadlock

Federico Garcia Cruz federico.garciacruz at tallertechnologies.com
Wed Dec 17 14:19:40 UTC 2014


I'm using rtems version 4.10.99.0 (trunk 2014-07-04). We have developed a
bsp for lpc1768 and it's already uploaded to rtems trunk.
I've done some debugging and the program get stuck waiting for a bdbuf to
be free. Function rtems_bdbuf_get never gets a free buffer and then it
calls to rtems_bdbuf_wait_for_buffer and it never returns.
How can I test plain block read/write transfers?


2014-12-17 10:12 GMT-03:00 Sebastian Huber <
sebastian.huber at embedded-brains.de>:
>
>
> On 16/12/14 15:12, Federico Garcia Cruz wrote:
>
>> I'm running rtems 4.10 on a mbed board (LPC1768 ARM micro controller),
>>
>
> The Cortex-M is not supported in RTEMS 4.10.  Do you really use RTEMS 4.10?
>
>  and I'm trying to use the dos filesystem with a nvdisk. I can register
>> the device driver correctly but when I try to format the disk it never
>> returns from the format function.
>> It seems to be a deadlock in rtems_bdbuf_get function.
>> Could you give a hand please?
>>
>
> I would first test that your setup works with plain block read/write
> transfers.  What do you mean with deadlock?
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>

-- 

<http://www.tallertechnologies.com>


Federico Garcia Cruz

Software Engineer


San Lorenzo 47, 3rd Floor, Office 5

Córdoba, Argentina


Phone: +54 351 4217888 / +54 351 4218211


<http://www.linkedin.com/company/taller-technologies>
<https://www.facebook.com/tallertechnologies>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20141217/359493f3/attachment.html>


More information about the users mailing list