Bug 12845 - xorg.XorgTest fails with xserver updates on mips64
Summary: xorg.XorgTest fails with xserver updates on mips64
Status: CLOSED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.6
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.6 M3
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-07-08 03:36 UTC by Armin Kuster
Modified: 2018-09-20 14:32 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2018-07-08 03:36:26 UTC
Central error: [    28.044] (EE) AddScreen/ScreenInit failed for driver 0
***********************
[    28.014] (II) Loading sub module "shadow"
[    28.014] (II) LoadModule: "shadow"
[    28.016] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    28.020] (II) Module shadow: vendor="X.Org Foundation"
[    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)
Comment 1 Armin Kuster 2018-07-08 03:40:04 UTC
bitbake core-image-sato

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

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

run it again and it fail but
if "runqemu qemumips64" the test will pass afterwards.
Comment 2 Armin Kuster 2018-07-08 13:42:11 UTC
x86-64 tests out fine.
Comment 3 Armin Kuster 2018-07-15 20:12:13 UTC
adding sleep in the xorg test does not fix this for mips.
Comment 4 Armin Kuster 2018-07-18 22:45:02 UTC
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
Comment 6 Armin Kuster 2018-07-19 15:00:31 UTC
arrg. it did not pass. it stopped failing on my system with xf86-input-libinput update applied...
Comment 7 Armin Kuster 2018-07-30 04:15:55 UTC
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.
Comment 8 Armin Kuster 2018-07-30 04:23:37 UTC
going to try 4.15.x kernel
Comment 9 Armin Kuster 2018-07-30 04:47:22 UTC
fails with 4.15 kernel tool. Looking at the bluez website, Mips is not a supported arch.
Comment 10 Armin Kuster 2018-07-30 05:03:48 UTC
Have a fix. testing on qemumips first.
Comment 11 Armin Kuster 2018-08-02 15:12:39 UTC
sent:
https://patchwork.openembedded.org/patch/153127/
Comment 12 Armin Kuster 2018-08-02 15:13:19 UTC
question is when did this bluez issue start and what may be causing it.
Comment 13 Armin Kuster 2018-08-02 23:59:37 UTC
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
Comment 14 Armin Kuster 2018-08-03 01:28:52 UTC
(In reply to comment #13)
> 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

errr, and  1.20 passes on my home system too. this is wierd
Comment 15 Armin Kuster 2018-09-06 19:50:23 UTC
tried 1.20.1 too bug same results.
Comment 16 Armin Kuster 2018-09-13 14:31:29 UTC
  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 "Screen"
         Identifier    "Default Screen"
         Device        "Graphics Controller"
         Monitor        "Generic Monitor"
    +    DefaultDepth    16
         SubSection "Display"
             Modes     "640x480"
         EndSubSection
Comment 17 Armin Kuster 2018-09-13 15:21:35 UTC
change in akuster/mut and is on the AB
Comment 19 Armin Kuster 2018-09-20 14:32:01 UTC
closing