crash in ttm_bo_cleanup_refs

2010-04-15 Thread Xavier Chantry
I got a nice lockup today after running etracer for a few minutes.

kernel : Linux 2.6.34-rc3 + recent nouveau code (Apr 7 , de2f7caff0bf)
mesa : git master of today , using nvfx gallium

Apr 15 11:37:12 myhost kernel: [57533.031358] [drm] nouveau
:01:00.0: Allocating FIFO number 2
Apr 15 11:37:12 myhost kernel: [57533.033502] [drm] nouveau
:01:00.0: nouveau_channel_alloc: initialised FIFO 2
Apr 15 11:39:57 myhost kernel: [57698.458538] BUG: unable to handle
kernel paging request at 0007000d
Apr 15 11:39:57 myhost kernel: [57698.458551] IP: []
ttm_bo_cleanup_refs+0x24/0x210 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458565] *pde = 
Apr 15 11:39:57 myhost kernel: [57698.458569] Oops:  [#1] PREEMPT SMP
Apr 15 11:39:57 myhost kernel: [57698.458575] last sysfs file:
/sys/devices/platform/w83627hf.656/temp2_input
Apr 15 11:39:57 myhost kernel: [57698.458581] Modules linked in:
w83627hf hwmon_vid nfs lockd nfs_acl auth_rpcgss sunrpc fuse
snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq usbhid hid
snd_emu10k1 snd_pcm_oss snd_mixer_oss snd_rawmidi nouveau snd_intel8x0
snd_ac97_codec ac97_bus ttm snd_pcm snd_seq_device snd_util_mem
snd_timer drm_kms_helper ppdev snd_hwdep parport_pc i82875p_edac snd
drm edac_core i2c_algo_bit soundcore snd_page_alloc uhci_hcd
firewire_ohci emu10k1_gp i2c_i801 firewire_core crc_itu_t gameport
thermal e1000 processor button lp intel_agp ehci_hcd usbcore parport
i2c_core evdev agpgart iTCO_wdt iTCO_vendor_support shpchp pci_hotplug
rtc_cmos rtc_core rtc_lib dm_mirror dm_region_hash dm_log dm_mod
Apr 15 11:39:57 myhost kernel: [57698.458667]
Apr 15 11:39:57 myhost kernel: [57698.458673] Pid: 7, comm: events/0
Not tainted 2.6.34-rc3 #16 P4C800-E/To Be Filled By O.E.M.
Apr 15 11:39:57 myhost kernel: [57698.458678] EIP: 0060:[]
EFLAGS: 00010202 CPU: 0
Apr 15 11:39:57 myhost kernel: [57698.458685] EIP is at
ttm_bo_cleanup_refs+0x24/0x210 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458689] EAX: 00070001 EBX:
e671cb40 ECX: e671cb50 EDX: 
Apr 15 11:39:57 myhost kernel: [57698.458693] ESI: e671cb78 EDI:
0001 EBP: f704ff30 ESP: f704ff08
Apr 15 11:39:57 myhost kernel: [57698.458698]  DS: 007b ES: 007b FS:
00d8 GS: 00e0 SS: 0068
Apr 15 11:39:57 myhost kernel: [57698.458703] Process events/0 (pid:
7, ti=f704e000 task=f7031ce0 task.ti=f704e000)
Apr 15 11:39:57 myhost kernel: [57698.458706] Stack:
Apr 15 11:39:57 myhost kernel: [57698.458708]  f82cf908 f704ff20
f82cd10a e671c1a8 f82cd0a0 e671cb50 00070001 e671c780
Apr 15 11:39:57 myhost kernel: [57698.458719] <0> e671cb40 
f704ff54 f82ce028  f1a80334  f653414c
Apr 15 11:39:57 myhost kernel: [57698.458731] <0> f1a80344 f1a80344
c2808980 f704ff60 f82ce0a3 c2808980 f704ffbc c10540a3
Apr 15 11:39:57 myhost kernel: [57698.458743] Call Trace:
Apr 15 11:39:57 myhost kernel: [57698.458752]  [] ?
ttm_transfered_destroy+0x8/0x10 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458761]  [] ?
ttm_bo_release_list+0x6a/0xb0 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458768]  [] ?
ttm_bo_release_list+0x0/0xb0 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458776]  [] ?
ttm_bo_delayed_delete+0x78/0xe0 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458784]  [] ?
ttm_bo_delayed_workqueue+0x13/0x30 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458794]  [] ?
worker_thread+0x113/0x250
Apr 15 11:39:57 myhost kernel: [57698.458803]  [] ?
schedule+0x25c/0x700
Apr 15 11:39:57 myhost kernel: [57698.458811]  [] ?
ttm_bo_delayed_workqueue+0x0/0x30 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458817]  [] ?
autoremove_wake_function+0x0/0x40
Apr 15 11:39:57 myhost kernel: [57698.458823]  [] ?
worker_thread+0x0/0x250
Apr 15 11:39:57 myhost kernel: [57698.458828]  [] ? kthread+0x6c/0x80
Apr 15 11:39:57 myhost kernel: [57698.458833]  [] ? kthread+0x0/0x80
Apr 15 11:39:57 myhost kernel: [57698.458840]  [] ?
kernel_thread_helper+0x6/0x18
Apr 15 11:39:57 myhost kernel: [57698.458843] Code: c9 eb ac 8d 74 26
00 55 89 e5 57 89 d7 56 83 f7 01 53 89 c3 83 ec 1c 8b 40 04 81 e7 ff
00 00 00 8d 73 38 89 45 f0 8b 0b 89 4d ec <8b> 40 0c 89 45 e8 89 f0 e8
4f 62 05 c9 31 c9 31 d2 89 d8 89 3c
Apr 15 11:39:57 myhost kernel: [57698.458909] EIP: []
ttm_bo_cleanup_refs+0x24/0x210 [ttm] SS:ESP 0068:f704ff08
Apr 15 11:39:57 myhost kernel: [57698.458920] CR2: 0007000d
Apr 15 11:39:57 myhost kernel: [57698.458934] ---[ end trace
66bbdca73e702081 ]---
Apr 15 11:39:57 myhost kernel: [57698.603553] BUG: unable to handle
kernel paging request at 0007000d
Apr 15 11:39:57 myhost kernel: [57698.603565] IP: []
ttm_bo_wait+0x1b/0x180 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.603577] *pde = 
Apr 15 11:39:57 myhost kernel: [57698.603581] Oops:  [#2] PREEMPT SMP
Apr 15 11:39:57 myhost kernel: [57698.603585] last sysfs file:
/sys/devices/platform/w83627hf.656/temp2_input
Apr 15 11:39:57 myhost kernel: [57698.603590] Modules linked in:
w83627hf hwmon_vid nfs lockd nfs_acl auth_rpcgss sunrpc fuse
snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq usb

crash in ttm_bo_cleanup_refs

2010-04-15 Thread Xavier Chantry
I got a nice lockup today after running etracer for a few minutes.

kernel : Linux 2.6.34-rc3 + recent nouveau code (Apr 7 , de2f7caff0bf)
mesa : git master of today , using nvfx gallium

Apr 15 11:37:12 myhost kernel: [57533.031358] [drm] nouveau
:01:00.0: Allocating FIFO number 2
Apr 15 11:37:12 myhost kernel: [57533.033502] [drm] nouveau
:01:00.0: nouveau_channel_alloc: initialised FIFO 2
Apr 15 11:39:57 myhost kernel: [57698.458538] BUG: unable to handle
kernel paging request at 0007000d
Apr 15 11:39:57 myhost kernel: [57698.458551] IP: []
ttm_bo_cleanup_refs+0x24/0x210 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458565] *pde = 
Apr 15 11:39:57 myhost kernel: [57698.458569] Oops:  [#1] PREEMPT SMP
Apr 15 11:39:57 myhost kernel: [57698.458575] last sysfs file:
/sys/devices/platform/w83627hf.656/temp2_input
Apr 15 11:39:57 myhost kernel: [57698.458581] Modules linked in:
w83627hf hwmon_vid nfs lockd nfs_acl auth_rpcgss sunrpc fuse
snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq usbhid hid
snd_emu10k1 snd_pcm_oss snd_mixer_oss snd_rawmidi nouveau snd_intel8x0
snd_ac97_codec ac97_bus ttm snd_pcm snd_seq_device snd_util_mem
snd_timer drm_kms_helper ppdev snd_hwdep parport_pc i82875p_edac snd
drm edac_core i2c_algo_bit soundcore snd_page_alloc uhci_hcd
firewire_ohci emu10k1_gp i2c_i801 firewire_core crc_itu_t gameport
thermal e1000 processor button lp intel_agp ehci_hcd usbcore parport
i2c_core evdev agpgart iTCO_wdt iTCO_vendor_support shpchp pci_hotplug
rtc_cmos rtc_core rtc_lib dm_mirror dm_region_hash dm_log dm_mod
Apr 15 11:39:57 myhost kernel: [57698.458667]
Apr 15 11:39:57 myhost kernel: [57698.458673] Pid: 7, comm: events/0
Not tainted 2.6.34-rc3 #16 P4C800-E/To Be Filled By O.E.M.
Apr 15 11:39:57 myhost kernel: [57698.458678] EIP: 0060:[]
EFLAGS: 00010202 CPU: 0
Apr 15 11:39:57 myhost kernel: [57698.458685] EIP is at
ttm_bo_cleanup_refs+0x24/0x210 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458689] EAX: 00070001 EBX:
e671cb40 ECX: e671cb50 EDX: 
Apr 15 11:39:57 myhost kernel: [57698.458693] ESI: e671cb78 EDI:
0001 EBP: f704ff30 ESP: f704ff08
Apr 15 11:39:57 myhost kernel: [57698.458698]  DS: 007b ES: 007b FS:
00d8 GS: 00e0 SS: 0068
Apr 15 11:39:57 myhost kernel: [57698.458703] Process events/0 (pid:
7, ti=f704e000 task=f7031ce0 task.ti=f704e000)
Apr 15 11:39:57 myhost kernel: [57698.458706] Stack:
Apr 15 11:39:57 myhost kernel: [57698.458708]  f82cf908 f704ff20
f82cd10a e671c1a8 f82cd0a0 e671cb50 00070001 e671c780
Apr 15 11:39:57 myhost kernel: [57698.458719] <0> e671cb40 
f704ff54 f82ce028  f1a80334  f653414c
Apr 15 11:39:57 myhost kernel: [57698.458731] <0> f1a80344 f1a80344
c2808980 f704ff60 f82ce0a3 c2808980 f704ffbc c10540a3
Apr 15 11:39:57 myhost kernel: [57698.458743] Call Trace:
Apr 15 11:39:57 myhost kernel: [57698.458752]  [] ?
ttm_transfered_destroy+0x8/0x10 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458761]  [] ?
ttm_bo_release_list+0x6a/0xb0 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458768]  [] ?
ttm_bo_release_list+0x0/0xb0 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458776]  [] ?
ttm_bo_delayed_delete+0x78/0xe0 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458784]  [] ?
ttm_bo_delayed_workqueue+0x13/0x30 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458794]  [] ?
worker_thread+0x113/0x250
Apr 15 11:39:57 myhost kernel: [57698.458803]  [] ?
schedule+0x25c/0x700
Apr 15 11:39:57 myhost kernel: [57698.458811]  [] ?
ttm_bo_delayed_workqueue+0x0/0x30 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.458817]  [] ?
autoremove_wake_function+0x0/0x40
Apr 15 11:39:57 myhost kernel: [57698.458823]  [] ?
worker_thread+0x0/0x250
Apr 15 11:39:57 myhost kernel: [57698.458828]  [] ? kthread+0x6c/0x80
Apr 15 11:39:57 myhost kernel: [57698.458833]  [] ? kthread+0x0/0x80
Apr 15 11:39:57 myhost kernel: [57698.458840]  [] ?
kernel_thread_helper+0x6/0x18
Apr 15 11:39:57 myhost kernel: [57698.458843] Code: c9 eb ac 8d 74 26
00 55 89 e5 57 89 d7 56 83 f7 01 53 89 c3 83 ec 1c 8b 40 04 81 e7 ff
00 00 00 8d 73 38 89 45 f0 8b 0b 89 4d ec <8b> 40 0c 89 45 e8 89 f0 e8
4f 62 05 c9 31 c9 31 d2 89 d8 89 3c
Apr 15 11:39:57 myhost kernel: [57698.458909] EIP: []
ttm_bo_cleanup_refs+0x24/0x210 [ttm] SS:ESP 0068:f704ff08
Apr 15 11:39:57 myhost kernel: [57698.458920] CR2: 0007000d
Apr 15 11:39:57 myhost kernel: [57698.458934] ---[ end trace
66bbdca73e702081 ]---
Apr 15 11:39:57 myhost kernel: [57698.603553] BUG: unable to handle
kernel paging request at 0007000d
Apr 15 11:39:57 myhost kernel: [57698.603565] IP: []
ttm_bo_wait+0x1b/0x180 [ttm]
Apr 15 11:39:57 myhost kernel: [57698.603577] *pde = 
Apr 15 11:39:57 myhost kernel: [57698.603581] Oops:  [#2] PREEMPT SMP
Apr 15 11:39:57 myhost kernel: [57698.603585] last sysfs file:
/sys/devices/platform/w83627hf.656/temp2_input
Apr 15 11:39:57 myhost kernel: [57698.603590] Modules linked in:
w83627hf hwmon_vid nfs lockd nfs_acl auth_rpcgss sunrpc fuse
snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq usb