mmotm 2010-04-28 - nouveau driver issues

2010-05-02 Thread valdis.kletni...@vt.edu
On Wed, 28 Apr 2010 16:53:32 PDT, akpm at linux-foundation.org said:
> The mm-of-the-moment snapshot 2010-04-28-16-53 has been uploaded to
> 
>http://userweb.kernel.org/~akpm/mmotm/

The nouveau driver had issues during boot, caused plymouth to have indigestion
and fall back to 24x80 character mode. This happened sometime between
-mmotm0422 and -mmotm0428.  Looks like something in linux-next, cc'ing
anybody who apparently touched nouveau code.  Will bisect if nobody has
a good idea what happened.

The X server was able to init the card and get gdm started just fine.

lspci says: 01:00.0 VGA compatible controller: nVidia Corporation G98M [Quadro 
NVS 160M] (rev a1)

[1.038152] [drm] nouveau :01:00.0: Detected 256MiB VRAM
[1.194505] [TTM] Zone  kernel: Available graphics memory: 2013496 kiB.
[1.194508] [ttm] Initializing pool allocator.
[1.194896] [ cut here ]
[1.194903] WARNING: at arch/x86/mm/ioremap.c:111 
__ioremap_caller+0x238/0x3f4()
[1.194906] Hardware name: Latitude E6500  
[1.194908] Modules linked in:
[1.194912] Pid: 1, comm: swapper Not tainted 2.6.34-rc5-mmotm0428 #1
[1.194915] Call Trace:
[1.194921]  [] warn_slowpath_common+0x80/0x98
[1.194925]  [] warn_slowpath_null+0x15/0x17
[1.194929]  [] __ioremap_caller+0x238/0x3f4
[1.194934]  [] ? ttm_mem_reg_ioremap+0x54/0x7b
[1.194939]  [] ? kmem_cache_alloc_notrace+0x68/0xc0
[1.194942]  [] ioremap_nocache+0x12/0x14
[1.194946]  [] ttm_mem_reg_ioremap+0x54/0x7b
[1.194950]  [] ttm_bo_move_memcpy+0x5e/0x3e0
[1.194954]  [] ? drm_mm_split_at_start+0x79/0x95
[1.194959]  [] ? do_raw_spin_unlock+0xd0/0xfa
[1.194964]  [] nouveau_bo_move+0x19e/0x222
[1.194968]  [] ttm_bo_handle_move_mem+0x1b4/0x2c0
[1.194972]  [] ttm_bo_move_buffer+0xf4/0x14d
[1.194976]  [] ? __list_add+0xb7/0xd2
[1.194980]  [] ttm_bo_validate+0xec/0x13e
[1.194983]  [] ? do_raw_write_unlock+0x7e/0xc8
[1.194987]  [] ttm_bo_init+0x3e0/0x419
[1.194990]  [] nouveau_bo_new+0x394/0x405
[1.194994]  [] ? nouveau_bo_del_ttm+0x0/0xb3
[1.194997]  [] ? drm_mm_init+0x63/0x6b
[1.195015]  [] nouveau_mem_init+0x262/0x42f
[1.195019]  [] nouveau_card_init+0xb09/0xe35
[1.195023]  [] nouveau_load+0x4e6/0x50c
[1.195028]  [] drm_get_dev+0x3bf/0x4cc
[1.195034]  [] nouveau_pci_probe+0x10/0x12
[1.195039]  [] local_pci_probe+0x12/0x16
[1.195043]  [] pci_device_probe+0x60/0x8f
[1.195048]  [] ? driver_sysfs_add+0x47/0x6c
[1.195052]  [] driver_probe_device+0xde/0x178
[1.195056]  [] __driver_attach+0x5c/0x80
[1.195060]  [] ? __driver_attach+0x0/0x80
[1.195063]  [] ? __driver_attach+0x0/0x80
[1.195067]  [] bus_for_each_dev+0x54/0x89
[1.195071]  [] driver_attach+0x19/0x1b
[1.195075]  [] bus_add_driver+0xb4/0x206
[1.195079]  [] driver_register+0xb8/0x129
[1.195083]  [] __pci_register_driver+0x63/0xd3
[1.195088]  [] ? nouveau_init+0x0/0x52
[1.195092]  [] drm_init+0x6b/0xd1
[1.195096]  [] ? nouveau_init+0x0/0x52
[1.195100]  [] nouveau_init+0x50/0x52
[1.195104]  [] do_one_initcall+0x59/0x14e
[1.195109]  [] kernel_init+0x144/0x1ce
[1.195113]  [] kernel_thread_helper+0x4/0x10
[1.195117]  [] ? restore_args+0x0/0x30
[1.195121]  [] ? kernel_init+0x0/0x1ce
[1.195125]  [] ? kernel_thread_helper+0x0/0x10
[1.195192] ---[ end trace f31dec58d66d24a5 ]---
[1.195323] [drm] nouveau :01:00.0: failed to reserve VGA memory
[1.195360] resource map sanity check conflict: 0x0 0xf 0xa 0xb 
PCI Bus :00
[1.195363] [ cut here ]
[1.195366] WARNING: at arch/x86/mm/ioremap.c:98 
__ioremap_caller+0x13b/0x3f4()
[1.195369] Hardware name: Latitude E6500  
[1.195371] Info: mapping multiple BARs. Your kernel is fine.
[1.195373] Modules linked in:
[1.195376] Pid: 1, comm: swapper Tainted: GW   2.6.34-rc5-mmotm0428 
#1
[1.195378] Call Trace:
[1.195382]  [] warn_slowpath_common+0x80/0x98
[1.195386]  [] warn_slowpath_fmt+0x41/0x43
[1.195390]  [] __ioremap_caller+0x13b/0x3f4
[1.195394]  [] ? ttm_mem_reg_ioremap+0x54/0x7b
[1.195399]  [] ? mark_held_locks+0x52/0x70
[1.195403]  [] ? kmem_cache_alloc_notrace+0x68/0xc0
[1.195407]  [] ioremap_nocache+0x12/0x14
[1.195410]  [] ttm_mem_reg_ioremap+0x54/0x7b
[1.195414]  [] ttm_bo_move_memcpy+0x5e/0x3e0
[1.195418]  [] ? drm_mm_split_at_start+0x79/0x95
[1.195421]  [] ? do_raw_spin_unlock+0xd0/0xfa
[1.195425]  [] nouveau_bo_move+0x19e/0x222
[1.195429]  [] ttm_bo_handle_move_mem+0x1b4/0x2c0
[1.195433]  [] ttm_bo_move_buffer+0xf4/0x14d
[1.195437]  [] ? __list_add+0xb7/0xd2
[1.195441]  [] ttm_bo_validate+0xec/0x13e
[1.195445]  [] ? do_raw_write_unlock+0x7e/0xc8
[1.195448]  [] ttm_bo_init+0x3e0/0x419
[1.195452]  [] nouveau_bo_new+0x394/0x405
[1.195455]  [] ? 

mmotm 2010-04-28 - nouveau driver issues

2010-05-02 Thread Valdis . Kletnieks
On Wed, 28 Apr 2010 16:53:32 PDT, a...@linux-foundation.org said:
 The mm-of-the-moment snapshot 2010-04-28-16-53 has been uploaded to
 
http://userweb.kernel.org/~akpm/mmotm/

The nouveau driver had issues during boot, caused plymouth to have indigestion
and fall back to 24x80 character mode. This happened sometime between
-mmotm0422 and -mmotm0428.  Looks like something in linux-next, cc'ing
anybody who apparently touched nouveau code.  Will bisect if nobody has
a good idea what happened.

The X server was able to init the card and get gdm started just fine.

lspci says: 01:00.0 VGA compatible controller: nVidia Corporation G98M [Quadro 
NVS 160M] (rev a1)

[1.038152] [drm] nouveau :01:00.0: Detected 256MiB VRAM
[1.194505] [TTM] Zone  kernel: Available graphics memory: 2013496 kiB.
[1.194508] [ttm] Initializing pool allocator.
[1.194896] [ cut here ]
[1.194903] WARNING: at arch/x86/mm/ioremap.c:111 
__ioremap_caller+0x238/0x3f4()
[1.194906] Hardware name: Latitude E6500  
[1.194908] Modules linked in:
[1.194912] Pid: 1, comm: swapper Not tainted 2.6.34-rc5-mmotm0428 #1
[1.194915] Call Trace:
[1.194921]  [81038936] warn_slowpath_common+0x80/0x98
[1.194925]  [81038963] warn_slowpath_null+0x15/0x17
[1.194929]  [8102064a] __ioremap_caller+0x238/0x3f4
[1.194934]  [812b27ba] ? ttm_mem_reg_ioremap+0x54/0x7b
[1.194939]  [810d6aff] ? kmem_cache_alloc_notrace+0x68/0xc0
[1.194942]  [8102088f] ioremap_nocache+0x12/0x14
[1.194946]  [812b27ba] ttm_mem_reg_ioremap+0x54/0x7b
[1.194950]  [812b2b5c] ttm_bo_move_memcpy+0x5e/0x3e0
[1.194954]  [812a4d7d] ? drm_mm_split_at_start+0x79/0x95
[1.194959]  [8120ec2d] ? do_raw_spin_unlock+0xd0/0xfa
[1.194964]  [812c21cf] nouveau_bo_move+0x19e/0x222
[1.194968]  [812afe79] ttm_bo_handle_move_mem+0x1b4/0x2c0
[1.194972]  [812b1d9e] ttm_bo_move_buffer+0xf4/0x14d
[1.194976]  [81210b2d] ? __list_add+0xb7/0xd2
[1.194980]  [812b1ee3] ttm_bo_validate+0xec/0x13e
[1.194983]  [8120e900] ? do_raw_write_unlock+0x7e/0xc8
[1.194987]  [812b2315] ttm_bo_init+0x3e0/0x419
[1.194990]  [812c2957] nouveau_bo_new+0x394/0x405
[1.194994]  [812c2510] ? nouveau_bo_del_ttm+0x0/0xb3
[1.194997]  [812a4cca] ? drm_mm_init+0x63/0x6b
[1.195015]  [812ba319] nouveau_mem_init+0x262/0x42f
[1.195019]  [812b7e02] nouveau_card_init+0xb09/0xe35
[1.195023]  [812b86de] nouveau_load+0x4e6/0x50c
[1.195028]  [812a0fee] drm_get_dev+0x3bf/0x4cc
[1.195034]  [8158c3be] nouveau_pci_probe+0x10/0x12
[1.195039]  [8121d71b] local_pci_probe+0x12/0x16
[1.195043]  [8121db88] pci_device_probe+0x60/0x8f
[1.195048]  [813082e3] ? driver_sysfs_add+0x47/0x6c
[1.195052]  [81308462] driver_probe_device+0xde/0x178
[1.195056]  [81308558] __driver_attach+0x5c/0x80
[1.195060]  [813084fc] ? __driver_attach+0x0/0x80
[1.195063]  [813084fc] ? __driver_attach+0x0/0x80
[1.195067]  [81307a47] bus_for_each_dev+0x54/0x89
[1.195071]  [8130829a] driver_attach+0x19/0x1b
[1.195075]  [81307ee2] bus_add_driver+0xb4/0x206
[1.195079]  [81308857] driver_register+0xb8/0x129
[1.195083]  [8121ddbe] __pci_register_driver+0x63/0xd3
[1.195088]  [81b4f4c4] ? nouveau_init+0x0/0x52
[1.195092]  [8129ba89] drm_init+0x6b/0xd1
[1.195096]  [81b4f4c4] ? nouveau_init+0x0/0x52
[1.195100]  [81b4f514] nouveau_init+0x50/0x52
[1.195104]  [810001ef] do_one_initcall+0x59/0x14e
[1.195109]  [81b2e68a] kernel_init+0x144/0x1ce
[1.195113]  [81003414] kernel_thread_helper+0x4/0x10
[1.195117]  [81598a40] ? restore_args+0x0/0x30
[1.195121]  [81b2e546] ? kernel_init+0x0/0x1ce
[1.195125]  [81003410] ? kernel_thread_helper+0x0/0x10
[1.195192] ---[ end trace f31dec58d66d24a5 ]---
[1.195323] [drm] nouveau :01:00.0: failed to reserve VGA memory
[1.195360] resource map sanity check conflict: 0x0 0xf 0xa 0xb 
PCI Bus :00
[1.195363] [ cut here ]
[1.195366] WARNING: at arch/x86/mm/ioremap.c:98 
__ioremap_caller+0x13b/0x3f4()
[1.195369] Hardware name: Latitude E6500  
[1.195371] Info: mapping multiple BARs. Your kernel is fine.
[1.195373] Modules linked in:
[1.195376] Pid: 1, comm: swapper Tainted: GW   2.6.34-rc5-mmotm0428 
#1
[1.195378] Call Trace:
[1.195382]  [81038936] warn_slowpath_common+0x80/0x98
[1.195386]  [810389e2] warn_slowpath_fmt+0x41/0x43
[1.195390]  [8102054d] __ioremap_caller+0x13b/0x3f4
[1.195394]