TI中文支持网
TI专业的中文技术问题搜集分享网站

AM335x 内存大小修改

我的文件系统大了以后就出现了如下问题, 请问下如何修改呢?

RAMDISK: gzip image found at block 0
[ 3.556884] mmc0: new high speed MMC card at address 0001
[ 3.578308] mmcblk0: mmc0:0001 004G60 3.68 GiB[ 3.583404] mmcblk0boot0: mmc0:0001 004G60 partition 1 2.00 MiB
[ 3.589965] mmcblk0boot1: mmc0:0001 004G60 partition 2 2.00 MiB
[ 3.609985] mmcblk0: p1 p2
[ 3.632781] mmcblk0boot1: unknown partition table
[ 3.652221] mmcblk0boot0: unknown partition table
[ 3.863220] mmc1: host does not support reading read-only switch. assuming write-enable.
[ 3.886932] mmc1: new high speed SDHC card at address aaaa
[ 3.908874] mmcblk1: mmc1:aaaa SC16G 14.8 GiB[ 3.921722] mmcblk1: p1 p2
[ 20.975311] swapper invoked oom-killer: gfp_mask=0x200d0, order=0, oom_adj=0, oom_score_adj=0
[ 20.984405] Backtrace:[ 20.987091] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c03d64cc>] (dump_stack+0x18/0x1c)
[ 20.996093] r6:0000f7cb r5:00000000 r4:cf01edc0 r3:c0594c0c
[ 21.002166] [<c03d64b4>] (dump_stack+0x0/0x1c) from [<c007b68c>] (dump_header.isra.14+0x54/0x150)
[ 21.011627] [<c007b638>] (dump_header.isra.14+0x0/0x150) from [<c007bf1c>] (out_of_memory+0x274/0x2d0)
[ 21.021575] r8:00000000 r7:c0577510 r6:0000f7cb r5:00000000 r4:c6271a00
[ 21.028778] [<c007bca8>] (out_of_memory+0x0/0x2d0) from [<c007edb4>] (__alloc_pages_nodemask+0x640/0x664)
[ 21.039001] [<c007e774>] (__alloc_pages_nodemask+0x0/0x664) from [<c00794b4>] (grab_cache_page_write_begin+0x54/0xc0)
[ 21.050292] [<c0079460>] (grab_cache_page_write_begin+0x0/0xc0) from [<c00cca38>] (block_write_begin+0x28/0x88)
[ 21.061035] [<c00cca10>] (block_write_begin+0x0/0x88) from [<c00d0038>] (blkdev_write_begin+0x3c/0x44)
[ 21.070953] r6:ce802db0 r5:00001000 r4:c00d02e4
[ 21.075927] [<c00cfffc>] (blkdev_write_begin+0x0/0x44) from [<c007837c>] (generic_file_buffered_write+0x1a8/0x26c)
[ 21.086914] r4:cf01c000
[ 21.089660] [<c00781d4>] (generic_file_buffered_write+0x0/0x26c) from [<c0079e88>] (__generic_file_aio_write+0x244/0x478)
[ 21.101318] [<c0079c44>] (__generic_file_aio_write+0x0/0x478) from [<c00d0510>] (blkdev_aio_write+0x30/0x8c)
[ 21.111816] [<c00d04e0>] (blkdev_aio_write+0x0/0x8c) from [<c00a441c>] (do_sync_write+0xac/0xec)
[ 21.121154] r8:cf01deb0 r7:00000000 r6:00000000 r5:00000000 r4:0a55b678
[ 21.128356] [<c00a4370>] (do_sync_write+0x0/0xec) from [<c00a4b98>] (vfs_write+0xa4/0x148)
[ 21.137145] [<c00a4af4>] (vfs_write+0x0/0x148) from [<c00a4e38>] (sys_write+0x40/0x78)
[ 21.145568] r8:00008000 r7:ca6c8000 r6:cf045840 r5:00000000 r4:0a55b678
[ 21.152770] [<c00a4df8>] (sys_write+0x0/0x78) from [<c05381e8>] (compr_flush+0x28/0x64)
[ 21.161285] r8:c05381c0 r7:c053816c r6:ca6c8000 r5:c05c9928 r4:00008000
[ 21.168518] [<c05381c0>] (compr_flush+0x0/0x64) from [<c0551c9c>] (gunzip+0x298/0x37c)
[ 21.176910] r5:00008000 r4:ca6246c0
[ 21.180755] [<c0551a04>] (gunzip+0x0/0x37c) from [<c05384ec>] (rd_load_image+0x2c8/0x5c8)
[ 21.189483] [<c0538224>] (rd_load_image+0x0/0x5c8) from [<c0538950>] (initrd_load+0x40/0x330)
[ 21.198577] [<c0538910>] (initrd_load+0x0/0x330) from [<c0537fdc>] (prepare_namespace+0xcc/0x1cc)
[ 21.208007] r5:c0565045 r4:c0565034
[ 21.211853] [<c0537f10>] (prepare_namespace+0x0/0x1cc) from [<c05378fc>] (kernel_init+0xf4/0x120)
[ 21.221282] r5:c05714ac r4:c05714ac
[ 21.225158] [<c0537808>] (kernel_init+0x0/0x120) from [<c0040324>] (do_exit+0x0/0x65c)
[ 21.233551] r5:c0537808 r4:00000000
[ 21.237396] Mem-info:
[ 21.239807] Normal per-cpu:
[ 21.242767] CPU 0: hi: 90, btch: 15 usd: 14
[ 21.247894] active_anon:0 inactive_anon:0 isolated_anon:0
[ 21.247924] active_file:5 inactive_file:55 isolated_file:0
[ 21.247924] unevictable:19200 dirty:50 writeback:1 unstable:0
[ 21.247955] free:501 slab_reclaimable:237 slab_unreclaimable:653
[ 21.247955] mapped:0 shmem:0 pagetables:0 bounce:0
[ 21.277404] Normal free:2004kB min:2036kB low:2544kB high:3052kB active_anon:0kB inactive_anon:0kB active_file:20kB inactive_file:220kB unevictable:76800kB isolated(anon):0kB isolated(file):0kB present:260096kB mlocked:0kB dirty:200kB writeback:4kB mapped:0kB shmem:0kB slab_reclaimable:948kB slab_unreclaimable:2612kB kernel_stack:280kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:3979 all_unreclaimable? yes
[ 21.318054] lowmem_reserve[]: 0 0
[ 21.321594] Normal: 7*4kB 7*8kB 2*16kB 3*32kB 4*64kB 6*128kB 3*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB = 2004kB
[ 21.333343] 19260 total pagecache pages
[ 21.337463] 0 pages in swap cache
[ 21.340972] Swap cache stats: add 0, delete 0, find 0/0
[ 21.346527] Free swap = 0kB
[ 21.349578] Total swap = 0kB
[ 21.372802] 65536 pages of RAM
[ 21.376129] 559 free pages
[ 21.378997] 2101 reserved pages
[ 21.382324] 890 slab pages
[ 21.385223] 65 pages shared
[ 21.388183] 0 pages swap cached
[ 21.391510] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
[ 21.399414] Kernel panic – not syncing: Out of memory and no killable processes…
[ 21.399444][ 21.409057] Backtrace:[ 21.411712] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c03d64cc>] (dump_stack+0x18/0x1c)
[ 21.420715] r6:0000f7cb r5:c04bc9b0 r4:c05cc548 r3:c0594c0c
[ 21.426788] [<c03d64b4>] (dump_stack+0x0/0x1c) from [<c03d66f8>] (panic+0x64/0x194)
[ 21.434997] [<c03d6694>] (panic+0x0/0x194) from [<c007bf24>] (out_of_memory+0x27c/0x2d0)
[ 21.443603] r3:c05775ac r2:0000025d r1:00000000 r0:c04bc9b0
[ 21.449645] r7:c0577510
[ 21.452392] [<c007bca8>] (out_of_memory+0x0/0x2d0) from [<c007edb4>] (__alloc_pages_nodemask+0x640/0x664)
[ 21.462585] [<c007e774>] (__alloc_pages_nodemask+0x0/0x664) from [<c00794b4>] (grab_cache_page_write_begin+0x54/0xc0)
[ 21.473876] [<c0079460>] (grab_cache_page_write_begin+0x0/0xc0) from [<c00cca38>] (block_write_begin+0x28/0x88)
[ 21.484619] [<c00cca10>] (block_write_begin+0x0/0x88) from [<c00d0038>] (blkdev_write_begin+0x3c/0x44)
[ 21.494537] r6:ce802db0 r5:00001000 r4:c00d02e4
[ 21.499511] [<c00cfffc>] (blkdev_write_begin+0x0/0x44) from [<c007837c>] (generic_file_buffered_write+0x1a8/0x26c)
[ 21.510498] r4:cf01c000
[ 21.513214] [<c00781d4>] (generic_file_buffered_write+0x0/0x26c) from [<c0079e88>] (__generic_file_aio_write+0x244/0x478)
[ 21.524902] [<c0079c44>] (__generic_file_aio_write+0x0/0x478) from [<c00d0510>] (blkdev_aio_write+0x30/0x8c)
[ 21.535369] [<c00d04e0>] (blkdev_aio_write+0x0/0x8c) from [<c00a441c>] (do_sync_write+0xac/0xec)
[ 21.544708] r8:cf01deb0 r7:00000000 r6:00000000 r5:00000000 r4:0a55b678
[ 21.551910] [<c00a4370>] (do_sync_write+0x0/0xec) from [<c00a4b98>] (vfs_write+0xa4/0x148)
[ 21.560699] [<c00a4af4>] (vfs_write+0x0/0x148) from [<c00a4e38>] (sys_write+0x40/0x78)
[ 21.569122] r8:00008000 r7:ca6c8000 r6:cf045840 r5:00000000 r4:0a55b678
[ 21.576354] [<c00a4df8>] (sys_write+0x0/0x78) from [<c05381e8>] (compr_flush+0x28/0x64)
[ 21.584838] r8:c05381c0 r7:c053816c r6:ca6c8000 r5:c05c9928 r4:00008000
[ 21.592071] [<c05381c0>] (compr_flush+0x0/0x64) from [<c0551c9c>] (gunzip+0x298/0x37c)
[ 21.600494] r5:00008000 r4:ca6246c0
[ 21.604339] [<c0551a04>] (gunzip+0x0/0x37c) from [<c05384ec>] (rd_load_image+0x2c8/0x5c8)
[ 21.613037] [<c0538224>] (rd_load_image+0x0/0x5c8) from [<c0538950>] (initrd_load+0x40/0x330)
[ 21.622131] [<c0538910>] (initrd_load+0x0/0x330) from [<c0537fdc>] (prepare_namespace+0xcc/0x1cc)
[ 21.631561] r5:c0565045 r4:c0565034
[ 21.635437] [<c0537f10>] (prepare_namespace+0x0/0x1cc) from [<c05378fc>] (kernel_init+0xf4/0x120)
[ 21.644836] r5:c05714ac r4:c05714ac
[ 21.648712] [<c0537808>] (kernel_init+0x0/0x120) from [<c0040324>] (do_exit+0x0/0x65c)
[ 21.657135] r5:c0537808 r4:00000000

yongqing wang:

参考一下这个帖子吧:blog.csdn.net/…/17955381

Denny%20Yang99373:

感觉是文件系统有问题

试试NFS

Jian Zhou:

回复 Denny%20Yang99373:

在SD卡上格式化并烧写文件系统的时候应该报错啊。

user5136514:

回复 Jian Zhou:

这个阶段并未报错, 所以很奇怪

Jian Zhou:

回复 user5136514:

你的SD卡容量多大?换个大点容量的SD卡试试呢?

赞(0)
未经允许不得转载:TI中文支持网 » AM335x 内存大小修改
分享到: 更多 (0)