[LITMUS^RT] Requesting suggestions about ERROR:could not migrate to target partition or cluster.: Invalid argument

Sanjib Das cnt.sanjib at googlemail.com
Sat May 17 03:29:47 CEST 2014


Dear All,

I am trying to simulate provided algorithms in LITMUS-RT using qemu. But
with my current configuration only G-EDF is properly working and generating
simulation output. But with the P-EDF, C-EDF and PFAIR I am getting the
same error 'could not migrate to target partition or cluster.: Invalid
argument'.

I have also had a look on guest cache level on qemu that is max L2.

Requesting suggestion to resolve the problem.


I booted the guest using the following command:
"
sudo qemu-system-x86_64 -enable-kvm -cpu host,level=9  -smp 2 -hda
/home/sdas/iso/ubuntu.backing.qcow2.img -m 2056 -name "ubuntu-qemu-cjk"
-nographic -kernel /home/sdas/litexp/litmus-rt/arch/x86_64/boot/bzImage
-append "console=ttyS0,115200 root=/dev/sda1" -gdb tcp::12345 -net nic -net
tap,ifname=tap0,script=no  -net user,hostfwd=tcp::2222-:22
"
I have also tried with '-smp 2/ -smp 4/-smp 16/ -smp
8,sockets=2,cores=2,threads=2 ' none of them worked.



Command prompt output from the guest generated while using
experiment-scripts :
'



































































































































*root at ubuntu-qemu:~/experiment-scripts-modified# ./gen_exps.py -f tasks=10
level=L2 C-EDFCreating experiments with C-EDF generator...Experiments saved
in
/root/experiment-scripts-modified/exps.root at ubuntu-qemu:~/experiment-scripts-modified#
./run_exps.py Reading schedules from exps/*.[Exp exps/sched=C-EDF]: Loading
experiment 1 of 1.[Exp exps/sched=C-EDF]: Enabling Sched Trace[Exp
exps/sched=C-EDF]: Enabling Logger[Exp exps/sched=C-EDF]: Writing 1 proc
entries[Exp exps/sched=C-EDF]: Starting 2 regular tracers[Exp
exps/sched=C-EDF]: Switching to C-EDF[Exp exps/sched=C-EDF]: Starting 10
tasks[Exp exps/sched=C-EDF]: Sleeping until tasks are ready for
release...Non-zero return 234: /root/liblitmus/rtspin -w -p 0 17 50
30Non-zero return 234: /root/liblitmus/rtspin -w -p 1 45 200 30Non-zero
return 234: /root/liblitmus/rtspin -w -p 1 10 50 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 73 200 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 54 200 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 8 25 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 3 25 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 6 50 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 24 100 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 57 200 30[Exp exps/sched=C-EDF]: Killing all
tasks[Exp exps/sched=C-EDF]: Stopping regular tracers[Exp
exps/sched=C-EDF]: Switching back to Linux schedulerFailed experiment
exps/sched=C-EDFTask 0 failed with status: 234Task 0 failed with status:
234Task 0 failed with status: 234Task 0 failed with status: 234...7 more
task errors...Check dmesg, tmp/exec-out.txt, and tmp/exec-err.txtno crontab
for rootExperiments ran:        1 of 1  Successful:           0
Failed:               1  Already Done:         0  Invalid Environment:
0root at ubuntu-qemu:~/experiment-scripts-modified# ./gen_exps.py -f tasks=10
level=L2 P-EDFCreating experiments with P-EDF generator...Experiments saved
in
/root/experiment-scripts-modified/exps.root at ubuntu-qemu:~/experiment-scripts-modified#
./run_exps.py Reading schedules from exps/*.[Exp exps/sched=PSN-EDF]:
Loading experiment 1 of 1.[Exp exps/sched=PSN-EDF]: Enabling Sched
Trace[Exp exps/sched=PSN-EDF]: Enabling Logger[Exp exps/sched=PSN-EDF]:
Writing 0 proc entries[Exp exps/sched=PSN-EDF]: Starting 2 regular
tracers[Exp exps/sched=PSN-EDF]: Switching to PSN-EDF[Exp
exps/sched=PSN-EDF]: Starting 10 tasks[Exp exps/sched=PSN-EDF]: Sleeping
until tasks are ready for release...Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 5 25 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 10 100 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 7 25 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 21 100 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 3 25 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 10 50 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 7 25 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 13 100 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 64 200 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 73 200 30[Exp exps/sched=PSN-EDF]: Killing
all tasks[Exp exps/sched=PSN-EDF]: Stopping regular tracers[Exp
exps/sched=PSN-EDF]: Switching back to Linux schedulerFailed experiment
exps/sched=PSN-EDFTask 0 failed with status: 234Task 0 failed with status:
234Task 0 failed with status: 234Task 0 failed with status: 234...7 more
task errors...Check dmesg, tmp/exec-out.txt, and tmp/exec-err.txtno crontab
for rootExperiments ran:        1 of 1  Successful:           0
Failed:               1  Already Done:         0  Invalid Environment:
0root at ubuntu-qemu:~/experiment-scripts-modified# ./gen_exps.py -f tasks=10
level=L2 PFAIRCreating experiments with PFAIR generator...Experiments saved
in
/root/experiment-scripts-modified/exps.root at ubuntu-qemu:~/experiment-scripts-modified#
./run_exps.py Reading schedules from exps/*.[Exp exps/sched=PFAIR]: Loading
experiment 1 of 1.[Exp exps/sched=PFAIR]: Enabling Sched Trace[Exp
exps/sched=PFAIR]: Enabling Logger[Exp exps/sched=PFAIR]: Writing 1 proc
entries[Exp exps/sched=PFAIR]: Starting 2 regular tracers[Exp
exps/sched=PFAIR]: Switching to PFAIR[Exp exps/sched=PFAIR]: Starting 10
tasks[Exp exps/sched=PFAIR]: Sleeping until tasks are ready for
release...Non-zero return 234: /root/liblitmus/rtspin -w -p 0 15 50
30Non-zero return 234: /root/liblitmus/rtspin -w -p 1 47 200 30Non-zero
return 234: /root/liblitmus/rtspin -w -p 1 13 100 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 37 100 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 75 200 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 9 50 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 6 25 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 61 200 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 1 16 50 30Non-zero return 234:
/root/liblitmus/rtspin -w -p 0 20 200 30[Exp exps/sched=PFAIR]: Killing all
tasks[Exp exps/sched=PFAIR]: Stopping regular tracers[Exp
exps/sched=PFAIR]: Switching back to Linux schedulerFailed experiment
exps/sched=PFAIRTask 0 failed with status: 234Task 0 failed with status:
234Task 0 failed with status: 234Task 0 failed with status: 234...7 more
task errors...Check dmesg, tmp/exec-out.txt, and tmp/exec-err.txtno crontab
for rootExperiments ran:        1 of 1  Successful:           0
Failed:               1  Already Done:         0  Invalid Environment:
0root at ubuntu-qemu:~/experiment-scripts-modified# ./gen_exps.py -f tasks=10
level=L2 G-EDFCreating experiments with G-EDF generator...Experiments saved
in
/root/experiment-scripts-modified/exps.root at ubuntu-qemu:~/experiment-scripts-modified#
./run_exps.py Reading schedules from exps/*.[Exp exps/sched=GSN-EDF]:
Loading experiment 1 of 1.[Exp exps/sched=GSN-EDF]: Stopping regular
tracersExperiment already completed at
'/root/experiment-scripts-modified/run-data/sched=GSN-EDF'no crontab for
rootExperiments ran:        1 of 1  Successful:           0
Failed:               0  Already Done:         1  Invalid Environment:
0root at ubuntu-qemu:~/experiment-scripts-modified# *


'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20140517/b27c9279/attachment.html>


More information about the litmus-dev mailing list