WARNING: CPU: 3 PID: 4533 at drivers/gpu/drm/nouveau/nouveau_bo.c:137 nouveau_bo_del_ttm+0x6e/0x80

From: Marc Burkhardt
Date: Tue Aug 15 2017 - 12:06:13 EST



Hi all,

got this today after resuming from suspend. Hopefully, someone is interested in it. I might have caused my E21 desktop to freeze so I had to reboot.

Aug 15 17:28:40 local kernel: ------------[ cut here ]------------
Aug 15 17:28:40 local kernel: WARNING: CPU: 3 PID: 4533 at drivers/gpu/drm/nouveau/nouveau_bo.c:137 nouveau_bo_del_ttm+0x6e/0x80
Aug 15 17:28:40 local kernel: Modules linked in: nf_tables nfnetlink fuse tun xt_multiport ctr ccm nf_log_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 ipt_REJECT nf_reject_ipv4 nf_log_ipv6 nf_log_common nf_conntrack_ipv6 nf_defrag_ipv6 ip6t_REJECT nf_reject_ipv6 xt_LOG xt_tcpudp xt_conntrack nf_conntrack af_packet algif_skci
pher af_alg btusb btintel bluetooth ecdh_generic usbhid ip6table_filter ip6_tables iptable_filter ip_tables x_tables msr ipv6 iwlmvm snd_hda_codec_hdmi cpufreq_ondemand mac80211 cpufreq_userspace snd_hda_codec_realtek snd_hda_codec_generic bbswitch(O) snd_hda_intel snd_hda_codec x86_pkg_temp_thermal snd_hwdep coretemp
iwlwifi crc32_pclmul snd_hda_core xhci_pci vboxpci(O) crc32c_intel snd_pcm xhci_hcd vboxnetadp(O) vboxnetflt(O) aesni_intel snd_timer thinkpad_acpi usbcore vboxdrv(O) snd usb_common crypto_simd
Aug 15 17:28:40 local kernel: i2c_i801 cfg80211 soundcore intel_pch_thermal rfkill thermal tpm_tis ac evdev battery tpm_tis_core tpm button
Aug 15 17:28:40 local kernel: CPU: 3 PID: 4533 Comm: X Tainted: G O 4.12.7local64 #1
Aug 15 17:28:40 local kernel: Hardware name: LENOVO 20EN0006GE/20EN0006GE, BIOS N1EET62W (1.35 ) 11/10/2016
Aug 15 17:28:40 local kernel: task: ffff880686a86280 task.stack: ffffc900005c0000
Aug 15 17:28:40 local kernel: RIP: 0010:nouveau_bo_del_ttm+0x6e/0x80
Aug 15 17:28:40 local kernel: RSP: 0018:ffffc900005c3c28 EFLAGS: 00210202
Aug 15 17:28:40 local kernel: RAX: 0000000000000001 RBX: ffff880682a96000 RCX: ffffea000031d2df
Aug 15 17:28:40 local kernel: RDX: 0000000000000063 RSI: ffff8806817cf000 RDI: ffff880682a96000
Aug 15 17:28:40 local kernel: RBP: ffffc900005c3c38 R08: 0000000000000001 R09: 0000000000200246
Aug 15 17:28:40 local kernel: R10: ffff880558f1e158 R11: ffff8805f08546e8 R12: ffff880687254800
Aug 15 17:28:40 local kernel: R13: ffff880687d660a0 R14: ffff8806817cf000 R15: ffff8806877081e0
Aug 15 17:28:40 local kernel: FS: 0000000000000000(0000) GS:ffff8806a3cc0000(0063) knlGS:00000000f6bf1ac0
Aug 15 17:28:40 local kernel: CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
Aug 15 17:28:40 local kernel: CR2: 000000000837bb80 CR3: 000000067984e000 CR4: 00000000003406e0
Aug 15 17:28:40 local kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 15 17:28:40 local kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Aug 15 17:28:40 local kernel: Call Trace:
Aug 15 17:28:40 local kernel: ttm_bo_release_list+0xc3/0x190
Aug 15 17:28:40 local kernel: ttm_bo_unref+0x19b/0x1f0
Aug 15 17:28:40 local kernel: nouveau_gem_object_del+0x88/0xc0
Aug 15 17:28:40 local kernel: drm_gem_object_free+0x1f/0x40
Aug 15 17:28:40 local kernel: drm_gem_object_put_unlocked+0x3f/0x70
Aug 15 17:28:40 local kernel: drm_gem_object_handle_put_unlocked+0x66/0xa0
Aug 15 17:28:40 local kernel: drm_gem_object_release_handle+0x53/0x90
Aug 15 17:28:40 local kernel: drm_gem_handle_delete+0x5e/0x90
Aug 15 17:28:40 local kernel: drm_gem_close_ioctl+0x20/0x30
Aug 15 17:28:40 local kernel: drm_ioctl+0x216/0x4c0
Aug 15 17:28:40 local kernel: ? drm_gem_handle_create+0x40/0x40
Aug 15 17:28:40 local kernel: ? __dentry_kill+0x114/0x160
Aug 15 17:28:40 local kernel: ? mntput_no_expire+0x2c/0x1b0
Aug 15 17:28:40 local kernel: ? mntput+0x24/0x40
Aug 15 17:28:40 local kernel: ? __fput+0x135/0x1e0
Aug 15 17:28:40 local kernel: drm_compat_ioctl+0x33/0x40
Aug 15 17:28:40 local kernel: nouveau_compat_ioctl+0x1d/0x20
Aug 15 17:28:40 local kernel: compat_SyS_ioctl+0x9e/0x1410
Aug 15 17:28:40 local kernel: ? vtime_user_exit+0x20/0x60
Aug 15 17:28:40 local kernel: do_fast_syscall_32+0xa3/0x200
Aug 15 17:28:40 local kernel: entry_SYSENTER_compat+0x4c/0x5b
Aug 15 17:28:40 local kernel: RIP: 0023:0xf7729b09
Aug 15 17:28:40 local kernel: RSP: 002b:00000000ffb4f818 EFLAGS: 00200296 ORIG_RAX: 0000000000000036
Aug 15 17:28:40 local kernel: RAX: ffffffffffffffda RBX: 000000000000000d RCX: 0000000040086409
Aug 15 17:28:40 local kernel: RDX: 00000000ffb4f884 RSI: 000000000839cbc8 RDI: 0000000040086409
Aug 15 17:28:40 local kernel: RBP: 000000000000000d R08: 0000000000000000 R09: 0000000000000000
Aug 15 17:28:40 local kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
Aug 15 17:28:40 local kernel: R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Aug 15 17:28:40 local kernel: Code: 29 c1 ca ff 5b 41 5c 5d c3 48 89 f9 48 c7 c2 98 9b a7 81 31 f6 48 c7 c7 ff 88 a4 81 e8 ec bc f2 ff 8b 83 20 04 00 00 85 c0 7e c0 <0f> ff eb bc 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44
Aug 15 17:28:40 local kernel: ---[ end trace d56b026218d16ff2 ]---

Any info on how to debug this? I use a 32bit userland on a 64bit kernel.

Best regards,
Marc


--
Marc Burkhardt