<?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>12845</bug_id>
          
          <creation_ts>2018-07-08 03:36:26 +0000</creation_ts>
          <short_desc>xorg.XorgTest fails with xserver updates on mips64</short_desc>
          <delta_ts>2018-09-20 14:32:01 +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>OE-Core</product>
          <component>core</component>
          <version>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81036</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-08 03:36:26 +0000</bug_when>
    <thetext>Central error: [    28.044] (EE) AddScreen/ScreenInit failed for driver 0
***********************
[    28.014] (II) Loading sub module &quot;shadow&quot;
[    28.014] (II) LoadModule: &quot;shadow&quot;
[    28.016] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    28.020] (II) Module shadow: vendor=&quot;X.Org Foundation&quot;
[    28.020] 	compiled for 1.20.0, module version = 1.1.0
[    28.021] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    28.026] (EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
[    28.027] (EE) FBDEV(0): mode initialization failed
[    28.040] (EE) 
Fatal server error:
[    28.044] (EE) AddScreen/ScreenInit failed for driver 0
[    28.047] (EE) 
[    28.049] (EE)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81037</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-08 03:40:04 +0000</bug_when>
    <thetext>
bitbake core-image-sato

update local.conf to :
INHERIT += &quot;testimage&quot;
TEST_QEMUBOOT_TIMEOUT = &quot;1500&quot;
TEST_SUITES = &quot;${NETTESTSUITE} xorg&quot;

then:
bitbake -v core-image-sato -c testimage

run it again and it fail but
if &quot;runqemu qemumips64&quot; the test will pass afterwards.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81038</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-08 13:42:11 +0000</bug_when>
    <thetext>x86-64 tests out fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81111</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-15 20:12:13 +0000</bug_when>
    <thetext>adding sleep in the xorg test does not fix this for mips.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81135</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-18 22:45:02 +0000</bug_when>
    <thetext>it appears updating xf86-input-libinput solved the problem. Ross actual sent the updated before I did. I have a series setup for build test

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akuster/mut-pkg-up</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81136</commentid>
    <comment_count>5</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-18 22:45:44 +0000</bug_when>
    <thetext>https://autobuilder.yocto.io/builders/nightly/builds/1237</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81144</commentid>
    <comment_count>6</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-19 15:00:31 +0000</bug_when>
    <thetext>arrg. it did not pass. it stopped failing on my system with xf86-input-libinput update applied...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81202</commentid>
    <comment_count>7</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-30 04:15:55 +0000</bug_when>
    <thetext>there is a new kernel error.

  21.402176] do_page_fault(): sending SIGSEGV to bluetoothd for invalid read access from 0000000000000030
[   21.402249] epc = 000000852c3a0438 in libc-2.27.so[852c310000+19b000]
[   21.402505] ra  = 000000852c3ae0cc in libc-2.27.so[852c310000+19b000]


if I add that to the parselog common errors, the xorg test passes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81203</commentid>
    <comment_count>8</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-30 04:23:37 +0000</bug_when>
    <thetext>going to try 4.15.x kernel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81204</commentid>
    <comment_count>9</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-30 04:47:22 +0000</bug_when>
    <thetext>fails with 4.15 kernel tool. Looking at the bluez website, Mips is not a supported arch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81205</commentid>
    <comment_count>10</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-07-30 05:03:48 +0000</bug_when>
    <thetext>Have a fix. testing on qemumips first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81227</commentid>
    <comment_count>11</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-08-02 15:12:39 +0000</bug_when>
    <thetext>sent:
https://patchwork.openembedded.org/patch/153127/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81228</commentid>
    <comment_count>12</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-08-02 15:13:19 +0000</bug_when>
    <thetext>question is when did this bluez issue start and what may be causing it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81234</commentid>
    <comment_count>13</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-08-02 23:59:37 +0000</bug_when>
    <thetext>Using xorg-xserve 1.19.1


Same failure generated.
 58.389494] do_page_fault(): sending SIGSEGV to bluetoothd for invalid read access from 00000018
[   58.391514] epc = 3093aec0 in libc-2.27.so[308d0000+172000]
[   58.392323] ra  = 3094935c in libc-2.27.so[308d0000+172000]


Linux qemumips 4.14.48-yocto-standard #1 SMP PREEMPT Thu Aug 2 19:27:15 UTC 2018 mips GNU/Linux

503 root      3728 S    xinit /etc/X11/Xsession -- /usr/bin/Xorg :0 -br -pn

Running testimage as before... passed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81235</commentid>
    <comment_count>14</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-08-03 01:28:52 +0000</bug_when>
    <thetext>(In reply to comment #13)
&gt; Using xorg-xserve 1.19.1
&gt; 
&gt; 
&gt; Same failure generated.
&gt;  58.389494] do_page_fault(): sending SIGSEGV to bluetoothd for invalid read
&gt; access from 00000018
&gt; [   58.391514] epc = 3093aec0 in libc-2.27.so[308d0000+172000]
&gt; [   58.392323] ra  = 3094935c in libc-2.27.so[308d0000+172000]
&gt; 
&gt; 
&gt; Linux qemumips 4.14.48-yocto-standard #1 SMP PREEMPT Thu Aug 2 19:27:15 UTC
&gt; 2018 mips GNU/Linux
&gt; 
&gt; 503 root      3728 S    xinit /etc/X11/Xsession -- /usr/bin/Xorg :0 -br -pn
&gt; 
&gt; Running testimage as before... passed

errr, and  1.20 passes on my home system too. this is wierd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81526</commentid>
    <comment_count>15</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-09-06 19:50:23 +0000</bug_when>
    <thetext>tried 1.20.1 too bug same results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81545</commentid>
    <comment_count>16</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-09-13 14:31:29 +0000</bug_when>
    <thetext>  diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf
    index f4cd139e8d79..03b94dc3af6a 100644
    --- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf
    +++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf
    @@ -26,6 +26,7 @@ Section &quot;Screen&quot;
         Identifier    &quot;Default Screen&quot;
         Device        &quot;Graphics Controller&quot;
         Monitor        &quot;Generic Monitor&quot;
    +    DefaultDepth    16
         SubSection &quot;Display&quot;
             Modes     &quot;640x480&quot;
         EndSubSection</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81553</commentid>
    <comment_count>17</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-09-13 15:21:35 +0000</bug_when>
    <thetext>change in akuster/mut and is on the AB</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81581</commentid>
    <comment_count>18</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-09-20 14:31:39 +0000</bug_when>
    <thetext>in master

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6602ece87c21430927a0ccc7ea50a1025c6d1adc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81582</commentid>
    <comment_count>19</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-09-20 14:32:01 +0000</bug_when>
    <thetext>closing</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>