Re: How to sync a dos file system externally

2018-10-05 Thread Christian Mauderer
Hello Cliff, please note that this wasn't the only bug that has been fixed over the last year in the fat file system: https://git.rtems.org/rtems/log/cpukit/libfs/src/dosfs Regards Christian Am 05.10.18 um 18:59 schrieb Cliff Geschke: > It turns out that this bug was fixed last year > >   >

RE: How to sync a dos file system externally

2018-10-05 Thread Cliff Geschke
It turns out that this bug was fixed last year authorSebastian Huber 2017-09-06 12:30:00 (UTC) committer Sebastian Huber 2017-09-06 12:40:38 (UTC) dosfs: Fix fat_file_update() Do not update the non-existant meta-data of the root directory. Cl

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-10-05 Thread Catalin Demergian
Hi, First of all, I verified if I have this fix in my code base and I do have it. "Are the flags == 0x101? In this case the thread is in the middle of _Event_Seize()" Yes. Even if in my test the ping packets arrive once at every second and there is plenty of time, sometimes it happens that rtems

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-10-05 Thread Sebastian Huber
On 04/10/2018 15:33, Catalin Demergian wrote: I eliminated the theory of memory corruption. I debugged and found we set Wait.flags = 0x104 with a function call. The USB interrupt can arrive at any time, so Wait.flags can be either INTEND_TO_BLOCK, BLOCKED or READY_AGAIN. Following the logic