Bug 242

Summary: X hang when starting on x86-64 target
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Edwin Zhai <edwin.zhai>
Component: meta-yoctoAssignee: Edwin Zhai <edwin.zhai>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: High CC: kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Edwin Zhai 2010-08-27 21:10:04 UTC
When starting matchbox on x86-64 target, we can see Xorg started and qemu screen size changed. But matchbox desktop never appear.
Comment 1 Edwin Zhai 2010-08-27 22:04:39 UTC
Culprit is /etc/X11/Xsession.d/30xTs_Calibrate.sh, which does the following:
===================================================================
        while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
        do
           /usr/bin/xtscal
        done

In general, xtscal should fail on x86 arch. It's worse that x86-64 doesn't have "/etc/pointercal", so that an endless loop here to block others scripts to start matchbox.

The reason of missing "pointercal" is that no directory of x86-64 in meta/packages/pointercal/files/ to provide data file. Making new dir and copying file from x86 can fix it.
Comment 2 Edwin Zhai 2010-09-02 17:41:03 UTC
Fixed by 36aa00b6f704761b6b518729befc936af674c68d
Comment 3 Edwin Zhai 2010-09-07 19:17:46 UTC
Reopend it by mistake, mark it as fix again.
Comment 4 Edwin Zhai 2010-09-08 17:31:51 UTC
Verified on 2010-09-04 nightly build with commit 18ea4d2a30cf1cd5e5499bd22d193d8732c2798c

The X window can start successfully.