Bug 60007 - BUG: nouveau crashes in various ways in 32-bits Fedora 18
Summary: BUG: nouveau crashes in various ways in 32-bits Fedora 18
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-29 09:47 UTC by Cornel Panceac
Modified: 2013-10-01 17:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
messages (366.66 KB, text/plain)
2013-01-29 09:47 UTC, Cornel Panceac
no flags Details
fix barobj allocation (5.07 KB, patch)
2013-01-29 21:51 UTC, Marcin Slusarz
no flags Details | Splinter Review
dmesg, after the crash (95.87 KB, text/plain)
2013-01-30 09:46 UTC, Cornel Panceac
no flags Details
locked f17 system screen, and what is occasionally displayed in f18's eye of gnome (737.20 KB, image/jpeg)
2013-02-03 06:32 UTC, Cornel Panceac
no flags Details
crash xorg log (43.93 KB, text/plain)
2013-02-03 07:29 UTC, Cornel Panceac
no flags Details
good kernel xorg log (43.88 KB, text/plain)
2013-02-03 07:29 UTC, Cornel Panceac
no flags Details
no crash messages (4.35 KB, text/plain)
2013-02-03 07:30 UTC, Cornel Panceac
no flags Details
crash patched kernel (5.27 KB, text/plain)
2013-02-03 07:30 UTC, Cornel Panceac
no flags Details

Description Cornel Panceac 2013-01-29 09:47:19 UTC
Created attachment 73815 [details]
messages

During normal usage, xorg crashes in various ways. In dmesg and Xorg.0.log i didn't find anything. In /var/log/messages, i did found various messages from nouveau. I'll attach the file. This happens often: xorg restarts, or just temprarily loses the "display" function, or artefacts are shown whenever i lock gnome. 

Roy Spliet says that nv_wo32() has a problem, on 32-bit version.

From #nouveau: 

<RSpliet> nouveau_gpuobj_create:134 says nv_wo32(gpuobj, i, 0x00000000);
<RSpliet> the second parameter is supposed to be 64-bit, but i is 32-bits

Hopefully this will be fixed soon. Most of my family computers have NVIDIA video cards and all that were migrated to Fedora 18 have these kinds of problems :)
Comment 1 Cornel Panceac 2013-01-29 09:53:46 UTC
all right, i've forgot some things:

a line interesting in the messages file:

BUG: unable to handle kernel paging request at fb880000

and later:

 WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242 nouveau_mm_fini+0x47/0x50 [nouveau]()

Video card is:

$ lspci -nn | grep -i vga
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G98M [Quadro NVS 160M] [10de:06eb] (rev a1)

kernel is:

$ uname -a
Linux localhost.localdomain 3.7.4-204.fc18.i686.PAE #1 SMP Wed Jan 23 16:58:41 UTC 2013 i686 i686 i386 GNU/Linux
Comment 2 Cornel Panceac 2013-01-29 10:27:47 UTC
full traces:

Jan 28 14:47:32 localhost kernel: [357498.739893] BUG: unable to handle kernel paging request at fb880000
Jan 28 14:47:32 localhost kernel: [357498.739913] IP: [<c06957c8>] iowrite32+0x38/0x40
Jan 28 14:47:32 localhost kernel: [357498.739924] *pdpt = 0000000000cec001 *pde = 0000000036947067 *pte = 0000000000000000
Jan 28 14:47:32 localhost kernel: [357498.739936] Oops: 0002 [#1] SMP
Jan 28 14:47:32 localhost kernel: [357498.739943] Modules linked in: lp binfmt_misc nls_utf8 hfsplus hfs vfat fat xfs fuse ebtable_nat ipt_MASQUERADE nf_conntrack_netbios_ns nf_conntrack_broadcast ip6table_mangle ip6t_REJECT be2iscsi nf_conntrack_ipv6 iscsi_boot_sysfs nf_defrag_ipv6 bnx2i iptable_nat nf_nat_ipv4 nf_nat cnic uio bnep cxgb4i cxgb4 iptable_mangle cxgb3i bluetooth cxgb3 mdio libcxgbi ib_iser rdma_cm ib_addr nf_conntrack_ipv4 iw_cm nf_defrag_ipv4 ib_cm xt_conntrack ib_sa nf_conntrack ib_mad ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ebtable_filter ebtables ip6table_filter ip6_tables dm_crypt snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media arc4 snd_seq_device iwldvm ppdev mac80211 snd_pcm coretemp iTCO_wdt iwlwifi snd_page_alloc iTCO_vendor_support parport_pc cfg80211 snd_timer snd rfkill parport microcode i2c_i801 lpc_ich mfd_core soundcore e1000e dell_laptop dell_wmi sparse_keymap dcdbas vhost_net tun macvtap macvlan kvm_intel kvm uinput btrfs libcrc32c zlib_deflate firewire_ohci nouveau sdhci_pci sdhci mxm_wmi mmc_core i2c_algo_bit firewire_core drm_kms_helper crc_itu_t ttm usb_storage drm i2c_core wmi video
Jan 28 14:47:32 localhost kernel: [357498.740004] Pid: 11705, comm: firefox Not tainted 3.7.2-204.fc18.i686.PAE #1 Dell Inc. Latitude E6400 /0U695R
Jan 28 14:47:32 localhost kernel: [357498.740004] EIP: 0060:[<c06957c8>] EFLAGS: 00010292 CPU: 0
Jan 28 14:47:32 localhost kernel: [357498.740004] EIP is at iowrite32+0x38/0x40
Jan 28 14:47:32 localhost kernel: [357498.740004] EAX: 00000000 EBX: f6acc280 ECX: fb880000 EDX: fb880000
Jan 28 14:47:32 localhost kernel: [357498.740004] ESI: f85d81c0 EDI: f85d8080 EBP: ed939bc0 ESP: ed939bb8
Jan 28 14:47:32 localhost kernel: [357498.740004] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Jan 28 14:47:32 localhost kernel: [357498.740004] CR0: 80050033 CR2: fb880000 CR3: 2d20d000 CR4: 000407f0
Jan 28 14:47:32 localhost kernel: [357498.740004] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
Jan 28 14:47:32 localhost kernel: [357498.740004] DR6: ffff0ff0 DR7: 00000400
Jan 28 14:47:32 localhost kernel: [357498.740004] Process firefox (pid: 11705, ti=ed938000 task=e8f33ed0 task.ti=ed938000)
Jan 28 14:47:32 localhost kernel: [357498.740004] Stack:
Jan 28 14:47:32 localhost kernel: [357498.740004] f852fb05 f6acc280 ed939bd0 f852ca68 cc228900 00070004 ed939c14 f852ccef
Jan 28 14:47:32 localhost kernel: [357498.740004] 02000000 00000058 ed939c38 f8590261 0bab0000 00000000 ed939c04 f85d8060
Jan 28 14:47:32 localhost kernel: [357498.740004] f68cf180 00000000 f68cf480 00000000 00000000 00100000 f85d8080 ed939c44
Jan 28 14:47:32 localhost kernel: [357498.740004] Call Trace:
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f852fb05>] ? nouveau_barobj_wr32+0x15/0x20 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f852ca68>] _nouveau_gpuobj_wr32+0x28/0x40 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f852ccef>] nouveau_gpuobj_create_+0x19f/0x270 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f8590261>] ? nouveau_gart_manager_new+0x31/0x60 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f852ce06>] _nouveau_gpuobj_ctor+0x46/0x60 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f852e3cb>] nouveau_object_ctor+0x3b/0xe0 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f852ce78>] nouveau_gpuobj_new+0x58/0x60 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f8548c0a>] nouveau_vm_get+0x18a/0x250 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c05372fa>] ? map_vm_area+0x3a/0x60
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f8593784>] nouveau_bo_vma_add+0x44/0xf0 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f858e436>] nouveau_channel_prep+0x1f6/0x310 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f858e583>] nouveau_channel_new+0x33/0x620 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f8595c0d>] ? nouveau_abi16_ioctl_channel_alloc+0xdd/0x350 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f8595c0d>] ? nouveau_abi16_ioctl_channel_alloc+0xdd/0x350 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f8595c86>] nouveau_abi16_ioctl_channel_alloc+0x156/0x350 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f8595b30>] ? nouveau_abi16_ioctl_setparam+0x10/0x10 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f83c5d62>] drm_ioctl+0x422/0x480 [drm]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f8595b30>] ? nouveau_abi16_ioctl_setparam+0x10/0x10 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c052d8fd>] ? handle_mm_fault+0x1ed/0x290
Jan 28 14:47:32 localhost kernel: [357498.740004] [<f83c5940>] ? drm_copy_field+0x80/0x80 [drm]
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c0568cfa>] do_vfs_ioctl+0x7a/0x590
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c0631f2a>] ? inode_has_perm.isra.31.constprop.62+0x3a/0x50
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c0633570>] ? file_has_perm+0xa0/0xb0
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c0633988>] ? selinux_file_ioctl+0x48/0xe0
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c056927b>] sys_ioctl+0x6b/0x80
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c098f94d>] sysenter_do_call+0x12/0x28
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.740004] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.740004] Code: 00 01 00 76 0e 81 e2 ff ff 00 00 ef c3 8d b6 00 00 00 00 55 ba 91 d4 b2 c0 89 e5 89 c8 e8 41 ff ff ff 5d c3 8d b4 26 00 00 00 00 <89> 02 c3 90 8d 74 26 00 81 fa ff ff 03 00 89 d1 77 2e 81 fa 00
Jan 28 14:47:32 localhost kernel: [357498.740004] EIP: [<c06957c8>] iowrite32+0x38/0x40 SS:ESP 0068:ed939bb8
Jan 28 14:47:32 localhost kernel: [357498.740004] CR2: 00000000fb880000
Jan 28 14:47:32 localhost kernel: [357498.740004] ---[ end trace 5ab85add3f2620f6 ]---
Comment 3 Cornel Panceac 2013-01-29 10:28:16 UTC
and

Jan 28 14:47:32 localhost kernel: [357498.792281] ------------[ cut here ]------------
Jan 28 14:47:32 localhost kernel: [357498.792343] WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242 nouveau_mm_fini+0x47/0x50 [nouveau]()
Jan 28 14:47:32 localhost kernel: [357498.792346] Hardware name: Latitude E6400
Jan 28 14:47:32 localhost kernel: [357498.792347] Modules linked in: lp binfmt_misc nls_utf8 hfsplus hfs vfat fat xfs fuse ebtable_nat ipt_MASQUERADE nf_conntrack_netbios_ns nf_conntrack_broadcast ip6table_mangle ip6t_REJECT be2iscsi nf_conntrack_ipv6 iscsi_boot_sysfs nf_defrag_ipv6 bnx2i iptable_nat nf_nat_ipv4 nf_nat cnic uio bnep cxgb4i cxgb4 iptable_mangle cxgb3i bluetooth cxgb3 mdio libcxgbi ib_iser rdma_cm ib_addr nf_conntrack_ipv4 iw_cm nf_defrag_ipv4 ib_cm xt_conntrack ib_sa nf_conntrack ib_mad ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ebtable_filter ebtables ip6table_filter ip6_tables dm_crypt snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media arc4 snd_seq_device iwldvm ppdev mac80211 snd_pcm coretemp iTCO_wdt iwlwifi snd_page_alloc iTCO_vendor_support parport_pc cfg80211 snd_timer snd rfkill parport microcode i2c_i801 lpc_ich mfd_core soundcore e1000e dell_laptop dell_wmi sparse_keymap dcdbas vhost_net tun macvtap macvlan kvm_intel kvm uinput btrfs libcrc32c zlib_deflate firewire_ohci nouveau sdhci_pci sdhci mxm_wmi mmc_core i2c_algo_bit firewire_core drm_kms_helper crc_itu_t ttm usb_storage drm i2c_core wmi video
Jan 28 14:47:32 localhost kernel: [357498.792417] Pid: 11705, comm: firefox Tainted: G D 3.7.2-204.fc18.i686.PAE #1
Jan 28 14:47:32 localhost kernel: [357498.792420] Call Trace:
Jan 28 14:47:32 localhost kernel: [357498.792430] [<c044d6a2>] warn_slowpath_common+0x72/0xa0
Jan 28 14:47:32 localhost kernel: [357498.792443] [<f852dfb7>] ? nouveau_mm_fini+0x47/0x50 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792456] [<f852dfb7>] ? nouveau_mm_fini+0x47/0x50 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792459] [<c044d6f2>] warn_slowpath_null+0x22/0x30
Jan 28 14:47:32 localhost kernel: [357498.792472] [<f852dfb7>] nouveau_mm_fini+0x47/0x50 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792491] [<f854903c>] nouveau_vm_ref+0x11c/0x150 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792508] [<f83c2107>] ? drm_remove_magic+0xa7/0xb0 [drm]
Jan 28 14:47:32 localhost kernel: [357498.792529] [<f858d47d>] nouveau_cli_destroy+0x1d/0x40 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792548] [<f858d4b4>] nouveau_drm_postclose+0x14/0x30 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792560] [<f83c6444>] drm_release+0x354/0x510 [drm]
Jan 28 14:47:32 localhost kernel: [357498.792570] [<c055ad56>] __fput+0xc6/0x1f0
Jan 28 14:47:32 localhost kernel: [357498.792573] [<c055ae8d>] ____fput+0xd/0x10
Jan 28 14:47:32 localhost kernel: [357498.792578] [<c046a801>] task_work_run+0x81/0xa0
Jan 28 14:47:32 localhost kernel: [357498.792581] [<c0452f44>] do_exit+0x174/0x7f0
Jan 28 14:47:32 localhost kernel: [357498.792584] [<c044d61f>] ? print_oops_end_marker+0x2f/0x40
Jan 28 14:47:32 localhost kernel: [357498.792590] [<c098978a>] oops_end+0x8a/0xd0
Jan 28 14:47:32 localhost kernel: [357498.792594] [<c097f8e2>] no_context+0x1af/0x1b7
Jan 28 14:47:32 localhost kernel: [357498.792599] [<c097fa14>] __bad_area_nosemaphore+0x12a/0x132
Jan 28 14:47:32 localhost kernel: [357498.792603] [<c049913e>] ? ktime_get+0x5e/0x100
Jan 28 14:47:32 localhost kernel: [357498.792606] [<c098b91d>] ? spurious_fault+0x7d/0xda
Jan 28 14:47:32 localhost kernel: [357498.792609] [<c098bad9>] ? vmalloc_fault+0x15f/0x176
Jan 28 14:47:32 localhost kernel: [357498.792613] [<c098bf80>] ? __do_page_fault+0x490/0x490
Jan 28 14:47:32 localhost kernel: [357498.792616] [<c097fa33>] bad_area_nosemaphore+0x17/0x19
Jan 28 14:47:32 localhost kernel: [357498.792618] [<c098be15>] __do_page_fault+0x325/0x490
Jan 28 14:47:32 localhost kernel: [357498.792621] [<c04a0e49>] ? tick_program_event+0x29/0x30
Jan 28 14:47:32 localhost kernel: [357498.792628] [<c0455bb7>] ? irq_exit+0x67/0xb0
Jan 28 14:47:32 localhost kernel: [357498.792632] [<c098bf80>] ? __do_page_fault+0x490/0x490
Jan 28 14:47:32 localhost kernel: [357498.792635] [<c098bf8d>] do_page_fault+0xd/0x10
Jan 28 14:47:32 localhost kernel: [357498.792637] [<c0988fa7>] error_code+0x67/0x6c
Jan 28 14:47:32 localhost kernel: [357498.792645] [<c098007b>] ? printk_sched+0x4b/0x4f
Jan 28 14:47:32 localhost kernel: [357498.792650] [<c06957c8>] ? iowrite32+0x38/0x40
Jan 28 14:47:32 localhost kernel: [357498.792664] [<f852fb05>] ? nouveau_barobj_wr32+0x15/0x20 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792677] [<f852ca68>] _nouveau_gpuobj_wr32+0x28/0x40 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792691] [<f852ccef>] nouveau_gpuobj_create_+0x19f/0x270 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792711] [<f8590261>] ? nouveau_gart_manager_new+0x31/0x60 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792727] [<f852ce06>] _nouveau_gpuobj_ctor+0x46/0x60 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792742] [<f852e3cb>] nouveau_object_ctor+0x3b/0xe0 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792756] [<f852ce78>] nouveau_gpuobj_new+0x58/0x60 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792772] [<f8548c0a>] nouveau_vm_get+0x18a/0x250 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792776] [<c05372fa>] ? map_vm_area+0x3a/0x60
Jan 28 14:47:32 localhost kernel: [357498.792796] [<f8593784>] nouveau_bo_vma_add+0x44/0xf0 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792815] [<f858e436>] nouveau_channel_prep+0x1f6/0x310 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792835] [<f858e583>] nouveau_channel_new+0x33/0x620 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792856] [<f8595c0d>] ? nouveau_abi16_ioctl_channel_alloc+0xdd/0x350 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792910] [<f8595c0d>] ? nouveau_abi16_ioctl_channel_alloc+0xdd/0x350 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792929] [<f8595c86>] nouveau_abi16_ioctl_channel_alloc+0x156/0x350 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792949] [<f8595b30>] ? nouveau_abi16_ioctl_setparam+0x10/0x10 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792960] [<f83c5d62>] drm_ioctl+0x422/0x480 [drm]
Jan 28 14:47:32 localhost kernel: [357498.792969] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.792988] [<f8595b30>] ? nouveau_abi16_ioctl_setparam+0x10/0x10 [nouveau]
Jan 28 14:47:32 localhost kernel: [357498.792993] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.792998] [<c052d8fd>] ? handle_mm_fault+0x1ed/0x290
Jan 28 14:47:32 localhost kernel: [357498.793026] [<f83c5940>] ? drm_copy_field+0x80/0x80 [drm]
Jan 28 14:47:32 localhost kernel: [357498.793030] [<c0568cfa>] do_vfs_ioctl+0x7a/0x590
Jan 28 14:47:32 localhost kernel: [357498.793035] [<c0631f2a>] ? inode_has_perm.isra.31.constprop.62+0x3a/0x50
Jan 28 14:47:32 localhost kernel: [357498.793037] [<c0633570>] ? file_has_perm+0xa0/0xb0
Jan 28 14:47:32 localhost kernel: [357498.793040] [<c0633988>] ? selinux_file_ioctl+0x48/0xe0
Jan 28 14:47:32 localhost kernel: [357498.793043] [<c056927b>] sys_ioctl+0x6b/0x80
Jan 28 14:47:32 localhost kernel: [357498.793046] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.793049] [<c098f94d>] sysenter_do_call+0x12/0x28
Jan 28 14:47:32 localhost kernel: [357498.793052] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.793054] [<c0586442>] ? __block_write_full_page+0x152/0x370
Jan 28 14:47:32 localhost kernel: [357498.793056] ---[ end trace 5ab85add3f2620f7 ]---
Comment 4 Marcin Slusarz 2013-01-29 21:51:59 UTC
Created attachment 73880 [details] [review]
fix barobj allocation

This patch should fix it.
Comment 5 Cornel Panceac 2013-01-30 09:46:29 UTC
Created attachment 73915 [details]
dmesg, after the crash
Comment 6 Cornel Panceac 2013-01-30 15:12:53 UTC
Thank you very much, Marcin. The new kernel is working perfectly for an hour, now. I'll report back as soon as i'll have more info.
Comment 7 Cornel Panceac 2013-02-01 20:52:33 UTC
with 3.7 kernel, patched or unpatched, it doesn't matter, on nvidia 6150, the screen becomes full of garbage (displayed in an order not easy to describe), and the system freezes.

Steps to reporduce: open pidgin, enter yahoo account, select "Open inbox" from "Accounts".

This does not happen on 3.6 kernel.

in /var/log/messages, if i boot with 3.6 kernel i see: 

Feb  2 00:39:47 logalhost kernel: [    1.076939] [drm] nouveau 0000:00:0d.0: ======= misaligned reg 0x0060081D =======

The kernel that does work:

# uname -a
Linux logalhost.logaldomain 3.6.11-5.fc17.i686.PAE #1 SMP Tue Jan 8 21:49:19 UTC 2013 i686 i686 i386 GNU/Linux

# lspci -nn | grep VGA
00:0d.0 VGA compatible controller [0300]: nVidia Corporation C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
Comment 8 Cornel Panceac 2013-02-03 06:32:22 UTC
Created attachment 74114 [details]
locked f17 system screen, and what is occasionally displayed in f18's eye of gnome
Comment 9 Cornel Panceac 2013-02-03 07:28:29 UTC
i'll attach Xorg logs and tail -f /var/log/messages with the native, working 3.6 f17 kernel, and with the patched crashing f18 kernel.
Comment 10 Cornel Panceac 2013-02-03 07:29:16 UTC
Created attachment 74115 [details]
crash xorg log
Comment 11 Cornel Panceac 2013-02-03 07:29:38 UTC
Created attachment 74116 [details]
good kernel xorg log
Comment 12 Cornel Panceac 2013-02-03 07:30:04 UTC
Created attachment 74117 [details]
no crash messages
Comment 13 Cornel Panceac 2013-02-03 07:30:25 UTC
Created attachment 74118 [details]
crash patched kernel
Comment 14 Cornel Panceac 2013-02-03 07:32:00 UTC
meanwhile ben skeggs started working on 

https://bugzilla.redhat.com/show_bug.cgi?id=905629

thank you all very much for help in fixing these nasty crashes.
Comment 15 Marcin Slusarz 2013-02-03 20:30:00 UTC
This is totally different issue - different card generations (nv4x vs nv5x) and different symptoms (garbage on screen vs kernel crash). 

The patch I posted pertains only to nv50/kernel crash issue.
Comment 16 Cornel Panceac 2013-02-03 21:31:45 UTC
still, there is this pattern that i've seen both on fedora 17 (at kernel crash) and on fedora 18, while opening some big jpegs in eye of gnome. this suggests there are some other common issues, not fixed yet. 

to keep things in sync, after applying your patch, the original fedora 18 system didn't had any video problems at all. thank you.
Comment 17 Ilia Mirkin 2013-03-05 21:01:50 UTC
Marcin, is your patch upstream somewhere? I also hit the iowrite32 error with 3.7.9, 64-bit:

BUG: unable to handle kernel paging request at ffffc90013a00000
IP: [<ffffffff812eaf98>] iowrite32+0x12/0x33
...
[<ffffffffa014a38e>] nouveau_barobj_wr32+0x16/0x18 [nouveau]
[<ffffffffa0147939>] _nouveau_gpuobj_wr32+0x26/0x28 [nouveau]
[<ffffffffa0147bff>] nouveau_gpuobj_create_+0x1fe/0x243 [nouveau]
[<ffffffffa0147c81>] _nouveau_gpuobj_ctor+0x3d/0x4b [nouveau]
[<ffffffffa0148fb3>] nouveau_object_ctor+0x2b/0x9f [nouveau]
[<ffffffffa0147cdd>] nouveau_gpuobj_new+0x4e/0x50 [nouveau]
[<ffffffffa0160570>] nouveau_vm_get+0x161/0x26c [nouveau]
[<ffffffffa01a026c>] nouveau_bo_vma_add+0x43/0xc2 [nouveau]
[<ffffffffa019be4e>] nouveau_channel_prep+0x156/0x26c [nouveau]
[<ffffffffa019bf9d>] nouveau_channel_new+0x39/0x570 [nouveau]

Twice, in fact, now, both at the exact same address, triggered by chrome.

Should I give this patch a try, or has it been superceded by some other commit?
Comment 18 Ilia Mirkin 2013-08-21 16:57:29 UTC
@Cornel: Can you check if your NV98 card (that you originally filed the issue about) is fine with the latest kernels? Or does it still require Marcin's patch? If you're having another issue with another card, please file a separate issue for it.
Comment 19 Cornel Panceac 2013-08-30 11:20:19 UTC
Hi Ilia, I have just switched back to gm=nome-shell and i"ll use it for a while to see how stable it is. In gnome 3 Fallback Mode i did not have any significant issues. I"m using the latest Fedora kernel:

$ uname -a
Linux localhost.localdomain 3.9.11-200.fc18.i686.PAE #1 SMP Mon Jul 22 21:19:06 UTC 2013 i686 i686 i386 GNU/Linux
Comment 20 Ilia Mirkin 2013-10-01 16:18:55 UTC
No response after a month, I'm presuming that this is fixed. Feel free to re-open if that is not the case.
Comment 21 Cornel Panceac 2013-10-01 17:46:28 UTC
Sorry for not updating this. I have used nouveau with gnome-shell for a while but it eventually started to create issues (like after a few days of being up). However, it seems that gnome-shell has similar issues (interface sometimes freezes, or works very slow) on ati open source driver as well as intel open source driver, so i"m not that sure it"s nouveau"s fault at all.

Thank you for all your help.

ps
Yes, the symptoms above are from kernels without any patch applied. Also, fallback mode works fine as reported.


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.