On 2018-05-14 10:44, Michel Dänzer wrote: > On 2018-05-13 11:01 AM, Paul Menzel wrote: >> Dear Linux AMD folks, >> >> >> There is a regression introduced by a commit after Linux 4.17-rc4 >> causing the X.Org X server start to fail with the Radeon module loaded >> on Debian Sid/unstable. The same Linux kernel build works with the >> modesetting driver on the same system (no module *radeon* loaded) and >> with i915 and the modesetting driver on a different system with Debian >> 9.4 (Stretch/stable). >> >>> [   16.263] xf86EnableIOPorts: failed to set IOPL for I/O (Operation >>> not permitted) >>> [�] >>> [   16.765] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x50) >>> [0x5b4e60] >>> [   16.766] (EE) 1: /usr/lib/xorg/Xorg (0x40d000+0x1abd92) >>> [0x5b8d92] >>> [   16.766] (EE) 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) >>> [0xb7f2ad5c] >>> [   16.766] (EE) 3: /lib/i386-linux-gnu/libc.so.6 >>> (0xb78a0000+0x140099) [0xb79e0099] >>> [   16.766] (EE) 4: /usr/lib/i386-linux-gnu/dri/r600_dri.so >>> (0xb62f9000+0x6698fd) [0xb69628fd] > > Crashes in r600_dri.so => most likely a Mesa bug. Can you get a gdb > backtrace of the crash? ``` #0 0xb7f1bd45 in __kernel_vsyscall () #1 0xb78bd5b2 in __libc_signal_restore_set (set=0xbf93883c) at ../sysdeps/unix/sysv/linux/nptl-signals.h:80 #2 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:48 #3 0xb78be9d1 in __GI_abort () at abort.c:79 #4 0x0061bf45 in OsAbort () at ../../../../os/utils.c:1361 #5 0x004ec96c in ddxGiveUp (error=EXIT_ERR_ABORT) at ../../../../../../hw/xfree86/common/xf86Init.c:1011 #6 0x004eca05 in AbortDDX (error=EXIT_ERR_ABORT) at ../../../../../../hw/xfree86/common/xf86Init.c:1055 #7 0x00621c6f in AbortServer () at ../../../../os/log.c:874 #8 0x00622654 in FatalError (f=0x650110 "Caught signal %d (%s). Server aborting\n") at ../../../../os/log.c:1015 #9 0x00618def in OsSigHandler (signo=11, sip=0xbf938b4c, unused=0xbf938bcc) at ../../../../os/osinit.c:154 #10 <signal handler called> #11 __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:144 #12 0xb69518fd in memcpy (__len=48, __src=<optimized out>, __dest=<optimized out>) at /usr/include/i386-linux-gnu/bits/string_fortified.h:34 #13 r600_create_vertex_fetch_shader (ctx=0xf08e40, count=2, elements=0xbf93933c) at ../../../../../src/gallium/drivers/r600/r600_asm.c:2701 #14 0xb67227a8 in util_blitter_create (pipe=<optimized out>) at ../../../../src/gallium/auxiliary/util/u_blitter.c:299 #15 0xb6956ab3 in r600_create_context (screen=0xf07060, priv=0x0, flags=0) at ../../../../../src/gallium/drivers/r600/r600_pipe.c:217 #16 0xb6956e41 in r600_screen_create (ws=0xf05800, config=0xbf939548) at ../../../../../src/gallium/drivers/r600/r600_pipe.c:767 #17 0xb6aa6942 in radeon_drm_winsys_create (fd=<optimized out>, config=<optimized out>, screen_create=<optimized out>) at ../../../../../../src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:835 #18 0xb631ae73 in pipe_r600_create_screen (fd=12, config=0xbf939548) at ../../../../../src/gallium/auxiliary/target-helpers/drm_helper.h:144 #19 0xb67e893e in pipe_loader_create_screen (dev=0xf06780) at ../../../../../src/gallium/auxiliary/pipe-loader/pipe_loader.c:137 #20 0xb66a4ba3 in dri2_init_screen (sPriv=0xf04be0) at ../../../../../src/gallium/state_trackers/dri/dri2.c:2066 #21 0xb669fef8 in driCreateNewScreen2 (scrn=0, fd=11, extensions=0xb7233220, driver_extensions=0xb6ed0100 <galliumdrm_driver_extensions>, driver_configs=0xed5d70, data=0xed5c70) at ../../../../../../src/mesa/drivers/dri/common/dri_util.c:151 #22 0xb7228ef5 in ?? () from /usr/lib/i386-linux-gnu/libgbm.so.1 #23 0xb7229230 in ?? () from /usr/lib/i386-linux-gnu/libgbm.so.1 #24 0xb7226cd8 in gbm_create_device () from /usr/lib/i386-linux-gnu/libgbm.so.1 #25 0xb724ab04 in glamor_egl_init (scrn=0xed21c0, fd=11) at ../../../../../../glamor/glamor_egl.c:764 #26 0xb731efef in ?? () from /usr/lib/xorg/modules/drivers/radeon_drv.so #27 0xb7310b14 in ?? () from /usr/lib/xorg/modules/drivers/radeon_drv.so #28 0x004ee677 in InitOutput (pScreenInfo=<optimized out>, argc=<optimized out>, argv=<optimized out>) at ../../../../../../hw/xfree86/common/xf86Init.c:583 #29 0x004aab81 in dix_main (argc=8, argv=0xbf93a084, envp=0xbf93a0a8) at ../../../../dix/main.c:197 #30 0x0049423a in main (argc=8, argv=0xbf93a084, envp=0xbf93a0a8) at ../../../../dix/stubmain.c:34 ``` Please find the full backtrace attached. Kind regards, Paul -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: xorg-radeon-backtrace.txt URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180515/35875849/attachment-0001.txt>