Bug 3501 - emenlow: X fails to come up
Summary: emenlow: X fails to come up
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: unspecified
Hardware: E-Menlow Multiple
: Medium major
Target Milestone: 1.4 M2
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
: 3502 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-27 19:47 UTC by Nitin Kamble
Modified: 2013-02-07 11:17 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Kamble 2012-11-27 19:47:18 UTC
xorg Errors printed:

PSB: Failed to load modile dri
Comment 1 Nitin Kamble 2012-11-27 19:51:31 UTC
* emenlow: 
** Date: 2012-11-26-Monday-09-37-33
** poky repo: master: commit c6dc0b976776b94ba92a7be6d69ac3fe605eff2a
** meta-intel: master: commit e2bf742dfe8efb1155b5dfc889e35cdbca06abea
** kernel version:linux-yocto-3.4.18+git1+1c5980714d482f8ccb72909b40f3e1467a3fd590_1+e785645d200afcf60ecba4934ff3d6b98f39a345-r4.3
** Build Status: Build succeeded
** Testing Status: X fails to start
Comment 2 Nitin Kamble 2012-11-27 20:00:32 UTC
This is found in the build log:
WARNING: QA Issue: xserver-psb: Files/directories were installed but not shipped
  /usr/lib/xorg/modules/extensions/libextmod.so
  /usr/lib/xorg/modules/extensions/libdbe.so
  /usr/lib/xorg/modules/extensions/libdri.so
  /usr/lib/xorg/modules/extensions/libdri2.so
  /usr/lib/xorg/modules/linux/libfbdevhw.so
Comment 3 Ross Burton 2012-11-28 11:10:58 UTC
This is found in the build log:
WARNING: QA Issue: xserver-psb: Files/directories were installed but not shipped
  /usr/lib/xorg/modules/extensions/libextmod.so
  /usr/lib/xorg/modules/extensions/libdbe.so
  /usr/lib/xorg/modules/extensions/libdri.so
  /usr/lib/xorg/modules/extensions/libdri2.so
  /usr/lib/xorg/modules/linux/libfbdevhw.so

Yeah you might want to package those. We stopped adding the packaging for them in master as they were integrated into the server itself, so either make a case for re-instating them for older servers, or package them in the BSP.

A reasonable compromise might be to restore the packaging of these in xserver-xorg.inc and then move the matching RPROVIDES/RCONFLICTS/RREPLACES from xserver-xorg.inc to the .bb as obviously if you've actually got those packages you don't need the conflicts.
Comment 4 Ross Burton 2012-11-28 15:34:53 UTC
I've just submitted a patch to oe-core (and CC'd tom/nitin).  This patch restores the packaging for those modules, so should fix this.
Comment 5 Ross Burton 2012-11-28 15:35:28 UTC
*** Bug 3502 has been marked as a duplicate of this bug. ***
Comment 6 Nitin Kamble 2012-11-28 17:04:07 UTC
I have made a patch yday, and that fixes the issue for emenlow's X, I am testing the patch for crownbay now. So we have to patches to fix the issue now!
Comment 7 Tom Zanussi 2012-11-29 01:13:12 UTC
OK, great, we have two patchsets to fix this, so which one do we want?
Comment 8 Tom Zanussi 2012-12-02 23:48:02 UTC
Trying to test 3507, I applied Ross's oe-core patch and while it did get rid of the QA warning about not packaging those items, I still had run-time errors

(EE) Failed to load module extmod
(EE) Failed to load module dbe
(EE) Failed to load module dri
(EE) Failed to load module dri2

The thing is that crownbay pins xorg-xserver to 1.9.3 so changes to the xserver in master shouldn't be affecting crownbay or any of the emgd-using machines at all - this bug and bug 3507 shouldn't be happening at all.  Apparently they are happening because they use the xorg-xserver.inc from master and that was changed to remove the packaging of components needed by the users of 1.9.3.

Unfortunately Ross's patch to restore those things doesn't seem to work.
Comment 9 Tom Zanussi 2012-12-03 04:45:13 UTC
OK, so Ross's oe-core patch:

[PATCH] xserver-xorg: restore packaging for the DRI/DRI2/DBE extensions

does work if Nitin's patch:

[PATCH 1/4] meta-intel.inc: fix xorg packaging issue for emgd BSPs

is added to meta-intel.  That fixes this bug (3502) and also should fix Bug 3501 and 3502.

I've also submitted another patch to meta-intel

[PATCH 1/1] Revert "emgd-driver-bin: add xorg-abi-video- dependency"

that reverts Ross's fa655a783bc1e41109f408ff49b785d664f64106 xorg-abi-video-8 patch and thereby gets rid of the core-image-lsb build error and fixes bug 3507.

So if we can get Ross's oe-core patch pulled in, I can pull in the other two and we'll be able to move forward.

Otherwise, someone please suggest something better to get us out of this mess.
Comment 10 Tom Zanussi 2012-12-04 14:17:49 UTC
Fixed by the combination of the following in poky and meta-intel master:

poky/master: da6c266b1184eed8b1bc851f24a9ee17ab56d562
meta-intel/master: b4141a6404fa7d3445d660860b6bf68acec9f114
Comment 11 Stoicescu Cornel 2013-02-07 11:17:06 UTC
Verified in master: 3ae1a4ba972cfc17ff3f2fda632da8ecc3414885