Bug 733356 - nouveau triggers page allocation failure from nouveau_sgdma_populate()
Summary: nouveau triggers page allocation failure from nouveau_sgdma_populate()
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-25 14:37 UTC by David Juran
Modified: 2012-08-07 15:37 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 15:37:23 UTC


Attachments (Terms of Use)

Description David Juran 2011-08-25 14:37:19 UTC
Description of problem:
During normal desktop use, X suddenly froze up (after a while the mouse cursor started working but not much more). In the syslog, the following massages could be found:

Aug 24 20:10:38 localhost kernel: [36190.087684] Xorg: page allocation failure: order:4, mode:0x40d0
Aug 24 20:10:38 localhost kernel: [36190.087692] Pid: 1380, comm: Xorg Not tainted 2.6.40.3-0.fc15.x86_64 #1
Aug 24 20:10:38 localhost kernel: [36190.087695] Call Trace:
Aug 24 20:10:38 localhost kernel: [36190.087708]  [<ffffffff810dfd72>] warn_alloc_failed+0x111/0x13d
Aug 24 20:10:38 localhost kernel: [36190.087714]  [<ffffffff810e2d25>] __alloc_pages_nodemask+0x6c5/0x736
Aug 24 20:10:38 localhost kernel: [36190.087720]  [<ffffffff8110db8e>] alloc_pages_current+0xbe/0xd8
Aug 24 20:10:38 localhost kernel: [36190.087725]  [<ffffffff811f2cf6>] ? security_capable+0x2a/0x2c
Aug 24 20:10:38 localhost kernel: [36190.087729]  [<ffffffff810df6b7>] __get_free_pages+0xe/0x4a
Aug 24 20:10:38 localhost kernel: [36190.087734]  [<ffffffff81114cfb>] kmalloc_order_trace+0x2c/0x5e
Aug 24 20:10:38 localhost kernel: [36190.087737]  [<ffffffff8111658e>] __kmalloc+0x37/0x115
Aug 24 20:10:38 localhost kernel: [36190.087793]  [<ffffffffa008eafa>] nouveau_sgdma_populate+0x8a/0x167 [nouveau]
Aug 24 20:10:38 localhost kernel: [36190.087804]  [<ffffffffa0072e52>] ? __ttm_tt_get_page+0xac/0xb0 [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087812]  [<ffffffffa00730ff>] ttm_tt_populate+0x63/0x7c [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087818]  [<ffffffffa007314a>] ttm_tt_bind+0x32/0x66 [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087825]  [<ffffffffa00747bb>] ttm_bo_handle_move_mem+0x10c/0x299 [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087832]  [<ffffffffa0074be7>] ttm_bo_evict+0x29f/0x2e8 [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087840]  [<ffffffffa0074d82>] ttm_mem_evict_first+0x152/0x180 [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087847]  [<ffffffffa00753f7>] ttm_bo_mem_space+0x29b/0x2ea [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087855]  [<ffffffffa00754fc>] ttm_bo_move_buffer+0xb6/0x10c [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087885]  [<ffffffffa0031be4>] ? drm_mm_insert_helper+0xd3/0xec [drm]
Aug 24 20:10:38 localhost kernel: [36190.087892]  [<ffffffffa0075608>] ttm_bo_validate+0xb6/0xf4 [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087899]  [<ffffffffa0075946>] ttm_bo_init+0x300/0x339 [ttm]
Aug 24 20:10:38 localhost kernel: [36190.087914]  [<ffffffffa008fe82>] nouveau_bo_new+0x246/0x283 [nouveau]
Aug 24 20:10:38 localhost kernel: [36190.087927]  [<ffffffffa008fa45>] ? nouveau_bo_create_ttm_backend_entry+0x6c/0x6c [nouveau]
Aug 24 20:10:38 localhost kernel: [36190.087939]  [<ffffffffa0029e85>] ? drm_gem_handle_delete+0x6d/0x6d [drm]
Aug 24 20:10:38 localhost kernel: [36190.087954]  [<ffffffffa009209e>] ? nouveau_gem_object_del+0x5d/0x64 [nouveau]
Aug 24 20:10:38 localhost kernel: [36190.087968]  [<ffffffffa0092103>] nouveau_gem_new+0x5e/0xee [nouveau]
Aug 24 20:10:38 localhost kernel: [36190.087979]  [<ffffffffa0029eb0>] ? drm_gem_object_free+0x2b/0x2d [drm]
Aug 24 20:10:38 localhost kernel: [36190.087984]  [<ffffffff8123924b>] ? kref_put+0x43/0x4d
Aug 24 20:10:38 localhost kernel: [36190.087999]  [<ffffffffa0092272>] nouveau_gem_ioctl_new+0xdf/0x18d [nouveau]
Aug 24 20:10:38 localhost kernel: [36190.088038]  [<ffffffffa00287f7>] drm_ioctl+0x29e/0x37b [drm]
Aug 24 20:10:38 localhost kernel: [36190.088053]  [<ffffffffa0092193>] ? nouveau_gem_new+0xee/0xee [nouveau]
Aug 24 20:10:38 localhost kernel: [36190.088060]  [<ffffffff811f6290>] ? inode_has_perm+0x32/0x34
Aug 24 20:10:38 localhost kernel: [36190.088063]  [<ffffffff811f6339>] ? file_has_perm+0xa7/0xc9
Aug 24 20:10:38 localhost kernel: [36190.088069]  [<ffffffff81134e06>] do_vfs_ioctl+0x460/0x4a1
Aug 24 20:10:38 localhost kernel: [36190.088073]  [<ffffffff81134e9d>] sys_ioctl+0x56/0x79
Aug 24 20:10:38 localhost kernel: [36190.088078]  [<ffffffff81488a26>] ? do_device_not_available+0xe/0x10
Aug 24 20:10:38 localhost kernel: [36190.088083]  [<ffffffff8148e182>] system_call_fastpath+0x16/0x1b
Aug 24 20:10:38 localhost kernel: [36190.088086] Mem-Info:
Aug 24 20:10:38 localhost kernel: [36190.088088] Node 0 DMA per-cpu:
Aug 24 20:10:38 localhost kernel: [36190.088091] CPU    0: hi:    0, btch:   1 usd:   0
Aug 24 20:10:38 localhost kernel: [36190.088094] CPU    1: hi:    0, btch:   1 usd:   0
Aug 24 20:10:38 localhost kernel: [36190.088096] Node 0 DMA32 per-cpu:
Aug 24 20:10:38 localhost kernel: [36190.088099] CPU    0: hi:  186, btch:  31 usd:   0
Aug 24 20:10:38 localhost kernel: [36190.088102] CPU    1: hi:  186, btch:  31 usd: 108
Aug 24 20:10:38 localhost kernel: [36190.088108] active_anon:189415 inactive_anon:77546 isolated_anon:34
Aug 24 20:10:38 localhost kernel: [36190.088110]  active_file:56613 inactive_file:56538 isolated_file:17
Aug 24 20:10:38 localhost kernel: [36190.088111]  unevictable:4 dirty:9 writeback:0 unstable:0
Aug 24 20:10:38 localhost kernel: [36190.088112]  free:16149 slab_reclaimable:22186 slab_unreclaimable:12310
Aug 24 20:10:38 localhost kernel: [36190.088114]  mapped:26308 shmem:1585 pagetables:9559 bounce:0
Aug 24 20:10:38 localhost kernel: [36190.088117] Node 0 DMA free:8344kB min:340kB low:424kB high:508kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15688kB mlocked:0kB dirty:0kB writeback:0kB mapped:416kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:20kB kernel_stack:0kB pagetables:12kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Aug 24 20:10:38 localhost kernel: [36190.088130] lowmem_reserve[]: 0 2004 2004 2004
Aug 24 20:10:38 localhost kernel: [36190.088134] Node 0 DMA32 free:56252kB min:44712kB low:55888kB high:67068kB active_anon:757696kB inactive_anon:310184kB active_file:226452kB inactive_file:226152kB unevictable:16kB isolated(anon):136kB isolated(file):68kB present:2052256kB mlocked:16kB dirty:36kB writeback:0kB mapped:104816kB shmem:6340kB slab_reclaimable:88744kB slab_unreclaimable:49220kB kernel_stack:2952kB pagetables:38224kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Aug 24 20:10:38 localhost kernel: [36190.088147] lowmem_reserve[]: 0 0 0 0
Aug 24 20:10:38 localhost kernel: [36190.088151] Node 0 DMA: 1*4kB 0*8kB 1*16kB 1*32kB 0*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 4*2048kB 0*4096kB = 8372kB
Aug 24 20:10:38 localhost kernel: [36190.088161] Node 0 DMA32: 12965*4kB 199*8kB 37*16kB 3*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB = 56252kB
Aug 24 20:10:38 localhost kernel: [36190.088171] 116698 total pagecache pages
Aug 24 20:10:38 localhost kernel: [36190.088174] 1990 pages in swap cache
Aug 24 20:10:38 localhost kernel: [36190.088176] Swap cache stats: add 23792, delete 21802, find 6112/6994
Aug 24 20:10:38 localhost kernel: [36190.088178] Free swap  = 1985532kB
Aug 24 20:10:38 localhost kernel: [36190.088180] Total swap = 2031612kB
Aug 24 20:10:38 localhost kernel: [36190.101601] 524256 pages RAM
Aug 24 20:10:38 localhost kernel: [36190.101603] 9878 pages reserved
Aug 24 20:10:38 localhost kernel: [36190.101605] 141419 pages shared
Aug 24 20:10:38 localhost kernel: [36190.101607] 438362 pages non-shared
Aug 24 20:10:38 localhost kernel: [36190.102723] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DMA_W_PROTECTION nstatus: PROTECTION_FAULT
Aug 24 20:10:38 localhost kernel: [36190.102736] [drm] nouveau 0000:01:00.0: PGRAPH - ch 0 (0x000c3000) subc 0 class 0x0039 mthd 0x0100 data 0x00000000


Version-Release number of selected component (if applicable):
kernel-2.6.40.3-0.fc15

How reproducible:
Only happened once

Comment 1 Fedora End Of Life 2012-08-07 15:37:25 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.