Hi,

X11 randomly freeze and crash on Lenovo Thinkpad T14 AMD GEN1 with 
OpenBSD-current (OpenBSD 6.9 GENERIC.MP#461 amd64). I tried to reproduce it, 
but, it seems to be totally random. It crashed 2 times in one week due to 
segmentation fault. The last time it froze the whole system, leaving the system 
unusable without access to SSH or other running service on the system. This 
error is present in Xorg.0.log file but there no trace of it in other logs. 
Does someone have the same issue?

Here Xorg.0.log file and dmesg is available on nycbug.org 
(https://dmesgd.nycbug.org/index.cgi?do=view&id=6009).

[    38.304] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
        (Operation not permitted)
        Check that you have set 'machdep.allowaperture=1'
        in /etc/sysctl.conf and reboot your machine
        refer to xf86(4) for details
[    38.304]    linear framebuffer access unavailable
[    38.340] (--) Using wscons driver on /dev/ttyC4
[    38.362]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[    38.362] Build Operating System: OpenBSD 6.9 amd64
[    38.362] Current Operating System: OpenBSD lyn.puffy 6.9 GENERIC.MP#461 
amd64
[    38.362] Build Date: 11 April 2021  06:02:54PM
[    38.362]
[    38.362] Current version of pixman: 0.38.4
[    38.362]    Before reporting problems, check
http://wiki.x.org
to make sure that you have the latest version.
[    38.362] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    38.363] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 12 13:47:49 
2021
[    38.364] (==) Using system config directory 
"/usr/X11R6/share/X11/xorg.conf.d"
[    38.366] (==) No Layout section.  Using the first Screen section.
[    38.367] (==) No screen section available. Using defaults.
[    38.367] (**) |-->Screen "Default Screen Section" (0)
[    38.367] (**) |   |-->Monitor "<default monitor>"
[    38.369] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    38.369] (==) Automatically adding devices
[    38.369] (==) Automatically enabling devices
[    38.369] (==) Not automatically adding GPU devices
[    38.370] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    38.370] (==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
[    38.370] (==) ModulePath set to "/usr/X11R6/lib/modules"
[    38.370] (II) The server relies on wscons to provide the list of input 
devices.
        If no devices become available, reconfigure wscons or disable 
AutoAddDevices.
[    38.370] (II) Loader magic: 0xf1789c60f10
[    38.370] (II) Module ABI versions:
[    38.370]    X.Org ANSI C Emulation: 0.4
[    38.370]    X.Org Video Driver: 24.1
[    38.370]    X.Org XInput driver : 24.1
[    38.370]    X.Org Server Extension : 10.0
[    38.371] (--) PCI:*(8@0:0:0) 1002:1636:17aa:5081 rev 209, Mem @ 
0xc60000000/268435456, 0xc70000000/2097152, 0xfd300000/524288, I/O @ 
0x00001000/256
[    38.371] (II) LoadModule: "glx"
[    38.373] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[    38.395] (II) Module glx: vendor="X.Org Foundation"
[    38.395]    compiled for 1.20.10, module version = 1.0.0
[    38.395]    ABI class: X.Org Server Extension, version 10.0
[    38.395] (==) Matched ati as autoconfigured driver 0
[    38.395] (==) Matched modesetting as autoconfigured driver 1
[    38.395] (==) Assigned the driver to the xf86ConfigLayout
[    38.395] (II) LoadModule: "ati"
[    38.396] (II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.so
[    38.396] (II) Module ati: vendor="X.Org Foundation"
[    38.396]    compiled for 1.20.10, module version = 19.1.0
[    38.396]    Module class: X.Org Video Driver
[    38.396]    ABI class: X.Org Video Driver, version 24.1
[    38.402] (II) LoadModule: "amdgpu"
[    38.403] (II) Loading /usr/X11R6/lib/modules/drivers/amdgpu_drv.so
[    38.407] (II) Module amdgpu: vendor="X.Org Foundation"
[    38.407]    compiled for 1.20.10, module version = 19.1.0
[    38.407]    Module class: X.Org Video Driver
[    38.407]    ABI class: X.Org Video Driver, version 24.1
[    38.407] (II) LoadModule: "modesetting"
[    38.408] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so
[    38.410] (II) Module modesetting: vendor="X.Org Foundation"
[    38.410]    compiled for 1.20.10, module version = 1.20.10
[    38.410]    Module class: X.Org Video Driver
[    38.410]    ABI class: X.Org Video Driver, version 24.1
[    38.410] (II) AMDGPU: Driver for AMD Radeon:
        All GPUs supported by the amdgpu kernel driver
[    38.410] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    38.419] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[    38.423] (WW) Falling back to old probe method for modesetting
[    38.424] (II) AMDGPU(0): Creating default Display subsection in Screen 
section
        "Default Screen Section" for depth/fbbpp 24/32
[    38.424] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    38.424] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp 
pixmaps)
[    38.424] (==) AMDGPU(0): Default visual is TrueColor
[    38.424] (==) AMDGPU(0): RGB weight 888
[    38.424] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    38.424] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x1636)
[    38.424] (II) Loading sub module "fb"
[    38.424] (II) LoadModule: "fb"
[    38.426] (II) Loading /usr/X11R6/lib/modules/libfb.so
[    38.428] (II) Module fb: vendor="X.Org Foundation"
[    38.428]    compiled for 1.20.10, module version = 1.0.0
[    38.428]    ABI class: X.Org ANSI C Emulation, version 0.4
[    38.428] (II) Loading sub module "dri2"
[    38.428] (II) LoadModule: "dri2"
[    38.428] (II) Module "dri2" already built-in
[    38.815] (II) Loading sub module "glamoregl"
[    38.815] (II) LoadModule: "glamoregl"
[    38.816] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so
[    38.828] (II) Module glamoregl: vendor="X.Org Foundation"
[    38.828]    compiled for 1.20.10, module version = 1.0.1
[    38.828]    ABI class: X.Org ANSI C Emulation, version 0.4
[    38.862] (II) AMDGPU(0): glamor X acceleration enabled on AMD RENOIR (DRM 
3.37.0, 6.9, LLVM 10.0.1)
[    38.863] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[    38.863] (==) AMDGPU(0): TearFree property default: auto
[    38.863] (==) AMDGPU(0): VariableRefresh: disabled
[    38.863] (II) AMDGPU(0): KMS Pageflipping: enabled
[    38.864] (II) AMDGPU(0): Output eDP has no monitor section
[    38.864] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[    38.864] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[    38.865] (II) AMDGPU(0): Output DisplayPort-1 has no monitor section
[    38.871] (II) AMDGPU(0): EDID for output eDP
[    38.871] (II) AMDGPU(0): Manufacturer: AUO  Model: 573d  Serial#: 0
[    38.871] (II) AMDGPU(0): Year: 2018  Week: 0
[    38.871] (II) AMDGPU(0): EDID Version: 1.4
[    38.871] (II) AMDGPU(0): Digital Display Input
[    38.871] (II) AMDGPU(0): 8 bits per channel
[    38.871] (II) AMDGPU(0): Digital interface is DisplayPort
[    38.871] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 31  vert.: 17
[    38.871] (II) AMDGPU(0): Gamma: 2.20
[    38.871] (II) AMDGPU(0): No DPMS capabilities specified
[    38.871] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4
[    38.871] (II) AMDGPU(0): First detailed timing is preferred mode
[    38.871] (II) AMDGPU(0): Preferred mode is native pixel format and refresh 
rate
[    38.871] (II) AMDGPU(0): redX: 0.645 redY: 0.330   greenX: 0.301 greenY: 
0.604
[    38.871] (II) AMDGPU(0): blueX: 0.154 blueY: 0.055   whiteX: 0.313 whiteY: 
0.329
[    38.871] (II) AMDGPU(0): Manufacturer's mask: 0
[    38.871] (II) AMDGPU(0): Supported detailed timing:
[    38.872] (II) AMDGPU(0): clock: 142.6 MHz   Image Size:  309 x 174 mm
[    38.872] (II) AMDGPU(0): h_active: 1920  h_sync: 1936  h_sync_end 1952 
h_blank_end 2080 h_border: 0
[    38.872] (II) AMDGPU(0): v_active: 1080  v_sync: 1083  v_sync_end 1088 
v_blanking: 1142 v_border: 0
[    38.872] (II) AMDGPU(0): Unknown vendor-specific block f
[    38.872] (II) AMDGPU(0):  AUO
[    38.872] (II) AMDGPU(0):  B140HAN05.7
[    38.872] (II) AMDGPU(0): EDID (in hex):
[    38.872] (II) AMDGPU(0):    00ffffffffffff0006af3d5700000000
[    38.872] (II) AMDGPU(0):    001c0104a51f1178022285a5544d9a27
[    38.872] (II) AMDGPU(0):    0e505400000001010101010101010101
[    38.872] (II) AMDGPU(0):    010101010101b43780a070383e401010
[    38.872] (II) AMDGPU(0):    350035ae100000180000000f00000000
[    38.872] (II) AMDGPU(0):    00000000000000000020000000fe0041
[    38.872] (II) AMDGPU(0):    554f0a202020202020202020000000fe
[    38.872] (II) AMDGPU(0):    004231343048414e30352e37200a0070
[    38.872] (II) AMDGPU(0): Printing probed modes for output eDP
[    38.872] (II) AMDGPU(0): Modeline "1920x1080"x60.0  142.60  1920 1936 1952 
2080  1080 1083 1088 1142 -hsync -vsync (68.6 kHz eP)
[    38.872] (II) AMDGPU(0): Modeline "1680x1050"x60.0  142.60  1680 1936 1952 
2080  1050 1083 1088 1142 -hsync -vsync (68.6 kHz e)
[    38.872] (II) AMDGPU(0): Modeline "1280x1024"x60.0  142.60  1280 1936 1952 
2080  1024 1083 1088 1142 -hsync -vsync (68.6 kHz e)
[    38.872] (II) AMDGPU(0): Modeline "1440x900"x60.0  142.60  1440 1936 1952 
2080  900 1083 1088 1142 -hsync -vsync (68.6 kHz e)
[    38.872] (II) AMDGPU(0): Modeline "1280x800"x60.0  142.60  1280 1936 1952 
2080  800 1083 1088 1142 -hsync -vsync (68.6 kHz e)
[    38.872] (II) AMDGPU(0): Modeline "1280x720"x60.0  142.60  1280 1936 1952 
2080  720 1083 1088 1142 -hsync -vsync (68.6 kHz e)
[    38.872] (II) AMDGPU(0): Modeline "1024x768"x60.0  142.60  1024 1936 1952 
2080  768 1083 1088 1142 -hsync -vsync (68.6 kHz e)
[    38.872] (II) AMDGPU(0): Modeline "800x600"x60.0  142.60  800 1936 1952 
2080  600 1083 1088 1142 -hsync -vsync (68.6 kHz e)
[    38.872] (II) AMDGPU(0): Modeline "640x480"x60.0  142.60  640 1936 1952 
2080  480 1083 1088 1142 -hsync -vsync (68.6 kHz e)
[    38.872] (II) AMDGPU(0): EDID for output HDMI-A-0
[    38.872] (II) AMDGPU(0): EDID for output DisplayPort-0
[    38.872] (II) AMDGPU(0): EDID for output DisplayPort-1
[    38.872] (II) AMDGPU(0): Output eDP connected
[    38.872] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[    38.872] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[    38.872] (II) AMDGPU(0): Output DisplayPort-1 disconnected
[    38.872] (II) AMDGPU(0): Using exact sizes for initial modes
[    38.872] (II) AMDGPU(0): Output eDP using initial mode 1920x1080 +0+0
[    38.872] (II) AMDGPU(0): mem size init: gart size :bfb81000 vram size: 
s:1e388000 visible:1e388000
[    38.872] (==) AMDGPU(0): DPI set to (96, 96)
[    38.872] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    38.872] (II) Loading sub module "ramdac"
[    38.872] (II) LoadModule: "ramdac"
[    38.872] (II) Module "ramdac" already built-in
[    38.873] (II) UnloadModule: "modesetting"
[    38.873] (II) Unloading modesetting
[    38.874] (II) AMDGPU(0): [DRI2] Setup complete
[    38.874] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[    38.874] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[    39.145] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
[    39.147] (II) AMDGPU(0): SYNC extension fences enabled
[    39.148] (II) AMDGPU(0): Present extension enabled
[    39.149] (==) AMDGPU(0): DRI3 enabled
[    39.149] (==) AMDGPU(0): Backing store enabled
[    39.149] (II) AMDGPU(0): Direct rendering enabled
[    39.272] (II) AMDGPU(0): Use GLAMOR acceleration.
[    39.272] (II) AMDGPU(0): Acceleration enabled
[    39.272] (==) AMDGPU(0): DPMS enabled
[    39.272] (==) AMDGPU(0): Silken mouse enabled
[    39.273] (II) AMDGPU(0): Set up textured video (glamor)
[    39.286] (II) Initializing extension Generic Event Extension
[    39.287] (II) Initializing extension SHAPE
[    39.288] (II) Initializing extension MIT-SHM
[    39.289] (II) Initializing extension XInputExtension
[    39.291] (II) Initializing extension XTEST
[    39.292] (II) Initializing extension BIG-REQUESTS
[    39.292] (II) Initializing extension SYNC
[    39.293] (II) Initializing extension XKEYBOARD
[    39.294] (II) Initializing extension XC-MISC
[    39.295] (II) Initializing extension SECURITY
[    39.296] (II) Initializing extension XFIXES
[    39.297] (II) Initializing extension RENDER
[    39.299] (II) Initializing extension RANDR
[    39.302] (II) Initializing extension COMPOSITE
[    39.304] (II) Initializing extension DAMAGE
[    39.305] (II) Initializing extension MIT-SCREEN-SAVER
[    39.306] (II) Initializing extension DOUBLE-BUFFER
[    39.307] (II) Initializing extension RECORD
[    39.307] (II) Initializing extension DPMS
[    39.308] (II) Initializing extension Present
[    39.308] (II) Initializing extension DRI3
[    39.309] (II) Initializing extension X-Resource
[    39.309] (II) Initializing extension XVideo
[    39.310] (II) Initializing extension XVideo-MotionCompensation
[    39.310] (II) Initializing extension GLX
[    39.319] (II) AIGLX: Loaded and initialized radeonsi
[    39.319] (II) GLX: Initialized DRI2 GL provider for screen 0
[    39.319] (II) Initializing extension XFree86-VidModeExtension
[    39.319] (II) Initializing extension XFree86-DGA
[    39.320] (II) Initializing extension XFree86-DRI
[    39.321] (II) Initializing extension DRI2
[    39.328] (II) AMDGPU(0): Setting screen physical size to 508 x 285
[    39.545] (II) config/wscons: checking input device /dev/wskbd
[    39.545] (II) wskbd: using layout fr
[    39.546] (II) LoadModule: "kbd"
[    39.547] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[    39.548] (II) Module kbd: vendor="X.Org Foundation"
[    39.548]    compiled for 1.20.10, module version = 1.9.0
[    39.548]    Module class: X.Org XInput Driver
[    39.548]    ABI class: X.Org XInput driver, version 24.1
[    39.548] (II) Using input driver 'kbd' for '/dev/wskbd'
[    39.548] (**) /dev/wskbd: always reports core events
[    39.548] (**) /dev/wskbd: always reports core events
[    39.548] (**) Option "Protocol" "standard"
[    39.548] (**) Option "XkbRules" "base"
[    39.548] (**) Option "XkbModel" "pc105"
[    39.548] (**) Option "XkbLayout" "fr"
[    39.548] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: 
KEYBOARD, id 6)
[    40.095] (II) config/wscons: checking input device /dev/wsmouse0
[    40.095] (II) LoadModule: "ws"
[    40.097] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[    40.099] (II) Module ws: vendor="X.Org Foundation"
[    40.099]    compiled for 1.20.10, module version = 1.3.0
[    40.099]    Module class: X.Org XInput Driver
[    40.099]    ABI class: X.Org XInput driver, version 24.1
[    40.099] (II) Using input driver 'ws' for '/dev/wsmouse0'
[    40.099] (**) /dev/wsmouse0: always reports core events
[    40.099] (II) ws: /dev/wsmouse0: debuglevel 0
[    40.099] (**) Option "Device" "/dev/wsmouse0"
[    40.099] (**) ws: /dev/wsmouse0: ZAxisMapping: buttons 4 and 5
[    40.099] (**) ws: /dev/wsmouse0: WAxisMapping: buttons 6 and 7
[    40.099] (**) ws: /dev/wsmouse0: associated screen: 0
[    40.615] (II) ws: /dev/wsmouse0: minimum x position: 0
[    40.616] (II) ws: /dev/wsmouse0: maximum x position: 1919
[    40.616] (II) ws: /dev/wsmouse0: minimum y position: 0
[    40.617] (II) ws: /dev/wsmouse0: maximum y position: 1079
[    40.617] (==) ws: /dev/wsmouse0: Buttons: 7
[    40.622] (**) ws: /dev/wsmouse0: YAxisMapping: buttons 4 and 5
[    40.623] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: 
MOUSE, id 7)
[    41.148] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
[    41.148] (**) /dev/wsmouse0: (accel) acceleration profile 0
[    41.148] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
[    41.148] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
[    41.149] (II) config/wscons: checking input device /dev/wsmouse
[    41.149] (II) Using input driver 'ws' for '/dev/wsmouse'
[    41.149] (**) /dev/wsmouse: always reports core events
[    41.149] (II) ws: /dev/wsmouse: debuglevel 0
[    41.149] (**) Option "Device" "/dev/wsmouse"
[    41.149] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[    41.149] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[    41.149] (**) ws: /dev/wsmouse: associated screen: 0
[    41.149] (II) ws: /dev/wsmouse: minimum x position: 0
[    41.149] (II) ws: /dev/wsmouse: maximum x position: 1919
[    41.149] (II) ws: /dev/wsmouse: minimum y position: 0
[    41.149] (II) ws: /dev/wsmouse: maximum y position: 1079
[    41.149] (==) ws: /dev/wsmouse: Buttons: 7
[    41.149] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[    41.149] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: 
MOUSE, id 8)
[    41.149] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[    41.149] (**) /dev/wsmouse: (accel) acceleration profile 0
[    41.149] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[    41.150] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[    46.575] (II) AMDGPU(0): EDID vendor "AUO", prod id 22333
[    46.575] (II) AMDGPU(0): Printing DDC gathered Modelines:
[    46.575] (II) AMDGPU(0): Modeline "1920x1080"x0.0  142.60  1920 1936 1952 
2080  1080 1083 1088 1142 -hsync -vsync (68.6 kHz eP)
[ 21324.464] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 56534.557] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 56534.584] (II) AMDGPU(0): EDID vendor "AUO", prod id 22333
[ 56534.584] (II) AMDGPU(0): Printing DDC gathered Modelines:
[ 56534.584] (II) AMDGPU(0): Modeline "1920x1080"x0.0  142.60  1920 1936 1952 
2080  1080 1083 1088 1142 -hsync -vsync (68.6 kHz eP)
[ 80613.731] (EE) Segmentation fault at address 0xf19f88d1000
[ 80613.731] (EE)
Fatal server error:
[ 80613.731] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 80613.731] (EE)
[ 80613.731] (EE)
Please consult the The X.Org Foundation support
        at
http://wiki.x.org
for help.
[ 80613.731] (EE) Please also check the log file at "/var/log/Xorg.0.log" for 
additional information.
[ 80613.731] (EE)
[ 80613.731] (EE) ws: /dev/wsmouse0: unknown command 4
[ 80613.731] (EE) ws: /dev/wsmouse: unknown command 4
[ 80613.836] (II) AIGLX: Suspending AIGLX clients for VT switch

Reply via email to