Bug 56898 - [Regression IVB nv 0de9]I-G-T module_reload fails with call trace
[Regression IVB nv 0de9]I-G-T module_reload fails with call trace
Status: RESOLVED WONTFIX
Product: DRI
Classification: Unclassified
Component: DRM/Intel
unspecified
All Linux (All)
: high major
Assigned To: Daniel Vetter
Intel GFX Bugs mailing list
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-09 02:37 UTC by lu hua
Modified: 2012-11-23 09:25 UTC (History)
6 users (show)

See Also:


Attachments
dmesg (122.05 KB, text/plain)
2012-11-09 02:37 UTC, lu hua
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lu hua 2012-11-09 02:37:23 UTC
Created attachment 69783 [details]
dmesg

System Environment:
--------------------------
Arch:             x86_64
Platform:         Ivybridge(nv 0de9)
Libdrm:	(master)libdrm-2.4.40
Mesa:	(master)4cb8b946d9b404da4f72cdb70d07c2283df3922e
Xserver:(master)xorg-server-1.13.0-135-g011f8458805e443ac9130865d2840a929a00cabf
Xf86_video_intel:(master)2.20.12-30-gcefce9c81585b73db7620e08fcf60c89a8204873
Libva:	(staging)c59c512df262cdc44fb6e9101621f246eda176df
Libva_intel_driver:(staging)3bd6f3b3611dd9a39a3075f82cf938fa08e22884
Kernel:	(drm-intel-nightly) b5a833707960154164cf450647c76547be43a167

Bug detailed description:
-------------------------
On IVB platform with a  NVDIA video card(nv 0de9) ,while running module_reload it shows:
module successfully unloaded
./module_reload: line 42:  4041 Killed                  $SOURCE_DIR/gem_exec_nop > /dev/null

lspci
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0de9] (rev a1)

The last known good commit:ffc170a47b568c28bcad917e03deaf8fee46f4d6(Merge: 6547fef 0a3af26)
The last known bad commit: b5a833707960154164cf450647c76547be43a167(Merge: afef67f 4a8dece)

dmesg:
[ 3392.080180] Pid: 3905, comm: gem_exec_nop Not tainted 3.7.0-rc4_unstable_20121108+ #1 ASUSTeK COMPUTER INC. N46VM/N46VM
[ 3392.080240] RIP: 0010:[<ffffffffa010464f>]  [<ffffffffa010464f>] nouveau_channel_idle+0xb/0x72 [nouveau]
[ 3392.080302] RSP: 0018:ffff8802212ffd58  EFLAGS: 00010282
[ 3392.080332] RAX: ffff880221c0e5d0 RBX: ffff880221c0e5d0 RCX: ffff880221c0e5d0
[ 3392.080370] RDX: 0000000000000005 RSI: ffffffffa013fdfc RDI: 0000000000000000
[ 3392.080408] RBP: ffff880221c0e5c0 R08: 0000000000000003 R09: 0000000000000001
[ 3392.080446] R10: 0000000000000020 R11: 0000000000000200 R12: 0000000000000000
[ 3392.080485] R13: ffff8802212ffdf8 R14: 00000000fffffff4 R15: 0000000000000010
[ 3392.080523] FS:  00007fc4235fb880(0000) GS:ffff88022eec0000(0000) knlGS:0000000000000000
[ 3392.080566] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3392.080598] CR2: 0000000000000000 CR3: 000000021e7b7000 CR4: 00000000001407e0
[ 3392.080635] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 3392.080674] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 3392.080713] Process gem_exec_nop (pid: 3905, threadinfo ffff8802212fe000, task ffff88021d9b1a80)
[ 3392.080759] Stack:
[ 3392.082103]  0000000000000000 0000000000000000 ffff880221c0e5d0 ffff880221c0e5c0
[ 3392.083495]  ffff8802212ffdf8 ffffffffa010ba0c ffff880225601000 ffff88021ed99000
[ 3392.084896]  00000000fffffff2 ffff8802212ffdf8 ffffffffa0151c30 ffffffffa0043503
[ 3392.086297] Call Trace:
[ 3392.087685]  [<ffffffffa010ba0c>] ? nouveau_abi16_ioctl_gpuobj_free+0x7c/0x10c [nouveau]
[ 3392.089104]  [<ffffffffa0043503>] ? drm_ioctl+0x28f/0x34a [drm]
[ 3392.090529]  [<ffffffffa010b990>] ? nouveau_abi16_ioctl_notifierobj_alloc+0x28d/0x28d [nouveau]
[ 3392.091969]  [<ffffffff810d47fd>] ? do_filp_open+0x2a/0x6e
[ 3392.093408]  [<ffffffff810d6178>] ? do_vfs_ioctl+0x43f/0x480
[ 3392.094843]  [<ffffffff810d620d>] ? sys_ioctl+0x54/0x7b
[ 3392.096276]  [<ffffffff81393f92>] ? system_call_fastpath+0x16/0x1b
[ 3392.097715] Code: e8 b3 e5 f9 ff 4c 89 e7 e8 6e d4 00 00 48 83 c4 18 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 90 90 41 54 49 89 fc 55 53 48 83 ec 10 <48> 8b 2f 48 8d 74 24 08 48 c7 44 24 08 00 00 00 00 e8 bd 12 00 
[ 3392.100994] RIP  [<ffffffffa010464f>] nouveau_channel_idle+0xb/0x72 [nouveau]
[ 3392.102610]  RSP <ffff8802212ffd58>
[ 3392.104220] CR2: 0000000000000000
[ 3392.105832] ---[ end trace 31535ce59d92cf85 ]---

Reproduce steps:
----------------
1. module_reload
Comment 1 Chris Wilson 2012-11-09 08:49:53 UTC
Notourbug. Daniel, your call...
Comment 2 Daniel Vetter 2012-11-09 20:00:21 UTC
Yeah, I wonder whether we should toss the entire idea of testing dma-buf with nouveau ... That piece of code doesn't look too useful :(

I'll ping Ben Skeggs and discuss this with Gordin Jin and Sun Yi in my next mtg with them.
Comment 3 Daniel Vetter 2012-11-23 09:25:01 UTC
We've stopped bothering with dma_buf and nouveau.