Bug 157

Summary: shared library libXdamage.so is missing which prevents the latencytop to be functional
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Lianhao Lu <lianhao.lu>
Component: meta-yoctoAssignee: Dexuan Cui <dexuan.cui>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: Medium CC: dexuan.cui, jessica.zhang, kevin.tian, liping.ke, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Lianhao Lu 2010-07-28 18:44:46 UTC
In the master change set ab37f53, with the image built by
poky-image-sdk(MACHINE=qemux86), the shared library libXdamage.so is missing which
prevents the latencytop to be functional.

When running the latencytop, it reports
latencytop: error while loading shared libraries: libXdamage.so.1: cannot open shared object file: No such file or directory
Comment 1 Dexuan Cui 2010-07-28 19:35:59 UTC
I'll look into it.
Comment 2 Lianhao Lu 2010-07-29 01:14:10 UTC
I tried with the kernel of bzImage-2.6.34+git0+09a39c638dd65dc27c549c119abe1af2631b2ae0-r2-qemux86-20100728070622.bin  and rootfs of poky-image-sdk-qemux86-20100728070622.rootfs.ext3 from the auto builder, looks like the shared library problem is resolved anyhow.

But the latencytop is still NOT functional with the following message:
Please enable the CONFIG_LATENCYTOP configuration in your kernel.
Exiting...
Comment 3 Saul Wold 2010-07-29 17:26:28 UTC
libXdamage is installed on the system, If there is a further issue, please open a new bug.
Comment 4 Dexuan Cui 2010-07-29 18:10:10 UTC
(In reply to comment #3)
> libXdamage is installed on the system, If there is a further issue, please open
> a new bug.
Thanks for Saul's reply!

(In reply to comment #2)
> I tried with the kernel of
> bzImage-2.6.34+git0+09a39c638dd65dc27c549c119abe1af2631b2ae0-r2-qemux86-20100728070622.bin
>  and rootfs of poky-image-sdk-qemux86-20100728070622.rootfs.ext3 from the auto
> builder, looks like the shared library problem is resolved anyhow.
> But the latencytop is still NOT functional with the following message:
> Please enable the CONFIG_LATENCYTOP configuration in your kernel.
> Exiting...
So looks Lianhao's only has this issue.
Lianhao, 
I did add CONFIG_LATENCYTOP=y for qemux86 and netbook.
Please see commit 6b2eec3657afc348a48ac31cd2e0413929afa3d6.
Comment 5 Lianhao Lu 2010-09-02 02:10:45 UTC
Verified in M3.