Using pipes in 3.0rc
Sure. i compiled xenomai as your suggestion.
Ive got a a little problem with my eclipse debug enviroment. It still does not debug into the xenomai files at moment. so i will fix it first and come back with new informations.
Am 29.10.2014 08:04, schrieb Philippe Gerum:
Quoted 6 lines · Registrierungen
Quoted 3 lines
Addendum:
I am using a x64 Kernel.
Does it matter?No, it does not. Do you plan to debug with gdb as I suggested?
Sorry for the late feedback.
I found the source where it goes wrong:
if (poolsize > 0) {
ret = __RT(setsockopt(sock, SOL_XDDP, XDDP_POOLSZ,
&poolsize, sizeof(poolsize)));
if (ret)
goto fail_sockopt;
}Hope there could be found a solution for me.
Am 29.10.2014 08:24, schrieb Registrierungen:
Quoted 22 lines
Sure. i compiled xenomai as your suggestion.
Ive got a a little problem with my eclipse debug enviroment. It still does not debug into the xenomai files at moment. so i will fix it first and come back with new informations.Am 29.10.2014 08:04, schrieb Philippe Gerum:
Quoted 6 lines · Registrierungen
Quoted 3 lines
Addendum:
I am using a x64 Kernel.
Does it matter?No, it does not. Do you plan to debug with gdb as I suggested?
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai
Quoted 4 lines · Registrierungen
Sorry for the late feedback.
I found the source where it goes wrong:
Quoted 9 lines
if (poolsize > 0) { ret = __RT(setsockopt(sock, SOL_XDDP, XDDP_POOLSZ, &poolsize, sizeof(poolsize))); if (ret) goto fail_sockopt; }Hope there could be found a solution for me.
The solution was given a few days ago:
http://www.xenomai.org/pipermail/xenomai/2014-October/032054.html
Signature · 1 line
Philippe.
Quoted 12 lines · Philippe Gerum
Quoted 11 lines · Registrierungen
Sorry for the late feedback.
I found the source where it goes wrong:
if (poolsize > 0) { ret = __RT(setsockopt(sock, SOL_XDDP, XDDP_POOLSZ, &poolsize, sizeof(poolsize))); if (ret) goto fail_sockopt; }
Quoted 7 lines
Quoted 2 lines
Hope there could be found a solution for me.
The solution was given a few days ago:
http://www.xenomai.org/pipermail/xenomai/2014-October/032054.html
Those patches are present in -rc2, released a couple of days ago. You should not bother with -rc1 anymore.
Signature · 1 line
Philippe.
I tried with rc2, but now it returns with error 3 (not -3) ?
Am 03.11.2014 14:22, schrieb Philippe Gerum:
Quoted 22 lines · Philippe Gerum
Quoted 12 lines · Registrierungen
Quoted 11 lines
Sorry for the late feedback.
I found the source where it goes wrong:
if (poolsize > 0) { ret = __RT(setsockopt(sock, SOL_XDDP, XDDP_POOLSZ, &poolsize, sizeof(poolsize))); if (ret) goto fail_sockopt; }Quoted 6 lines
Quoted 2 lines
Hope there could be found a solution for me.
The solution was given a few days ago:
http://www.xenomai.org/pipermail/xenomai/2014-October/032054.html
Those patches are present in -rc2, released a couple of days ago. You should not bother with -rc1 anymore.
Quoted 1 line · Registrierungen
I tried with rc2, but now it returns with error 3 (not -3) ?
http://xenomai.org/migrating-from-xenomai-2-x-to-3-x/#Message_pipes
Quoted 27 lines
Am 03.11.2014 14:22, schrieb Philippe Gerum:
Quoted 22 lines · Philippe Gerum
Quoted 12 lines · Registrierungen
Quoted 11 lines
Sorry for the late feedback.
I found the source where it goes wrong:
if (poolsize > 0) { ret = __RT(setsockopt(sock, SOL_XDDP, XDDP_POOLSZ, &poolsize, sizeof(poolsize))); if (ret) goto fail_sockopt; }Quoted 6 lines
Quoted 2 lines
Hope there could be found a solution for me.
The solution was given a few days ago:
http://www.xenomai.org/pipermail/xenomai/2014-October/032054.html
Those patches are present in -rc2, released a couple of days ago. You should not bother with -rc1 anymore.
Signature · 1 line
Philippe.
It works now!
Thanks for your support.
Sascha
-----Ursprüngliche Nachricht-----
Von: Philippe Gerum [mailto:[email protected]]
Gesendet: Montag, 3. November 2014 16:52
An: Registrierungen; [email protected]
Betreff: Re: [Xenomai] Using pipes in 3.0rc
Quoted 1 line · Registrierungen
I tried with rc2, but now it returns with error 3 (not -3) ?
http://xenomai.org/migrating-from-xenomai-2-x-to-3-x/#Message_pipes
Quoted 27 lines
Am 03.11.2014 14:22, schrieb Philippe Gerum:
Quoted 22 lines · Philippe Gerum
Quoted 12 lines · Registrierungen
Quoted 11 lines
Sorry for the late feedback.
I found the source where it goes wrong:
if (poolsize > 0) { ret = __RT(setsockopt(sock, SOL_XDDP, XDDP_POOLSZ, &poolsize, sizeof(poolsize))); if (ret) goto fail_sockopt; }Quoted 6 lines
Quoted 2 lines
Hope there could be found a solution for me.
The solution was given a few days ago:
http://www.xenomai.org/pipermail/xenomai/2014-October/032054.html
Those patches are present in -rc2, released a couple of days ago. You should not bother with -rc1 anymore.
--
Philippe.