lkml.org 
[lkml]   [2006]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.6.18-rc1-mm1 oom with nvidia driver + ut2004?
Hi there!

I don't know if it's a kernel or nvidia driver issue, but maybe someone
has some clue:

I tried 2.6.18-rc1-mm1 today with the nvidia driver 1.0.8762.
I enabled CONFIG_SWAP_PREFETCH and CONFIG_ADAPTIVE_READAHEAD in kernel
config (attached).


Then I wanted to start ut2004 and got this OOM:

Jul 13 17:59:53 phoebee [ 152.425748] agpgart: Detected SiS 646 chipset
Jul 13 17:59:53 phoebee [ 152.443330] agpgart: AGP aperture is 64M @ 0xe0000000
Jul 13 18:00:07 phoebee yasuc[9267]: Transfer successful
Jul 13 18:00:17 phoebee [ 176.381610] oom-killer: gfp_mask=0x2d1, order=0
Jul 13 18:00:17 phoebee [ 176.381836] [<c013e083>] out_of_memory+0xe9/0xf6
Jul 13 18:00:17 phoebee [ 176.381923] [<c013f1ff>] __alloc_pages+0x227/0x2ab
Jul 13 18:00:17 phoebee [ 176.382115] [<c013f2a0>] __get_free_pages+0x1d/0x33
Jul 13 18:00:17 phoebee [ 176.382195] [<f8fdb508>] nv_vm_malloc_pages+0xde/0x26c [nvidia]
Jul 13 18:00:17 phoebee [ 176.382476] [<f8fda219>] nv_alloc_pages+0x1a3/0x25c [nvidia]
Jul 13 18:00:17 phoebee [ 176.382685] [<c01038a6>] common_interrupt+0x1a/0x20
Jul 13 18:00:17 phoebee [ 176.382768] [<f8d826fb>] _nv002582rm+0x47/0x4c [nvidia]
Jul 13 18:00:17 phoebee [ 176.382979] [<f8d82133>] _nv002500rm+0x1b/0x20 [nvidia]
Jul 13 18:00:17 phoebee [ 176.383150] [<f8f41463>] _nv003646rm+0x33/0x13c [nvidia]
Jul 13 18:00:17 phoebee [ 176.383365] [<f8f413a6>] _nv003645rm+0x56/0xc0 [nvidia]
Jul 13 18:00:17 phoebee [ 176.383576] [<f8ee8c72>] _nv005475rm+0x43a/0x47c [nvidia]
Jul 13 18:00:17 phoebee [ 176.383792] [<f8ee9841>] _nv005436rm+0x15/0x1c [nvidia]
Jul 13 18:00:17 phoebee [ 176.384539] [<f8d67610>] _nv001922rm+0xe4/0x190 [nvidia]
Jul 13 18:00:17 phoebee [ 176.384751] [<f8d6763d>] _nv001922rm+0x111/0x190 [nvidia]
Jul 13 18:00:17 phoebee [ 176.384913] [<f8ee8f9a>] _nv005203rm+0x8a/0x94 [nvidia]
Jul 13 18:00:17 phoebee [ 176.385156] [<f8d679a7>] _nv001927rm+0x2eb/0x5e8 [nvidia]
Jul 13 18:00:17 phoebee [ 176.385324] [<f8d64dbf>] _nv003371rm+0x8b/0xd8 [nvidia]
Jul 13 18:00:17 phoebee [ 176.385486] [<f8d8c3f3>] _nv001809rm+0x143/0x5d0 [nvidia]
Jul 13 18:00:17 phoebee [ 176.385657] [<f8fdc78b>] os_pci_read_dword+0x36/0x42 [nvidia]
Jul 13 18:00:17 phoebee [ 176.385865] [<c0304627>] bit_xfer+0x583/0x643
Jul 13 18:00:17 phoebee [ 176.385958] [<f8fd6d53>] verify_pci_bars+0x3f/0x134 [nvidia]
Jul 13 18:00:17 phoebee [ 176.386169] [<c025cb8f>] pci_bus_read_config_word+0x63/0x82
Jul 13 18:00:17 phoebee [ 176.386255] [<f8d8ac4c>] rm_ioctl+0x1c/0x24 [nvidia]
Jul 13 18:00:17 phoebee [ 176.386430] [<c02563ab>] copy_from_user+0x3a/0x73
Jul 13 18:00:17 phoebee [ 176.386514] [<f8fd8feb>] nv_kern_ioctl+0x33a/0x38e [nvidia]
Jul 13 18:00:17 phoebee [ 176.386713] [<f8fd905a>] nv_kern_unlocked_ioctl+0x1b/0x23 [nvidia]
Jul 13 18:00:17 phoebee [ 176.386916] [<f8fd903f>] nv_kern_unlocked_ioctl+0x0/0x23 [nvidia]
Jul 13 18:00:17 phoebee [ 176.387133] [<c016afd2>] do_ioctl+0x72/0x82
Jul 13 18:00:17 phoebee [ 176.387215] [<c0304627>] bit_xfer+0x583/0x643
Jul 13 18:00:17 phoebee [ 176.387291] [<c016b160>] vfs_ioctl+0x5e/0x1a9
Jul 13 18:00:17 phoebee [ 176.387368] [<c016b2e8>] sys_ioctl+0x3d/0x65
Jul 13 18:00:17 phoebee [ 176.387445] [<c0102eb5>] sysenter_past_esp+0x56/0x79
Jul 13 18:00:17 phoebee [ 176.387530] [<c0304627>] bit_xfer+0x583/0x643
Jul 13 18:00:17 phoebee [ 176.387607] Mem-info:
Jul 13 18:00:17 phoebee [ 176.387662] DMA per-cpu:
Jul 13 18:00:17 phoebee [ 176.387735] cpu 0 hot: high 0, batch 1 used:0
Jul 13 18:00:17 phoebee [ 176.387799] cpu 0 cold: high 0, batch 1 used:0
Jul 13 18:00:17 phoebee [ 176.387862] Normal per-cpu:
Jul 13 18:00:17 phoebee [ 176.387984] cpu 0 hot: high 186, batch 31 used:155
Jul 13 18:00:17 phoebee [ 176.388052] cpu 0 cold: high 62, batch 15 used:47
Jul 13 18:00:17 phoebee [ 176.388117] HighMem per-cpu:
Jul 13 18:00:17 phoebee [ 176.388189] cpu 0 hot: high 42, batch 7 used:40
Jul 13 18:00:17 phoebee [ 176.388253] cpu 0 cold: high 14, batch 3 used:12
Jul 13 18:00:17 phoebee [ 176.388319] Active:79673 inactive:37272 dirty:537 writeback:0 unstable:0 free:133684 slab:2446 mapped:9573 pagetables:334
Jul 13 18:00:17 phoebee [ 176.388405] DMA free:68kB min:68kB low:84kB high:100kB active:0kB inactive:0kB present:16384kB pages_scanned:0 all_unreclaimable? yes
Jul 13 18:00:17 phoebee [ 176.388490] lowmem_reserve[]: 0 880 1007
Jul 13 18:00:17 phoebee [ 176.388598] Normal free:515912kB min:3756kB low:4692kB high:5632kB active:220920kB inactive:140468kB present:901120kB pages_scanned:0 all_unreclaimable? no
Jul 13 18:00:17 phoebee [ 176.388687] lowmem_reserve[]: 0 0 1023
Jul 13 18:00:17 phoebee [ 176.388794] HighMem free:18756kB min:128kB low:264kB high:400kB active:97772kB inactive:8620kB present:131008kB pages_scanned:0 all_unreclaimable? no
Jul 13 18:00:17 phoebee [ 176.388881] lowmem_reserve[]: 0 0 0
Jul 13 18:00:17 phoebee [ 176.388993] DMA: 1*4kB 0*8kB 0*16kB 0*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 68kB
Jul 13 18:00:17 phoebee [ 176.389204] Normal: 726*4kB 208*8kB 131*16kB 88*32kB 27*64kB 15*128kB 6*256kB 3*512kB 2*1024kB 1*2048kB 121*4096kB = 515912kB
Jul 13 18:00:17 phoebee [ 176.389418] HighMem: 701*4kB 448*8kB 209*16kB 102*32kB 36*64kB 11*128kB 4*256kB 2*512kB 0*1024kB 0*2048kB 0*4096kB = 18756kB
Jul 13 18:00:17 phoebee [ 176.389632] Swap cache: add 0, delete 0, find 0/0, race 0+0
Jul 13 18:00:17 phoebee [ 176.389699] Free swap = 1894132kB
Jul 13 18:00:17 phoebee [ 176.389760] Total swap = 1894132kB
Jul 13 18:00:17 phoebee [ 176.389820] Free swap: 1894132kB
Jul 13 18:00:17 phoebee [ 176.395295] 262128 pages of RAM
Jul 13 18:00:17 phoebee [ 176.395479] 32752 pages of HIGHMEM
Jul 13 18:00:17 phoebee [ 176.395540] 6346 reserved pages
Jul 13 18:00:17 phoebee [ 176.395601] 39361 pages shared
Jul 13 18:00:17 phoebee [ 176.395738] 0 pages swap cached
Jul 13 18:00:17 phoebee [ 176.395806] 537 pages dirty
Jul 13 18:00:17 phoebee [ 176.395865] 0 pages writeback
Jul 13 18:00:17 phoebee [ 176.395938] 9573 pages mapped
Jul 13 18:00:17 phoebee [ 176.396000] 2446 pages slab
Jul 13 18:00:17 phoebee [ 176.396059] 334 pages pagetables


.... (many oom-killer outputs, they look the same as the above one)



Jul 13 18:00:17 phoebee [ 176.602051] Mem-info:
Jul 13 18:00:17 phoebee [ 176.602107] DMA per-cpu:
Jul 13 18:00:17 phoebee [ 176.602179] cpu 0 hot: high 0, batch 1 used:0
Jul 13 18:00:17 phoebee [ 176.602243] cpu 0 cold: high 0, batch 1 used:0
Jul 13 18:00:17 phoebee [ 176.602306] Normal per-cpu:
Jul 13 18:00:17 phoebee [ 176.602377] cpu 0 hot: high 186, batch 31 used:145
Jul 13 18:00:17 phoebee [ 176.602441] cpu 0 cold: high 62, batch 15 used:47
Jul 13 18:00:17 phoebee [ 176.602504] HighMem per-cpu:
Jul 13 18:00:17 phoebee [ 176.602575] cpu 0 hot: high 42, batch 7 used:4
Jul 13 18:00:17 phoebee [ 176.602639] cpu 0 cold: high 14, batch 3 used:12
Jul 13 18:00:17 phoebee [ 176.602713] Active:64146 inactive:37266 dirty:550 writeback:0 unstable:0 free:149268 slab:2446 mapped:9555 pagetables:329
Jul 13 18:00:17 phoebee [ 176.602799] DMA free:68kB min:68kB low:84kB high:100kB active:0kB inactive:0kB present:16384kB pages_scanned:0 all_unreclaimable? yes
Jul 13 18:00:17 phoebee [ 176.602884] lowmem_reserve[]: 0 880 1007
Jul 13 18:00:17 phoebee [ 176.602992] Normal free:577912kB min:3756kB low:4692kB high:5632kB active:158988kB inactive:140460kB present:901120kB pages_scanned:0 all_unreclaimable? no
Jul 13 18:00:17 phoebee [ 176.603082] lowmem_reserve[]: 0 0 1023
Jul 13 18:00:17 phoebee [ 176.603188] HighMem free:19092kB min:128kB low:264kB high:400kB active:97596kB inactive:8604kB present:131008kB pages_scanned:0 all_unreclaimable? no
Jul 13 18:00:17 phoebee [ 176.603276] lowmem_reserve[]: 0 0 0
Jul 13 18:00:17 phoebee [ 176.603379] DMA: 1*4kB 0*8kB 0*16kB 0*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 68kB
Jul 13 18:00:17 phoebee [ 176.603589] Normal: 1152*4kB 429*8kB 281*16kB 186*32kB 103*64kB 49*128kB 33*256kB 27*512kB 12*1024kB 6*2048kB 122*4096kB = 577912kB
Jul 13 18:00:17 phoebee [ 176.603810] HighMem: 27*4kB 505*8kB 248*16kB 125*32kB 43*64kB 13*128kB 6*256kB 2*512kB 0*1024kB 0*2048kB 0*4096kB = 19092kB
Jul 13 18:00:17 phoebee [ 176.604024] Swap cache: add 0, delete 0, find 0/0, race 0+0
Jul 13 18:00:17 phoebee [ 176.604090] Free swap = 1894132kB
Jul 13 18:00:17 phoebee [ 176.604150] Total swap = 1894132kB
Jul 13 18:00:17 phoebee [ 176.604210] Free swap: 1894132kB
Jul 13 18:00:17 phoebee [ 176.609701] 262128 pages of RAM
Jul 13 18:00:17 phoebee [ 176.609886] 32752 pages of HIGHMEM
Jul 13 18:00:17 phoebee [ 176.609948] 6346 reserved pages
Jul 13 18:00:17 phoebee [ 176.610009] 53141 pages shared
Jul 13 18:00:17 phoebee [ 176.610069] 0 pages swap cached
Jul 13 18:00:17 phoebee [ 176.610158] 551 pages dirty
Jul 13 18:00:17 phoebee [ 176.610219] 0 pages writeback
Jul 13 18:00:17 phoebee [ 176.610279] 9555 pages mapped
Jul 13 18:00:17 phoebee [ 176.610340] 2446 pages slab
Jul 13 18:00:17 phoebee [ 176.610399] 329 pages pagetables
Jul 13 18:00:18 phoebee [ 177.171196] Out of Memory: Kill process 9014 (e16) score 4245 and children.
Jul 13 18:00:18 phoebee [ 177.171201] Out of memory: Killed process 9056 (xautolock).
Jul 13 18:00:18 phoebee [ 177.172203] Out of Memory: Kill process 9014 (e16) score 4227 and children.
Jul 13 18:00:18 phoebee [ 177.172209] Out of memory: Killed process 9109 (unclutter).
Jul 13 18:00:18 phoebee [ 177.174287] Out of Memory: Kill process 9014 (e16) score 4209 and children.
Jul 13 18:00:18 phoebee [ 177.174293] Out of memory: Killed process 9112 (sylpheed-claws).
Jul 13 18:00:18 phoebee [ 177.182186] Out of Memory: Kill process 9014 (e16) score 3878 and children.
Jul 13 18:00:18 phoebee [ 177.182192] Out of memory: Killed process 9115 (licq).
Jul 13 18:00:18 phoebee [ 177.186839] Out of Memory: Kill process 9242 (ut2004.sh) score 3425 and children.
Jul 13 18:00:18 phoebee [ 177.186845] Out of memory: Killed process 9246 (ut2004-bin).
Jul 13 18:00:18 phoebee [ 177.187215] NVRM: VM: nv_vm_malloc_pages: failed to allocate a page


To me it looks like there should be enough free RAM + SWAP ...

Regards,
Martin

--
MyExcuse:
bad ether in the cables

Martin Zwickel <martin.zwickel@technotrend.de>
Research & Development

TechnoTrend AG <http://www.technotrend.de>
[unhandled content-type:application/x-bzip][unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-07-13 18:13    [W:0.046 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site