[LITMUS^RT] Bad address

Aaron Block adblock at gmail.com
Fri Aug 9 18:18:07 CEST 2013


> I just upgraded to the newest litmus and liblitmus and wanted to make sure everything was working properly. 
> setsched and showsched both work; however, I'm having a problem creating real time tasks.  Specifically I keep on getting "bad address" errors regardless which scheduling algorithm I use. I'm using 2-processor Xeon MacPro with 6 cores on each processor. 
> 
> 
> Any suggestions for how to fix this?
> 
> --Aaron
> 
> Here are the error messages...
> 
> 
> rtspin 10 100 10 gives me the message
> 	could not setup rt task params: Bad address
> 
> runtests gives me the output
> 
> ** LITMUS^RT test suite.
> ** Running tests for GSN-EDF.
> ** Testing: reject invalid rt_task pointers... 
> !! TEST FAILURE set_rt_task_param(gettid(), NULL) -> -1, Bad address (expected: EINVAL)
>    at tests/core_api.c:14 (test_set_rt_task_param_invalid_pointer)
>    in task PID=3499
> ** Testing: reject invalid rt_task values... 
> !! TEST FAILURE set_rt_task_param(gettid(), &params) -> -1, Bad address (expected: EINVAL)
>    at tests/core_api.c:34 (test_set_rt_task_param_invalid_params)
>    in task PID=3500
> ** Testing: reject job control for non-rt tasks... 
> !! TEST FAILURE wait_for_job_release(0) -> -1, Function not implemented (expected: EINVAL)
>    at tests/core_api.c:116 (test_job_control_non_rt)
>    in task PID=3501
> ** Testing: children of RT tasks are not automatically RT tasks... 
> !! TEST FAILURE sporadic_partitioned(ms2ns(10), ms2ns(100), 0) -> -1, Bad address
>    at tests/core_api.c:128 (test_rt_fork_non_rt)
>    in task PID=3502
> ** Testing: tasks have write access to /dev/litmus/ctrl mappings... ok.
> ** Testing: admission control handles suspended tasks correctly... 
> !! TEST FAILURE set_rt_task_param(child_rt, &params) -> -1, Bad address
>    at tests/core_api.c:215 (test_suspended_admission)
>    in task PID=3504
> ** Testing: admission control handles running tasks correctly... 
> !! TEST FAILURE set_rt_task_param(child_rt, &params) -> -1, Bad address
>    at tests/core_api.c:279 (test_running_admission)
>    in task PID=3506
> ** Testing: reject invalid object descriptors... 
> !! TEST FAILURE litmus_lock(3) -> -1, Function not implemented (expected: EINVAL)
>    at tests/fdso.c:34 (test_invalid_od)
>    in task PID=3508
> ** Testing: reject invalid object types... 
> !! TEST FAILURE od_open(0, -1, 0) -> -1, Function not implemented (expected: EINVAL)
>    at tests/fdso.c:51 (test_invalid_obj_type)
>    in task PID=3509
> ** Testing: don't inherit FDSO handles across fork... 
> !! TEST FAILURE od = open_fmlp_sem(fd, 0) -> -1, Function not implemented
>    at tests/fdso.c:62 (test_not_inherit_od)
>    in task PID=3510
> ** Testing: don't let best-effort tasks lock FMLP semaphores... 
> !! TEST FAILURE od = open_fmlp_sem(fd, 0) -> -1, Function not implemented
>    at tests/locks.c:16 (test_not_lock_fmlp_be)
>    in task PID=3511
> ** Testing: FMLP acquisition and release... 
> !! TEST FAILURE sporadic_partitioned(ms2ns(10), ms2ns(100), 0) -> -1, Bad address
>    at tests/locks.c:88 (test_lock_fmlp)
>    in task PID=3512
> ** Testing: FMLP no nesting allowed... 
> !! TEST FAILURE sporadic_partitioned(10, 100, 0) -> -1, Bad address
>    at tests/nesting.c:15 (test_lock_fmlp_nesting)
>    in task PID=3513
> ** Result: 1 ok, 12 failed.
> 
> 
> 
> 
> 
> 
> Aaron Block
> Assistant Professor of Computer Science
>  
> Austin College | Math and Computer Science
> 900 North Grand Avenue | Suite 61592
> Sherman, TX 75090-4400
> Phone 903.813.2563 
> austincollege.edu
> 
> <AusColl_Logo_Email.gif>
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20130809/15c6f995/attachment.html>


More information about the litmus-dev mailing list