Bug 87316 - [radeonsi][bonaire][drm-next-3.19] unable to handle kernel NULL pointer dereference: radeon_fence_signaled
Summary: [radeonsi][bonaire][drm-next-3.19] unable to handle kernel NULL pointer deref...
Status: RESOLVED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-15 05:18 UTC by Shawn Starr
Modified: 2016-02-26 19:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
full kernel boot log (209.37 KB, text/plain)
2014-12-15 05:20 UTC, Shawn Starr
no flags Details

Description Shawn Starr 2014-12-15 05:18:35 UTC
hardware: Dell Precision M6800 (GPU: FirePro M6100)
kernel: drm-next-3.19 from agdf5's linux git repo
mesa: master from 20141213 (10.5-dev)

I was using DRI_PRIME prior, the kernel oops happened while the GPU was powered down awhile later, see full kernel log from boot to failure.

kernel oops dump:

[22485.963089] BUG: unable to handle kernel NULL pointer dereference at 0000000000000d48
[22485.967333] IP: [<ffffffffa015668e>] radeon_fence_signaled+0x3e/0x90 [radeon]
[22485.971403] PGD 0 
[22485.973433] Oops: 0000 [#1] SMP 
[22485.975511] Modules linked in: cpufreq_stats rfcomm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc bnep snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd_hda_controller x86_pkg_temp_thermal coretemp snd_hda_codec kvm_intel kvm arc4 iwlmvm snd_hwdep mac80211 snd_seq i915 uvcvideo iwlwifi snd_seq_device videobuf2_vmalloc videobuf2_core videobuf2_memops v4l2_common crct10dif_pclmul videodev cfg80211 btusb media crc32_pclmul snd_pcm bluetooth vfat fat snd_timer joydev dell_wmi sparse_keymap iTCO_wdt iTCO_vendor_support dell_laptop snd dcdbas ppdev sdhci_pci mei_me crc32c_intel cdc_acm wmi serio_raw pcspkr ie31200_edac mei ghash_clmulni_intel lpc_ich
[22486.010804]  mfd_core rfkill soundcore edac_core i2c_hid i2c_i801 shpchp i2c_designware_platform video i2c_designware_core parport_pc parport dw_dmac dw_dmac_core dell_smo8800 radeon i2c_algo_bit drm_kms_helper ttm drm e1000e sdhci_acpi sdhci mmc_core ptp pps_core
[22486.022517] CPU: 7 PID: 717 Comm: systemd-logind Not tainted 3.18.0+ #1
[22486.026765] Hardware name: Dell Inc. Precision M6800/05NG6V, BIOS A11 11/20/2014
[22486.030890] task: ffff8800c588cb00 ti: ffff880804028000 task.ti: ffff880804028000
[22486.035282] RIP: 0010:[<ffffffffa015668e>]  [<ffffffffa015668e>] radeon_fence_signaled+0x3e/0x90 [radeon]
[22486.041831] RSP: 0018:ffff88080402b878  EFLAGS: 00010246
[22486.045102] RAX: 0000000000000000 RBX: ffff880803e46600 RCX: 000000010040000e
[22486.048791] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[22486.053330] RBP: ffff88080402b898 R08: 0000000063e8df01 R09: 000000010040000e
[22486.057116] R10: ffffffffa01cc22d R11: ffff880763e8df00 R12: 0000000000000000
[22486.061664] R13: 0000000000000d40 R14: 0000000000000000 R15: ffff88080402ba38
[22486.066733] FS:  00007f294be348c0(0000) GS:ffff88082ebc0000(0000) knlGS:0000000000000000
[22486.069989] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[22486.074192] CR2: 0000000000000d48 CR3: 0000000807fa9000 CR4: 00000000001407e0
[22486.077843] Stack:
[22486.080235]  ffff88080402b898 ffff880763e8d580 ffff88079424e880 ffff880802949a20
[22486.084016]  ffff88080402b8c8 ffffffffa01cc2b4 ffff88080402bb18 ffff880802949978
[22486.088606]  ffff88080402bb18 ffff8807a3887f40 ffff88080402b9e8 ffffffffa01cc8a8
[22486.093200] Call Trace:
[22486.094945]  [<ffffffffa01cc2b4>] radeon_sa_bo_try_free+0x64/0x80 [radeon]
[22486.099356]  [<ffffffffa01cc8a8>] radeon_sa_bo_new+0x118/0x490 [radeon]
[22486.102843]  [<ffffffffa01559ab>] ? radeon_fence_activity+0x10b/0x1c0 [radeon]
[22486.107423]  [<ffffffffa0227567>] radeon_ib_get+0x37/0xe0 [radeon]
[22486.110871]  [<ffffffffa02337f3>] radeon_vce_get_destroy_msg+0x43/0x240 [radeon]
[22486.115516]  [<ffffffffa0234833>] radeon_vce_ib_test+0x63/0x100 [radeon]
[22486.119946]  [<ffffffffa02279fa>] radeon_ib_ring_tests+0x5a/0xc0 [radeon]
[22486.123477]  [<ffffffffa013a91d>] radeon_resume_kms+0x9d/0x260 [radeon]
[22486.127830]  [<ffffffffa0138143>] radeon_pmops_runtime_resume+0x73/0xb0 [radeon]
[22486.131779]  [<ffffffff813cef9f>] pci_pm_runtime_resume+0x7f/0xc0
[22486.136004]  [<ffffffff8149d2f9>] vga_switcheroo_runtime_resume+0x39/0x40
[22486.139411]  [<ffffffff8128e200>] ? kernfs_fop_release+0x60/0x60
[22486.142766]  [<ffffffff814ae194>] __rpm_callback+0x34/0x90
[22486.146340]  [<ffffffff814ae216>] rpm_callback+0x26/0xa0
[22486.149156]  [<ffffffff814ae6f4>] rpm_resume+0x464/0x640
[22486.152313]  [<ffffffff8175a836>] ? mutex_lock+0x16/0x40
[22486.154513]  [<ffffffff814af76f>] __pm_runtime_resume+0x4f/0x80
[22486.157761]  [<ffffffffa01622e3>] radeon_dp_detect+0x43/0x290 [radeon]
[22486.161421]  [<ffffffffa00a2171>] status_show+0x41/0x90 [drm]
[22486.164584]  [<ffffffff814a0a00>] dev_attr_show+0x20/0x60
[22486.167656]  [<ffffffff8175a836>] ? mutex_lock+0x16/0x40
[22486.169910]  [<ffffffff8128eec6>] sysfs_kf_seq_show+0xb6/0x150
[22486.172287]  [<ffffffff8128d673>] kernfs_seq_show+0x23/0x30
[22486.175550]  [<ffffffff81237185>] seq_read+0xf5/0x3d0
[22486.178653]  [<ffffffff8128e0a5>] kernfs_fop_read+0xf5/0x160
[22486.181877]  [<ffffffff81211e88>] vfs_read+0x98/0x180
[22486.184017]  [<ffffffff81212a75>] SyS_read+0x55/0xd0
[22486.186276]  [<ffffffff8175cae9>] system_call_fastpath+0x12/0x17
[22486.189533] Code: 48 89 fb 48 83 ec 08 8b 47 68 4c 8b 67 60 48 8b 7f 58 48 89 c2 48 89 c6 48 c1 e0 08 48 c1 e2 04 48 29 d0 4c 8d ac 07 40 0d 00 00 <49> 8b 45 08 49 39 c4 77 19 48 89 df e8 11 e6 36 e1 48 83 c4 08 
[22486.198672] RIP  [<ffffffffa015668e>] radeon_fence_signaled+0x3e/0x90 [radeon]
[22486.202344]  RSP <ffff88080402b878>
[22486.204115] CR2: 0000000000000d48
[22486.211204] ---[ end trace 0f3b8a81fa241e74 ]---
Comment 1 Shawn Starr 2014-12-15 05:20:58 UTC
Created attachment 110843 [details]
full kernel boot log
Comment 2 Shawn Starr 2016-02-26 19:06:22 UTC
Close it, this is old, I haven't tried PRIME in a while to confirm, create new BZ if I can trigger this on new kernel.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.