[LTP] CPU stall issue reproduction

2015-08-12 Thread $rik@nth
Hi LTP,

AFAIK there is no way to reproduce CPU Stall issues. Why i am asking
is? There is one CPU stall issue reported on 3.18 kernel. There are
very limited set of kernel logs to debug.

If anyone knows about some stress/stability test that can reproduce
stall issues. Please let me know or through some pointers.

TIA

-- 
Thanks  Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] LTP make failed

2015-07-29 Thread $rik@nth
FYI, Here is my host configuration.
Linux srikanth-linux 3.15.0-031500rc2-generic #201404201435 SMP Sun
Apr 20 18:36:18 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

@Cyril - libkerntest.a got generated with your suggested changes. Does
that make any difference between INTERNAL_LIB to LIB? Should i need to
change any other files to unblock the compilation?


On Wed, Jul 29, 2015 at 9:20 PM, Cyril Hrubis chru...@suse.cz wrote:
 Hi!
 One thing I noticed is that those libraries which failed were INTERNAL_LIB.

 Can you try this:

 1. cd $LTP/testcases/kernel/lib
 2. edit Makefile and change this line:
   INTERNAL_LIB:= libkerntest.a
 to:
   LIB:= libkerntest.a
 3. run make

 Does that make any difference?

 But these behave differently only on install target. For any other
 target LIB is the same as INTERNAL_LIB.

 --
 Cyril Hrubis
 chru...@suse.cz



-- 
Thanks  Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] LTP make failed

2015-07-29 Thread $rik@nth
Can you tell me what kind of steps you followed to cross compile LTP
for arm? Does it make any difference from the configure what i am
using and you.

memtest suite? can you point me to the location

On Thu, Jul 30, 2015 at 1:15 AM, Cyril Hrubis chru...@suse.cz wrote:
 Hi!
 FYI, Here is my host configuration.
 Linux srikanth-linux 3.15.0-031500rc2-generic #201404201435 SMP Sun
 Apr 20 18:36:18 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

 @Cyril - libkerntest.a got generated with your suggested changes. Does
 that make any difference between INTERNAL_LIB to LIB? Should i need to
 change any other files to unblock the compilation?

 The only difference between INTERNAL_LIB and LIB is one ifneq and
 variable assigment in the lib.mk. So if that does not work for you, you
 either hit bug in make, libc, kernel or hardware. Changing it from
 INTERNAL_LIB to LIB only works around that bug.

 I've just recompiled LTP for arm without a problem. In your case I would
 try to run memtest over night on your machine first. Otherwise you may
 spend hours trying to catch something that in reality is a hardware bug.

 --
 Cyril Hrubis
 chru...@suse.cz



-- 
Thanks  Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] LTP make failed

2015-07-30 Thread $rik@nth
Yes. It says the test is to meant for stress testing the ram for
errors. Actually in earlier threads you have mentioned that something
went wrong with my system. But i was able to compile the kernel with
out any issues. So thats why i am thinking about the memtest that you
suggested to rule out system issue.



On Thu, Jul 30, 2015 at 10:03 PM, Cyril Hrubis chru...@suse.cz wrote:
 Hi!
 Can i know the purpose of running this memtester to rule out the HW or
 kernel issue? Its been running since 5hrs without any issues.

 Have you actually read the link to wikipedia I've send you?

 --
 Cyril Hrubis
 chru...@suse.cz



-- 
Thanks  Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] LTP make failed

2015-08-01 Thread $rik@nth
local workspace got messed up. Tried on another machine and
successfully compiled the LTP.

On Fri, Jul 31, 2015 at 8:50 AM, $rik@nth srikanth0...@gmail.com wrote:
 Yes. It says the test is to meant for stress testing the ram for
 errors. Actually in earlier threads you have mentioned that something
 went wrong with my system. But i was able to compile the kernel with
 out any issues. So thats why i am thinking about the memtest that you
 suggested to rule out system issue.



 On Thu, Jul 30, 2015 at 10:03 PM, Cyril Hrubis chru...@suse.cz wrote:
 Hi!
 Can i know the purpose of running this memtester to rule out the HW or
 kernel issue? Its been running since 5hrs without any issues.

 Have you actually read the link to wikipedia I've send you?

 --
 Cyril Hrubis
 chru...@suse.cz



 --
 Thanks  Regards,
 M.Srikanth Kumar.



-- 
Thanks  Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] LTP make failed

2015-07-30 Thread $rik@nth
Can i know the purpose of running this memtester to rule out the HW or
kernel issue? Its been running since 5hrs without any issues.

On Thu, Jul 30, 2015 at 1:21 PM, Li Wang liw...@redhat.com wrote:

 - Original Message -
 Can you tell me what kind of steps you followed to cross compile LTP
 for arm? Does it make any difference from the configure what i am
 using and you.

 memtest suite? can you point me to the location

 http://pyropus.ca/software/memtester/

 ---
 Li Wang


 On Thu, Jul 30, 2015 at 1:15 AM, Cyril Hrubis chru...@suse.cz wrote:
  Hi!
  FYI, Here is my host configuration.
  Linux srikanth-linux 3.15.0-031500rc2-generic #201404201435 SMP Sun
  Apr 20 18:36:18 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 
  @Cyril - libkerntest.a got generated with your suggested changes. Does
  that make any difference between INTERNAL_LIB to LIB? Should i need to
  change any other files to unblock the compilation?
 
  The only difference between INTERNAL_LIB and LIB is one ifneq and
  variable assigment in the lib.mk. So if that does not work for you, you
  either hit bug in make, libc, kernel or hardware. Changing it from
  INTERNAL_LIB to LIB only works around that bug.
 
  I've just recompiled LTP for arm without a problem. In your case I would
  try to run memtest over night on your machine first. Otherwise you may
  spend hours trying to catch something that in reality is a hardware bug.
 
  --
  Cyril Hrubis
  chru...@suse.cz



 --
 Thanks  Regards,
 M.Srikanth Kumar.

 --
 ___
 Ltp-list mailing list
 Ltp-list@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ltp-list




-- 
Thanks  Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


[LTP] LTP make failed

2015-07-29 Thread $rik@nth
Hi,

I am trying to cross compile LTP and observing some issue. Any help or
suggestions to overcome from these errors. TIA


make[1]: Entering directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/hugetlb/hugemmap'
make -C /local/mnt2/workspace2/LTP/ltp-full-20150420/lib -f
/local/mnt2/workspace2/LTP/ltp-full-20150420/lib/Makefile all
make[2]: Entering directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/lib'
make[3]: Entering directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/lib/tests'
make[2]: Leaving directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/lib'
make -C ../../../../../testcases/kernel/mem/lib -f
/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/lib/Makefile
all
make[2]: Entering directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/lib'
make -C /local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib
-f
/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib/Makefile
all
make[3]: Entering directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib'
if [ -z numa_helper.o ] ; then \
echo Cowardly refusing to create empty archive; \
exit 1; \
fi
arm-linux-gnueabi-ar -rc lib/libipc_hugetlb.a numa_helper.o
arm-linux-gnueabi-ar: lib/libipc_hugetlb.a: No such file or directory
make[3]: *** [lib/libipc_hugetlb.a] Error 1
make[3]: Leaving directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib'
make[2]: ***
[/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib/libkerntest.a]
Error 2
make[2]: Leaving directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/lib'
make[1]: *** [../../../../../testcases/kernel/mem/lib/libmem.a] Error 2
make[1]: Leaving directory
`/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/hugetlb/hugemmap'
make: *** [all] Error 2

Here the file is there ib/libipc_hugetlb.a: No such file or directory but
still it showing the error.

-- 
Thanks  Regards,
M.Srikanth Kumar.
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] Lachesis Linux tests

2015-08-11 Thread $rik@nth
Thank you Cyril.

My intention about asking Lachesis, They claimed the test framework is
well enough to catch real time kernel issues. So though of having
first hand on it.

On Tue, Aug 11, 2015 at 1:52 PM, Cyril Hrubis chru...@suse.cz wrote:
 Hi!
 Does the Lachesis is part of LTP? or Its a standalone linux test
 framework available in opensource.

 Never heard of it.

 There is an pdf on lwn net about it but the links to repository are
 dead. I'm afraid that the project does not exist anymore.

 --
 Cyril Hrubis
 chru...@suse.cz



-- 
Thanks  Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


[LTP] Lachesis Linux tests

2015-08-10 Thread $rik@nth
Hi Group,

Does the Lachesis is part of LTP? or Its a standalone linux test
framework available in opensource.

TIA.

-- 
Thanks  Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


[LTP] Cross-compiling issues

2015-07-22 Thread $rik@nth
Hi,

Though i am not expert in compiling LTP, but i am trying to cross compile
current LTP for arm. Here is how i am configuring

Go to root folder of ltp and execute
./configure AR=arm-linux-gnueabi-ar CC=arm-linux-gnueabi-gcc
RANLIB=arm-linux-gnueabi-gcc-ranlib-4.7 STRIP=arm-linux-gnueabi-strip
--host=arm-linux --target=arm-linux CFLAGS=-static LDFLAGS=-static
-pthread

Failing at
configure: error: cannot run /bin/sh ./config.sub
configure: error: ./configure failed for utils/ffsb-6.0-rc2

But still i ignored these messages and tried building some specific tests.
Ex: realtime tests
Go to testcases/realtime/func/sched_football and run make. Here make failed
due to `ld: cannot find -lrealtime`

arm-linux-gnueabi-gcc -static -g -O2 -fno-strict-aliasing -pipe -Wall -W
-static -Wold-style-definition -D_GNU_SOURCE
 -I/local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include
-I/local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include
-I../../../../include -I../../../../include -static -pthread
 -L/local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/lib
-L../../../../lib  sched_football.c   -lrealtime -lpthread -lrt -lm -o
sched_football
In file included from sched_football.c:69:0:
/local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include/librttest.h:
In function âatomic_addâ:
/local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include/librttest.h:115:34:
warning: unused parameter âiâ [-Wunused-parameter]
/local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include/librttest.h:115:47:
warning: unused parameter âvâ [-Wunused-parameter]
sched_football.c: In function âthread_defenseâ:
sched_football.c:111:28: warning: unused parameter âargâ
[-Wunused-parameter]
sched_football.c: In function âthread_offenseâ:
sched_football.c:122:28: warning: unused parameter âargâ
[-Wunused-parameter]
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
cannot find -lrealtime
collect2: error: ld returned 1 exit status
make: *** [sched_football] Error 1


Pointers from anyone who tried cross compiling ltp for arm would really
helpful.

TIA.

-- 
Thanks  Regards,
M.Srikanth Kumar.
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] Cross-compiling issues

2015-07-22 Thread $rik@nth
Able to figure out the issues with cross compiling for arm and now i am
successfully cross compiled  LTP. But few specific packages only which are
needed for me.

On Mon, Jul 20, 2015 at 7:06 PM, $rik@nth srikanth0...@gmail.com wrote:

 Hi,

 Though i am not expert in compiling LTP, but i am trying to cross compile
 current LTP for arm. Here is how i am configuring

 Go to root folder of ltp and execute
 ./configure AR=arm-linux-gnueabi-ar CC=arm-linux-gnueabi-gcc
 RANLIB=arm-linux-gnueabi-gcc-ranlib-4.7 STRIP=arm-linux-gnueabi-strip
 --host=arm-linux --target=arm-linux CFLAGS=-static LDFLAGS=-static
 -pthread

 Failing at
 configure: error: cannot run /bin/sh ./config.sub
 configure: error: ./configure failed for utils/ffsb-6.0-rc2

 But still i ignored these messages and tried building some specific tests.
 Ex: realtime tests
 Go to testcases/realtime/func/sched_football and run make. Here make
 failed due to `ld: cannot find -lrealtime`

 arm-linux-gnueabi-gcc -static -g -O2 -fno-strict-aliasing -pipe -Wall -W
 -static -Wold-style-definition -D_GNU_SOURCE
  -I/local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include
 -I/local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include
 -I../../../../include -I../../../../include -static -pthread
  -L/local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/lib
 -L../../../../lib  sched_football.c   -lrealtime -lpthread -lrt -lm -o
 sched_football
 In file included from sched_football.c:69:0:
 /local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include/librttest.h:
 In function âatomic_addâ:
 /local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include/librttest.h:115:34:
 warning: unused parameter âiâ [-Wunused-parameter]
 /local/mnt/workspace/Srikanth/ltp-full-20140828/testcases/realtime/include/librttest.h:115:47:
 warning: unused parameter âvâ [-Wunused-parameter]
 sched_football.c: In function âthread_defenseâ:
 sched_football.c:111:28: warning: unused parameter âargâ
 [-Wunused-parameter]
 sched_football.c: In function âthread_offenseâ:
 sched_football.c:122:28: warning: unused parameter âargâ
 [-Wunused-parameter]
 /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
 cannot find -lrealtime
 collect2: error: ld returned 1 exit status
 make: *** [sched_football] Error 1


 Pointers from anyone who tried cross compiling ltp for arm would really
 helpful.

 TIA.

 --
 Thanks  Regards,
 M.Srikanth Kumar.




-- 
Thanks  Regards,
M.Srikanth Kumar.
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] Reg IO sched tests

2015-07-14 Thread $rik@nth
But those are not  specific to IO scheduler governors like cfq, deadline,
noop,vr and sio to find out.

I am looking for the tests which puts stress and calculate the average of
below things to find out read index and write index.

MBRS =MB/s sequential reads
MBWS =MB/s sequential writes
RRIOPS =random reads IO's/sec
RWIOPS=random writes IO's/sec

If not available then i need to write them. So before going into it, i
would like to know if already available or not.

On Tue, Jul 14, 2015 at 3:46 PM, Cyril Hrubis chru...@suse.cz wrote:

 Hi!
  Is there any testsuite available to test IO Schedulers extensively? Any
  pointers would really helpful.

 There are some IO stress testcases testcases/io and testcases/fs these
 are mostly executed from runtest/ltp-aio* runtest files.

 --
 Cyril Hrubis
 chru...@suse.cz




-- 
Thanks  Regards,
M.Srikanth Kumar.
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] Reg IO sched tests

2015-07-14 Thread $rik@nth
Got it.. Thankyou. I can use lmbench for getting above data.

On Tue, Jul 14, 2015 at 5:42 PM, Cyril Hrubis chru...@suse.cz wrote:

 Hi!
  But those are not  specific to IO scheduler governors like cfq, deadline,
  noop,vr and sio to find out.
 
  I am looking for the tests which puts stress and calculate the average of
  below things to find out read index and write index.
 
  MBRS =MB/s sequential reads
  MBWS =MB/s sequential writes
  RRIOPS =random reads IO's/sec
  RWIOPS=random writes IO's/sec

 These would be rather called benchmarks and LTP does not include any of
 these. Have a look at mmtests[1] instead.

 [1] https://github.com/gormanm/mmtests/

 --
 Cyril Hrubis
 chru...@suse.cz




-- 
Thanks  Regards,
M.Srikanth Kumar.
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


[LTP] Reg IO sched tests

2015-07-13 Thread $rik@nth
Hi All,

Is there any testsuite available to test IO Schedulers extensively? Any
pointers would really helpful.

-- 
Thanks  Regards,
M.Srikanth Kumar.
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] how to cross compile linux test project?

2015-10-21 Thread $rik@nth
you need to run autoconf program with no arguments and then autoconf
processes `configure.ac' to generate configure file.

On Wed, Oct 21, 2015 at 9:05 PM, vichy  wrote:
> hi All:
> I try to compile linux test project for Arm platform.
> And below is the link suggest how to configure it.
> http://sourceforge.net/p/ltp/mailman/message/34480155/
>
> But when I git clone https://github.com/linux-test-project/ltp
> it seems no configure in the git repository.
> Should I run and bootstrap to get configure file?
>
> Appreciate your kind help,
>
> --
> ___
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list



-- 
Thanks & Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] error while compiling ltp statically

2015-10-28 Thread $rik@nth
ltp-list is no more maintaining. Adding new list for communication.

This is because openlog is already defined in the libc and which you
can't redefine it again.

On Wed, Oct 28, 2015 at 4:43 PM, Yesuraj Abraham  wrote:
> Hi
> I tried compiling ltp statically using arm toolchain, as follows
> export
> CC=/home/ltblr/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-gcc
> export
> LD=/home/ltblr/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-ld
> export
> AR=/home/ltblr/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-ar
> export
> AS=/home/ltblr/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-as
> export
> RANLIB=/home/ltblr/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-ranlib
> export
> STRIP=/home/ltblr/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-strip
>
> ./configure --host=arm-linux
> --prefix=/home/ltblr/yesuraj/test_apps/ltp/arm-none-tool-chain/static_compilation/ltp-full-20150420/install
> --exec-prefix=/home/ltblr/yesuraj/test_apps/ltp/arm-none-tool-chain/static_compilation/ltp-full-20150420/install
> LDFLAGS="-static -pthread"
>  make
>
> It throws the following error(s),
>
> /home/ltblr/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/../arm-none-linux-gnueabi/libc/usr/lib/libc.a(syslog.o):
> In function `openlog': syslog.c:(.text+0x814): multiple definition of
> `openlog'
> /tmp/ccusZ6dp.o:/home/ltblr/yesuraj/test_apps/ltp/arm-none-tool-chain/static_compilation/ltp-full-20150420/testcases/kernel/fs/fs-bench/random-access.c:66:
> first defined here
>
> The same error is thrown for the file, random-access-del-create.c too.
>
> When i modified openlog to other name (openlog1) in both the files, then it
> compiles successfully.
>
> However when i build using x86 tool chain in the same manner (static flag
> enabled), it builds successfully without the above error(s).
>
> Regards,
> yesuraj
>
> --
>
> ___
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>



-- 
Thanks & Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


[LTP] Syscall/io_* tests failing to compile

2015-09-02 Thread $rik@nth
Hi All,


I am seeing below errors while compiling syscalls from the latest
available LTP tar ball from sourceforge. My system is having latest
libaio-dev library as well.

the same issue even observed for other io syscalls(io_getevents etc..)
as well. Do i need to setup any other environment to compile it
successfully.

/usr/bin/arm-linux-gnueabihf-gcc -static -g -O2 -fno-strict-aliasing
-pipe -Wall -W -static -Wold-style-definition
-I/home/LTP/ltp-full-20150420/testcases/kernel/include
-I../../../../include -I../../../../include -static -pthread
-L../../../../lib  io_destroy01.c   -lltp  -o io_destroy01
/tmp/cc0f3RO7.o: In function `main':
/home/LTP/ltp-full-20150420/testcases/kernel/syscalls/io_destroy/io_destroy01.c:77:
undefined reference to `io_destroy'
collect2: ld returned 1 exit status
make: *** [io_destroy01] Error 1

-- 
Thanks & Regards,
M.Srikanth Kumar.

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] Syscall/io_* tests failing to compile

2015-09-03 Thread $rik@nth
I haven't modified any of the config files at all. Even i cross
checked on couple machines and faced similar issues.

On Thu, Sep 3, 2015 at 4:45 PM, Cyril Hrubis  wrote:
> Hi!
>> I am seeing below errors while compiling syscalls from the latest
>> available LTP tar ball from sourceforge. My system is having latest
>> libaio-dev library as well.
>>
>> the same issue even observed for other io syscalls(io_getevents etc..)
>> as well. Do i need to setup any other environment to compile it
>> successfully.
>>
>> /usr/bin/arm-linux-gnueabihf-gcc -static -g -O2 -fno-strict-aliasing
>> -pipe -Wall -W -static -Wold-style-definition
>> -I/home/LTP/ltp-full-20150420/testcases/kernel/include
>> -I../../../../include -I../../../../include -static -pthread
>> -L../../../../lib  io_destroy01.c   -lltp  -o io_destroy01
>> /tmp/cc0f3RO7.o: In function `main':
>> /home/LTP/ltp-full-20150420/testcases/kernel/syscalls/io_destroy/io_destroy01.c:77:
>> undefined reference to `io_destroy'
>> collect2: ld returned 1 exit status
>> make: *** [io_destroy01] Error 1
>
> The -laio is missing from the command line, but since you are seeing the
> failure the HAVE_LIBAIO_H must be defined in config.h.
>
> So it's looks like you have hand edited config.h (which is wrong thing
> to do) after installing the library instead of reruning configure.
>
> --
> Cyril Hrubis
> chru...@suse.cz



-- 
Thanks & Regards,
M.Srikanth Kumar.

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] Syscall/io_* tests failing to compile

2015-09-03 Thread $rik@nth
Yes i am trying to cross compile it for ARM and installed libaio-dev
on hostmachine.

Ok.. i will try cross compiling libaio and try to compile it again by
pointing to the right path.

On Thu, Sep 3, 2015 at 5:47 PM, Cyril Hrubis  wrote:
> Hi!
>> I haven't modified any of the config files at all. Even i cross
>> checked on couple machines and faced similar issues.
>
> Hmm, you are cross compiling right? Have you installed the libaio-dev on
> the host machine? Because that will not work since that contains native
> binaries and you cannot link against them.
>
> If that is the case you can either cross compile the libaio and set
> right path for linker etc. or set up an arm virtual machine or chroot
> with qemu arm emulation and compile LTP there.
>
> --
> Cyril Hrubis
> chru...@suse.cz



-- 
Thanks & Regards,
M.Srikanth Kumar.

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] About to cross compile LTP...

2015-09-22 Thread $rik@nth
You can cross compile LTP either in chroot environment or with ARM toolchain.

If it is with toolchain, then make sure you are setting them in the
environment before compiling.

configure AR=arm-linux-gnueabi-ar CC=arm-linux-gnueabi-gcc
RANLIB=arm-linux-gnueabi-gcc-ranlib-4.7 STRIP=arm-linux-gnueabi-strip
--host=arm-linux --target=arm-linux CFLAGS="-static" LDFLAGS="-static
-pthread"

On Tue, Sep 22, 2015 at 1:00 PM, kamal p  wrote:
> Hi,
>
>I want to cross compile LTP test suite and test it on my target embedded
> linux system.can I compile like this?.If we can do please tell me the
> procedure ( i.e cross compilation tool & other components required) to
> accomplish these task.
>
> Regards,
> Kamal bhaskar.
>
> --
>
> ___
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>



-- 
Thanks & Regards,
M.Srikanth Kumar.

--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


Re: [LTP] LTP for ARM64

2017-01-15 Thread $rik@nth
Is this for which OS?
On Fri, Jan 6, 2017 at 7:53 AM Senthil K  wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi All,
>
>
>
>
>
> We are using user space 32bit and kernel space 64 bit for ARMV8 platform.
>
>
>
>
>
> We have compiled the LTP using 32 bit tool chain. Follwoing are the steps
> we have followed
>
>
>
>
>
> export AR=arm-buildroot-linux-ar
>
>
> export LD=arm-buildroot-linux-ld
>
>
> export CC=arm-buildroot-linux-gcc
>
>
>
>
>
> ./configure --host=arm-linux --target=arm-buildroot-linux
> --exec-prefix=/home/
>
>
> make
>
>
> make install.
>
>
>
>
>
> The compilation was successful.
>
>
>
>
>
> We are observing that there are more failures due to "getpwnam(nobody)" -
> ENOENT.
>
>
>
>
>
> We have added the  nobody entry in /etc/passwd file but still we are
> getting the issue.
>
>
>
>
>
> Please share your inputs.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Senthil K*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> "DISCLAIMER: This message is proprietary to Aricent and is intended solely
> for the use of the individual to whom it is addressed. It may contain
> privileged or confidential information and should not be circulated or used
> for any purpose other than for what
>
> it is intended. If you have received this message in error, please notify
> the originator immediately. If you are not the intended recipient, you are
> notified that you are strictly prohibited from using, copying, altering, or
> disclosing the contents of this
>
> message. Aricent accepts no responsibility for loss or damage arising from
> the use of the information transmitted by this email including damage from
> virus."
>
>
>
>
>
>
> --
>
> Check out the vibrant tech community on one of the world's most
>
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
>
> Ltp-list mailing list
>
> Ltp-list@lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list