public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* Re: [LTP] [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error
@ 2014-04-09  4:42 Naresh Kamboju
  2014-04-09  9:18 ` shinto.john
  0 siblings, 1 reply; 5+ messages in thread
From: Naresh Kamboju @ 2014-04-09  4:42 UTC (permalink / raw)
  To: shinto.john, Peter Oberparleiter; +Cc: ltp-list, ltp-coverage

hi Shinto,

> Hi Peter,
>
> Thanks for identifying the issue.
> I checked my kernel source code and there is only gcc_3_4.c present in kernel/gcov folder and gcc_4_7.c is NOT present. So as you suggested i will have to upgrade to higher version.
>
> I will check with the latest kernel with GCOV 4.7 on beagle bone black and let you know the result.
>
> currently i use below steps for downloading the kernel source for beagle bone black.
>
> git clone git://github.com/RobertCNelson/linux-dev.git
> cd linux-dev/
> Checkout v3.8.x branch (full cape support):
>
> ~/linux-dev
> git checkout origin/am33x-v3.8 -b tmp

You may use latest linaro arm tool chain.
http://releases.linaro.org/14.03/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux.tar.bz2

> ~/linux-dev
> ./build_kernel.sh
> Regards,
> Shinto

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error
  2014-04-09  4:42 [LTP] [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error Naresh Kamboju
@ 2014-04-09  9:18 ` shinto.john
  2014-04-09 12:31   ` Peter Oberparleiter
  0 siblings, 1 reply; 5+ messages in thread
From: shinto.john @ 2014-04-09  9:18 UTC (permalink / raw)
  To: Peter Oberparleiter, Naresh Kamboju; +Cc: ltp-list, ltp-coverage

[-- Attachment #1: Type: text/html, Size: 4339 bytes --]

[-- Attachment #2: index.html --]
[-- Type: text/html, Size: 25713 bytes --]

[-- Attachment #3: Type: text/plain, Size: 298 bytes --]

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error
  2014-04-09  9:18 ` shinto.john
@ 2014-04-09 12:31   ` Peter Oberparleiter
  2014-04-09 13:04     ` shinto.john
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Oberparleiter @ 2014-04-09 12:31 UTC (permalink / raw)
  To: shinto.john, Naresh Kamboju; +Cc: ltp-list, ltp-coverage

On 09.04.2014 11:18, shinto.john@smartplayin.com wrote:
> now while running "lcov -c -o coverage.info", this runs for ~5 minutes
> without any issues and then is stuck at this below*red *point for long
> time and never exits.
> 
> So i did ctrl-C and tried the "genhtml coverage.info -o out" and it worked.
> 
> I could see the LCOV report(Attached index.html) in "out" folder.
> 
> But looks like complete kernel folders are not there in the LCOV report
> as it was stuck at below point.
> 
> Any comments?
> 
> include/asm-generic/bitops/arch_hweight.h:source file is newer than
> graph file '/home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/mm/vmstat.gc'
> /home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/arch/arm/include/asm/bitops.h:source
> file is newer than graph file '/home/mallikarjun.bc/LTP'
> include/linux/workqueue.h:source file is newer than graph file
> '/home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/mm/vmstat.gcno'
> include/linux/nodemask.h:source file is newer than graph file
> '/home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/mm/vmstat.gcno'
> *include/linux/kernel.h:source file is newer than graph file
> '/home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/mm/vmstat.gcno'*

Try running top while lcov is stuck and see if there's a process using
up a lot of CPU time. It might be that you are affected by a gcov bug.

-- 
Peter Oberparleiter
Linux on System z Development - IBM Germany


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error
  2014-04-09 12:31   ` Peter Oberparleiter
@ 2014-04-09 13:04     ` shinto.john
  2014-04-10 11:08       ` Peter Oberparleiter
  0 siblings, 1 reply; 5+ messages in thread
From: shinto.john @ 2014-04-09 13:04 UTC (permalink / raw)
  To: Peter Oberparleiter; +Cc: ltp-list, Naresh Kamboju, ltp-coverage


[-- Attachment #1.1: Type: text/plain, Size: 2089 bytes --]


Hi Peter,
 
This got resolved when i tried this in KERNEL/mm/Makefile
GCOV_PROFILE := n
 
So basically some issue with KERNEL/mm/vmstat.gcno... right?
 
Now i am able to do a complete kernel run.
 
Thanks & Regards,
Shinto
 
-----Original Message-----
From: "Peter Oberparleiter" <oberpar@linux.vnet.ibm.com>
Sent: Wednesday, April 9, 2014 6:01pm
To: shinto.john@smartplayin.com, "Naresh Kamboju" <naresh.kamboju@linaro.org>
Cc: ltp-coverage@lists.sourceforge.net, "ltp-list" <ltp-list@lists.sourceforge.net>
Subject: Re: [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error



On 09.04.2014 11:18, shinto.john@smartplayin.com wrote:
> now while running "lcov -c -o coverage.info", this runs for ~5 minutes
> without any issues and then is stuck at this below*red *point for long
> time and never exits.
> 
> So i did ctrl-C and tried the "genhtml coverage.info -o out" and it worked.
> 
> I could see the LCOV report(Attached index.html) in "out" folder.
> 
> But looks like complete kernel folders are not there in the LCOV report
> as it was stuck at below point.
> 
> Any comments?
> 
> include/asm-generic/bitops/arch_hweight.h:source file is newer than
> graph file '/home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/mm/vmstat.gc'
> /home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/arch/arm/include/asm/bitops.h:source
> file is newer than graph file '/home/mallikarjun.bc/LTP'
> include/linux/workqueue.h:source file is newer than graph file
> '/home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/mm/vmstat.gcno'
> include/linux/nodemask.h:source file is newer than graph file
> '/home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/mm/vmstat.gcno'
> *include/linux/kernel.h:source file is newer than graph file
> '/home/mallikarjun.bc/LTP/Download/linux-dev/KERNEL/mm/vmstat.gcno'*

Try running top while lcov is stuck and see if there's a process using
up a lot of CPU time. It might be that you are affected by a gcov bug.

-- 
Peter Oberparleiter
Linux on System z Development - IBM Germany


[-- Attachment #1.2: Type: text/html, Size: 2923 bytes --]

[-- Attachment #2: Type: text/plain, Size: 298 bytes --]

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error
  2014-04-09 13:04     ` shinto.john
@ 2014-04-10 11:08       ` Peter Oberparleiter
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Oberparleiter @ 2014-04-10 11:08 UTC (permalink / raw)
  To: shinto.john; +Cc: ltp-list, Naresh Kamboju, ltp-coverage

On 09.04.2014 15:04, shinto.john@smartplayin.com wrote:
> This got resolved when i tried this in KERNEL/mm/Makefile
> 
> GCOV_PROFILE := n
> 
> So basically some issue with KERNEL/mm/vmstat.gcno... right?

If you don't need the coverage data for mm/* then this looks like a
feasible workaround.

> Now i am able to do a complete kernel run.

-- 
Peter Oberparleiter
Linux on System z Development - IBM Germany


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-10 11:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-09  4:42 [LTP] [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error Naresh Kamboju
2014-04-09  9:18 ` shinto.john
2014-04-09 12:31   ` Peter Oberparleiter
2014-04-09 13:04     ` shinto.john
2014-04-10 11:08       ` Peter Oberparleiter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox