On Sat, Feb 26, 2011 at 06:47:55PM -0600, Larry Vaden wrote: > On Sat, Feb 26, 2011 at 10:17 AM, Chuck Anderson <cra@xxxxxxx> wrote: > > On Sat, Feb 26, 2011 at 07:50:37AM -0800, John Reiser wrote: > >> > https://bugzilla.redhat.com/show_bug.cgi?id=680542 > >> > >> Much of this is not a bug, it is intentional. The F14 way of > > > > That bug is that the kernel doesn't display a simple "out of memory" > > error message, instead scrolling a huge traceback off the screen that > > is useless for the user to tell what happened. > > Why not make the Page Up and Page Down keys work as they do in other OSs? Why? So users can scroll back to see this helpful stuff and try to decipher what it means? [ 0.171631] Trying to unpack rootfs image as initramfs... [ 2.492083] swapper invoked oom-killer: gfp_mask=0x200d2, order=0, oom_adj=0, oom_score_adj=0 [ 2.493160] swapper cpuset=/ mems_allowed=0 [ 2.493649] Pid: 1, comm: swapper Not tainted 2.6.38-0.rc5.git1.1.fc15.x86_64 #1 [ 2.494495] Call Trace: [ 2.494831] [<ffffffff81096749>] ? cpuset_print_task_mems_allowed+0x91/0x9d [ 2.495658] [<ffffffff810da51c>] ? dump_header+0x80/0x1bc [ 2.496296] [<ffffffff810da7bd>] ? select_bad_process+0x54/0xf8 [ 2.496951] [<ffffffff810daf72>] ? out_of_memory+0x2cf/0x378 [ 2.497615] [<ffffffff810def45>] ? __alloc_pages_nodemask+0x5f3/0x772 [ 2.498380] [<ffffffff8110833d>] ? alloc_page_interleave+0x3c/0x83 [ 2.499087] [<ffffffff81108632>] ? alloc_pages_current+0x8d/0xd0 [ 2.499771] [<ffffffff810d7cd4>] ? find_get_page+0x22/0x62 [ 2.500420] [<ffffffff810d8726>] ? __page_cache_alloc+0x77/0x7e [ 2.501094] [<ffffffff810d88f1>] ? grab_cache_page_write_begin+0x54/0x9e [ 2.501869] [<ffffffff8113d107>] ? simple_write_begin+0x34/0x83 [ 2.502563] [<ffffffff810d83bb>] ? generic_file_buffered_write+0x114/0x240 [ 2.503455] [<ffffffff811e9b9c>] ? avc_has_perm+0x51/0x63 [ 2.504073] [<ffffffff810d912b>] ? __generic_file_aio_write+0x242/0x272 [ 2.504823] [<ffffffff810f35d8>] ? unmap_mapping_range+0x5f/0x217 [ 2.505544] [<ffffffff81200ca0>] ? ima_file_check+0x20/0x24 [ 2.506180] [<ffffffff810d91b3>] ? generic_file_aio_write+0x58/0xa6 [ 2.506898] [<ffffffff81120dff>] ? do_sync_write+0xbf/0xff [ 2.507558] [<ffffffff8114d82f>] ? fsnotify+0x1eb/0x217 [ 2.508162] [<ffffffff811ef9d7>] ? selinux_file_permission+0x57/0xb3 [ 2.508893] [<ffffffff811e7c72>] ? security_file_permission+0x2e/0x33 [ 2.509642] [<ffffffff811211ea>] ? rw_verify_area+0xb0/0xcd [ 2.510299] [<ffffffff81121475>] ? vfs_write+0xac/0xf3 [ 2.510871] [<ffffffff81121664>] ? sys_write+0x4a/0x6e [ 2.511509] [<ffffffff81b59fc6>] ? do_copy+0x73/0x8e [ 2.512078] [<ffffffff81b59718>] ? flush_buffer+0x77/0xa4 [ 2.512696] [<ffffffff81b596a1>] ? flush_buffer+0x0/0xa4 [ 2.513407] [<ffffffff81b84a51>] ? nofill+0x0/0x9 [ 2.513933] [<ffffffff81b84cba>] ? gunzip+0x260/0x306 [ 2.514536] [<ffffffff81b59cb0>] ? unpack_to_rootfs+0x175/0x286 [ 2.515228] [<ffffffff81b5966e>] ? error+0x0/0x17 [ 2.515756] [<ffffffff81b5a49d>] ? populate_rootfs+0x0/0xce [ 2.516408] [<ffffffff81b5a4f4>] ? populate_rootfs+0x57/0xce [ 2.517065] [<ffffffff810020a4>] ? do_one_initcall+0x7f/0x137 [ 2.517716] [<ffffffff81b57e88>] ? kernel_init+0x228/0x2a2 [ 2.518374] [<ffffffff8100a9e4>] ? kernel_thread_helper+0x4/0x10 [ 2.519056] [<ffffffff81b57c60>] ? kernel_init+0x0/0x2a2 [ 2.519661] [<ffffffff8100a9e0>] ? kernel_thread_helper+0x0/0x10 [ 2.520353] Mem-Info: [ 2.520614] Node 0 DMA per-cpu: [ 2.520983] CPU 0: hi: 0, btch: 1 usd: 0 [ 2.521611] Node 0 DMA32 per-cpu: [ 2.521994] CPU 0: hi: 186, btch: 31 usd: 14 [ 2.522562] active_anon:0 inactive_anon:0 isolated_anon:0 [ 2.522563] active_file:0 inactive_file:1 isolated_file:0 [ 2.522563] unevictable:82084 dirty:0 writeback:0 unstable:0 [ 2.522564] free:2 slab_reclaimable:4556 slab_unreclaimable:1502 [ 2.522565] mapped:0 shmem:0 pagetables:0 bounce:0 [ 2.525643] Node 0 DMA free:8kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:15648kB isolated(anon):0kB isolated(file):0kB present:15676kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:224kB slab_unreclaimable:20kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:3912 all_unreclaimable? no [ 2.529670] lowmem_reserve[]: 0 0 0 0 [ 2.530174] Node 0 DMA32 free:0kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:4kB unevictable:312688kB isolated(anon):0kB isolated(file):0kB present:500948kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:18000kB slab_unreclaimable:5988kB kernel_stack:160kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:78172 all_unreclaimable? no [ 2.534318] lowmem_reserve[]: 0 0 0 0 [ 2.534799] Node 0 DMA: 2*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 8kB [ 2.536168] Node 0 DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB [ 2.537543] 82085 total pagecache pages [ 2.537969] 0 pages in swap cache [ 2.538372] Swap cache stats: add 0, delete 0, find 0/0 [ 2.538946] Free swap = 0kB [ 2.539303] Total swap = 0kB [ 2.542562] 131053 pages RAM [ 2.542916] 40316 pages reserved [ 2.543323] 0 pages shared [ 2.543625] 90701 pages non-shared [ 2.544003] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name [ 2.544847] Kernel panic - not syncing: Out of memory and no killable processes... [ 2.544848] [ 2.545880] Pid: 1, comm: swapper Not tainted 2.6.38-0.rc5.git1.1.fc15.x86_64 #1 [ 2.546782] Call Trace: [ 2.547107] [<ffffffff81467a3a>] ? panic+0x91/0x19c [ 2.547674] [<ffffffff810daf85>] ? out_of_memory+0x2e2/0x378 [ 2.548344] [<ffffffff810def45>] ? __alloc_pages_nodemask+0x5f3/0x772 [ 2.549068] [<ffffffff8110833d>] ? alloc_page_interleave+0x3c/0x83 [ 2.549761] [<ffffffff81108632>] ? alloc_pages_current+0x8d/0xd0 [ 2.550517] [<ffffffff810d7cd4>] ? find_get_page+0x22/0x62 [ 2.551193] [<ffffffff810d8726>] ? __page_cache_alloc+0x77/0x7e [ 2.551876] [<ffffffff810d88f1>] ? grab_cache_page_write_begin+0x54/0x9e [ 2.552643] [<ffffffff8113d107>] ? simple_write_begin+0x34/0x83 [ 2.553401] [<ffffffff810d83bb>] ? generic_file_buffered_write+0x114/0x240 [ 2.554192] [<ffffffff811e9b9c>] ? avc_has_perm+0x51/0x63 [ 2.554795] [<ffffffff810d912b>] ? __generic_file_aio_write+0x242/0x272 [ 2.555591] [<ffffffff810f35d8>] ? unmap_mapping_range+0x5f/0x217 [ 2.556327] [<ffffffff81200ca0>] ? ima_file_check+0x20/0x24 [ 2.556944] [<ffffffff810d91b3>] ? generic_file_aio_write+0x58/0xa6 [ 2.557707] [<ffffffff81120dff>] ? do_sync_write+0xbf/0xff [ 2.558351] [<ffffffff8114d82f>] ? fsnotify+0x1eb/0x217 [ 2.558929] [<ffffffff811ef9d7>] ? selinux_file_permission+0x57/0xb3 [ 2.559699] [<ffffffff811e7c72>] ? security_file_permission+0x2e/0x33 [ 2.560448] [<ffffffff811211ea>] ? rw_verify_area+0xb0/0xcd [ 2.561093] [<ffffffff81121475>] ? vfs_write+0xac/0xf3 [ 2.561703] [<ffffffff81121664>] ? sys_write+0x4a/0x6e [ 2.562309] [<ffffffff81b59fc6>] ? do_copy+0x73/0x8e [ 2.562864] [<ffffffff81b59718>] ? flush_buffer+0x77/0xa4 [ 2.563531] [<ffffffff81b596a1>] ? flush_buffer+0x0/0xa4 [ 2.564159] [<ffffffff81b84a51>] ? nofill+0x0/0x9 [ 2.564720] [<ffffffff81b84cba>] ? gunzip+0x260/0x306 [ 2.565351] [<ffffffff81b59cb0>] ? unpack_to_rootfs+0x175/0x286 [ 2.566024] [<ffffffff81b5966e>] ? error+0x0/0x17 [ 2.566569] [<ffffffff81b5a49d>] ? populate_rootfs+0x0/0xce [ 2.567219] [<ffffffff81b5a4f4>] ? populate_rootfs+0x57/0xce [ 2.567856] [<ffffffff810020a4>] ? do_one_initcall+0x7f/0x137 [ 2.568530] [<ffffffff81b57e88>] ? kernel_init+0x228/0x2a2 [ 2.569317] [<ffffffff8100a9e4>] ? kernel_thread_helper+0x4/0x10 [ 2.569984] [<ffffffff81b57c60>] ? kernel_init+0x0/0x2a2 [ 2.570613] [<ffffffff8100a9e0>] ? kernel_thread_helper+0x0/0x10 -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel