NetBSD Problem Report #53891
From www@NetBSD.org Fri Jan 18 16:54:03 2019
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id AEA047A154
for <gnats-bugs@gnats.NetBSD.org>; Fri, 18 Jan 2019 16:54:03 +0000 (UTC)
Message-Id: <20190118165402.898947A214@mollari.NetBSD.org>
Date: Fri, 18 Jan 2019 16:54:02 +0000 (UTC)
From: prlw1@cam.ac.uk
Reply-To: prlw1@cam.ac.uk
To: gnats-bugs@NetBSD.org
Subject: sandy bridge i965 SNA bus error
X-Send-Pr-Version: www-1.0
>Number: 53891
>Category: bin
>Synopsis: sandy bridge i965 SNA bus error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 18 16:55:00 +0000 2019
>Last-Modified: Mon Mar 04 17:20:01 +0000 2019
>Originator: Patrick Welche
>Release: NetBSD-8.99.30/amd64
>Organization:
>Environment:
>Description:
NetBSD/amd64 laptop was stable using SNA for years. After the recent xorg-server update, X dumps unusable cores, with e.g. SEGV, ABRT or BUS. See http://mail-index.netbsd.org/current-users/2019/01/04/msg034891.html thread for examples.
Finally a clue: reverting to UXA gives a stable system.
[Xorg.0.log and dmesg to follow once I have a PR number.]
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/53891: sandy bridge i965 SNA bus error
Date: Fri, 18 Jan 2019 17:03:02 +0000
In this example, I removed /etc/X11/xorg.conf, so defaults should
be used, logged into xdm, and immediately got returned to the login
prompt.
Reading symbols from /usr/X11R7/bin/Xorg...Reading symbols from /usr/libdata/debug//usr/X11R7/bin/Xorg.debug...done.
done.
[New process 1]
[New process 3]
[New process 2]
Core was generated by `X'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f7ff371efca in ?? ()
[Current thread is 1 (process 1)]
(gdb) bt
#0 0x00007f7ff371efca in ?? ()
#1 0x00007f7ff371ec57 in ?? ()
#2 0xffffffffffffffdf in ?? ()
#3 0xffffffffffffffff in ?? ()
#4 0x0000000000428640 in ?? ()
#5 0x00000000003aee55 in ?? ()
#6 0x00007f7fffffd7e8 in ?? ()
#7 0x00000000003aa6bf in ?? ()
#8 0x00007f7ff3fc90c0 in ?? ()
#9 0x00000000003ab358 in ?? ()
#10 0x0000003000000018 in ?? ()
#11 0x00007f7fffffd8d0 in ?? ()
#12 0x00007f7fffffd800 in ?? ()
#13 0x0000003000000008 in ?? ()
#14 0x00007f7fffffd8d0 in ?? ()
#15 0x00007f7fffffd800 in ?? ()
#16 0x00007f7fffffd8d0 in ?? ()
#17 0x000000000000000a in ?? ()
#18 0x00007f7ff396dbc0 in ?? ()
#19 0x0000000000000000 in ?? ()
(Note "reading symbols")
# dmesg | grep drm
[ 1.026146] i915drmkms0 at pci0 dev 2 function 0: Intel Sandy Bridge (mobile) GT2+ Integrated Graphics Device (rev. 0x09)
[ 7.650523] kern info: [drm] Memory usable by graphics device = 2048M
[ 7.650523] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 7.650523] kern info: [drm] Driver supports precise vblank timestamp query.
[ 7.650523] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
[ 7.710549] kern info: [drm] GMBUS [i915 gmbus panel] timed out, falling back to bit banging on pin 3
[ 7.790585] intelfb0 at i915drmkms0
-rw------- 1 root wheel 17775736 Jan 18 16:41 X.core
-rw-r--r-- 1 root wheel 13594 Jan 18 16:40 Xorg.0.log.old
so not 100% certain log and core go together.
[ 5335.317]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 5335.317] Build Operating System: NetBSD/amd64 8.99.30 - The NetBSD Foundation, Inc.
[ 5335.317] Current Operating System: NetBSD quark 8.99.30 NetBSD 8.99.30 (QUARK) #280: Fri Jan 18 10:03:36 GMT 2019 prlw1@quark:/usr/src/sys/arch/amd64/compile/QUARK amd64
[ 5335.317] Build Date: 25 December 2018 01:10:31PM
[ 5335.317]
[ 5335.317] Current version of pixman: 0.36.0
[ 5335.317] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5335.317] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5335.317] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 18 16:39:08 2019
[ 5335.317] (II) Loader magic: 0x68ea20
[ 5335.317] (II) Module ABI versions:
[ 5335.317] X.Org ANSI C Emulation: 0.4
[ 5335.317] X.Org Video Driver: 24.0
[ 5335.317] X.Org XInput driver : 24.1
[ 5335.317] X.Org Server Extension : 10.0
[ 5335.328] (--) PCI:*(0@0:2:0) 8086:0126:1179:0005 rev 9, Mem @ 0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00003000/64
[ 5335.328] (==) Using default built-in configuration (30 lines)
[ 5335.328] (==) --- Start of built-in configuration ---
[ 5335.328] Section "Device"
[ 5335.328] Identifier "Builtin Default intel Device 0"
[ 5335.328] Driver "intel"
[ 5335.328] EndSection
[ 5335.328] Section "Screen"
[ 5335.328] Identifier "Builtin Default intel Screen 0"
[ 5335.328] Device "Builtin Default intel Device 0"
[ 5335.328] EndSection
[ 5335.328] Section "Device"
[ 5335.328] Identifier "Builtin Default fbdev Device 0"
[ 5335.328] Driver "fbdev"
[ 5335.328] EndSection
[ 5335.328] Section "Screen"
[ 5335.328] Identifier "Builtin Default fbdev Screen 0"
[ 5335.328] Device "Builtin Default fbdev Device 0"
[ 5335.328] EndSection
[ 5335.328] Section "Device"
[ 5335.328] Identifier "Builtin Default vesa Device 0"
[ 5335.328] Driver "vesa"
[ 5335.328] EndSection
[ 5335.328] Section "Screen"
[ 5335.328] Identifier "Builtin Default vesa Screen 0"
[ 5335.328] Device "Builtin Default vesa Device 0"
[ 5335.328] EndSection
[ 5335.328] Section "ServerLayout"
[ 5335.328] Identifier "Builtin Default Layout"
[ 5335.328] Screen "Builtin Default intel Screen 0"
[ 5335.328] Screen "Builtin Default fbdev Screen 0"
[ 5335.328] Screen "Builtin Default vesa Screen 0"
[ 5335.328] EndSection
[ 5335.328] (==) --- End of built-in configuration ---
[ 5335.328] (==) ServerLayout "Builtin Default Layout"
[ 5335.328] (**) |-->Screen "Builtin Default intel Screen 0" (0)
[ 5335.328] (**) | |-->Monitor "<default monitor>"
[ 5335.328] (**) | |-->Device "Builtin Default intel Device 0"
[ 5335.328] (==) No monitor specified for screen "Builtin Default intel Screen 0".
Using a default monitor configuration.
[ 5335.328] (**) |-->Screen "Builtin Default fbdev Screen 0" (1)
[ 5335.328] (**) | |-->Monitor "<default monitor>"
[ 5335.328] (**) | |-->Device "Builtin Default fbdev Device 0"
[ 5335.328] (==) No monitor specified for screen "Builtin Default fbdev Screen 0".
Using a default monitor configuration.
[ 5335.328] (**) |-->Screen "Builtin Default vesa Screen 0" (2)
[ 5335.328] (**) | |-->Monitor "<default monitor>"
[ 5335.329] (**) | |-->Device "Builtin Default vesa Device 0"
[ 5335.329] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
Using a default monitor configuration.
[ 5335.329] (==) Not automatically adding devices
[ 5335.329] (==) Not automatically enabling devices
[ 5335.329] (==) Not automatically adding GPU devices
[ 5335.329] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 5335.329] (==) FontPath set to:
/usr/X11R7/lib/X11/fonts/misc/,
/usr/X11R7/lib/X11/fonts/TTF/,
/usr/X11R7/lib/X11/fonts/Type1/,
/usr/X11R7/lib/X11/fonts/75dpi/,
/usr/X11R7/lib/X11/fonts/100dpi/
[ 5335.329] (==) ModulePath set to "/usr/X11R7/lib/modules"
[ 5335.329] (==) |-->Input Device "<default pointer>"
[ 5335.329] (==) |-->Input Device "<default keyboard>"
[ 5335.329] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 5335.329] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 5335.329] (II) LoadModule: "glx"
[ 5335.329] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[ 5335.329] (II) Module glx: vendor="X.Org Foundation"
[ 5335.329] compiled for 1.20.3, module version = 1.0.0
[ 5335.329] ABI class: X.Org Server Extension, version 10.0
[ 5335.329] (II) LoadModule: "intel"
[ 5335.330] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
[ 5335.330] (II) Module intel: vendor="X.Org Foundation"
[ 5335.330] compiled for 1.20.3, module version = 2.99.917
[ 5335.330] Module class: X.Org Video Driver
[ 5335.330] ABI class: X.Org Video Driver, version 24.0
[ 5335.330] (II) LoadModule: "fbdev"
[ 5335.331] (WW) Warning, couldn't open module fbdev
[ 5335.331] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 5335.331] (II) LoadModule: "vesa"
[ 5335.331] (II) Loading /usr/X11R7/lib/modules/drivers/vesa_drv.so
[ 5335.331] (II) Module vesa: vendor="X.Org Foundation"
[ 5335.331] compiled for 1.20.3, module version = 2.4.0
[ 5335.331] Module class: X.Org Video Driver
[ 5335.331] ABI class: X.Org Video Driver, version 24.0
[ 5335.331] (II) LoadModule: "mouse"
[ 5335.332] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[ 5335.332] (II) Module mouse: vendor="X.Org Foundation"
[ 5335.332] compiled for 1.20.3, module version = 1.9.2
[ 5335.332] Module class: X.Org XInput Driver
[ 5335.332] ABI class: X.Org XInput driver, version 24.1
[ 5335.332] (II) LoadModule: "kbd"
[ 5335.332] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[ 5335.332] (II) Module kbd: vendor="X.Org Foundation"
[ 5335.332] compiled for 1.20.3, module version = 1.9.0
[ 5335.332] Module class: X.Org XInput Driver
[ 5335.332] ABI class: X.Org XInput driver, version 24.1
[ 5335.332] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 5335.332] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 5335.332] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 5335.332] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 5335.332] (II) VESA: driver for VESA chipsets: vesa
[ 5335.332] (--) Using wscons driver on /dev/ttyE7 in pcvt compatibility mode (version 3.32)
[ 5335.332] (--) using VT number 8
[ 5335.344] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
[ 5335.344] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 5335.344] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 3000
[ 5335.344] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[ 5335.344] (II) intel(0): Creating default Display subsection in Screen section
"Builtin Default intel Screen 0" for depth/fbbpp 24/32
[ 5335.344] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 5335.344] (==) intel(0): RGB weight 888
[ 5335.344] (==) intel(0): Default visual is TrueColor
[ 5335.344] (II) intel(0): Output LVDS1 has no monitor section
[ 5335.344] (II) intel(0): Enabled output LVDS1
[ 5335.344] (II) intel(0): Output VGA1 has no monitor section
[ 5335.344] (II) intel(0): Enabled output VGA1
[ 5335.344] (II) intel(0): Output HDMI1 has no monitor section
[ 5335.344] (II) intel(0): Enabled output HDMI1
[ 5335.345] (II) intel(0): Output DP1 has no monitor section
[ 5335.345] (II) intel(0): Enabled output DP1
[ 5335.345] (II) intel(0): Output HDMI2 has no monitor section
[ 5335.345] (II) intel(0): Enabled output HDMI2
[ 5335.345] (II) intel(0): Output HDMI3 has no monitor section
[ 5335.345] (II) intel(0): Enabled output HDMI3
[ 5335.345] (II) intel(0): Output DP2 has no monitor section
[ 5335.345] (II) intel(0): Enabled output DP2
[ 5335.345] (II) intel(0): Output DP3 has no monitor section
[ 5335.345] (II) intel(0): Enabled output DP3
[ 5335.345] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 5335.345] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 5335.345] (II) intel(0): Enabled output VIRTUAL1
[ 5335.345] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 0
[ 5335.345] (==) intel(0): TearFree disabled
[ 5335.345] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 5335.345] (==) intel(0): DPI set to (96, 96)
[ 5335.345] (II) Loading sub module "dri2"
[ 5335.345] (II) LoadModule: "dri2"
[ 5335.345] (II) Module "dri2" already built-in
[ 5335.345] (II) UnloadModule: "vesa"
[ 5335.345] (II) Unloading vesa
[ 5335.345] (II) intel(0): SNA initialized with Sandybridge (gen6, gt2) backend
[ 5335.345] (==) intel(0): Backing store enabled
[ 5335.345] (==) intel(0): Silken mouse enabled
[ 5335.345] (II) intel(0): HW Cursor enabled
[ 5335.345] (==) intel(0): DPMS enabled
[ 5335.345] (II) intel(0): [DRI2] Setup complete
[ 5335.345] (II) intel(0): [DRI2] DRI driver: i965
[ 5335.345] (II) intel(0): [DRI2] VDPAU driver: i965
[ 5335.345] (II) intel(0): direct rendering: DRI2 enabled
[ 5335.345] (II) Initializing extension Generic Event Extension
[ 5335.346] (II) Initializing extension SHAPE
[ 5335.346] (II) Initializing extension MIT-SHM
[ 5335.346] (II) Initializing extension XInputExtension
[ 5335.347] (II) Initializing extension XTEST
[ 5335.347] (II) Initializing extension BIG-REQUESTS
[ 5335.347] (II) Initializing extension SYNC
[ 5335.348] (II) Initializing extension XKEYBOARD
[ 5335.348] (II) Initializing extension XC-MISC
[ 5335.348] (II) Initializing extension SECURITY
[ 5335.349] (II) Initializing extension XFIXES
[ 5335.349] (II) Initializing extension XFree86-Bigfont
[ 5335.349] (II) Initializing extension RENDER
[ 5335.350] (II) Initializing extension RANDR
[ 5335.350] (II) Initializing extension COMPOSITE
[ 5335.351] (II) Initializing extension DAMAGE
[ 5335.351] (II) Initializing extension MIT-SCREEN-SAVER
[ 5335.351] (II) Initializing extension DOUBLE-BUFFER
[ 5335.351] (II) Initializing extension RECORD
[ 5335.352] (II) Initializing extension DPMS
[ 5335.352] (II) Initializing extension Present
[ 5335.353] (II) Initializing extension X-Resource
[ 5335.353] (II) Initializing extension XVideo
[ 5335.353] (II) Initializing extension XVideo-MotionCompensation
[ 5335.353] (II) Initializing extension GLX
[ 5335.356] (II) AIGLX: Loaded and initialized i965
[ 5335.356] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 5335.356] (II) Initializing extension XFree86-VidModeExtension
[ 5335.356] (II) Initializing extension XFree86-DGA
[ 5335.357] (II) Initializing extension XFree86-DRI
[ 5335.357] (II) Initializing extension DRI2
[ 5335.358] (II) intel(0): switch to mode 1366x768@60.2 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 5335.368] (II) intel(0): Setting screen physical size to 361 x 203
[ 5335.428] (II) Using input driver 'mouse' for '<default pointer>'
[ 5335.428] (**) Option "CorePointer" "on"
[ 5335.428] (**) <default pointer>: always reports core events
[ 5335.429] (WW) <default pointer>: No Device specified, looking for one...
[ 5335.516] (II) <default pointer>: found Device "/dev/wsmouse"
[ 5335.519] (--) <default pointer>: Device: "/dev/wsmouse"
[ 5335.519] (==) <default pointer>: Protocol: "WSMouse"
[ 5335.519] (**) <default pointer>: always reports core events
[ 5335.519] (**) Option "Device" "/dev/wsmouse"
[ 5335.609] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[ 5335.609] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[ 5335.609] (**) <default pointer>: Buttons: 9
[ 5335.609] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
[ 5335.609] (**) <default pointer>: (accel) keeping acceleration scheme 1
[ 5335.609] (**) <default pointer>: (accel) acceleration profile 0
[ 5335.609] (**) <default pointer>: (accel) acceleration factor: 2.000
[ 5335.609] (**) <default pointer>: (accel) acceleration threshold: 4
[ 5335.697] (II) Using input driver 'kbd' for '<default keyboard>'
[ 5335.697] (**) Option "CoreKeyboard" "on"
[ 5335.697] (**) <default keyboard>: always reports core events
[ 5335.697] (**) <default keyboard>: always reports core events
[ 5335.697] (**) Option "Protocol" "standard"
[ 5335.697] (**) Option "XkbRules" "base"
[ 5335.697] (**) Option "XkbModel" "pc105"
[ 5335.697] (**) Option "XkbLayout" "us"
[ 5335.697] (II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD, id 7)
[ 5338.088] (EE) Bus error at address 0x7f7fedaad3e5
[ 5338.088] (EE)
Fatal server error:
[ 5338.088] (EE) Caught signal 10 (Bus error). Server aborting
[ 5338.088] (EE)
[ 5338.088] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 5338.088] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 5338.088] (EE)
[ 5338.088] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 5338.125] (EE) Server terminated with error (1). Closing log file.
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/53891: sandy bridge i965 SNA bus error
Date: Thu, 24 Jan 2019 09:09:14 +0000
As mrg enabled backtrace -> log, here is another example - 0x12 is an
interesting address...
[ 240.539]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 240.539] Build Operating System: NetBSD/amd64 8.99.30 - The NetBSD Foundation, Inc.
[ 240.539] Current Operating System: NetBSD quark 8.99.30 NetBSD 8.99.30 (QUARK) #282: Tue Jan 22 10:27:02 GMT 2019 prlw1@quark:/usr/src/sys/arch/amd64/compile/QUARK amd64
[ 240.539] Build Date: 25 December 2018 01:10:31PM
[ 240.539]
[ 240.539] Current version of pixman: 0.36.0
[ 240.539] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 240.539] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 240.539] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 23 21:08:00 2019
[ 240.539] (II) Loader magic: 0x68ea40
[ 240.539] (II) Module ABI versions:
[ 240.539] X.Org ANSI C Emulation: 0.4
[ 240.539] X.Org Video Driver: 24.0
[ 240.539] X.Org XInput driver : 24.1
[ 240.539] X.Org Server Extension : 10.0
[ 240.545] (--) PCI:*(0@0:2:0) 8086:0126:1179:0005 rev 9, Mem @ 0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00003000/64
[ 240.545] (==) Using default built-in configuration (30 lines)
[ 240.545] (==) --- Start of built-in configuration ---
[ 240.545] Section "Device"
[ 240.545] Identifier "Builtin Default intel Device 0"
[ 240.545] Driver "intel"
[ 240.545] EndSection
[ 240.545] Section "Screen"
[ 240.545] Identifier "Builtin Default intel Screen 0"
[ 240.545] Device "Builtin Default intel Device 0"
[ 240.545] EndSection
[ 240.545] Section "Device"
[ 240.545] Identifier "Builtin Default fbdev Device 0"
[ 240.545] Driver "fbdev"
[ 240.545] EndSection
[ 240.545] Section "Screen"
[ 240.545] Identifier "Builtin Default fbdev Screen 0"
[ 240.545] Device "Builtin Default fbdev Device 0"
[ 240.545] EndSection
[ 240.545] Section "Device"
[ 240.545] Identifier "Builtin Default vesa Device 0"
[ 240.545] Driver "vesa"
[ 240.546] EndSection
[ 240.546] Section "Screen"
[ 240.546] Identifier "Builtin Default vesa Screen 0"
[ 240.546] Device "Builtin Default vesa Device 0"
[ 240.546] EndSection
[ 240.546] Section "ServerLayout"
[ 240.546] Identifier "Builtin Default Layout"
[ 240.546] Screen "Builtin Default intel Screen 0"
[ 240.546] Screen "Builtin Default fbdev Screen 0"
[ 240.546] Screen "Builtin Default vesa Screen 0"
[ 240.546] EndSection
[ 240.546] (==) --- End of built-in configuration ---
[ 240.546] (==) ServerLayout "Builtin Default Layout"
[ 240.546] (**) |-->Screen "Builtin Default intel Screen 0" (0)
[ 240.546] (**) | |-->Monitor "<default monitor>"
[ 240.546] (**) | |-->Device "Builtin Default intel Device 0"
[ 240.546] (==) No monitor specified for screen "Builtin Default intel Screen 0".
Using a default monitor configuration.
[ 240.546] (**) |-->Screen "Builtin Default fbdev Screen 0" (1)
[ 240.546] (**) | |-->Monitor "<default monitor>"
[ 240.546] (**) | |-->Device "Builtin Default fbdev Device 0"
[ 240.546] (==) No monitor specified for screen "Builtin Default fbdev Screen 0".
Using a default monitor configuration.
[ 240.546] (**) |-->Screen "Builtin Default vesa Screen 0" (2)
[ 240.546] (**) | |-->Monitor "<default monitor>"
[ 240.546] (**) | |-->Device "Builtin Default vesa Device 0"
[ 240.546] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
Using a default monitor configuration.
[ 240.546] (==) Not automatically adding devices
[ 240.546] (==) Not automatically enabling devices
[ 240.546] (==) Not automatically adding GPU devices
[ 240.546] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 240.546] (==) FontPath set to:
/usr/X11R7/lib/X11/fonts/misc/,
/usr/X11R7/lib/X11/fonts/TTF/,
/usr/X11R7/lib/X11/fonts/Type1/,
/usr/X11R7/lib/X11/fonts/75dpi/,
/usr/X11R7/lib/X11/fonts/100dpi/
[ 240.546] (==) ModulePath set to "/usr/X11R7/lib/modules"
[ 240.546] (==) |-->Input Device "<default pointer>"
[ 240.547] (==) |-->Input Device "<default keyboard>"
[ 240.547] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 240.547] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 240.547] (II) LoadModule: "glx"
[ 240.547] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[ 240.547] (II) Module glx: vendor="X.Org Foundation"
[ 240.547] compiled for 1.20.3, module version = 1.0.0
[ 240.547] ABI class: X.Org Server Extension, version 10.0
[ 240.547] (II) LoadModule: "intel"
[ 240.548] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
[ 240.548] (II) Module intel: vendor="X.Org Foundation"
[ 240.548] compiled for 1.20.3, module version = 2.99.917
[ 240.548] Module class: X.Org Video Driver
[ 240.548] ABI class: X.Org Video Driver, version 24.0
[ 240.548] (II) LoadModule: "fbdev"
[ 240.549] (WW) Warning, couldn't open module fbdev
[ 240.549] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 240.549] (II) LoadModule: "vesa"
[ 240.549] (II) Loading /usr/X11R7/lib/modules/drivers/vesa_drv.so
[ 240.550] (II) Module vesa: vendor="X.Org Foundation"
[ 240.550] compiled for 1.20.3, module version = 2.4.0
[ 240.550] Module class: X.Org Video Driver
[ 240.550] ABI class: X.Org Video Driver, version 24.0
[ 240.550] (II) LoadModule: "mouse"
[ 240.550] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[ 240.550] (II) Module mouse: vendor="X.Org Foundation"
[ 240.550] compiled for 1.20.3, module version = 1.9.2
[ 240.550] Module class: X.Org XInput Driver
[ 240.550] ABI class: X.Org XInput driver, version 24.1
[ 240.550] (II) LoadModule: "kbd"
[ 240.551] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[ 240.551] (II) Module kbd: vendor="X.Org Foundation"
[ 240.551] compiled for 1.20.3, module version = 1.9.0
[ 240.551] Module class: X.Org XInput Driver
[ 240.551] ABI class: X.Org XInput driver, version 24.1
[ 240.551] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 240.551] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 240.551] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 240.551] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 240.551] (II) VESA: driver for VESA chipsets: vesa
[ 240.551] (--) Using wscons driver on /dev/ttyE7 in pcvt compatibility mode (version 3.32)
[ 240.551] (--) using VT number 8
[ 240.557] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
[ 240.558] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 240.558] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 3000
[ 240.558] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[ 240.558] (II) intel(0): Creating default Display subsection in Screen section
"Builtin Default intel Screen 0" for depth/fbbpp 24/32
[ 240.558] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 240.558] (==) intel(0): RGB weight 888
[ 240.558] (==) intel(0): Default visual is TrueColor
[ 240.560] (II) intel(0): Output LVDS1 has no monitor section
[ 240.561] (II) intel(0): Enabled output LVDS1
[ 240.561] (II) intel(0): Output VGA1 has no monitor section
[ 240.561] (II) intel(0): Enabled output VGA1
[ 240.561] (II) intel(0): Output HDMI1 has no monitor section
[ 240.561] (II) intel(0): Enabled output HDMI1
[ 240.561] (II) intel(0): Output DP1 has no monitor section
[ 240.561] (II) intel(0): Enabled output DP1
[ 240.561] (II) intel(0): Output HDMI2 has no monitor section
[ 240.561] (II) intel(0): Enabled output HDMI2
[ 240.561] (II) intel(0): Output HDMI3 has no monitor section
[ 240.561] (II) intel(0): Enabled output HDMI3
[ 240.561] (II) intel(0): Output DP2 has no monitor section
[ 240.561] (II) intel(0): Enabled output DP2
[ 240.561] (II) intel(0): Output DP3 has no monitor section
[ 240.561] (II) intel(0): Enabled output DP3
[ 240.561] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 240.561] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 240.561] (II) intel(0): Enabled output VIRTUAL1
[ 240.561] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 0
[ 240.561] (==) intel(0): TearFree disabled
[ 240.561] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 240.561] (==) intel(0): DPI set to (96, 96)
[ 240.561] (II) Loading sub module "dri2"
[ 240.561] (II) LoadModule: "dri2"
[ 240.561] (II) Module "dri2" already built-in
[ 240.561] (II) UnloadModule: "vesa"
[ 240.561] (II) Unloading vesa
[ 240.564] (II) intel(0): SNA initialized with Sandybridge (gen6, gt2) backend
[ 240.564] (==) intel(0): Backing store enabled
[ 240.564] (==) intel(0): Silken mouse enabled
[ 240.564] (II) intel(0): HW Cursor enabled
[ 240.564] (==) intel(0): DPMS enabled
[ 240.565] (II) intel(0): [DRI2] Setup complete
[ 240.565] (II) intel(0): [DRI2] DRI driver: i965
[ 240.565] (II) intel(0): [DRI2] VDPAU driver: i965
[ 240.565] (II) intel(0): direct rendering: DRI2 enabled
[ 240.565] (II) Initializing extension Generic Event Extension
[ 240.565] (II) Initializing extension SHAPE
[ 240.565] (II) Initializing extension MIT-SHM
[ 240.565] (II) Initializing extension XInputExtension
[ 240.566] (II) Initializing extension XTEST
[ 240.566] (II) Initializing extension BIG-REQUESTS
[ 240.567] (II) Initializing extension SYNC
[ 240.567] (II) Initializing extension XKEYBOARD
[ 240.567] (II) Initializing extension XC-MISC
[ 240.567] (II) Initializing extension SECURITY
[ 240.568] (II) Initializing extension XFIXES
[ 240.568] (II) Initializing extension XFree86-Bigfont
[ 240.568] (II) Initializing extension RENDER
[ 240.569] (II) Initializing extension RANDR
[ 240.569] (II) Initializing extension COMPOSITE
[ 240.570] (II) Initializing extension DAMAGE
[ 240.570] (II) Initializing extension MIT-SCREEN-SAVER
[ 240.570] (II) Initializing extension DOUBLE-BUFFER
[ 240.571] (II) Initializing extension RECORD
[ 240.571] (II) Initializing extension DPMS
[ 240.571] (II) Initializing extension Present
[ 240.571] (II) Initializing extension X-Resource
[ 240.572] (II) Initializing extension XVideo
[ 240.572] (II) Initializing extension XVideo-MotionCompensation
[ 240.572] (II) Initializing extension GLX
[ 240.575] (II) AIGLX: Loaded and initialized i965
[ 240.575] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 240.575] (II) Initializing extension XFree86-VidModeExtension
[ 240.575] (II) Initializing extension XFree86-DGA
[ 240.575] (II) Initializing extension XFree86-DRI
[ 240.575] (II) Initializing extension DRI2
[ 240.578] (II) intel(0): switch to mode 1366x768@60.2 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 240.586] (II) intel(0): Setting screen physical size to 361 x 203
[ 240.647] (II) Using input driver 'mouse' for '<default pointer>'
[ 240.647] (**) Option "CorePointer" "on"
[ 240.647] (**) <default pointer>: always reports core events
[ 240.647] (WW) <default pointer>: No Device specified, looking for one...
[ 240.735] (II) <default pointer>: found Device "/dev/wsmouse"
[ 240.737] (--) <default pointer>: Device: "/dev/wsmouse"
[ 240.737] (==) <default pointer>: Protocol: "WSMouse"
[ 240.737] (**) <default pointer>: always reports core events
[ 240.737] (**) Option "Device" "/dev/wsmouse"
[ 240.828] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[ 240.828] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[ 240.828] (**) <default pointer>: Buttons: 9
[ 240.828] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
[ 240.828] (**) <default pointer>: (accel) keeping acceleration scheme 1
[ 240.828] (**) <default pointer>: (accel) acceleration profile 0
[ 240.828] (**) <default pointer>: (accel) acceleration factor: 2.000
[ 240.828] (**) <default pointer>: (accel) acceleration threshold: 4
[ 240.916] (II) Using input driver 'kbd' for '<default keyboard>'
[ 240.916] (**) Option "CoreKeyboard" "on"
[ 240.916] (**) <default keyboard>: always reports core events
[ 240.916] (**) <default keyboard>: always reports core events
[ 240.916] (**) Option "Protocol" "standard"
[ 240.916] (**) Option "XkbRules" "base"
[ 240.916] (**) Option "XkbModel" "pc105"
[ 240.916] (**) Option "XkbLayout" "us"
[ 240.916] (II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD, id 7)
[ 245.830] (EE)
[ 245.830] (EE) Backtrace:
[ 245.836] (EE) 0: /usr/X11R7/bin/X (xorg_backtrace+0x3d) [0x3b37d3]
[ 245.836] (EE) 1: /usr/X11R7/bin/X (os_move_fd+0x67) [0x3af9f9]
[ 245.836] (EE) 2: /usr/lib/libc.so.12 (__sigtramp_siginfo_2+0x0) [0x7f7ff32a9ac0]
[ 245.836] (EE)
[ 245.836] (EE) Segmentation fault at address 0x12
[ 245.836] (EE)
Fatal server error:
[ 245.836] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 245.836] (EE)
[ 245.836] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 245.837] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 245.837] (EE)
[ 245.837] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 245.869] (EE) Server terminated with error (1). Closing log file.
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, prlw1@cam.ac.uk
Subject: re: bin/53891: sandy bridge i965 SNA bus error
Date: Fri, 25 Jan 2019 05:29:32 +1100
> As mrg enabled backtrace -> log, here is another example - 0x12 is an
> interesting address...
pity that libbacktrace's unwinder can't cope beyond signals:
> [ 240.916] (**) Option "XkbRules" "base"
> [ 240.916] (**) Option "XkbModel" "pc105"
> [ 240.916] (**) Option "XkbLayout" "us"
> [ 240.916] (II) XINPUT: Adding extended input device "<default keyboa=
rd>" (type: KEYBOARD, id 7)
> [ 245.830] (EE) =
> [ 245.830] (EE) Backtrace:
> [ 245.836] (EE) 0: /usr/X11R7/bin/X (xorg_backtrace+0x3d) [0x3b37d3]
> [ 245.836] (EE) 1: /usr/X11R7/bin/X (os_move_fd+0x67) [0x3af9f9]
> [ 245.836] (EE) 2: /usr/lib/libc.so.12 (__sigtramp_siginfo_2+0x0) [0x=
7f7ff32a9ac0]
> [ 245.836] (EE) =
> [ 245.836] (EE) Segmentation fault at address 0x12
> [ 245.836] (EE) =
> Fatal server error:
> [ 245.836] (EE) Caught signal 11 (Segmentation fault). Server abortin=
g
so all really 0x12 means is that someone tried to access a struct member
that is at offset 0x12 but using a NULL pointer. however, as we don't
have the stack trace beyond the signal, don't know what it was. ie, my
enabling of backtrace doesn't help the main problem i hoped for.
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/53891: sandy bridge i965 SNA bus error
Date: Wed, 13 Feb 2019 12:08:02 +0000
Maybe a chance of a clue...
[ 11597.410] sna_blt_fill_boxes (32, 0, 3) x 1
[ 11597.410] sna_blt_fill_box: box=((94, 106), (576, 119))
[ 11597.410] kgem_add_reloc: handle=9, pos=4, delta=0, domains=28002
[ 11597.410] kgem_add_handle: handle=9, index=0
[ 11597.410] __kgem_bo_mark_dirty: handle=9 (proxy? 0)
[ 11597.410] sna_glyph_blt: glyph clip box (94, 106), (576, 119)
[ 11597.410] kgem_add_reloc: handle=9, pos=10, delta=0, domains=28002
[ 11597.410] sna_glyph_blt glyph: (94, 117) -> (190, 117) x (-96[-12], 13667), len=-41000
[ 11597.410] sna_image_text16: count=13/13, extents=(left=72, right=260364, width=283536, ascent=11, descent=2), box=(17, 28), (21409, 41)
[ 11597.410] sna_image_text16: clipped extents (94, 106), (576, 119)
[ 11597.410] sna_font_too_large? (11 + 2) x 6: 21 > 124
[ 11597.410] sna_glyph_blt (17, 39) x 13, fg=ffffff, bg=0 alu=cc
[ 11597.410] sna_drawable_use_bo pixmap=3, box=((94, 106), (576, 119)), flags=9...
[ 11597.410] sna_drawable_use_bo: pinned, never REPLACES
[ 11597.410] sna_drawable_use_bo: flush=0, shm=0, cpu=0 => flags=9
[ 11597.410] sna_drawable_use_bo: use GPU fast path (all-damaged)
[ 11597.410] sna_drawable_use_bo: using whole GPU bo
[ 11597.411] sna_blt_fill_boxes (32, 0, 3) x 1
[ 11597.411] sna_blt_fill_box: box=((94, 106), (576, 119))
[ 11597.411] sna_blt_fill_box: replacing last fill
[ 11597.411] sna_glyph_blt: glyph clip box (94, 106), (576, 119)
[ 11597.411] kgem_add_reloc: handle=9, pos=10, delta=0, domains=28002
[ 11597.411] sna_glyph_blt glyph: (94, 117) -> (166, 117) x (-72[-9], 18495), len=-41612
[ 11597.411] sna_glyph_blt glyph: (20914, 117) -> (20986, 117) x (-72[-9], 18495), len=-41612
[ 11597.411] sna_glyph_blt glyph: (41734, 117) -> (41806, 117) x (-72[-9], 18495), len=-41612
[ 11597.411] sna_glyph_blt glyph: (62554, 117) -> (62626, 117) x (-72[-9], 18495), len=-41612
[ 11597.411] sna_glyph_blt glyph: (83374, 117) -> (83390, 117) x (-16[-2], 18849), len=-9424
[ 11597.411] sna_glyph_blt glyph: (104378, 117) -> (104398, 117) x (-20[-2], 18810), len=-9404
[ 11597.411] sna_glyph_blt glyph: (125326, 117) -> (125398, 117) x (-72[-9], 18495), len=-41612
[ 11597.411] sna_glyph_blt glyph: (146146, 117) -> (146194, 117) x (-48[-6], 18295), len=-27442
[ 11597.411] sna_glyph_blt glyph: (166838, 117) -> (166958, 117) x (-120[-15], 27582), len=-103432
[ 11597.411] sna_glyph_blt glyph: (190550, 117) -> (190614, 117) x (-64[-8], 23363), len=-46726
[ 11597.411] sna_glyph_blt glyph: (213350, 117) -> (213422, 117) x (-72[-9], 30131), len=-67794
[ 11597.411] sna_glyph_blt glyph: (237562, 117) -> (237642, 117) x (-80[-10], 24273), len=-60682
[ 11597.411] sna_glyph_blt glyph: (260458, 117) -> (260498, 117) x (-40[-5], 25150), len=-31436
[ 11597.411] sna_image_text16: count=12/12, extents=(left=72, right=235144, width=258296, ascent=11, descent=2), box=(17, 41), (-3831, 54)
[ 11597.411] sna_image_text16: count=52/52, extents=(left=28, right=1081724, width=1104876, ascent=11, descent=2), box=(17, 54), (-9219, 67)
[ 11597.411] sna_image_text16: count=12/12, extents=(left=28, right=229948, width=250972, ascent=11, descent=2), box=(17, 67), (-11155, 80)
[ 11597.411] sna_image_text16: count=8/8, extents=(left=16, right=146368, width=167452, ascent=11, descent=2), box=(17, 80), (-29139, 93)
[ 11597.411] sna_image_text16: count=2/2, extents=(left=20, right=20948, width=41844, ascent=11, descent=2), box=(17, 93), (-23675, 106)
[ 11597.411] sna_image_text16: count=9/9, extents=(left=16, right=172440, width=195572, ascent=11, descent=2), box=(17, 106), (-1019, 119)
[ 11597.411] sigtrap_handler(sig=11) sigtrap=0
[ 11597.411] (EE)
[ 11597.411] (EE) Backtrace:
[ 11597.421] (EE) 0: /usr/X11R7/bin/X (xorg_backtrace+0x40) [0x3b4a74]
[ 11597.421] (EE) 1: /usr/X11R7/bin/X (os_move_fd+0x72) [0x3b0c79]
[ 11597.421] (EE)
[ 11597.421] (EE) Segmentation fault at address 0x43f920
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/53891: sandy bridge i965 SNA bus error
Date: Mon, 4 Mar 2019 17:15:05 +0000
On Wed, Feb 13, 2019 at 12:10:00PM +0000, Patrick Welche wrote:
> Maybe a chance of a clue...
Actually, sna_image_text16 appears to complete successfully. Still no
clue where the trap is from.
Just tried with the new xsrc. The amusing difference is:
[ 28.732] (EE) Segmentation fault at address 0x800000012
^ another bit is set
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.