Felix Miata changed bug 1194373
What Removed Added
Flags needinfo?(mrmazda@earthlink.net)  

Comment # 21 on bug 1194373 from
Created attachment 860348 [details]
.tgz of coredump from host ab560 PID: 758 (Xorg.bin)

Host asa88 (from comment #17):
TDM started up OK/normally (no segfault found)
# lspci -nnk | grep VGA
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Kaveri [Radeon R7 Graphics] [1002:130f]
# journalctl -b | grep amdgpu
Jul 22 13:55:37 asa88 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz
root=LABEL=tvgp07stw noresume ipv6.disable=1 net.ifnames=0 mitigations=auto
consoleblank=0 radeon.cik_support=0 amdgpu.cik_support=1 5
Jul 22 13:55:37 asa88 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz
root=LABEL=tvgp07stw noresume ipv6.disable=1 net.ifnames=0 mitigations=auto
consoleblank=0 radeon.cik_support=0 amdgpu.cik_support=1 5
Jul 22 13:55:37 asa88 dracut-cmdline[228]: Using kernel command line
parameters:  root=UUID=7ad5772b-9718-4302-a051-e598cf51920f rootfstype=ext4
rootflags=rw,noatime   BOOT_IMAGE=/boot/vmlinuz root=LABEL=tvgp07stw noresume
ipv6.disable=1 net.ifnames=0 mitigations=auto consoleblank=0
radeon.cik_support=0 amdgpu.cik_support=1 5
Jul 22 17:55:42 asa88 kernel: [drm] amdgpu kernel modesetting enabled.
Jul 22 17:55:42 asa88 kernel: amdgpu: Topology: Add APU node [0x0:0x0]
Jul 22 17:55:42 asa88 kernel: amdgpu 0000:00:01.0: vgaarb: deactivate vga
console
Jul 22 17:55:42 asa88 kernel: amdgpu 0000:00:01.0: amdgpu: Trusted Memory Zone
(TMZ) feature not supported
Jul 22 17:55:42 asa88 kernel: amdgpu 0000:00:01.0: amdgpu: Fetched VBIOS from
VFCT
Jul 22 17:55:42 asa88 kernel: amdgpu: ATOM BIOS: 113-SPEC-102
Jul 22 17:55:42 asa88 kernel: amdgpu 0000:00:01.0: amdgpu: VRAM: 1024M
0x000000F400000000 - 0x000000F43FFFFFFF (1024M used)
Jul 22 17:55:42 asa88 kernel: amdgpu 0000:00:01.0: amdgpu: GART: 1024M
0x000000FF00000000 - 0x000000FF3FFFFFFF
Jul 22 17:55:42 asa88 kernel: [drm] amdgpu: 1024M of VRAM memory ready
Jul 22 17:55:42 asa88 kernel: [drm] amdgpu: 3072M of GTT memory ready.
Jul 22 17:55:42 asa88 kernel: [drm] amdgpu: dpm initialized
Jul 22 17:55:43 asa88 kernel: kfd kfd: amdgpu: Allocated 3969056 bytes on gart
Jul 22 17:55:43 asa88 kernel: kfd kfd: amdgpu: error getting iommu info. is the
iommu enabled?
Jul 22 17:55:43 asa88 kernel: kfd kfd: amdgpu: Error initializing iommuv2
Jul 22 17:55:43 asa88 kernel: kfd kfd: amdgpu: device 1002:130f NOT added due
to errors
Jul 22 17:55:43 asa88 kernel: amdgpu 0000:00:01.0: amdgpu: SE 1, SH per SE 1,
CU per SH 8, active_cu_number 8
Jul 22 17:55:43 asa88 kernel: [drm] Initialized amdgpu 3.46.0 20150101 for
0000:00:01.0 on minor 0
Jul 22 17:55:43 asa88 kernel: fbcon: amdgpudrmfb (fb0) is primary device
Jul 22 17:55:44 asa88 kernel: amdgpu 0000:00:01.0: [drm] fb0: amdgpudrmfb frame
buffer device
# systemd-analyze
Startup finished in 5.536s (firmware) + 15.218s (loader) + 1.926s (kernel) +
3.109s (initrd) + 7.665s (userspace) = 33.455s 
graphical.target reached after 7.653s in userspace.
#
Those kfd kfd lines suggest something's not right with the GPU configuration.

Comment #6 host ab560 still produces segfault instead of normal TDM startup:
# pinxi -CSG
System:
  Host: ab560 Kernel: 5.18.11-1-default arch: x86_64 bits: 64
    Console: pty pts/1 Distro: openSUSE Tumbleweed 20220719
CPU:
  Info: 6-core model: 11th Gen Intel Core i5-11400 bits: 64 type: MT MCP
    cache: L2: 3 MiB
  Speed (MHz): avg: 800 min/max: 800/4400 cores: 1: 801 2: 801 3: 802
    4: 801 5: 801 6: 801 7: 801 8: 800 9: 800 10: 800 11: 800 12: 801
Graphics:
  Device-1: Intel RocketLake-S GT1 [UHD Graphics 730] driver: i915 v: kernel
  Display: server: X.org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1: 2560x1440 2: 1920x1200
    3: 1920x1080
# systemd-analyze
Startup finished in 12.469s (firmware) + 11.403s (loader) + 1.415s (kernel) +
1.599s (initrd) + 2.938s (userspace) = 29.826s
graphical.target reached after 2.933s in userspace.
# grep /dev/dr Xorg.0.log
[     4.012] (II) xfree86: Adding drm device (/dev/dri/card1)
[     4.056] (II) modeset(0): using drv /dev/dri/card1
[     5.776] (II) config/udev: removing GPU device
/sys/devices/platform/simple-framebuffer.0/drm/card0 /dev/dri/card0
# cat /var/log/tdm.log
Jul 23 01:56:49 tdm_config[757] info: Cannot open master configuration file
/etc/trinity/tdm/tdmdistrc

X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
Current Operating System: Linux ab560 5.18.11-1-default #1 SMP PREEMPT_DYNAMIC
Fri Jul 15 05:36:11 UTC 2022 (4fcb983) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=LABEL=<filter> noresume
ipv6.disable=1 net.ifnames=0 video=1440x900@60 5

Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 23 01:56:49 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x7e) [0x55897ef6bb5e]
(EE) 1: /usr/bin/Xorg.bin (0x55897ed92000+0x1e25e9) [0x55897ef745e9]
(EE) 2: /lib64/libc.so.6 (0x7f7304800000+0x567c0) [0x7f73048567c0]
(EE) 3: /lib64/libc.so.6 (0x7f7304800000+0x1b9300) [0x7f73049b9300]
(EE) 4: /usr/bin/Xorg.bin (0x55897ed92000+0xc7e57) [0x55897ee59e57]
(EE) 5: /usr/bin/Xorg.bin (0x55897ed92000+0xc8e56) [0x55897ee5ae56]
(EE) 6: /usr/bin/Xorg.bin (0x55897ed92000+0xc8f68) [0x55897ee5af68]
(EE) 7: /usr/bin/Xorg.bin (0x55897ed92000+0x1e53e2) [0x55897ef773e2]
(EE) 8: /usr/bin/Xorg.bin (WaitForSomething+0x1c9) [0x55897ef6dd79]
(EE) 9: /usr/bin/Xorg.bin (0x55897ed92000+0x4cdf8) [0x55897eddedf8]
(EE) 10: /lib64/libc.so.6 (0x7f7304800000+0x405b0) [0x7f73048405b0]
(EE) 11: /lib64/libc.so.6 (__libc_start_main+0x8b) [0x7f7304840679]
(EE) 12: /usr/bin/Xorg.bin (_start+0x25) [0x55897eddf945]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
...
(II) AIGLX: Suspending AIGLX clients for VT switch
[tdekbdledsync] Unable to open X11 display!
(EE) Server terminated with error (1). Closing log file.
[2022/07/23 01:56:51.595] [895] ERROR: cannot connect to X server
Jul 23 01:56:51 tdm: :0[894] error: Abnormal termination of greeter for display
:0, code 1, signal 0

On next boot I added drm.debug=0x1e log_buf_len=1M to linu line, intending to
attach dmesg, but that apparently prevents the segfault, and TDM starts
normally.
# systemd-analyze
Startup finished in 15.774s (firmware) + 9.161s (loader) + 1.409s (kernel) +
1.435s (initrd) + 3.379s (userspace) = 31.160s
graphical.target reached after 3.375s in userspace.


You are receiving this mail because: