[radeon] Kernel OOPS - NULL pointer dereference in radeon_fence_ref
Submitted by Ancoron
Assigned to Default DRI bug account
Description
Hardware:
- GPU: Sapphire Ultimate R7 250 (1002:683f, 1x DVI, 1x HDMI, 1x DisplayPort, passive)
- Monitor: Dell 3007-WFP HC (30", 2560x1600 @ 60)
Software:
- Ubuntu 14.04
- Kernel 3.13.0-27-generic
- linux-firmware package version 1.127.2
What happened:
After monitor wakeup, I just got back the picture of the desktop (not the usual locker screen though) but wasn't able to interact with it (no mouse pointer visible, no screen updates). I then switched to a virtual terminal and back again, but that didn't help either. I switched one more time and then got this:
[58854.179892] [drm:si_copy_dma] *ERROR* radeon: moving bo (-35).
[58854.179913] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[58854.179939] IP: [``] radeon_fence_ref+0xd/0x50 [radeon]
[58854.179986] PGD 0
[58854.179993] Oops: 0002 [#1 (closed)] SMP
[58854.180004] Modules linked in: nct6775 hwmon_vid nfsv3 cuse ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4
xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables rpcsec_gss_krb5 nfsv4 binfmt_misc bridge stp llc nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache dm_crypt eeepc_wmi asus_wmi sparse_keymap x86_pkg_temp_thermal snd_hda_codec_hdmi intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm crc32_pclmul snd_page_alloc ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_seq serio_raw snd_seq_device snd_timer snd mei_me mei lpc_ich soundcore mac_hid parport_pc ppdev asus_atk0110 lp parport hid_generic usbhid hid radeon i2c_algo_bit ttm psmouse r8169 drm_kms_helper ahci drm libahci mii wmi video [last unloaded: hwmon_vid]
[58854.180312] CPU: 0 PID: 2943 Comm: Xorg Not tainted 3.13.0-27-generic #50 (closed)-Ubuntu
[58854.180333] Hardware name: ASUS All Series/B85M-G, BIOS 0905 02/20/2014
[58854.180352] task: ffff8807ec3ec7d0 ti: ffff88030bbe0000 task.ti: ffff88030bbe0000
[58854.180374] RIP: 0010:[``] [``] radeon_fence_ref+0xd/0x50 [radeon]
[58854.180427] RSP: 0000:ffff88030bbe1980 EFLAGS: 00013246
[58854.180442] RAX: 0000000000000000 RBX: ffff8807ef0f9048 RCX: 0000000000000000
[58854.180461] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000
[58854.180480] RBP: ffff88030bbe1988 R08: ffff88030bbe1af0 R09: 00000000000008cd
[58854.180500] R10: 0000000000000000 R11: ffff88030bbe165e R12: ffff8807ed21cb78
[58854.180518] R13: ffffffffa0233160 R14: ffff88030bbe1af0 R15: 0000000000000000
[58854.180539] FS: 00007fb4c23b29c0(0000) GS:ffff88081ec00000(0000) knlGS:0000000000000000
[58854.180560] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[58854.180576] CR2: 0000000000000008 CR3: 00000000d8cfb000 CR4: 00000000001407f0
[58854.180595] Stack:
[58854.180602] ffffffffa0122cfe ffff88030bbe19e0 ffffffffa00dcb80 ffff8807ed21c848
[58854.180626] 0000000000000000 0000000000000000 0000000000000000 ffff88030bbe1af0
[58854.180650] ffff8807ef0f9048 0000000000000000 0000000000000000 ffff8807ef0f9048
[58854.180674] Call Trace:
[58854.180707] [``] ? radeon_sync_obj_ref+0xe/0x10 [radeon]
[58854.180741] [``] ttm_bo_move_accel_cleanup+0x80/0x460 [ttm]
[58854.180783] [``] radeon_move_blit.isra.7+0xc2/0x160 [radeon]
[58854.180818] [``] radeon_bo_move+0xaa/0x1e0 [radeon]
[58854.180842] [``] ttm_bo_handle_move_mem+0x265/0x5b0 [ttm]
[58854.180866] [``] ? ttm_bo_mem_space+0x169/0x340 [ttm]
[58854.180888] [``] ttm_bo_move_buffer+0x117/0x130 [ttm]
[58854.180911] [``] ttm_bo_validate+0xc1/0x130 [ttm]
[58854.180946] [``] radeon_bo_fault_reserve_notify+0x94/0xc0 [radeon]
[58854.180973] [``] ttm_bo_vm_fault+0xa2/0x480 [ttm]
[58854.180995] [``] ? __alloc_pages_nodemask+0x187/0xb20
[58854.181016] [``] ? ext4_da_write_end+0xba/0x250
[58854.181048] [``] radeon_ttm_fault+0x4c/0x70 [radeon]
[58854.181069] [``] __do_fault+0x6f/0x530
[58854.181085] [``] handle_mm_fault+0x492/0xf10
[58854.181102] [``] ? generic_file_aio_read+0x598/0x700
[58854.181122] [``] __do_page_fault+0x184/0x560
[58854.181141] [``] ? acct_account_cputime+0x1c/0x20
[58854.181161] [``] ? account_user_time+0x8b/0xa0
[58854.181178] [``] ? vtime_account_user+0x54/0x60
[58854.181196] [``] do_page_fault+0x1a/0x70
[58854.181213] [``] page_fault+0x28/0x30
[58854.181227] Code: dd 74 e1 48 8b 3b 89 c1 44 89 e2 48 c7 c6 68 fb 20 a0 31 c0 e8 75 b9 36 e1 eb c7 0f 1f 00 0f 1f 44 00 00 48 89 f8 ba 01 00 00 00 `` 0f c1 57 08 83 c2 01 83 fa 01 7e 01 c3 80 3d 46 2a 11 00 00
[58854.181323] RIP [``] radeon_fence_ref+0xd/0x50 [radeon]
[58854.181358] RSP ``
[58854.181368] CR2: 0000000000000008
[58854.195031] ---[ end trace 980f97098d4a0f57 ]---