Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-29 Thread Henning Schild
Am Fri, 29 Jun 2018 17:52:44 +0200
schrieb Philippe Gerum :

> On 06/29/2018 05:42 PM, Henning Schild wrote:
> > Hi,
> > 
> > i had a closer look. You might want to revert the following commit
> > https://gitlab.denx.de/Xenomai/xenomai/commit/408c93e26438c83c08f216a2c8bd7079253cf71a
> > 
> > It does include the testcase in the build even if the feature is
> > disabled.
> >   
> 
> I don't think so. It includes the testcase in the source distribution
> allowing "make distcheck" to succeed, even if the test has not be
> built in the smokey driver, which fixes a build regression introduced
> by dlopen. Tests built in the executable must be listed in
> COBALT_SUBDIRS, which dlopen isn't unless --enable-dlopen-libs has
> been given.

Yes, you are right. I just saw a "+= dlopen" in the resulting Makefile
but that should not cause the problem.

Pintu: Please build in a completely fresh environment i.e. "git clean
-dfx; autoreconf -i; ./configure". And now give me

grep dlopening -A1 config.log
grep am__append_1 testsuite/smokey/Makefile
autoreconf --version

Ideally with a hash i can find on gitlab.denx.de.

Henning


> If you want to exclude the dlopen test from the test series at
> runtime, you can pass "--exclude=dlopen" on the command line to
> smokey, as mentioned in the help strings (smokey --help).
> 


___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-29 Thread Philippe Gerum
On 06/29/2018 05:42 PM, Henning Schild wrote:
> Hi,
> 
> i had a closer look. You might want to revert the following commit
> https://gitlab.denx.de/Xenomai/xenomai/commit/408c93e26438c83c08f216a2c8bd7079253cf71a
> 
> It does include the testcase in the build even if the feature is
> disabled.
> 

I don't think so. It includes the testcase in the source distribution
allowing "make distcheck" to succeed, even if the test has not be built
in the smokey driver, which fixes a build regression introduced by
dlopen. Tests built in the executable must be listed in COBALT_SUBDIRS,
which dlopen isn't unless --enable-dlopen-libs has been given.

If you want to exclude the dlopen test from the test series at runtime,
you can pass "--exclude=dlopen" on the command line to smokey, as
mentioned in the help strings (smokey --help).

-- 
Philippe.

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-29 Thread Henning Schild
Hi,

i had a closer look. You might want to revert the following commit
https://gitlab.denx.de/Xenomai/xenomai/commit/408c93e26438c83c08f216a2c8bd7079253cf71a

It does include the testcase in the build even if the feature is
disabled.

Henning

Am Thu, 28 Jun 2018 22:05:48 +0530
schrieb Pintu Kumar :

> On Thu, Jun 28, 2018 at 9:06 PM Henning Schild
>  wrote:
> >
> > Hi,
> >
> > could you please try v3.0.7
> > (733a32b71f77dfb3e7a64039d0692e6c9d5d1cfe)  
> 
> How to clone 3.0.7 as a git repo (not the tar)?
> 
> > this is a tag not a branch. Or use branch "stable/v3.0.x".  
> 
> Ok, will try with stable on Beaglebone. But as I see stable also
> contains the same dlopen fixes.
> 
> > The commit from "next" you mentioned does not exist anymore, one of
> > the pleasures of using git ... do not use "next" unless you really
> > have to! 
> I guess, arm64 support is present only on "next" branch.
> Since we want to maintain single kernel for all (x86, arm, arm64) we
> choose next branch.
> And AFAIK, next branch should always contain all the patches from
> previous stable branch.
> 
> > If you are not using dlopen just drop "--enable-dlopen-libs" from
> > your configure options.
> >  
> Yes, I did not use this, but still I get dlopen error on ARM -
> beaglebone. I just used:
> # ./configure --enable-smp
> 
> Also, on x86, it works if I just use:
> # ./configure
> 
> But same dlopen error if I use:
> # ./configure --enable-dlopen-libs
> 
> And, I wanted to know how to disable this config from xenomai-3 -
> configure.ac CONFIG_XENO_LIBS_DLOPEN
> 
> > Henning
> >
> > Am Wed, 27 Jun 2018 18:51:03 +0530
> > schrieb Pintu Kumar :
> >  
> > > Hi,
> > >
> > > Sorry, but both the below patches are already applied to my
> > > xenomai-next repo: build: link dlopen libs with "nodelete"
> > > smokey/dlopen: fix testcase
> > >
> > > Still I am facing dlopen issue.
> > > Is there any other patches I am missing?
> > >
> > >
> > > Thanks,
> > > Pintu
> > >
> > > On Wed, Jun 27, 2018 at 6:47 PM Pintu Kumar 
> > > wrote:  
> > > >
> > > > Hi,
> > > >
> > > > One doubt, how do we clone 3.0.7 ?
> > > > Is it part of the following branches?
> > > >   remotes/origin/next
> > > >   remotes/origin/stable/v3.0.x
> > > >
> > > > I could not find any branch with the name 3.0.7.
> > > >
> > > > Is all 3 patches important, or only this is fine:
> > > > build: link dlopen libs with "nodelete"
> > > > smokey/dlopen: fix testcase
> > > >
> > > > Sorry, but can you list down all 3 commits.
> > > >
> > > >
> > > > Thanks,
> > > > Pintu
> > > >
> > > >
> > > >
> > > > Thanks,
> > > > Pintu
> > > > On Wed, Jun 27, 2018 at 6:30 PM Pintu Kumar
> > > >  wrote:  
> > > > >
> > > > > Dear Henning,
> > > > >
> > > > > Thanks so much for your reply.
> > > > > I am actually using xenomai-next branch.
> > > > > With last commit as:
> > > > > commit ffb68112e2342a62a1f70916a35a3d68e875b12c
> > > > > Author: Philippe Gerum 
> > > > > Date:   Mon May 21 12:54:59 2018 +0200
> > > > >
> > > > > scripts/prepare-kernel.sh: drop left overs from obsolete
> > > > > ports
> > > > >
> > > > > Anyways, I will check with your reference commits.
> > > > >
> > > > > Thanks,
> > > > > Pintu
> > > > > On Wed, Jun 27, 2018 at 6:07 PM Henning Schild
> > > > >  wrote:  
> > > > > >
> > > > > > Hi Pintu,
> > > > > >
> > > > > > i guess you might be using v3.0.6. There are a couple of
> > > > > > commits on top of that
> > > > > > https://gitlab.denx.de/Xenomai/xenomai/commit/aa008686091484c88cbb809bc190133a98769a30
> > > > > > and 2 parents
> > > > > > All three are in v3.0.7, which hopefully solves your
> > > > > > problem.
> > > > > >
> > > > > > regards,
> > > > > > Henning
> > > > > >
> > > > > > Am Wed, 27 Jun 2018 16:11:43 +0530
> > > > > > schrieb Pintu Kumar :
> > > > > >  
> > > > > > > Dear Henning,
> > > > > > >
> > > > > > > I saw your commit regarding dlopen here:
> > > > > > > https://xenomai.org/pipermail/xenomai/2018-February/038351.html
> > > > > > >
> > > > > > > We are facing dlopen error with xeno-test on arm (beagle
> > > > > > > bone) and arm64 (hikey) boards.
> > > > > > > Segmentation fault
> > > > > > > /usr/xenomai/bin/smokey: test dlopen failed: Unknown
> > > > > > > error -1
> > > > > > >
> > > > > > > Do you have any clue regarding this issue.
> > > > > > > Earlier xeno-test worked for us, but after this commit
> > > > > > > xeno-test is failing.
> > > > > > >
> > > > > > > Currently we dont need dlopen test.
> > > > > > > So, please let us know how to disable dlopen test to pass
> > > > > > > the xeno-test report.
> > > > > > >
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Pintu
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Tue, Jun 26, 2018 at 11:07 PM Pintu Kumar
> > > > > > >  wrote:  
> > > > > > > >
> > > > > > > > One more thing,
> > > > > > > > On x86 xeno-test works fine even with dlopen.
> > > > > > > >
> > > > > > > > This problem is seen only of arm and arm64 boards.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > 

Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-28 Thread Pintu Kumar
On Thu, Jun 28, 2018 at 9:06 PM Henning Schild
 wrote:
>
> Hi,
>
> could you please try v3.0.7 (733a32b71f77dfb3e7a64039d0692e6c9d5d1cfe)

How to clone 3.0.7 as a git repo (not the tar)?

> this is a tag not a branch. Or use branch "stable/v3.0.x".

Ok, will try with stable on Beaglebone. But as I see stable also
contains the same dlopen fixes.

> The commit from "next" you mentioned does not exist anymore, one of the
> pleasures of using git ... do not use "next" unless you really have to!
>
I guess, arm64 support is present only on "next" branch.
Since we want to maintain single kernel for all (x86, arm, arm64) we
choose next branch.
And AFAIK, next branch should always contain all the patches from
previous stable branch.

> If you are not using dlopen just drop "--enable-dlopen-libs" from your
> configure options.
>
Yes, I did not use this, but still I get dlopen error on ARM - beaglebone.
I just used:
# ./configure --enable-smp

Also, on x86, it works if I just use:
# ./configure

But same dlopen error if I use:
# ./configure --enable-dlopen-libs

And, I wanted to know how to disable this config from xenomai-3 - configure.ac
CONFIG_XENO_LIBS_DLOPEN

> Henning
>
> Am Wed, 27 Jun 2018 18:51:03 +0530
> schrieb Pintu Kumar :
>
> > Hi,
> >
> > Sorry, but both the below patches are already applied to my
> > xenomai-next repo: build: link dlopen libs with "nodelete"
> > smokey/dlopen: fix testcase
> >
> > Still I am facing dlopen issue.
> > Is there any other patches I am missing?
> >
> >
> > Thanks,
> > Pintu
> >
> > On Wed, Jun 27, 2018 at 6:47 PM Pintu Kumar 
> > wrote:
> > >
> > > Hi,
> > >
> > > One doubt, how do we clone 3.0.7 ?
> > > Is it part of the following branches?
> > >   remotes/origin/next
> > >   remotes/origin/stable/v3.0.x
> > >
> > > I could not find any branch with the name 3.0.7.
> > >
> > > Is all 3 patches important, or only this is fine:
> > > build: link dlopen libs with "nodelete"
> > > smokey/dlopen: fix testcase
> > >
> > > Sorry, but can you list down all 3 commits.
> > >
> > >
> > > Thanks,
> > > Pintu
> > >
> > >
> > >
> > > Thanks,
> > > Pintu
> > > On Wed, Jun 27, 2018 at 6:30 PM Pintu Kumar 
> > > wrote:
> > > >
> > > > Dear Henning,
> > > >
> > > > Thanks so much for your reply.
> > > > I am actually using xenomai-next branch.
> > > > With last commit as:
> > > > commit ffb68112e2342a62a1f70916a35a3d68e875b12c
> > > > Author: Philippe Gerum 
> > > > Date:   Mon May 21 12:54:59 2018 +0200
> > > >
> > > > scripts/prepare-kernel.sh: drop left overs from obsolete ports
> > > >
> > > > Anyways, I will check with your reference commits.
> > > >
> > > > Thanks,
> > > > Pintu
> > > > On Wed, Jun 27, 2018 at 6:07 PM Henning Schild
> > > >  wrote:
> > > > >
> > > > > Hi Pintu,
> > > > >
> > > > > i guess you might be using v3.0.6. There are a couple of
> > > > > commits on top of that
> > > > > https://gitlab.denx.de/Xenomai/xenomai/commit/aa008686091484c88cbb809bc190133a98769a30
> > > > > and 2 parents
> > > > > All three are in v3.0.7, which hopefully solves your problem.
> > > > >
> > > > > regards,
> > > > > Henning
> > > > >
> > > > > Am Wed, 27 Jun 2018 16:11:43 +0530
> > > > > schrieb Pintu Kumar :
> > > > >
> > > > > > Dear Henning,
> > > > > >
> > > > > > I saw your commit regarding dlopen here:
> > > > > > https://xenomai.org/pipermail/xenomai/2018-February/038351.html
> > > > > >
> > > > > > We are facing dlopen error with xeno-test on arm (beagle
> > > > > > bone) and arm64 (hikey) boards.
> > > > > > Segmentation fault
> > > > > > /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> > > > > >
> > > > > > Do you have any clue regarding this issue.
> > > > > > Earlier xeno-test worked for us, but after this commit
> > > > > > xeno-test is failing.
> > > > > >
> > > > > > Currently we dont need dlopen test.
> > > > > > So, please let us know how to disable dlopen test to pass the
> > > > > > xeno-test report.
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > > Pintu
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Tue, Jun 26, 2018 at 11:07 PM Pintu Kumar
> > > > > >  wrote:
> > > > > > >
> > > > > > > One more thing,
> > > > > > > On x86 xeno-test works fine even with dlopen.
> > > > > > >
> > > > > > > This problem is seen only of arm and arm64 boards.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Pintu
> > > > > > > On Tue, Jun 26, 2018 at 10:16 PM Pintu Kumar
> > > > > > >  wrote:
> > > > > > > >
> > > > > > > > Ok Greg thanks a lot.
> > > > > > > >
> > > > > > > > Yes, I can recompile it, but for now I want to get rid of
> > > > > > > > this dlopen to pass rest of xeno-test.
> > > > > > > > Please let me know how to disable it from configure.ac
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Pintu
> > > > > > > > On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher
> > > > > > > >  wrote:
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >   I'll take a look at this tonight.  I'll confirm if
> > > > > > > > > this test is crashing on 

Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-28 Thread Henning Schild
Hi,

could you please try v3.0.7 (733a32b71f77dfb3e7a64039d0692e6c9d5d1cfe)
this is a tag not a branch. Or use branch "stable/v3.0.x".
The commit from "next" you mentioned does not exist anymore, one of the
pleasures of using git ... do not use "next" unless you really have to!

If you are not using dlopen just drop "--enable-dlopen-libs" from your
configure options.

Henning

Am Wed, 27 Jun 2018 18:51:03 +0530
schrieb Pintu Kumar :

> Hi,
> 
> Sorry, but both the below patches are already applied to my
> xenomai-next repo: build: link dlopen libs with "nodelete"
> smokey/dlopen: fix testcase
> 
> Still I am facing dlopen issue.
> Is there any other patches I am missing?
> 
> 
> Thanks,
> Pintu
> 
> On Wed, Jun 27, 2018 at 6:47 PM Pintu Kumar 
> wrote:
> >
> > Hi,
> >
> > One doubt, how do we clone 3.0.7 ?
> > Is it part of the following branches?
> >   remotes/origin/next
> >   remotes/origin/stable/v3.0.x
> >
> > I could not find any branch with the name 3.0.7.
> >
> > Is all 3 patches important, or only this is fine:
> > build: link dlopen libs with "nodelete"
> > smokey/dlopen: fix testcase
> >
> > Sorry, but can you list down all 3 commits.
> >
> >
> > Thanks,
> > Pintu
> >
> >
> >
> > Thanks,
> > Pintu
> > On Wed, Jun 27, 2018 at 6:30 PM Pintu Kumar 
> > wrote:  
> > >
> > > Dear Henning,
> > >
> > > Thanks so much for your reply.
> > > I am actually using xenomai-next branch.
> > > With last commit as:
> > > commit ffb68112e2342a62a1f70916a35a3d68e875b12c
> > > Author: Philippe Gerum 
> > > Date:   Mon May 21 12:54:59 2018 +0200
> > >
> > > scripts/prepare-kernel.sh: drop left overs from obsolete ports
> > >
> > > Anyways, I will check with your reference commits.
> > >
> > > Thanks,
> > > Pintu
> > > On Wed, Jun 27, 2018 at 6:07 PM Henning Schild
> > >  wrote:  
> > > >
> > > > Hi Pintu,
> > > >
> > > > i guess you might be using v3.0.6. There are a couple of
> > > > commits on top of that
> > > > https://gitlab.denx.de/Xenomai/xenomai/commit/aa008686091484c88cbb809bc190133a98769a30
> > > > and 2 parents
> > > > All three are in v3.0.7, which hopefully solves your problem.
> > > >
> > > > regards,
> > > > Henning
> > > >
> > > > Am Wed, 27 Jun 2018 16:11:43 +0530
> > > > schrieb Pintu Kumar :
> > > >  
> > > > > Dear Henning,
> > > > >
> > > > > I saw your commit regarding dlopen here:
> > > > > https://xenomai.org/pipermail/xenomai/2018-February/038351.html
> > > > >
> > > > > We are facing dlopen error with xeno-test on arm (beagle
> > > > > bone) and arm64 (hikey) boards.
> > > > > Segmentation fault
> > > > > /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> > > > >
> > > > > Do you have any clue regarding this issue.
> > > > > Earlier xeno-test worked for us, but after this commit
> > > > > xeno-test is failing.
> > > > >
> > > > > Currently we dont need dlopen test.
> > > > > So, please let us know how to disable dlopen test to pass the
> > > > > xeno-test report.
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Pintu
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Jun 26, 2018 at 11:07 PM Pintu Kumar
> > > > >  wrote:  
> > > > > >
> > > > > > One more thing,
> > > > > > On x86 xeno-test works fine even with dlopen.
> > > > > >
> > > > > > This problem is seen only of arm and arm64 boards.
> > > > > >
> > > > > > Thanks,
> > > > > > Pintu
> > > > > > On Tue, Jun 26, 2018 at 10:16 PM Pintu Kumar
> > > > > >  wrote:  
> > > > > > >
> > > > > > > Ok Greg thanks a lot.
> > > > > > >
> > > > > > > Yes, I can recompile it, but for now I want to get rid of
> > > > > > > this dlopen to pass rest of xeno-test.
> > > > > > > Please let me know how to disable it from configure.ac
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Pintu
> > > > > > > On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher
> > > > > > >  wrote:  
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > >   I'll take a look at this tonight.  I'll confirm if
> > > > > > > > this test is crashing on all platforms or just BB.  To
> > > > > > > > disable I believe you'll have to recompile the tests.
> > > > > > > >
> > > > > > > > -Greg
> > > > > > > >
> > > > > > > > On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar
> > > > > > > >  wrote:  
> > > > > > > > > Dear Greg,
> > > > > > > > >
> > > > > > > > > Please let me know how to disable "dlopen" test in
> > > > > > > > > xenomai-next.
> > > > > > > > >
> > > > > > > > > I even tried, without dlopen parameter
> > > > > > > > > during ./configure but still I get the same issue.
> > > > > > > > > #  ./configure --enable-smp
> > > > > > > > >
> > > > > > > > > We did not face this issue earlier on xenomai-3
> > > > > > > > > stable branch. So, I am planning to disable it right
> > > > > > > > > now. Please help!
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > Pintu
> > > > > > > > >
> > > > > > > > > On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar
> > > > > > > > >  wrote:  
> > > > > > > > >>
> > > > > > > > >> Hi,
> > > > > > > > >> I am using 

Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-27 Thread Greg Gallagher
I'm not that familiar with autotools (still learning), but I removed
this from configure.ac :

diff --git a/configure.ac b/configure.ac
index 4f9b1f9..a84dd14 100644
--- a/configure.ac
+++ b/configure.ac
@@ -881,7 +881,6 @@ AC_CONFIG_FILES([ \
testsuite/spitest/Makefile \
testsuite/smokey/Makefile \
testsuite/smokey/arith/Makefile \
-   testsuite/smokey/dlopen/Makefile \
testsuite/smokey/sched-quota/Makefile \
testsuite/smokey/sched-tp/Makefile \
testsuite/smokey/setsched/Makefile \

And I don't see the dlopen tests being built.  This may get you past
the test failing for now.  I'll add to the to do llist to test this
with the latest version of the stable branch.

-Greg

On Wed, Jun 27, 2018 at 9:21 AM, Pintu Kumar  wrote:
> Hi,
>
> Sorry, but both the below patches are already applied to my xenomai-next repo:
> build: link dlopen libs with "nodelete"
> smokey/dlopen: fix testcase
>
> Still I am facing dlopen issue.
> Is there any other patches I am missing?
>
>
> Thanks,
> Pintu
>
> On Wed, Jun 27, 2018 at 6:47 PM Pintu Kumar  wrote:
>>
>> Hi,
>>
>> One doubt, how do we clone 3.0.7 ?
>> Is it part of the following branches?
>>   remotes/origin/next
>>   remotes/origin/stable/v3.0.x
>>
>> I could not find any branch with the name 3.0.7.
>>
>> Is all 3 patches important, or only this is fine:
>> build: link dlopen libs with "nodelete"
>> smokey/dlopen: fix testcase
>>
>> Sorry, but can you list down all 3 commits.
>>
>>
>> Thanks,
>> Pintu
>>
>>
>>
>> Thanks,
>> Pintu
>> On Wed, Jun 27, 2018 at 6:30 PM Pintu Kumar  wrote:
>> >
>> > Dear Henning,
>> >
>> > Thanks so much for your reply.
>> > I am actually using xenomai-next branch.
>> > With last commit as:
>> > commit ffb68112e2342a62a1f70916a35a3d68e875b12c
>> > Author: Philippe Gerum 
>> > Date:   Mon May 21 12:54:59 2018 +0200
>> >
>> > scripts/prepare-kernel.sh: drop left overs from obsolete ports
>> >
>> > Anyways, I will check with your reference commits.
>> >
>> > Thanks,
>> > Pintu
>> > On Wed, Jun 27, 2018 at 6:07 PM Henning Schild
>> >  wrote:
>> > >
>> > > Hi Pintu,
>> > >
>> > > i guess you might be using v3.0.6. There are a couple of commits on top
>> > > of that
>> > > https://gitlab.denx.de/Xenomai/xenomai/commit/aa008686091484c88cbb809bc190133a98769a30
>> > > and 2 parents
>> > > All three are in v3.0.7, which hopefully solves your problem.
>> > >
>> > > regards,
>> > > Henning
>> > >
>> > > Am Wed, 27 Jun 2018 16:11:43 +0530
>> > > schrieb Pintu Kumar :
>> > >
>> > > > Dear Henning,
>> > > >
>> > > > I saw your commit regarding dlopen here:
>> > > > https://xenomai.org/pipermail/xenomai/2018-February/038351.html
>> > > >
>> > > > We are facing dlopen error with xeno-test on arm (beagle bone) and
>> > > > arm64 (hikey) boards.
>> > > > Segmentation fault
>> > > > /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
>> > > >
>> > > > Do you have any clue regarding this issue.
>> > > > Earlier xeno-test worked for us, but after this commit xeno-test is
>> > > > failing.
>> > > >
>> > > > Currently we dont need dlopen test.
>> > > > So, please let us know how to disable dlopen test to pass the
>> > > > xeno-test report.
>> > > >
>> > > >
>> > > > Thanks,
>> > > > Pintu
>> > > >
>> > > >
>> > > >
>> > > > On Tue, Jun 26, 2018 at 11:07 PM Pintu Kumar 
>> > > > wrote:
>> > > > >
>> > > > > One more thing,
>> > > > > On x86 xeno-test works fine even with dlopen.
>> > > > >
>> > > > > This problem is seen only of arm and arm64 boards.
>> > > > >
>> > > > > Thanks,
>> > > > > Pintu
>> > > > > On Tue, Jun 26, 2018 at 10:16 PM Pintu Kumar 
>> > > > > wrote:
>> > > > > >
>> > > > > > Ok Greg thanks a lot.
>> > > > > >
>> > > > > > Yes, I can recompile it, but for now I want to get rid of this
>> > > > > > dlopen to pass rest of xeno-test.
>> > > > > > Please let me know how to disable it from configure.ac
>> > > > > >
>> > > > > > Thanks,
>> > > > > > Pintu
>> > > > > > On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher
>> > > > > >  wrote:
>> > > > > > >
>> > > > > > > Hi,
>> > > > > > >   I'll take a look at this tonight.  I'll confirm if this test
>> > > > > > > is crashing on all platforms or just BB.  To disable I believe
>> > > > > > > you'll have to recompile the tests.
>> > > > > > >
>> > > > > > > -Greg
>> > > > > > >
>> > > > > > > On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar
>> > > > > > >  wrote:
>> > > > > > > > Dear Greg,
>> > > > > > > >
>> > > > > > > > Please let me know how to disable "dlopen" test in
>> > > > > > > > xenomai-next.
>> > > > > > > >
>> > > > > > > > I even tried, without dlopen parameter during ./configure but
>> > > > > > > > still I get the same issue.
>> > > > > > > > #  ./configure --enable-smp
>> > > > > > > >
>> > > > > > > > We did not face this issue earlier on xenomai-3 stable branch.
>> > > > > > > > So, I am planning to disable it right now.
>> > > > > > > > Please help!
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > Thanks,
>> > > > > > > > 

Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-27 Thread Pintu Kumar
Hi,

Sorry, but both the below patches are already applied to my xenomai-next repo:
build: link dlopen libs with "nodelete"
smokey/dlopen: fix testcase

Still I am facing dlopen issue.
Is there any other patches I am missing?


Thanks,
Pintu

On Wed, Jun 27, 2018 at 6:47 PM Pintu Kumar  wrote:
>
> Hi,
>
> One doubt, how do we clone 3.0.7 ?
> Is it part of the following branches?
>   remotes/origin/next
>   remotes/origin/stable/v3.0.x
>
> I could not find any branch with the name 3.0.7.
>
> Is all 3 patches important, or only this is fine:
> build: link dlopen libs with "nodelete"
> smokey/dlopen: fix testcase
>
> Sorry, but can you list down all 3 commits.
>
>
> Thanks,
> Pintu
>
>
>
> Thanks,
> Pintu
> On Wed, Jun 27, 2018 at 6:30 PM Pintu Kumar  wrote:
> >
> > Dear Henning,
> >
> > Thanks so much for your reply.
> > I am actually using xenomai-next branch.
> > With last commit as:
> > commit ffb68112e2342a62a1f70916a35a3d68e875b12c
> > Author: Philippe Gerum 
> > Date:   Mon May 21 12:54:59 2018 +0200
> >
> > scripts/prepare-kernel.sh: drop left overs from obsolete ports
> >
> > Anyways, I will check with your reference commits.
> >
> > Thanks,
> > Pintu
> > On Wed, Jun 27, 2018 at 6:07 PM Henning Schild
> >  wrote:
> > >
> > > Hi Pintu,
> > >
> > > i guess you might be using v3.0.6. There are a couple of commits on top
> > > of that
> > > https://gitlab.denx.de/Xenomai/xenomai/commit/aa008686091484c88cbb809bc190133a98769a30
> > > and 2 parents
> > > All three are in v3.0.7, which hopefully solves your problem.
> > >
> > > regards,
> > > Henning
> > >
> > > Am Wed, 27 Jun 2018 16:11:43 +0530
> > > schrieb Pintu Kumar :
> > >
> > > > Dear Henning,
> > > >
> > > > I saw your commit regarding dlopen here:
> > > > https://xenomai.org/pipermail/xenomai/2018-February/038351.html
> > > >
> > > > We are facing dlopen error with xeno-test on arm (beagle bone) and
> > > > arm64 (hikey) boards.
> > > > Segmentation fault
> > > > /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> > > >
> > > > Do you have any clue regarding this issue.
> > > > Earlier xeno-test worked for us, but after this commit xeno-test is
> > > > failing.
> > > >
> > > > Currently we dont need dlopen test.
> > > > So, please let us know how to disable dlopen test to pass the
> > > > xeno-test report.
> > > >
> > > >
> > > > Thanks,
> > > > Pintu
> > > >
> > > >
> > > >
> > > > On Tue, Jun 26, 2018 at 11:07 PM Pintu Kumar 
> > > > wrote:
> > > > >
> > > > > One more thing,
> > > > > On x86 xeno-test works fine even with dlopen.
> > > > >
> > > > > This problem is seen only of arm and arm64 boards.
> > > > >
> > > > > Thanks,
> > > > > Pintu
> > > > > On Tue, Jun 26, 2018 at 10:16 PM Pintu Kumar 
> > > > > wrote:
> > > > > >
> > > > > > Ok Greg thanks a lot.
> > > > > >
> > > > > > Yes, I can recompile it, but for now I want to get rid of this
> > > > > > dlopen to pass rest of xeno-test.
> > > > > > Please let me know how to disable it from configure.ac
> > > > > >
> > > > > > Thanks,
> > > > > > Pintu
> > > > > > On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher
> > > > > >  wrote:
> > > > > > >
> > > > > > > Hi,
> > > > > > >   I'll take a look at this tonight.  I'll confirm if this test
> > > > > > > is crashing on all platforms or just BB.  To disable I believe
> > > > > > > you'll have to recompile the tests.
> > > > > > >
> > > > > > > -Greg
> > > > > > >
> > > > > > > On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar
> > > > > > >  wrote:
> > > > > > > > Dear Greg,
> > > > > > > >
> > > > > > > > Please let me know how to disable "dlopen" test in
> > > > > > > > xenomai-next.
> > > > > > > >
> > > > > > > > I even tried, without dlopen parameter during ./configure but
> > > > > > > > still I get the same issue.
> > > > > > > > #  ./configure --enable-smp
> > > > > > > >
> > > > > > > > We did not face this issue earlier on xenomai-3 stable branch.
> > > > > > > > So, I am planning to disable it right now.
> > > > > > > > Please help!
> > > > > > > >
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Pintu
> > > > > > > >
> > > > > > > > On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar
> > > > > > > >  wrote:
> > > > > > > >>
> > > > > > > >> Hi,
> > > > > > > >> I am using Kernel 4.9.51 for beagle bone black with xenomai
> > > > > > > >> patches from xenomai-next repo.
> > > > > > > >>
> > > > > > > >> I have installed xenomai-3-next using below:
> > > > > > > >> # ./scripts/bootstrap
> > > > > > > >> # ./configure --with-pic --with-core=cobalt --enable-smp
> > > > > > > >> --disable-tls --enable-dlopen-libs
> > > > > > > >> # make
> > > > > > > >> # make install
> > > > > > > >>
> > > > > > > >> After that when I run xeno-test I get below error, and the
> > > > > > > >> test stopped.
> > > > > > > >>
> > > > > > > >> # root@bdk:~# /usr/xenomai/bin/xeno-test
> > > > > > > >> 
> > > > > > > >> 
> > > > > > > >> vdso_access OK
> > > > > > > >> xddp skipped (no kernel support)
> > > > > > > >> Segmentation fault
> > > > 

Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-27 Thread Pintu Kumar
Hi,

One doubt, how do we clone 3.0.7 ?
Is it part of the following branches?
  remotes/origin/next
  remotes/origin/stable/v3.0.x

I could not find any branch with the name 3.0.7.

Is all 3 patches important, or only this is fine:
build: link dlopen libs with "nodelete"
smokey/dlopen: fix testcase

Sorry, but can you list down all 3 commits.


Thanks,
Pintu



Thanks,
Pintu
On Wed, Jun 27, 2018 at 6:30 PM Pintu Kumar  wrote:
>
> Dear Henning,
>
> Thanks so much for your reply.
> I am actually using xenomai-next branch.
> With last commit as:
> commit ffb68112e2342a62a1f70916a35a3d68e875b12c
> Author: Philippe Gerum 
> Date:   Mon May 21 12:54:59 2018 +0200
>
> scripts/prepare-kernel.sh: drop left overs from obsolete ports
>
> Anyways, I will check with your reference commits.
>
> Thanks,
> Pintu
> On Wed, Jun 27, 2018 at 6:07 PM Henning Schild
>  wrote:
> >
> > Hi Pintu,
> >
> > i guess you might be using v3.0.6. There are a couple of commits on top
> > of that
> > https://gitlab.denx.de/Xenomai/xenomai/commit/aa008686091484c88cbb809bc190133a98769a30
> > and 2 parents
> > All three are in v3.0.7, which hopefully solves your problem.
> >
> > regards,
> > Henning
> >
> > Am Wed, 27 Jun 2018 16:11:43 +0530
> > schrieb Pintu Kumar :
> >
> > > Dear Henning,
> > >
> > > I saw your commit regarding dlopen here:
> > > https://xenomai.org/pipermail/xenomai/2018-February/038351.html
> > >
> > > We are facing dlopen error with xeno-test on arm (beagle bone) and
> > > arm64 (hikey) boards.
> > > Segmentation fault
> > > /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> > >
> > > Do you have any clue regarding this issue.
> > > Earlier xeno-test worked for us, but after this commit xeno-test is
> > > failing.
> > >
> > > Currently we dont need dlopen test.
> > > So, please let us know how to disable dlopen test to pass the
> > > xeno-test report.
> > >
> > >
> > > Thanks,
> > > Pintu
> > >
> > >
> > >
> > > On Tue, Jun 26, 2018 at 11:07 PM Pintu Kumar 
> > > wrote:
> > > >
> > > > One more thing,
> > > > On x86 xeno-test works fine even with dlopen.
> > > >
> > > > This problem is seen only of arm and arm64 boards.
> > > >
> > > > Thanks,
> > > > Pintu
> > > > On Tue, Jun 26, 2018 at 10:16 PM Pintu Kumar 
> > > > wrote:
> > > > >
> > > > > Ok Greg thanks a lot.
> > > > >
> > > > > Yes, I can recompile it, but for now I want to get rid of this
> > > > > dlopen to pass rest of xeno-test.
> > > > > Please let me know how to disable it from configure.ac
> > > > >
> > > > > Thanks,
> > > > > Pintu
> > > > > On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher
> > > > >  wrote:
> > > > > >
> > > > > > Hi,
> > > > > >   I'll take a look at this tonight.  I'll confirm if this test
> > > > > > is crashing on all platforms or just BB.  To disable I believe
> > > > > > you'll have to recompile the tests.
> > > > > >
> > > > > > -Greg
> > > > > >
> > > > > > On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar
> > > > > >  wrote:
> > > > > > > Dear Greg,
> > > > > > >
> > > > > > > Please let me know how to disable "dlopen" test in
> > > > > > > xenomai-next.
> > > > > > >
> > > > > > > I even tried, without dlopen parameter during ./configure but
> > > > > > > still I get the same issue.
> > > > > > > #  ./configure --enable-smp
> > > > > > >
> > > > > > > We did not face this issue earlier on xenomai-3 stable branch.
> > > > > > > So, I am planning to disable it right now.
> > > > > > > Please help!
> > > > > > >
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Pintu
> > > > > > >
> > > > > > > On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar
> > > > > > >  wrote:
> > > > > > >>
> > > > > > >> Hi,
> > > > > > >> I am using Kernel 4.9.51 for beagle bone black with xenomai
> > > > > > >> patches from xenomai-next repo.
> > > > > > >>
> > > > > > >> I have installed xenomai-3-next using below:
> > > > > > >> # ./scripts/bootstrap
> > > > > > >> # ./configure --with-pic --with-core=cobalt --enable-smp
> > > > > > >> --disable-tls --enable-dlopen-libs
> > > > > > >> # make
> > > > > > >> # make install
> > > > > > >>
> > > > > > >> After that when I run xeno-test I get below error, and the
> > > > > > >> test stopped.
> > > > > > >>
> > > > > > >> # root@bdk:~# /usr/xenomai/bin/xeno-test
> > > > > > >> 
> > > > > > >> 
> > > > > > >> vdso_access OK
> > > > > > >> xddp skipped (no kernel support)
> > > > > > >> Segmentation fault
> > > > > > >> /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> > > > > > >>
> > > > > > >> If you have any clue about this error, please let me know.
> > > > > > >>
> > > > > > >>
> > > > > > >> Thanks,
> > > > > > >> Pintu
> >

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-27 Thread Pintu Kumar
Dear Henning,

Thanks so much for your reply.
I am actually using xenomai-next branch.
With last commit as:
commit ffb68112e2342a62a1f70916a35a3d68e875b12c
Author: Philippe Gerum 
Date:   Mon May 21 12:54:59 2018 +0200

scripts/prepare-kernel.sh: drop left overs from obsolete ports

Anyways, I will check with your reference commits.

Thanks,
Pintu
On Wed, Jun 27, 2018 at 6:07 PM Henning Schild
 wrote:
>
> Hi Pintu,
>
> i guess you might be using v3.0.6. There are a couple of commits on top
> of that
> https://gitlab.denx.de/Xenomai/xenomai/commit/aa008686091484c88cbb809bc190133a98769a30
> and 2 parents
> All three are in v3.0.7, which hopefully solves your problem.
>
> regards,
> Henning
>
> Am Wed, 27 Jun 2018 16:11:43 +0530
> schrieb Pintu Kumar :
>
> > Dear Henning,
> >
> > I saw your commit regarding dlopen here:
> > https://xenomai.org/pipermail/xenomai/2018-February/038351.html
> >
> > We are facing dlopen error with xeno-test on arm (beagle bone) and
> > arm64 (hikey) boards.
> > Segmentation fault
> > /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> >
> > Do you have any clue regarding this issue.
> > Earlier xeno-test worked for us, but after this commit xeno-test is
> > failing.
> >
> > Currently we dont need dlopen test.
> > So, please let us know how to disable dlopen test to pass the
> > xeno-test report.
> >
> >
> > Thanks,
> > Pintu
> >
> >
> >
> > On Tue, Jun 26, 2018 at 11:07 PM Pintu Kumar 
> > wrote:
> > >
> > > One more thing,
> > > On x86 xeno-test works fine even with dlopen.
> > >
> > > This problem is seen only of arm and arm64 boards.
> > >
> > > Thanks,
> > > Pintu
> > > On Tue, Jun 26, 2018 at 10:16 PM Pintu Kumar 
> > > wrote:
> > > >
> > > > Ok Greg thanks a lot.
> > > >
> > > > Yes, I can recompile it, but for now I want to get rid of this
> > > > dlopen to pass rest of xeno-test.
> > > > Please let me know how to disable it from configure.ac
> > > >
> > > > Thanks,
> > > > Pintu
> > > > On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher
> > > >  wrote:
> > > > >
> > > > > Hi,
> > > > >   I'll take a look at this tonight.  I'll confirm if this test
> > > > > is crashing on all platforms or just BB.  To disable I believe
> > > > > you'll have to recompile the tests.
> > > > >
> > > > > -Greg
> > > > >
> > > > > On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar
> > > > >  wrote:
> > > > > > Dear Greg,
> > > > > >
> > > > > > Please let me know how to disable "dlopen" test in
> > > > > > xenomai-next.
> > > > > >
> > > > > > I even tried, without dlopen parameter during ./configure but
> > > > > > still I get the same issue.
> > > > > > #  ./configure --enable-smp
> > > > > >
> > > > > > We did not face this issue earlier on xenomai-3 stable branch.
> > > > > > So, I am planning to disable it right now.
> > > > > > Please help!
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > > Pintu
> > > > > >
> > > > > > On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar
> > > > > >  wrote:
> > > > > >>
> > > > > >> Hi,
> > > > > >> I am using Kernel 4.9.51 for beagle bone black with xenomai
> > > > > >> patches from xenomai-next repo.
> > > > > >>
> > > > > >> I have installed xenomai-3-next using below:
> > > > > >> # ./scripts/bootstrap
> > > > > >> # ./configure --with-pic --with-core=cobalt --enable-smp
> > > > > >> --disable-tls --enable-dlopen-libs
> > > > > >> # make
> > > > > >> # make install
> > > > > >>
> > > > > >> After that when I run xeno-test I get below error, and the
> > > > > >> test stopped.
> > > > > >>
> > > > > >> # root@bdk:~# /usr/xenomai/bin/xeno-test
> > > > > >> 
> > > > > >> 
> > > > > >> vdso_access OK
> > > > > >> xddp skipped (no kernel support)
> > > > > >> Segmentation fault
> > > > > >> /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> > > > > >>
> > > > > >> If you have any clue about this error, please let me know.
> > > > > >>
> > > > > >>
> > > > > >> Thanks,
> > > > > >> Pintu
>

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-27 Thread Henning Schild
Hi Pintu,

i guess you might be using v3.0.6. There are a couple of commits on top
of that
https://gitlab.denx.de/Xenomai/xenomai/commit/aa008686091484c88cbb809bc190133a98769a30
and 2 parents
All three are in v3.0.7, which hopefully solves your problem.

regards,
Henning

Am Wed, 27 Jun 2018 16:11:43 +0530
schrieb Pintu Kumar :

> Dear Henning,
> 
> I saw your commit regarding dlopen here:
> https://xenomai.org/pipermail/xenomai/2018-February/038351.html
> 
> We are facing dlopen error with xeno-test on arm (beagle bone) and
> arm64 (hikey) boards.
> Segmentation fault
> /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> 
> Do you have any clue regarding this issue.
> Earlier xeno-test worked for us, but after this commit xeno-test is
> failing.
> 
> Currently we dont need dlopen test.
> So, please let us know how to disable dlopen test to pass the
> xeno-test report.
> 
> 
> Thanks,
> Pintu
> 
> 
> 
> On Tue, Jun 26, 2018 at 11:07 PM Pintu Kumar 
> wrote:
> >
> > One more thing,
> > On x86 xeno-test works fine even with dlopen.
> >
> > This problem is seen only of arm and arm64 boards.
> >
> > Thanks,
> > Pintu
> > On Tue, Jun 26, 2018 at 10:16 PM Pintu Kumar 
> > wrote:  
> > >
> > > Ok Greg thanks a lot.
> > >
> > > Yes, I can recompile it, but for now I want to get rid of this
> > > dlopen to pass rest of xeno-test.
> > > Please let me know how to disable it from configure.ac
> > >
> > > Thanks,
> > > Pintu
> > > On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher
> > >  wrote:  
> > > >
> > > > Hi,
> > > >   I'll take a look at this tonight.  I'll confirm if this test
> > > > is crashing on all platforms or just BB.  To disable I believe
> > > > you'll have to recompile the tests.
> > > >
> > > > -Greg
> > > >
> > > > On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar
> > > >  wrote:  
> > > > > Dear Greg,
> > > > >
> > > > > Please let me know how to disable "dlopen" test in
> > > > > xenomai-next.
> > > > >
> > > > > I even tried, without dlopen parameter during ./configure but
> > > > > still I get the same issue.
> > > > > #  ./configure --enable-smp
> > > > >
> > > > > We did not face this issue earlier on xenomai-3 stable branch.
> > > > > So, I am planning to disable it right now.
> > > > > Please help!
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Pintu
> > > > >
> > > > > On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar
> > > > >  wrote:  
> > > > >>
> > > > >> Hi,
> > > > >> I am using Kernel 4.9.51 for beagle bone black with xenomai
> > > > >> patches from xenomai-next repo.
> > > > >>
> > > > >> I have installed xenomai-3-next using below:
> > > > >> # ./scripts/bootstrap
> > > > >> # ./configure --with-pic --with-core=cobalt --enable-smp
> > > > >> --disable-tls --enable-dlopen-libs
> > > > >> # make
> > > > >> # make install
> > > > >>
> > > > >> After that when I run xeno-test I get below error, and the
> > > > >> test stopped.
> > > > >>
> > > > >> # root@bdk:~# /usr/xenomai/bin/xeno-test
> > > > >> 
> > > > >> 
> > > > >> vdso_access OK
> > > > >> xddp skipped (no kernel support)
> > > > >> Segmentation fault
> > > > >> /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> > > > >>
> > > > >> If you have any clue about this error, please let me know.
> > > > >>
> > > > >>
> > > > >> Thanks,
> > > > >> Pintu  


___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-27 Thread Pintu Kumar
Dear Henning,

I saw your commit regarding dlopen here:
https://xenomai.org/pipermail/xenomai/2018-February/038351.html

We are facing dlopen error with xeno-test on arm (beagle bone) and
arm64 (hikey) boards.
Segmentation fault
/usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1

Do you have any clue regarding this issue.
Earlier xeno-test worked for us, but after this commit xeno-test is failing.

Currently we dont need dlopen test.
So, please let us know how to disable dlopen test to pass the xeno-test report.


Thanks,
Pintu



On Tue, Jun 26, 2018 at 11:07 PM Pintu Kumar  wrote:
>
> One more thing,
> On x86 xeno-test works fine even with dlopen.
>
> This problem is seen only of arm and arm64 boards.
>
> Thanks,
> Pintu
> On Tue, Jun 26, 2018 at 10:16 PM Pintu Kumar  wrote:
> >
> > Ok Greg thanks a lot.
> >
> > Yes, I can recompile it, but for now I want to get rid of this dlopen
> > to pass rest of xeno-test.
> > Please let me know how to disable it from configure.ac
> >
> > Thanks,
> > Pintu
> > On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher  
> > wrote:
> > >
> > > Hi,
> > >   I'll take a look at this tonight.  I'll confirm if this test  is
> > > crashing on all platforms or just BB.  To disable I believe you'll
> > > have to recompile the tests.
> > >
> > > -Greg
> > >
> > > On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar  
> > > wrote:
> > > > Dear Greg,
> > > >
> > > > Please let me know how to disable "dlopen" test in xenomai-next.
> > > >
> > > > I even tried, without dlopen parameter during ./configure but still I
> > > > get the same issue.
> > > > #  ./configure --enable-smp
> > > >
> > > > We did not face this issue earlier on xenomai-3 stable branch.
> > > > So, I am planning to disable it right now.
> > > > Please help!
> > > >
> > > >
> > > > Thanks,
> > > > Pintu
> > > >
> > > > On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar  
> > > > wrote:
> > > >>
> > > >> Hi,
> > > >> I am using Kernel 4.9.51 for beagle bone black with xenomai patches
> > > >> from xenomai-next repo.
> > > >>
> > > >> I have installed xenomai-3-next using below:
> > > >> # ./scripts/bootstrap
> > > >> # ./configure --with-pic --with-core=cobalt --enable-smp --disable-tls
> > > >> --enable-dlopen-libs
> > > >> # make
> > > >> # make install
> > > >>
> > > >> After that when I run xeno-test I get below error, and the test 
> > > >> stopped.
> > > >>
> > > >> # root@bdk:~# /usr/xenomai/bin/xeno-test
> > > >> 
> > > >> 
> > > >> vdso_access OK
> > > >> xddp skipped (no kernel support)
> > > >> Segmentation fault
> > > >> /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> > > >>
> > > >> If you have any clue about this error, please let me know.
> > > >>
> > > >>
> > > >> Thanks,
> > > >> Pintu

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-26 Thread Pintu Kumar
One more thing,
On x86 xeno-test works fine even with dlopen.

This problem is seen only of arm and arm64 boards.

Thanks,
Pintu
On Tue, Jun 26, 2018 at 10:16 PM Pintu Kumar  wrote:
>
> Ok Greg thanks a lot.
>
> Yes, I can recompile it, but for now I want to get rid of this dlopen
> to pass rest of xeno-test.
> Please let me know how to disable it from configure.ac
>
> Thanks,
> Pintu
> On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher  wrote:
> >
> > Hi,
> >   I'll take a look at this tonight.  I'll confirm if this test  is
> > crashing on all platforms or just BB.  To disable I believe you'll
> > have to recompile the tests.
> >
> > -Greg
> >
> > On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar  wrote:
> > > Dear Greg,
> > >
> > > Please let me know how to disable "dlopen" test in xenomai-next.
> > >
> > > I even tried, without dlopen parameter during ./configure but still I
> > > get the same issue.
> > > #  ./configure --enable-smp
> > >
> > > We did not face this issue earlier on xenomai-3 stable branch.
> > > So, I am planning to disable it right now.
> > > Please help!
> > >
> > >
> > > Thanks,
> > > Pintu
> > >
> > > On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar  wrote:
> > >>
> > >> Hi,
> > >> I am using Kernel 4.9.51 for beagle bone black with xenomai patches
> > >> from xenomai-next repo.
> > >>
> > >> I have installed xenomai-3-next using below:
> > >> # ./scripts/bootstrap
> > >> # ./configure --with-pic --with-core=cobalt --enable-smp --disable-tls
> > >> --enable-dlopen-libs
> > >> # make
> > >> # make install
> > >>
> > >> After that when I run xeno-test I get below error, and the test stopped.
> > >>
> > >> # root@bdk:~# /usr/xenomai/bin/xeno-test
> > >> 
> > >> 
> > >> vdso_access OK
> > >> xddp skipped (no kernel support)
> > >> Segmentation fault
> > >> /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> > >>
> > >> If you have any clue about this error, please let me know.
> > >>
> > >>
> > >> Thanks,
> > >> Pintu

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-26 Thread Pintu Kumar
Ok Greg thanks a lot.

Yes, I can recompile it, but for now I want to get rid of this dlopen
to pass rest of xeno-test.
Please let me know how to disable it from configure.ac

Thanks,
Pintu
On Tue, Jun 26, 2018 at 8:57 PM Greg Gallagher  wrote:
>
> Hi,
>   I'll take a look at this tonight.  I'll confirm if this test  is
> crashing on all platforms or just BB.  To disable I believe you'll
> have to recompile the tests.
>
> -Greg
>
> On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar  wrote:
> > Dear Greg,
> >
> > Please let me know how to disable "dlopen" test in xenomai-next.
> >
> > I even tried, without dlopen parameter during ./configure but still I
> > get the same issue.
> > #  ./configure --enable-smp
> >
> > We did not face this issue earlier on xenomai-3 stable branch.
> > So, I am planning to disable it right now.
> > Please help!
> >
> >
> > Thanks,
> > Pintu
> >
> > On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar  wrote:
> >>
> >> Hi,
> >> I am using Kernel 4.9.51 for beagle bone black with xenomai patches
> >> from xenomai-next repo.
> >>
> >> I have installed xenomai-3-next using below:
> >> # ./scripts/bootstrap
> >> # ./configure --with-pic --with-core=cobalt --enable-smp --disable-tls
> >> --enable-dlopen-libs
> >> # make
> >> # make install
> >>
> >> After that when I run xeno-test I get below error, and the test stopped.
> >>
> >> # root@bdk:~# /usr/xenomai/bin/xeno-test
> >> 
> >> 
> >> vdso_access OK
> >> xddp skipped (no kernel support)
> >> Segmentation fault
> >> /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
> >>
> >> If you have any clue about this error, please let me know.
> >>
> >>
> >> Thanks,
> >> Pintu

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-26 Thread Greg Gallagher
Hi,
  I'll take a look at this tonight.  I'll confirm if this test  is
crashing on all platforms or just BB.  To disable I believe you'll
have to recompile the tests.

-Greg

On Tue, Jun 26, 2018 at 10:43 AM, Pintu Kumar  wrote:
> Dear Greg,
>
> Please let me know how to disable "dlopen" test in xenomai-next.
>
> I even tried, without dlopen parameter during ./configure but still I
> get the same issue.
> #  ./configure --enable-smp
>
> We did not face this issue earlier on xenomai-3 stable branch.
> So, I am planning to disable it right now.
> Please help!
>
>
> Thanks,
> Pintu
>
> On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar  wrote:
>>
>> Hi,
>> I am using Kernel 4.9.51 for beagle bone black with xenomai patches
>> from xenomai-next repo.
>>
>> I have installed xenomai-3-next using below:
>> # ./scripts/bootstrap
>> # ./configure --with-pic --with-core=cobalt --enable-smp --disable-tls
>> --enable-dlopen-libs
>> # make
>> # make install
>>
>> After that when I run xeno-test I get below error, and the test stopped.
>>
>> # root@bdk:~# /usr/xenomai/bin/xeno-test
>> 
>> 
>> vdso_access OK
>> xddp skipped (no kernel support)
>> Segmentation fault
>> /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
>>
>> If you have any clue about this error, please let me know.
>>
>>
>> Thanks,
>> Pintu

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] beaglebone: arm: xeno-test gives segmentation fault - test dlopen failed

2018-06-26 Thread Pintu Kumar
Dear Greg,

Please let me know how to disable "dlopen" test in xenomai-next.

I even tried, without dlopen parameter during ./configure but still I
get the same issue.
#  ./configure --enable-smp

We did not face this issue earlier on xenomai-3 stable branch.
So, I am planning to disable it right now.
Please help!


Thanks,
Pintu

On Tue, Jun 26, 2018 at 12:52 PM Pintu Kumar  wrote:
>
> Hi,
> I am using Kernel 4.9.51 for beagle bone black with xenomai patches
> from xenomai-next repo.
>
> I have installed xenomai-3-next using below:
> # ./scripts/bootstrap
> # ./configure --with-pic --with-core=cobalt --enable-smp --disable-tls
> --enable-dlopen-libs
> # make
> # make install
>
> After that when I run xeno-test I get below error, and the test stopped.
>
> # root@bdk:~# /usr/xenomai/bin/xeno-test
> 
> 
> vdso_access OK
> xddp skipped (no kernel support)
> Segmentation fault
> /usr/xenomai/bin/smokey: test dlopen failed: Unknown error -1
>
> If you have any clue about this error, please let me know.
>
>
> Thanks,
> Pintu

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai