<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3501</bug_id>
          
          <creation_ts>2012-11-27 19:47:18 +0000</creation_ts>
          <short_desc>emenlow: X fails to come up</short_desc>
          <delta_ts>2013-02-07 11:17:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>unspecified</version>
          <rep_platform>E-Menlow</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.4 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>dvhart</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27748</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-11-27 19:47:18 +0000</bug_when>
    <thetext>xorg Errors printed:

PSB: Failed to load modile dri</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27749</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-11-27 19:51:31 +0000</bug_when>
    <thetext>* 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27750</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-11-27 20:00:32 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27780</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-11-28 11:10:58 +0000</bug_when>
    <thetext>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&apos;ve actually got those packages you don&apos;t need the conflicts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27795</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-11-28 15:34:53 +0000</bug_when>
    <thetext>I&apos;ve just submitted a patch to oe-core (and CC&apos;d tom/nitin).  This patch restores the packaging for those modules, so should fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27797</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-11-28 15:35:28 +0000</bug_when>
    <thetext>*** Bug 3502 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27803</commentid>
    <comment_count>6</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-11-28 17:04:07 +0000</bug_when>
    <thetext>I have made a patch yday, and that fixes the issue for emenlow&apos;s X, I am testing the patch for crownbay now. So we have to patches to fix the issue now!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27817</commentid>
    <comment_count>7</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-11-29 01:13:12 +0000</bug_when>
    <thetext>OK, great, we have two patchsets to fix this, so which one do we want?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27874</commentid>
    <comment_count>8</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-12-02 23:48:02 +0000</bug_when>
    <thetext>Trying to test 3507, I applied Ross&apos;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&apos;t be affecting crownbay or any of the emgd-using machines at all - this bug and bug 3507 shouldn&apos;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&apos;s patch to restore those things doesn&apos;t seem to work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27878</commentid>
    <comment_count>9</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-12-03 04:45:13 +0000</bug_when>
    <thetext>OK, so Ross&apos;s oe-core patch:

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

does work if Nitin&apos;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&apos;ve also submitted another patch to meta-intel

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

that reverts Ross&apos;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&apos;s oe-core patch pulled in, I can pull in the other two and we&apos;ll be able to move forward.

Otherwise, someone please suggest something better to get us out of this mess.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27952</commentid>
    <comment_count>10</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-12-04 14:17:49 +0000</bug_when>
    <thetext>Fixed by the combination of the following in poky and meta-intel master:

poky/master: da6c266b1184eed8b1bc851f24a9ee17ab56d562
meta-intel/master: b4141a6404fa7d3445d660860b6bf68acec9f114</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29634</commentid>
    <comment_count>11</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-02-07 11:17:06 +0000</bug_when>
    <thetext>Verified in master: 3ae1a4ba972cfc17ff3f2fda632da8ecc3414885</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>