平台:mini6410
文件系统:ramdisk
原来使用的ramdisk大小为8M,也就是8192KB,现不够用了,将其拓展为10240KB也就是10M,按照以前的方法将文件下载至开发板,启动发现如下错误:
3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (24000000 Hz)
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
s3c-rtc s3c64xx-rtc: setting system clock to 2000-04-06 18:05:56 UTC (955044356)
RAMDISK: gzip image found at block 0
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SU08G 7.40 GiB
mmcblk0: p1
mmc1: new SDIO card at address 0001
swapper invoked oom-killer: gfp_mask=0x200d0, order=0, oom_adj=0, oom_score_adj=0
[<c003dc44>] (unwind_backtrace+0x0/0xe4) from [<c0082bf0>] (dump_header.clone.8+0x6c/0x14c)
[<c0082bf0>] (dump_header.clone.8+0x6c/0x14c) from [<c0083324>] (out_of_memory+0x21c/0x2f4)
[<c0083324>] (out_of_memory+0x21c/0x2f4) from [<c0086344>] (__alloc_pages_nodemask+0x4e0/0x604)
[<c0086344>] (__alloc_pages_nodemask+0x4e0/0x604) from [<c0080750>] (grab_cache_page_write_begin+0x50/0x90)
one_wire_status: 2
[<c0080750>] (grab_cache_page_write_begin+0x50/0x90) from [<c00cd2e4>] (block_write_begin+0x1c/0x70)
[<c00cd2e4>] (block_write_begin+0x1c/0x70) from [<c007fa78>] (generic_file_buffered_write+0xdc/0x23c)
one_wire_status: 2
[<c007fa78>] (generic_file_buffered_write+0xdc/0x23c) from [<c0081568>] (__generic_file_aio_write+0x458/0x4a4)
[<c0081568>] (__generic_file_aio_write+0x458/0x4a4) from [<c00d160c>] (blkdev_aio_write+0x3c/0x98)
one_wire_status: 2
[<c00d160c>] (blkdev_aio_write+0x3c/0x98) from [<c00a7f48>] (do_sync_write+0xa0/0xdc)
[<c00a7f48>] (do_sync_write+0xa0/0xdc) from [<c00a8648>] (vfs_write+0xb0/0x138)
[<c00a8648>] (vfs_write+0xb0/0x138) from [<c00a88a8>] (sys_write+0x3c/0x68)
one_wire_status: 2
[<c00a88a8>] (sys_write+0x3c/0x68) from [<c0009380>] (compr_flush+0x20/0x64)
[<c0009380>] (compr_flush+0x20/0x64) from [<c0017d44>] (gunzip+0x25c/0x32c)
one_wire_status: 3
[<c0017d44>] (gunzip+0x25c/0x32c) from [<c0009650>] (rd_load_image+0x28c/0x568)
[<c0009650>] (rd_load_image+0x28c/0x568) from [<c0009a64>] (initrd_load+0x34/0x31c)
[<c0009a64>] (initrd_load+0x34/0x31c) from [<c00091ac>] (prepare_namespace+0xc0/0x1b4)
one_wire_status: 4
[<c00091ac>] (prepare_namespace+0xc0/0x1b4) from [<c0008b4c>] (kernel_init+0x108/0x148)
[<c0008b4c>] (kernel_init+0x108/0x148) from [<c0039668>] (kernel_thread_exit+0x0/0x8)
one_wire_status: 4
Mem-info:
Normal per-cpu:
CPU 0: hi: 18, btch: 3 usd: 0
active_anon:0 inactive_anon:0 isolated_anon:0
active_file:0 inactive_file:14 isolated_file:0
unevictable:2560 dirty:5 writeback:1 unstable:0
free:256 slab_reclaimable:20 slab_unreclaimable:298
mapped:0 shmem:0 pagetables:0 bounce:0
Normal free:1024kB min:1016kB low:1268kB high:1524kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:56kB unevictable:10240kB isolated(anon):0kB isolated(file):0kB present:65024kB mlocked:0kB dirty:20kB writeback:4kB mapped:0kB shmem:0kB slab_reclaimable:80kB slab_unreclaimable:1192kB kernel_stack:208kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:92 all_unreclaimable? no
one_wire_status: 4
lowmem_reserve[]: 0 0
Normal: 16*4kB 2*8kB 3*16kB 4*32kB 2*64kB 1*128kB 2*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1024kB
2574 total pagecache pages
16384 pages of RAM
282 free pages
11009 reserved pages
246 slab pages
20 pages shared
0 pages swap cached
[ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
Kernel panic - not syncing: Out of memory and no killable processes...
[<c003dc44>] (unwind_backtrace+0x0/0xe4) from [<c03de0d0>] (panic+0x58/0x174)
[<c03de0d0>] (panic+0x58/0x174) from [<c0083334>] (out_of_memory+0x22c/0x2f4)
[<c0083334>] (out_of_memory+0x22c/0x2f4) from [<c0086344>] (__alloc_pages_nodemask+0x4e0/0x604)
one_wire_status: 2
[<c0086344>] (__alloc_pages_nodemask+0x4e0/0x604) from [<c0080750>] (grab_cache_page_write_begin+0x50/0x90)
[<c0080750>] (grab_cache_page_write_begin+0x50/0x90) from [<c00cd2e4>] (block_write_begin+0x1c/0x70)
one_wire_status: 2
[<c00cd2e4>] (block_write_begin+0x1c/0x70) from [<c007fa78>] (generic_file_buffered_write+0xdc/0x23c)
[<c007fa78>] (generic_file_buffered_write+0xdc/0x23c) from [<c0081568>] (__generic_file_aio_write+0x458/0x4a4)
one_wire_status: 2
[<c0081568>] (__generic_file_aio_write+0x458/0x4a4) from [<c00d160c>] (blkdev_aio_write+0x3c/0x98)
[<c00d160c>] (blkdev_aio_write+0x3c/0x98) from [<c00a7f48>] (do_sync_write+0xa0/0xdc)
one_wire_status: 2
[<c00a7f48>] (do_sync_write+0xa0/0xdc) from [<c00a8648>] (vfs_write+0xb0/0x138)
[<c00a8648>] (vfs_write+0xb0/0x138) from [<c00a88a8>] (sys_write+0x3c/0x68)
[<c00a88a8>] (sys_write+0x3c/0x68) from [<c0009380>] (compr_flush+0x20/0x64)
one_wire_status: 3
[<c0009380>] (compr_flush+0x20/0x64) from [<c0017d44>] (gunzip+0x25c/0x32c)
[<c0017d44>] (gunzip+0x25c/0x32c) from [<c0009650>] (rd_load_image+0x28c/0x568)
one_wire_status: 4
[<c0009650>] (rd_load_image+0x28c/0x568) from [<c0009a64>] (initrd_load+0x34/0x31c)
[<c0009a64>] (initrd_load+0x34/0x31c) from [<c00091ac>] (prepare_namespace+0xc0/0x1b4)
[<c00091ac>] (prepare_namespace+0xc0/0x1b4) from [<c0008b4c>] (kernel_init+0x108/0x148)
one_wire_status: 4
[<c0008b4c>] (kernel_init+0x108/0x148) from [<c0039668>] (kernel_thread_exit+0x0/0x8)
我将ramdisk设置为10M,按理说应该变大之后不存在Kernel panic - not syncing: Out of memory and no killable processes...的问题的啊,又大声能帮我支支招吗?