Machine freeze on latest Linus kernel, seems related to nouveau

From: Damien Wyart
Date: Fri May 16 2014 - 04:05:48 EST


Hi,

I am running the latest kernel from Linus. Once yesterday and once
today, I got a freeze of my machine. The first time, I could reboot
with sysrq, but not the second one (completely unresponsive). The
first time,, there was nothng in the logs, but today, I got some
traces which I attach to this email.

I can provide more details if needed ; the card is GeForce 9600 GT and
the OS Debian Sid.

Thanks in advance for any feedback.

Damien Wyart
May 16 08:30:27 brouette kernel: BUG: unable to handle kernel paging request at ffffc90015900000
May 16 08:30:27 brouette kernel: IP: [<ffffffff812856d8>] iowrite32+0x38/0x40
May 16 08:30:27 brouette kernel: PGD 1b880f067 PUD 1b8850067 PMD b979e067 PTE 0
May 16 08:30:27 brouette kernel: Oops: 0002 [#1] PREEMPT SMP
May 16 08:30:27 brouette kernel: Modules linked in: nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 xt_dscp xt_mark cls_flow cls_fw sch_sfq sch_htb xt_helper xt_length nf_conntrack_ftp nf_conntrack ip6table_mangle ip6_tables iptable_mangle ip_tables x_tables cpufreq_powersave cpufreq_userspace cpufreq_conservative deadline_iosched binfmt_misc snd_usb_audio snd_usbmidi_lib snd_hwdep hid_roccat_konepure hid_roccat hid_roccat_common hid_generic usbhid nouveau snd_hda_codec_realtek snd_hda_codec_generic snd_ca0106 wmi snd_ac97_codec video ac97_bus snd_seq_dummy snd_seq_midi i2c_algo_bit snd_seq_oss ttm snd_seq_midi_event drm_kms_helper snd_seq drm i2c_core snd_rawmidi backlight snd_seq_device snd_hda_intel sr_mod ehci_pci snd_hda_controller uhci_hcd pcspkr ehci_hcd cdrom usbcore snd_hda_codec snd_pcm_oss snd_mixer_oss nvidiafb snd_pcm snd_timer vgastate evdev usb_common acpi_cpufreq loop fuse autofs4
May 16 08:30:27 brouette kernel: CPU: 3 PID: 31253 Comm: plugin-containe Tainted: P O 3.15.0-rc5 #1
May 16 08:30:27 brouette kernel: Hardware name: System manufacturer System Product Name/P6T SE, BIOS 0808 03/08/2010
May 16 08:30:27 brouette kernel: task: ffff8800baa2f1c0 ti: ffff880171aa0000 task.ti: ffff880171aa0000
May 16 08:30:27 brouette kernel: RIP: 0010:[<ffffffff812856d8>] [<ffffffff812856d8>] iowrite32+0x38/0x40
May 16 08:30:27 brouette kernel: RSP: 0018:ffff880171aa1ba0 EFLAGS: 00010292
May 16 08:30:27 brouette kernel: RAX: ffff880055737600 RBX: ffff88016d934600 RCX: 0000000000000000
May 16 08:30:27 brouette kernel: RDX: ffffc90015900000 RSI: ffffc90015900000 RDI: 0000000000000000
May 16 08:30:27 brouette kernel: RBP: ffff880171aa1ba8 R08: ffffffffa054de60 R09: 0000000000000000
May 16 08:30:27 brouette kernel: R10: 0000000000000000 R11: 000000000000000f R12: 0000000000060004
May 16 08:30:27 brouette kernel: R13: 0000000000000000 R14: ffff880171aa1be8 R15: 0000000000000000
May 16 08:30:27 brouette kernel: FS: 00007f02048fca40(0000) GS:ffff8801bfc60000(0000) knlGS:0000000000000000
May 16 08:30:27 brouette kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 16 08:30:27 brouette kernel: CR2: ffffc90015900000 CR3: 00000000b0ee5000 CR4: 00000000000007e0
May 16 08:30:27 brouette kernel: Stack:
May 16 08:30:27 brouette kernel: ffffffffa047ee3f ffff880171aa1bb8 ffffffffa047bf25 ffff880171aa1c18
May 16 08:30:27 brouette kernel: ffffffffa047c1c6 0100000071aa1be0 ffffffffa0561bb0 000000001de8d000
May 16 08:30:27 brouette kernel: ffff880055737600 0000000000000000 ffff8800b9500200 ffff8800bb263440
May 16 08:30:27 brouette kernel: Call Trace:
May 16 08:30:27 brouette kernel: [<ffffffffa047ee3f>] ? nouveau_barobj_wr32+0xf/0x20 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffffa047bf25>] _nouveau_gpuobj_wr32+0x25/0x30 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffffa047c1c6>] nouveau_gpuobj_create_+0x1c6/0x2c0 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffffa047b48f>] nouveau_engctx_create_+0x24f/0x2a0 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffffa04f0c3c>] nv50_graph_context_ctor+0x3c/0x80 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffffa047d8ad>] nouveau_object_ctor+0x2d/0xc0 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffffa047e09b>] nouveau_object_new+0xeb/0x200 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffffa0504368>] nouveau_abi16_ioctl_grobj_alloc+0x68/0xe0 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffffa03628b8>] drm_ioctl+0x1d8/0x5d0 [drm]
May 16 08:30:27 brouette kernel: [<ffffffffa0504300>] ? nouveau_abi16_ioctl_channel_free+0xa0/0xa0 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffff810de0d2>] ? do_mmap_pgoff+0x2c2/0x390
May 16 08:30:27 brouette kernel: [<ffffffffa04f9f79>] nouveau_drm_ioctl+0x9/0x10 [nouveau]
May 16 08:30:27 brouette kernel: [<ffffffff8110b7d0>] do_vfs_ioctl+0x2e0/0x4c0
May 16 08:30:27 brouette kernel: [<ffffffff81115249>] ? __fget+0x69/0xb0
May 16 08:30:27 brouette kernel: [<ffffffff8110ba31>] SyS_ioctl+0x81/0xa0
May 16 08:30:27 brouette kernel: [<ffffffff81491722>] system_call_fastpath+0x16/0x1b
May 16 08:30:27 brouette kernel: Code: 81 fe 00 00 01 00 76 0b 0f b7 d6 89 f8 ef c3 0f 1f 40 00 55 48 c7 c6 9a a9 59 81 48 89 d7 48 89 e5 e8 1d fe ff ff 5d c3 0f 1f 00 <89> 3e c3 0f 1f 44 00 00 48 81 ff ff ff 03 00 77 37 48 81 ff 00
May 16 08:30:27 brouette kernel: RIP [<ffffffff812856d8>] iowrite32+0x38/0x40
May 16 08:30:27 brouette kernel: RSP <ffff880171aa1ba0>
May 16 08:30:27 brouette kernel: CR2: ffffc90015900000
May 16 08:30:27 brouette kernel: ---[ end trace 3669ad1ce815b6cd ]---
May 16 08:31:55 brouette postfix/qmgr[3362]: B627338000DF: from=<linux-kernel-owner@xxxxxxxxxxxxxxx>, size=6760, nrcpt=1 (queue active)
May 16 08:31:56 brouette postfix/qmgr[3362]: 8036538000FB: from=<linux-kernel-owner@xxxxxxxxxxxxxxx>, size=4629, nrcpt=1 (queue active)
May 16 08:32:14 brouette kernel: BUG: unable to handle kernel paging request at ffffc90015907000
May 16 08:32:14 brouette kernel: IP: [<ffffffff812856d8>] iowrite32+0x38/0x40
May 16 08:32:14 brouette kernel: PGD 1b880f067 PUD 1b8850067 PMD b979e067 PTE 0
May 16 08:32:14 brouette kernel: Oops: 0002 [#2] PREEMPT SMP
May 16 08:32:14 brouette kernel: Modules linked in: nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 xt_dscp xt_mark cls_flow cls_fw sch_sfq sch_htb xt_helper xt_length nf_conntrack_ftp nf_conntrack ip6table_mangle ip6_tables iptable_mangle ip_tables x_tables cpufreq_powersave cpufreq_userspace cpufreq_conservative deadline_iosched binfmt_misc snd_usb_audio snd_usbmidi_lib snd_hwdep hid_roccat_konepure hid_roccat hid_roccat_common hid_generic usbhid nouveau snd_hda_codec_realtek snd_hda_codec_generic snd_ca0106 wmi snd_ac97_codec video ac97_bus snd_seq_dummy snd_seq_midi i2c_algo_bit snd_seq_oss ttm snd_seq_midi_event drm_kms_helper snd_seq drm i2c_core snd_rawmidi backlight snd_seq_device snd_hda_intel sr_mod ehci_pci snd_hda_controller uhci_hcd pcspkr ehci_hcd cdrom usbcore snd_hda_codec snd_pcm_oss snd_mixer_oss nvidiafb snd_pcm snd_timer vgastate evdev usb_common acpi_cpufreq loop fuse autofs4
May 16 08:32:14 brouette kernel: CPU: 7 PID: 31452 Comm: firefox Tainted: P D O 3.15.0-rc5 #1
May 16 08:32:14 brouette kernel: Hardware name: System manufacturer System Product Name/P6T SE, BIOS 0808 03/08/2010
May 16 08:32:14 brouette kernel: task: ffff8800baa2ad80 ti: ffff8800a80de000 task.ti: ffff8800a80de000
May 16 08:32:14 brouette kernel: RIP: 0010:[<ffffffff812856d8>] [<ffffffff812856d8>] iowrite32+0x38/0x40
May 16 08:32:14 brouette kernel: RSP: 0018:ffff8800a80dfa78 EFLAGS: 00010292
May 16 08:32:14 brouette kernel: RAX: ffff8801a54b4c60 RBX: ffff88007cea4080 RCX: 0000000000000000
May 16 08:32:14 brouette kernel: RDX: ffffc90015907000 RSI: ffffc90015907000 RDI: 0000000000000000
May 16 08:32:14 brouette kernel: RBP: ffff8800a80dfa80 R08: ffffffffa054de60 R09: 0000000000000000
May 16 08:32:14 brouette kernel: R10: 0000000000000000 R11: 000000000000000f R12: 0000000000000004
May 16 08:32:14 brouette kernel: R13: 0000000000000000 R14: ffff8800a80dfac0 R15: 0000000000000000
May 16 08:32:14 brouette kernel: FS: 00007f2c1c80f740(0000) GS:ffff8801bfce0000(0000) knlGS:0000000000000000
May 16 08:32:14 brouette kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 16 08:32:14 brouette kernel: CR2: ffffc90015907000 CR3: 00000000a130a000 CR4: 00000000000007e0
May 16 08:32:14 brouette kernel: Stack:
May 16 08:32:14 brouette kernel: ffffffffa047ee3f ffff8800a80dfa90 ffffffffa047bf25 ffff8800a80dfaf0
May 16 08:32:14 brouette kernel: ffffffffa047c1c6 00000000a80dfab8 ffffffffa054dcd0 000000001dd8d000
May 16 08:32:14 brouette kernel: ffff8801a54b4c60 0000000000000000 ffff8800a80dfb40 ffff8801b6e2c800
May 16 08:32:14 brouette kernel: Call Trace:
May 16 08:32:14 brouette kernel: [<ffffffffa047ee3f>] ? nouveau_barobj_wr32+0xf/0x20 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047bf25>] _nouveau_gpuobj_wr32+0x25/0x30 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047c1c6>] nouveau_gpuobj_create_+0x1c6/0x2c0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047c2f8>] _nouveau_gpuobj_ctor+0x38/0x50 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047d8ad>] nouveau_object_ctor+0x2d/0xc0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047c357>] nouveau_gpuobj_new+0x47/0x50 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04bcdd1>] nouveau_vm_get+0x1a1/0x2a0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa0501519>] nouveau_bo_vma_add+0x29/0x90 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04fb5e8>] nouveau_channel_prep+0x278/0x360 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047d997>] ? nouveau_object_ref+0x57/0xc0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04fb708>] nouveau_channel_new+0x38/0x6b0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffff8106845d>] ? get_parent_ip+0xd/0x50
May 16 08:32:14 brouette kernel: [<ffffffff810ef793>] ? kmem_cache_alloc+0xd3/0xe0
May 16 08:32:14 brouette kernel: [<ffffffffa0503fb0>] ? nouveau_abi16_ioctl_channel_alloc+0xd0/0x380 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa050401e>] nouveau_abi16_ioctl_channel_alloc+0x13e/0x380 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa03628b8>] drm_ioctl+0x1d8/0x5d0 [drm]
May 16 08:32:14 brouette kernel: [<ffffffffa0503ee0>] ? nouveau_abi16_ioctl_setparam+0x10/0x10 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffff81117629>] ? mntput_no_expire+0x29/0x170
May 16 08:32:14 brouette kernel: [<ffffffffa04f9f79>] nouveau_drm_ioctl+0x9/0x10 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffff8110b7d0>] do_vfs_ioctl+0x2e0/0x4c0
May 16 08:32:14 brouette kernel: [<ffffffff8110ba31>] SyS_ioctl+0x81/0xa0
May 16 08:32:14 brouette kernel: [<ffffffff81491722>] system_call_fastpath+0x16/0x1b
May 16 08:32:14 brouette kernel: Code: 81 fe 00 00 01 00 76 0b 0f b7 d6 89 f8 ef c3 0f 1f 40 00 55 48 c7 c6 9a a9 59 81 48 89 d7 48 89 e5 e8 1d fe ff ff 5d c3 0f 1f 00 <89> 3e c3 0f 1f 44 00 00 48 81 ff ff ff 03 00 77 37 48 81 ff 00
May 16 08:32:14 brouette kernel: RIP [<ffffffff812856d8>] iowrite32+0x38/0x40
May 16 08:32:14 brouette kernel: RSP <ffff8800a80dfa78>
May 16 08:32:14 brouette kernel: CR2: ffffc90015907000
May 16 08:32:14 brouette kernel: ---[ end trace 3669ad1ce815b6ce ]---
May 16 08:32:14 brouette kernel: ------------[ cut here ]------------
May 16 08:32:14 brouette kernel: WARNING: CPU: 7 PID: 31452 at drivers/gpu/drm/nouveau/core/core/mm.c:246 nouveau_mm_fini+0x59/0x60 [nouveau]()
May 16 08:32:14 brouette kernel: Modules linked in: nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 xt_dscp xt_mark cls_flow cls_fw sch_sfq sch_htb xt_helper xt_length nf_conntrack_ftp nf_conntrack ip6table_mangle ip6_tables iptable_mangle ip_tables x_tables cpufreq_powersave cpufreq_userspace cpufreq_conservative deadline_iosched binfmt_misc snd_usb_audio snd_usbmidi_lib snd_hwdep hid_roccat_konepure hid_roccat hid_roccat_common hid_generic usbhid nouveau snd_hda_codec_realtek snd_hda_codec_generic snd_ca0106 wmi snd_ac97_codec video ac97_bus snd_seq_dummy snd_seq_midi i2c_algo_bit snd_seq_oss ttm snd_seq_midi_event drm_kms_helper snd_seq drm i2c_core snd_rawmidi backlight snd_seq_device snd_hda_intel sr_mod ehci_pci snd_hda_controller uhci_hcd pcspkr ehci_hcd cdrom usbcore snd_hda_codec snd_pcm_oss snd_mixer_oss nvidiafb snd_pcm snd_timer vgastate evdev usb_common acpi_cpufreq loop fuse autofs4
May 16 08:32:14 brouette kernel: CPU: 7 PID: 31452 Comm: firefox Tainted: P D O 3.15.0-rc5 #1
May 16 08:32:14 brouette kernel: Hardware name: System manufacturer System Product Name/P6T SE, BIOS 0808 03/08/2010
May 16 08:32:14 brouette kernel: 0000000000000009 ffff8800a80df578 ffffffff8148b567 0000000000000000
May 16 08:32:14 brouette kernel: ffff8800a80df5b0 ffffffff81041603 ffff8801b6e2c838 ffff8801b6e2c800
May 16 08:32:14 brouette kernel: ffff8801b6e2c838 ffff8801b6e2c830 0000000000000000 ffff8800a80df5c0
May 16 08:32:14 brouette kernel: Call Trace:
May 16 08:32:14 brouette kernel: [<ffffffff8148b567>] dump_stack+0x4e/0x7a
May 16 08:32:14 brouette kernel: [<ffffffff81041603>] warn_slowpath_common+0x73/0x90
May 16 08:32:14 brouette kernel: [<ffffffff810416d5>] warn_slowpath_null+0x15/0x20
May 16 08:32:14 brouette kernel: [<ffffffffa047d459>] nouveau_mm_fini+0x59/0x60 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04bc2bc>] nouveau_vm_del+0x4c/0x70 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04bcbed>] nouveau_vm_ref+0x13d/0x180 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04f9ff0>] nouveau_cli_destroy+0x20/0x50 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04fa0c2>] nouveau_drm_postclose+0x12/0x30 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa0363a3c>] drm_release+0x32c/0x630 [drm]
May 16 08:32:14 brouette kernel: [<ffffffff810fb4d6>] __fput+0xc6/0x1d0
May 16 08:32:14 brouette kernel: [<ffffffff810fb619>] ____fput+0x9/0x10
May 16 08:32:14 brouette kernel: [<ffffffff8105b234>] task_work_run+0xb4/0xd0
May 16 08:32:14 brouette kernel: [<ffffffff810426f0>] do_exit+0x240/0x980
May 16 08:32:14 brouette kernel: [<ffffffff81081c79>] ? kmsg_dump+0xb9/0xd0
May 16 08:32:14 brouette kernel: [<ffffffff810063da>] oops_end+0x6a/0xa0
May 16 08:32:14 brouette kernel: [<ffffffff81487e13>] no_context+0x297/0x2a4
May 16 08:32:14 brouette kernel: [<ffffffff81487e88>] __bad_area_nosemaphore+0x68/0x1bf
May 16 08:32:14 brouette kernel: [<ffffffff81487fed>] bad_area_nosemaphore+0xe/0x10
May 16 08:32:14 brouette kernel: [<ffffffff8103753f>] __do_page_fault+0x7f/0x490
May 16 08:32:14 brouette kernel: [<ffffffffa047e8de>] ? nv_printk_+0x8e/0x1b0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047cdbe>] ? region_head.isra.5.part.6+0x1e/0x80 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffff8103798e>] do_page_fault+0x1e/0x70
May 16 08:32:14 brouette kernel: [<ffffffff81491262>] page_fault+0x22/0x30
May 16 08:32:14 brouette kernel: [<ffffffff812856d8>] ? iowrite32+0x38/0x40
May 16 08:32:14 brouette kernel: [<ffffffffa047d997>] ? nouveau_object_ref+0x57/0xc0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047ee3f>] ? nouveau_barobj_wr32+0xf/0x20 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047bf25>] _nouveau_gpuobj_wr32+0x25/0x30 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047c1c6>] nouveau_gpuobj_create_+0x1c6/0x2c0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047c2f8>] _nouveau_gpuobj_ctor+0x38/0x50 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047d8ad>] nouveau_object_ctor+0x2d/0xc0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047c357>] nouveau_gpuobj_new+0x47/0x50 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04bcdd1>] nouveau_vm_get+0x1a1/0x2a0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa0501519>] nouveau_bo_vma_add+0x29/0x90 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04fb5e8>] nouveau_channel_prep+0x278/0x360 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa047d997>] ? nouveau_object_ref+0x57/0xc0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa04fb708>] nouveau_channel_new+0x38/0x6b0 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffff8106845d>] ? get_parent_ip+0xd/0x50
May 16 08:32:14 brouette kernel: [<ffffffff810ef793>] ? kmem_cache_alloc+0xd3/0xe0
May 16 08:32:14 brouette kernel: [<ffffffffa0503fb0>] ? nouveau_abi16_ioctl_channel_alloc+0xd0/0x380 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa050401e>] nouveau_abi16_ioctl_channel_alloc+0x13e/0x380 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffffa03628b8>] drm_ioctl+0x1d8/0x5d0 [drm]
May 16 08:32:14 brouette kernel: [<ffffffffa0503ee0>] ? nouveau_abi16_ioctl_setparam+0x10/0x10 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffff81117629>] ? mntput_no_expire+0x29/0x170
May 16 08:32:14 brouette kernel: [<ffffffffa04f9f79>] nouveau_drm_ioctl+0x9/0x10 [nouveau]
May 16 08:32:14 brouette kernel: [<ffffffff8110b7d0>] do_vfs_ioctl+0x2e0/0x4c0
May 16 08:32:14 brouette kernel: [<ffffffff8110ba31>] SyS_ioctl+0x81/0xa0
May 16 08:32:14 brouette kernel: [<ffffffff81491722>] system_call_fastpath+0x16/0x1b
May 16 08:32:14 brouette kernel: ---[ end trace 3669ad1ce815b6cf ]---