Bug 242 - X hang when starting on x86-64 target
Summary: X hang when starting on x86-64 target
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 x86_64
: High major
Target Milestone: 0.9 M4
Assignee: Edwin Zhai
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-08-27 21:10 UTC by Edwin Zhai
Modified: 2010-12-21 06:07 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.