Bug 36715

Summary: Occasional Oops in 2.6.39-rc5: *ERROR* Failed to parse relocation -35!
Product: DRI Reporter: Shawn Nock <nock>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg from system none

Description Shawn Nock 2011-04-30 08:50:45 UTC
Created attachment 46194 [details]
dmesg from system

Apr 28 07:37:00 netbook kernel: [  919.788941] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
Apr 28 07:37:00 netbook kernel: [  919.789067] BUG: unable to handle kernel NULL pointer dereference at   (null)
Apr 28 07:37:00 netbook kernel: [  919.789280] IP: [<c05d3ff4>] rb_erase+0xed/0x1ff
Apr 28 07:37:00 netbook kernel: [  919.789418] *pde = 65659067 
Apr 28 07:37:00 netbook kernel: [  919.789500] Oops: 0000 [#1] SMP 
Apr 28 07:37:00 netbook kernel: [  919.789595] last sysfs file: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT1/energy_full
Apr 28 07:37:00 netbook kernel: [  919.789820] Modules linked in: tun cpufreq_ondemand powernow_k8 mperf ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables ipv6 uinput arc4 ecb rtl8192ce rtl8192c_common rtlwifi snd_hda_codec_conexant snd_hda_codec_hdmi snd_hda_intel mac80211 snd_hda_codec snd_hwdep snd_seq snd_seq_device uvcvideo snd_pcm btusb microcode cfg80211 videodev bluetooth snd_timer video snd r8169 rfkill joydev i2c_piix4 soundcore pcspkr k10temp serio_raw mii snd_page_alloc radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core usb_storage [last unloaded: scsi_wait_scan]
Apr 28 07:37:00 netbook kernel: [  919.790031] 
Apr 28 07:37:00 netbook kernel: [  919.790031] Pid: 1274, comm: Xorg Not tainted 2.6.39-rc5 #1 LENOVO 05962PU/05962PU
Apr 28 07:37:00 netbook kernel: [  919.790031] EIP: 0060:[<c05d3ff4>] EFLAGS: 00013246 CPU: 0
Apr 28 07:37:00 netbook kernel: [  919.790031] EIP is at rb_erase+0xed/0x1ff
Apr 28 07:37:00 netbook kernel: [  919.790031] EAX: 00000000 EBX: f1cb58e4 ECX: f45e76e4 EDX: 00000000
Apr 28 07:37:00 netbook kernel: [  919.790031] ESI: f455e6d4 EDI: f45e76e4 EBP: f26a5d74 ESP: f26a5d5c
Apr 28 07:37:00 netbook kernel: [  919.790031]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Apr 28 07:37:00 netbook kernel: [  919.790031] Process Xorg (pid: 1274, ti=f26a4000 task=f4598000 task.ti=f26a4000)
Apr 28 07:37:00 netbook kernel: [  919.790031] Stack:
Apr 28 07:37:00 netbook kernel: [  919.790031]  f1cb58e4 00000001 f1cb58e4 f45e702c f455e43c f45e7050 f26a5da0 f7b28166
Apr 28 07:37:00 netbook kernel: [  919.790031]  f26a5d84 c042c62b 000a5d8c 00003246 f455e4f0 c042cf9e f45e7050 f7b2812b
Apr 28 07:37:00 netbook kernel: [  919.790031]  f402b0a4 f26a5db0 c05d2287 f455e44c f45e702c f26a5dc0 f7b2789f f26a5ddc
Apr 28 07:37:00 netbook kernel: [  919.790031] Call Trace:
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7b28166>] ttm_bo_release+0x3b/0x191 [ttm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c042c62b>] ? should_resched+0xd/0x28
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c042cf9e>] ? __might_sleep+0x29/0xe4
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7b2812b>] ? ttm_bo_delayed_workqueue+0x2b/0x2b [ttm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c05d2287>] kref_put+0x39/0x42
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7b2789f>] ttm_bo_unref+0x2c/0x37 [ttm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7e596d5>] radeon_bo_unref+0x36/0x4e [radeon]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7a4a6ce>] ? drm_gem_object_ref_bug+0xa/0xa [drm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7e67f39>] radeon_gem_object_free+0x1f/0x21 [radeon]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7a4a6f3>] drm_gem_object_free+0x25/0x27 [drm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c05d2287>] kref_put+0x39/0x42
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7a4a623>] drm_gem_object_unreference_unlocked+0x29/0x34 [drm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7a4a6ae>] drm_gem_object_handle_unreference_unlocked+0x2f/0x32 [drm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7a4a787>] drm_gem_handle_delete+0x4c/0x54 [drm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7a4a9c3>] drm_gem_close_ioctl+0x26/0x29 [drm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7a4948e>] drm_ioctl+0x2d9/0x3b8 [drm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7a4a99d>] ? drm_gem_destroy+0x36/0x36 [drm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c05d2719>] ? prio_tree_remove+0x93/0xa0
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c05a2b12>] ? file_has_perm+0xa3/0xbc
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<f7a491b5>] ? drm_version+0x8b/0x8b [drm]
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c04f6281>] do_vfs_ioctl+0x4a1/0x4d7
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c05a3976>] ? selinux_file_ioctl+0xaf/0xb3
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c04f62ff>] sys_ioctl+0x48/0x69
Apr 28 07:37:00 netbook kernel: [  919.790031]  [<c07e789f>] sysenter_do_call+0x12/0x28
Apr 28 07:37:00 netbook kernel: [  919.790031] Code: 08 75 05 89 51 08 eb 07 89 51 04 eb 02 89 16 83 7d ec 01 0f 85 1c 01 00 00 8b 5d e8 e9 fc 00 00 00 8b 43 08 39 d0 75 74 8b 43 04 <8b> 10 f6 c2 01 75 14 83 ca 01 89 10 83 23 fe 89 d8 89 f2 e8 94 
Apr 28 07:37:00 netbook kernel: [  919.790031] EIP: [<c05d3ff4>] rb_erase+0xed/0x1ff SS:ESP 0068:f26a5d5c
Apr 28 07:37:00 netbook kernel: [  919.790031] CR2: 0000000000000000
Apr 28 07:37:00 netbook kernel: [  919.874339] ---[ end trace 7cf4f38b2b275118 ]---
Comment 1 Alex Deucher 2011-04-30 09:26:27 UTC
If you are using r600c for 3D, can you try r600g?
Comment 2 Shawn Nock 2011-05-01 11:45:58 UTC
I am not currently using any dri driver for 3d ( I am only really interested in 2d ). If you think it would help I could compile it, but r600c wouldn't be causing this bug.  Please advise.
Comment 3 Jerome Glisse 2012-02-22 10:11:08 UTC
Reopen if it's still an issue with kernel 3.2 or newer.

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.