Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7789709rdb; Thu, 4 Jan 2024 07:48:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8vzNRj90vgqxrX+Rnl58ty2ljNyrsy4d20CAZkBKnggv/a3rcqlrZqE9z6PNbzC+jwqYn X-Received: by 2002:ac8:5cd0:0:b0:428:5345:f843 with SMTP id s16-20020ac85cd0000000b004285345f843mr648027qta.122.1704383320573; Thu, 04 Jan 2024 07:48:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704383320; cv=none; d=google.com; s=arc-20160816; b=yrqHm+snrePGT3AunMxSkq5qPihI72P428zW70JjUid0OVY7rT04D27Cppw8WLU8q6 on9AJpUrzBxTA3tSCyThf8K/otYwvp5pclNSAhutF3DsAOJzWqRDKVxpuTR8ozaKGQRU mC6OTrf5KnTKChho7XNgqQ85oXBQLbvjkD7/rgDeXlaV1g1gUNd+KyhBI8hzZBMA77aY Cv5zJEnn2O5V/m0r5zz0/lNHHYlw/+aBvwK5YQS0XrEGMrft0ZAawJL85CWvHM+6v5GI 7z+VN6pPwgF9pVZDO4Xk9cKBOOBT752LqCS6crPskhqKsvfkCcy/bHpANM35nRXuOFU/ D1cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=o5Pq5cWZCY2ON9+/CfeBIAdf7NK4veFSjSHgGusyErM=; fh=4w/T4U6boL8X70x4gse8Z8RSNrG1pi5mwJUebVW0xZU=; b=eEPezuwjd8Kj7/ySbb1qn13yXWefZNahZXDrb8+odZz/ba540pTFJ9gRjd5jZTOjrz eaLBtEmVfCTsFbIy81Zy0R7WwobojWFkkSbgkvU2v/HbHZFWWLimgy7V8ibuN7TvSlWd Qtb4x5X1De9So0OHCPtIhGWDqUPWZnQAeduf+JWCU1t6i5rbY6oEj5e0HUXWQFJq8pD+ 8DEgnsYzmZTdm3MUljJ/z4OVWMB/WGjen6yp8QWe5zDaT1CD7kVQQKayYZYaoRmTNupt 4cWLfWjVH2JUFlr4rKZ2h8NT5BQclIqpEsi8o7b9wl98mO3dERqdGMfltp5ZKSgcpc6y h0qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@schinagl.nl header.s=7of9 header.b=Q0Var9jA; spf=pass (google.com: domain of linux-kernel+bounces-16880-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16880-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=schinagl.nl Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d17-20020a05622a05d100b004277e98868fsi32063925qtb.210.2024.01.04.07.48.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 07:48:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16880-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@schinagl.nl header.s=7of9 header.b=Q0Var9jA; spf=pass (google.com: domain of linux-kernel+bounces-16880-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16880-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=schinagl.nl Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 454141C222C1 for ; Thu, 4 Jan 2024 15:48:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D6C824211; Thu, 4 Jan 2024 15:48:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=schinagl.nl header.i=@schinagl.nl header.b="Q0Var9jA" X-Original-To: linux-kernel@vger.kernel.org Received: from 7of9.schinagl.nl (7of9.schinagl.nl [185.238.129.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 347EC1DA27 for ; Thu, 4 Jan 2024 15:48:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=schinagl.nl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=schinagl.nl Received: from [10.2.12.77] (unknown [10.2.12.77]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by 7of9.schinagl.nl (Postfix) with ESMTPSA id E141819777FB; Thu, 4 Jan 2024 16:38:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=schinagl.nl; s=7of9; t=1704382710; bh=NJ2TA4y7xIsqDch3LKvHidbRwTTDdSaY3nbJCbL35+4=; h=Date:To:Cc:From:Subject; b=Q0Var9jABWi+CFtF+R+lObCvDM6Hl24zr8Phr3LChaSYeFcX2KIW6EFwtGaSofOxu 85vn1SkO4aAcW0jvDDcpmyDU+rAmlkNbilWrfKRTJ/IDb54f9HrDltOLAEJqvxy1C9 9QnLm6yakmglRg/4h67GC8I5Pjg8Qi2gfTfZMgkg= Message-ID: <0660cc7e-fa24-4dd7-8738-f89c774b05e7@schinagl.nl> Date: Thu, 4 Jan 2024 16:38:29 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: nl To: dri-devel@lists.freedesktop.org, linux-kernel Cc: Christian Koenig , Huang Rui , David Airlie , Daniel Vetter , Sumit Semwal From: Olliver Schinagl Subject: DRM TTM stack trace dump on ancient hardware Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sorry for just dumping this here, but for those that think this is important, just rebooted after a weird btrfs crash (remounted r/o, no dataloss it seems), probably a new kernel, and got duped with the following. Things 'seem' to work fine however. I don't even know how or where to google for this one. My graphics card is I think the R7 250, or some old beast like that, and I also know i'm probably shouldn't be using amdgpu on this oldtimer? Linux 6.6.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 02 Jan 2024 02:28:28 +0000 x86_64 GNU/Linux 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland XT [Radeon HD 8670 / R5 340X OEM / R7 250/350/350X OEM] model name    : AMD FX(tm)-8350 Eight-Core Processor [    0.000000] Command line: BOOT_IMAGE=/arch_root/boot/vmlinuz-linux root=UUID=d rw rootflags=subvol=arch_root radeon.audio=1 radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 LANG=en_US.UTF-8 ivrs_ioapic=9@0000:00:14.0 ivrs_ioapic=10@0000:00:00.2 noibrs noibpb nopti mitigations=off [    0.091847] Kernel command line: BOOT_IMAGE=/arch_root/boot/vmlinuz-linux root=UUID=d rw rootflags=subvol=arch_root radeon.audio=1 radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 LANG=en_US.UTF-8 ivrs_ioapic=9@0000:00:14.0 ivrs_ioapic=10@0000:00:00.2 noibrs noibpb nopti mitigations=off [    1.490484] [drm] radeon kernel modesetting enabled. [    1.490565] radeon 0000:01:00.0: SI support disabled by module param [    4.627771] [drm] amdgpu kernel modesetting enabled. [    4.627955] amdgpu: Virtual CRAT table created for CPU [    4.627967] amdgpu: Topology: Add CPU node [    4.650039] amdgpu 0000:01:00.0: amdgpu: Fetched VBIOS from ROM BAR [    4.650042] amdgpu: ATOM BIOS: 113-C6620600-S01 [    4.650054] kfd kfd: amdgpu: OLAND  not supported in kfd [    4.678004] amdgpu 0000:01:00.0: vgaarb: deactivate vga console [    4.678007] amdgpu 0000:01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported [    4.678010] amdgpu 0000:01:00.0: amdgpu: PCIE atomic ops is not supported [    4.678715] amdgpu 0000:01:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used) [    4.678718] amdgpu 0000:01:00.0: amdgpu: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF [    4.678878] [drm] amdgpu: 2048M of VRAM memory ready [    4.678880] [drm] amdgpu: 11487M of GTT memory ready. [    4.679218] amdgpu 0000:01:00.0: amdgpu: PCIE GART of 1024M enabled (table at 0x000000F400400000). [    4.680506] [drm] amdgpu: dpm initialized [    4.680527] [drm] AMDGPU Display Connectors [    5.209956] amdgpu 0000:01:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 6, active_cu_number 6 [    5.521572] [drm] Initialized amdgpu 3.54.0 20150101 for 0000:01:00.0 on minor 1 [    5.670853] fbcon: amdgpudrmfb (fb0) is primary device [    5.731643] amdgpu 0000:01:00.0: [drm] fb0: amdgpudrmfb frame buffer device But kernel dumps like this are usually not a good thing (tm). [   32.161704] ------------[ cut here ]------------ [   32.161708] WARNING: CPU: 0 PID: 603 at drivers/gpu/drm/ttm/ttm_bo.c:326 ttm_bo_release+0x292/0x2e0 [ttm] [   32.161726] Modules linked in: xt_conntrack xt_MASQUERADE nf_conntrack_netlink iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype iptable_filter br_netfilter bridge rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device overlay 8021q garp mrp stp llc cmac algif_hash algif_skcipher af_alg bnep it87 hwmon_vid edac_mce_amd kvm_amd ccp snd_hda_codec_realtek kvm snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel btusb irqbypass snd_intel_dspcfg btrtl crct10dif_pclmul snd_intel_sdw_acpi btintel crc32_pclmul btbcm polyval_clmulni snd_hda_codec eeepc_wmi btmtk polyval_generic gf128mul asus_wmi bluetooth snd_hda_core ledtrig_audio ghash_clmulni_intel r8169 sparse_keymap sha512_ssse3 snd_hwdep sha1_ssse3 platform_profile snd_pcm i8042 ecdh_generic aesni_intel serio realtek sp5100_tco snd_timer crypto_simd mdio_devres wmi_bmof rfkill cryptd pcspkr acpi_cpufreq k10temp fam15h_power i2c_piix4 snd crc16 soundcore libphy joydev mousedev mac_hid vfat fat sg crypto_user fuse dm_mod loop nfnetlink ip_tables [   32.161780]  x_tables usbhid amdgpu drm_exec amdxcp drm_buddy gpu_sched btrfs radeon blake2b_generic libcrc32c crc32c_generic xor raid6_pq drm_ttm_helper ttm video nvme i2c_algo_bit drm_suballoc_helper crc32c_intel nvme_core sha256_ssse3 drm_display_helper nvme_common xhci_pci cec xhci_pci_renesas wmi uas usb_storage [   32.161800] CPU: 0 PID: 603 Comm: Xorg Not tainted 6.6.9-arch1-1 #1 e215ab44d1af91c0f0e686ff953f296051be417c [   32.161803] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97, BIOS 1605 10/25/2012 [   32.161804] RIP: 0010:ttm_bo_release+0x292/0x2e0 [ttm] [   32.161816] Code: 49 8b b4 24 40 08 00 00 48 83 c4 38 48 8d 53 30 bf 40 01 00 00 5b 5d 41 5c 41 5d 41 5e e9 26 29 68 d1 4c 89 e7 e9 5b fe ff ff <0f> 0b 48 83 7b 20 00 0f 84 a6 fd ff ff 0f 0b e9 9f fd ff ff c7 43 [   32.161818] RSP: 0018:ffffb02cc0cdbc18 EFLAGS: 00010202 [   32.161820] RAX: 0000000000000000 RBX: ffff9291c073fdd0 RCX: 0000000000400033 [   32.161821] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff9291c073fdd0 [   32.161823] RBP: ffff9291c073fc58 R08: 0000000000000000 R09: 0000000000400033 [   32.161824] R10: ffff9291622bb780 R11: 0000000000000000 R12: ffff92914c98eee0 [   32.161825] R13: 0000000000000001 R14: ffff92917835c848 R15: ffff9291c6418788 [   32.161826] FS:  00007f0691a205c0(0000) GS:ffff929627c00000(0000) knlGS:0000000000000000 [   32.161828] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [   32.161829] CR2: 00007f0690d78c2c CR3: 00000002df620000 CR4: 00000000000406f0 [   32.161831] Call Trace: [   32.161832]  [   32.161833]  ? ttm_bo_release+0x292/0x2e0 [ttm d3be1c6b438b7d4abed1793b797fc6e1ac6a8908] [   32.161844]  ? __warn+0x81/0x130 [   32.161849]  ? ttm_bo_release+0x292/0x2e0 [ttm d3be1c6b438b7d4abed1793b797fc6e1ac6a8908] [   32.161861]  ? report_bug+0x171/0x1a0 [   32.161866]  ? handle_bug+0x3c/0x80 [   32.161868]  ? exc_invalid_op+0x17/0x70 [   32.161870]  ? asm_exc_invalid_op+0x1a/0x20 [   32.161875]  ? ttm_bo_release+0x292/0x2e0 [ttm d3be1c6b438b7d4abed1793b797fc6e1ac6a8908] [   32.161887]  amdgpu_bo_unref+0x1e/0x30 [amdgpu 2f3ce605d8443bb7ca6dfe278dd999d24fdac211] [   32.162520]  amdgpu_gem_object_free+0x34/0x60 [amdgpu 2f3ce605d8443bb7ca6dfe278dd999d24fdac211] [   32.162978]  drm_gem_object_release_handle+0x54/0x60 [   32.162984]  ? __pfx_drm_gem_object_release_handle+0x10/0x10 [   32.162987]  idr_for_each+0x71/0xf0 [   32.162991]  drm_gem_release+0x20/0x30 [   32.162995]  drm_file_free+0x1f8/0x270 [   32.162999]  drm_release+0x74/0xf0 [   32.163002]  __fput+0xea/0x290 [   32.163007]  task_work_run+0x5a/0x90 [   32.163011]  do_exit+0x377/0xb20 [   32.163014]  ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [   32.163019]  do_group_exit+0x31/0x80 [   32.163022]  __x64_sys_exit_group+0x18/0x20 [   32.163025]  do_syscall_64+0x5d/0x90 [   32.163029]  ? __count_memcg_events+0x42/0x90 [   32.163033]  ? count_memcg_events.constprop.0+0x1a/0x30 [   32.163037]  ? handle_mm_fault+0xa2/0x360 [   32.163040]  ? do_user_addr_fault+0x30f/0x660 [   32.163043]  ? exc_page_fault+0x7f/0x180 [   32.163045]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8 [   32.163048] RIP: 0033:0x7f069171ce2d [   32.163074] Code: Unable to access opcode bytes at 0x7f069171ce03. [   32.163075] RSP: 002b:00007fff0d3ba328 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 [   32.163077] RAX: ffffffffffffffda RBX: 00007f069181cfa8 RCX: 00007f069171ce2d [   32.163079] RDX: 00000000000000e7 RSI: fffffffffffffd08 RDI: 0000000000000000 [   32.163080] RBP: 0000000000000883 R08: 0000000562be99f3 R09: 0000000000000000 [   32.163081] R10: 0000562be99f3690 R11: 0000000000000202 R12: 0000000000000000 [   32.163082] R13: 0000000000000000 R14: 00007f069181b680 R15: 00007f069181cfc0 [   32.163085]  [   32.163086] ---[ end trace 0000000000000000 ]--- Thanks, Olliver