[Bug 2178] New: Classic API semaphore counts are wrong in confdefs.h

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Apr 25 05:24:09 UTC 2014


https://www.rtems.org/bugzilla/show_bug.cgi?id=2178

             Bug #: 2178
           Summary: Classic API semaphore counts are wrong in confdefs.h
    Classification: Unclassified
           Product: RTEMS
           Version: 4.11
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: chrisj at rtems.org


The beagleboardmx BSP fails fsdosfsformat01 while it passes with the sis bsp.
The bbxm fails mounting the msdos file system with a "too many" error because
there are not enough semaphores. The bbxm and the sis both configure 13
semaphores. This is libio 1, 5 for termios, 6 for bfbuf, and the test defines
1. This total has not taken into account the sparse disk and dosfs each have 1.
The test is only passing because termios on the sis is not task driven and only
uses 4 of the allocated 5.

I assume the test's 1 is for the sparse disk which means the dosfs is not taken
into account.

Should every declared file system add to the total or should the test define 2
?

A number of tests fail in the same manner.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list