cdtest failure

Daron Chabot daron.chabot at usask.ca
Sat Apr 26 17:45:12 UTC 2008


Trying to run cdtest.exe (rtems cvs HEAD) in qemu (0.9.1) failed with  
the following output:

djc at toolbox--> qemu -no-reboot -m 128 -boot n -tftp /opt/rtems/i386- 
rtems/pc386/lib/rtems-4.9/tests -bootp /cdtest.exe -serial stdio
2008-04-26 11:01:41.589 i386-softmmu[6716] KO
rtems_gxx_mutex_init
fatal error, exiting

EXECUTIVE SHUTDOWN! Any key to reboot...2008-04-26 11:01:59.995 i386- 
softmmu[6716] KO


Inserting some instrumentation in "libcsupport/src/gxx_wrappers.c"  
showed that the call to rtems_semaphore_create( ) was returning an  
rtems_status_code of 5==RTEMS_TOO_MANY.

Changing CONFIGURE_MAXIMUM_SEMAPHORES from 1 to 2 in cdtest's  
"system.h" permits the test to run to a successful conclusion.

Questions: "where is the other semaphore being consumed" ?? and "what  
has changed to require more than a single semaphore" ??


-- dc



More information about the users mailing list