Bug 3502 - crownbay BSP: X fails to start
Summary: crownbay BSP: X fails to start
Status: VERIFIED DUPLICATE of bug 3501
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: unspecified
Hardware: Other Multiple
: Undecided major
Target Milestone: 1.4 M2
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-11-27 20:13 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: Regression (Used to work)
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 20:13:02 UTC
Errors printed:
(EE) Failed to load module extmod
(EE) Failed to load module dbe
(EE) Failed to load module dri
(EE) Failed to load module dri2
Comment 1 Nitin Kamble 2012-11-27 20:13:43 UTC
* crownbay: 
** 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+f1c2320544eaffd6ecc7fcb8b18f8a0ed4ba2e14-r4.3
** Build Status: Build succeeded
** Testing Status: X fails to start
Comment 2 Nitin Kamble 2012-11-27 20:14:41 UTC
This is similar to bug 3501. Probably some DRI related change in poky is causing these issues.
Comment 3 Richard Purdie 2012-11-28 11:59:40 UTC
crownbay failed to build on the autobuilder with xorg abi mismatches which may be related.
Comment 4 Ross Burton 2012-11-28 15:35:28 UTC
Those errors indicate the same cause as 3501.

*** This bug has been marked as a duplicate of bug 3501 ***
Comment 5 Tom Zanussi 2012-12-02 23:47:50 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 6 Tom Zanussi 2012-12-03 04:44:37 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 7 Tom Zanussi 2012-12-04 14:18:12 UTC
Fixed by the combination of the following in poky and meta-intel master:

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