Bug 54060

Summary: X11 crash, kernel panic, ttm_bo_mem_put
Product: DRI Reporter: Öyvind Saether <oyvinds>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Öyvind Saether 2012-08-25 18:17:59 UTC
my X died and gave me the kernel panic. total scandal. this happened about a minute after returning from suspend to disk, may be related.

Aug 25 20:02:30 [kernel] BUG: unable to handle kernel paging request at ffffea8003185810
Aug 25 20:02:30 [kernel] IP: [<ffffffff813fe293>] ttm_bo_mem_put+0x17/0x30
Aug 25 20:02:30 [kernel] PGD 0
Aug 25 20:02:30 [kernel] Oops: 0000 [#1] PREEMPT SMP
Aug 25 20:02:30 [kernel] CPU 0
Aug 25 20:02:30 [kernel] Modules linked in: fuse nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables ipt_REDIRECT iptable_mangle iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 usblp nfs lockd auth_rpcgss sunrpc rtc_cmos sg usbhid k10temp emu10k1_gp microcode
Aug 25 20:02:30 [kernel] Pid: 6318, comm: X Not tainted 3.5.2-gentoo #1 MICRO-STAR INTERNATIONAL CO.,LTD MS-7576/790GX-G65 (MS-7576)
Aug 25 20:02:30 [kernel] RIP: 0010:[<ffffffff813fe293>]  [<ffffffff813fe293>] ttm_bo_mem_put+0x17/0x30
Aug 25 20:02:30 [kernel] RSP: 0018:ffff8801858fda48  EFLAGS: 00010216
Aug 25 20:02:30 [kernel] RAX: 0000007ffff50000 RBX: ffff880105ae2448 RCX: ffffc90011d00000
Aug 25 20:02:30 [kernel] RDX: ffffea00032357c0 RSI: ffff880105ae24a8 RDI: ffff880105ae2448
Aug 25 20:02:30 [kernel] RBP: ffff8801858fdb58 R08: ffff8801858fdb58 R09: 0000000000000000
Aug 25 20:02:30 [kernel] R10: dead000000100100 R11: 00000000000060de R12: ffff8801858fdb58
Aug 25 20:02:30 [kernel] R13: ffff880043f73400 R14: 0000000000000000 R15: ffff8801858fdb00
Aug 25 20:02:30 [kernel] FS:  00007f63286fe880(0000) GS:ffff88018fc00000(0000) knlGS:00000000f6398840
Aug 25 20:02:30 [kernel] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 25 20:02:30 [kernel] CR2: ffffea8003185810 CR3: 0000000184dc6000 CR4: 00000000000007f0
Aug 25 20:02:30 [kernel] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 25 20:02:30 [kernel] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 25 20:02:30 [kernel] Process X (pid: 6318, threadinfo ffff8801858fc000, task ffff8801877020d0)
Aug 25 20:02:30 [kernel] Stack:
Aug 25 20:02:30 [kernel]  ffff880105ae2448 ffffffff8140100c ffff880187800560 ffff880105ae2448
Aug 25 20:02:30 [kernel]  ffff880187800560 ffff8801858fdb58 0000000000000000 ffffffff813ff691
Aug 25 20:02:30 [kernel]  ffff880187800500 0000000000000001 0000000000000000 01ffffff00000001
Aug 25 20:02:30 [kernel] Call Trace:
Aug 25 20:02:30 [kernel]  [<ffffffff8140100c>] ? ttm_bo_move_ttm+0x30/0x9c
Aug 25 20:02:30 [kernel]  [<ffffffff813ff691>] ? ttm_bo_handle_move_mem+0x1b0/0x313
Aug 25 20:02:30 [kernel]  [<ffffffff81111200>] ? cleanup_group_ids+0x34/0x42
Aug 25 20:02:30 [kernel]  [<ffffffff8140040f>] ? ttm_bo_move_buffer+0xd0/0x100
Aug 25 20:02:30 [kernel]  [<ffffffff813fd9f8>] ? ttm_mem_global_alloc_zone.clone.2+0x113/0x134
Aug 25 20:02:30 [kernel]  [<ffffffff814004e9>] ? ttm_bo_validate+0xaa/0xe8
Aug 25 20:02:30 [kernel]  [<ffffffff81400886>] ? ttm_bo_init+0x35f/0x39b
Aug 25 20:02:30 [kernel]  [<ffffffff8142c202>] ? radeon_bo_create+0x227/0x283
Aug 25 20:02:30 [kernel]  [<ffffffff8142bef6>] ? radeon_bo_clear_va+0xa2/0xa2
Aug 25 20:02:30 [kernel]  [<ffffffff8143a87b>] ? radeon_gem_object_create+0x50/0xdc
Aug 25 20:02:30 [kernel]  [<ffffffff8143ab9e>] ? radeon_gem_create_ioctl+0x49/0xcd
Aug 25 20:02:30 [kernel]  [<ffffffff8143ae51>] ? radeon_gem_wait_idle_ioctl+0x89/0xae
Aug 25 20:02:30 [kernel]  [<ffffffff813e9cd8>] ? drm_ioctl+0x28c/0x342
Aug 25 20:02:30 [kernel]  [<ffffffff8143ab55>] ? radeon_gem_pwrite_ioctl+0x26/0x26
Aug 25 20:02:30 [kernel]  [<ffffffff81345f52>] ? timerqueue_add+0x80/0x9e
Aug 25 20:02:30 [kernel]  [<ffffffff81079e69>] ? __hrtimer_start_range_ns+0x27e/0x291
Aug 25 20:02:30 [kernel]  [<ffffffff81345ebf>] ? timerqueue_del+0x56/0x69
Aug 25 20:02:30 [kernel]  [<ffffffff811081a1>] ? do_vfs_ioctl+0x404/0x445
Aug 25 20:02:30 [kernel]  [<ffffffff81064dc4>] ? do_setitimer+0x183/0x1af
Aug 25 20:02:30 [kernel]  [<ffffffff8110821e>] ? sys_ioctl+0x3c/0x5e
Aug 25 20:02:30 [kernel]  [<ffffffff817052e2>] ? system_call_fastpath+0x16/0x1b
Aug 25 20:02:30 [kernel] Code: ff 48 83 c4 28 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 90 90 48 83 ec 08 48 83 3e 00 48 8b 57 08 8b 46 24 74 1a 89 c0 48 c1 e0 07 <48> 8b 4c 02 50 48 8d 7c 02 28 48 8b 41 18 48 83 c4 08 ff e0 48
Aug 25 20:02:30 [kernel] RIP  [<ffffffff813fe293>] ttm_bo_mem_put+0x17/0x30
Aug 25 20:02:30 [kernel]  RSP <ffff8801858fda48>
Aug 25 20:02:30 [kernel] CR2: ffffea8003185810
Aug 25 20:02:30 [kernel] ---[ end trace d05b58f1f6bf64a3 ]---
Aug 25 20:05:22 [kernel] SysRq : Emergency Sync
Aug 25 20:05:23 [kernel] Emergency Sync complete

Kernel 3.5.2-gentoo
xf86-video-ati 6.14.6-r1
xorg-server 1.12.3

Please let me know if I can provide additional information.
Comment 2 Öyvind Saether 2018-04-25 19:26:57 UTC
This is probably fixed. And this trace from kernel 3.5.2 is probably irrelevant even if it's not. Close as Resolved Fixed.

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.