Skip to contentSkip to conversation

Using pipes in 3.0rc

Xenomai Registrierungen 2 participants 7 messages Oct 29, 2014 – Nov 7, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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?

#2 lore raw

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

#3 lore raw
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.
#4 lore raw
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.
#5 lore raw

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.

#6 lore raw
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.
#7 lore raw

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.