Philippe Gerum wrote :
> Could you try running "strace" on your program? TIA,
Thank you for your suggestion ! Please find attached a textfile containing the
output of strace. I hope it is more instructive to you than it is to me
(meaning : please have a look on it).
Took me about 2 hours to figure out what TIA is.
Now I think it is an other example for your laziness ;-)))
(for everybody else whose naitive language is not english : TIA = Thanks in
advance, I hope ;-) )
By the way : thank you for your "long story" about the background of vxworks
and UVMs, very interesting !
Best Regards
Roderik
> -----Ursprüngliche Nachricht-----
> Von: Philippe Gerum [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 1. März 2006 14:46
> An: Wildenburg, Roderik RAEK3 MRA
> Cc: [EMAIL PROTECTED]; [email protected]
> Betreff: Re: AW: AW: [Xenomai-core] vxworks-skin taskSpawn
>
> [EMAIL PROTECTED] wrote:
> > Philippe Gerum wrote :
> >
> >>I've run the satch example successfully on an Icecube board
> here using
> >>-rc2.
> >>What's the status of this issue on your side? Was it a timer
> >>configuration issue as suspected by Gilles?
> >>
> >
> >
> > Status is unchanged. I still try to debugg satch with
> gdb/ddd and have been a little bit successfull with this.
> But I face more and more problems the deeper I dig into the
> system (e.g.
> unresolved symbols when compiling vxWorks-examples
> with --debug enabled (see other thread)
>
> This has been fixed in the repository:
> http://mail.gna.org/public/xenomai-help/2006-02/msg00149.html
>
> or now, gdb moans about "cannot find bounds of current
> function" (do you have any idea, what this means ?))
> >
>
> It means that GDB is confused actually; while stepping into
> some code, it could
> not locate the routine the current text address belongs too.
> This might happen
> when interrupting the program execution while it was running
> some code GDB has no
> symbolic information about. Nothing to worry about, unless
> GDB would not find any
> symbol at all.
>
> > I don´t think it is a timer problem, as my timer is running
> in oneshot mode and not in
> continous mode what causes the problem on Gilles system.
> But I am not shure.
>
> Could you try running "strace" on your program? TIA,
>
> >
> > Nevertheless, thank you for asking !! If you have any other
> suggestions what I can do, please let me know. I will inform
> you when the status changes on my side.
> >
> > Best Regards
> > Roderik
> >
> >
> >
>
>
> --
>
> Philippe.
>
~ # insmod xeno_uvm.o
Using /lib/modules/2.4.25/kernel/kernel/xenomai/skins/uvm/xeno_uvm.o
~ # cd /mc45/app/xenoapp/
/mc45/app/xenoapp # ls
1 Makefile koan.c satch.c
2 koan satch satch.c~
/mc45/app/xenoapp # strace ./satch
execve("./satch", ["./satch"], [/* 8 vars */]) = 0
uname({sys="Linux", node="arv0043", ...}) = 0
brk(0) = 0x1002d104
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libuvm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
open("/usr/lib/libuvm.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\34"..., 1024) =
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=59440, ...}) = 0
mmap(0xffdc000, 81784, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xffdc000
mprotect(0xffe0000, 65400, PROT_NONE) = 0
mmap(0xffec000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0xffec000
close(3) = 0
open("/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpthread.so.0", O_RDONLY) = 3
read(3, "[EMAIL PROTECTED]"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1416528, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30015000
mmap(0xff6b000, 395776, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xff6b000
mprotect(0xff79000, 338432, PROT_NONE) = 0
mmap(0xff7b000, 69632, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0xff7b000
mmap(0xff8c000, 260608, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xff8c000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\300"..., 1024) =
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1363888, ...}) = 0
mmap(0xfe0c000, 1370128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfe0c000
mprotect(0xff43000, 96272, PROT_NONE) = 0
mmap(0xff4c000, 49152, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
3, 0x130000) = 0xff4c000
mmap(0xff58000, 10256, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xff58000
close(3) = 0
mprotect(0xfe0c000, 1273856, PROT_READ|PROT_WRITE) = 0
mprotect(0xfe0c000, 1273856, PROT_READ|PROT_EXEC) = 0
getpid() = 127
rt_sigaction(SIGRTMIN, {0xff73690, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xff73548, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0xff736c8, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x7ffffbb8, 32, (nil), 0}) = 0
brk(0) = 0x1002d104
brk(0x1002e104) = 0x1002e104
brk(0x1002f000) = 0x1002f000
geteuid() = 0
brk(0x10032000) = 0x10032000
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(3, 0), ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30016000
write(1, "Xenomai/uvm: real-time nucleus v"..., 60Xenomai/uvm: real-time
nucleus v2.1-rc2 (Champagne) loaded.
) = 60
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30026000
sched_get_priority_min(0x1) = 1
sched_setscheduler(0, 0x1, 0x7ffffca4) = 0
rt_sigaction(SIGCHLD, {0xff76d5c, [CHLD], SA_RESTART}, {SIG_DFL}, 8) = 0
ugetrlimit(0x3, 0x7ffff768) = 0
brk(0x10034000) = 0x10034000
pipe([3, 4]) = 0
clone(child_stack=0x10033150,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND) = 128
write(4, "DB\"B\0\0\0\0050\1P\0\17\366\321X0\2Q\330\0\0\0\0\177\377"..., 148) =
148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(4, "[EMAIL PROTECTED]"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EPIPE (Broken pipe)
gettimeofday({1797321101, 557149}, NULL) = 0
write(1, "starting VxWorks services.\n", 27starting VxWorks services.
) = 27
write(1, "spawning consumer 805462824\n", 28spawning consumer 805462824
) = 28
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(4, "[EMAIL PROTECTED]"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EPIPE (Broken pipe)
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core