[#3951] copy testsuites/webserver/testcase/ folder which is 8.9 M to target board fails with Cannot allocate memory
Submitted By: Mingquan Pan
Open Date
2008-03-03 02:12:10 Close Date
2008-03-03 02:47:42
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Duplicate
Uboot version or rev.:
Toolchain version or rev.:
08r1-8
App binary format:
N/A
Summary: copy testsuites/webserver/testcase/ folder which is 8.9 M to target board fails with Cannot allocate memory
Details:
copy testsuites/webserver/testcase/ folder which is 8.9 M to target board fails with Cannot allocate memory. The kernel is built with 20% pagecache.
test@linux:~/work/cruise/checkouts/uclinux-dist/testsuites/webserver> rcp -rp testcase/test/ root@10.100.4.50:/home/httpd/
rcp: /home/httpd///.svn/text-base/BlackfinuClinux help.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinUboot help.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinGNU Toolchain help.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinuClinux CVS.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinUboot CVS.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinGNU Toolchain CVS.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinuClinux.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinUboot.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinuClinux release.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinUboot release.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/index.html.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinGNU Toolchain.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/text-base/BlackfinGNU Toolchain release.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinuClinux help.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinUboot help.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinGNU Toolchain help.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinuClinux CVS.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinUboot CVS.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinGNU Toolchain CVS.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinuClinux.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinUboot.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinuClinux release.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinUboot release.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/index.html.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinGNU Toolchain.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/prop-base/BlackfinGNU Toolchain release.htm.svn-base: Cannot allocate memory
rcp: /home/httpd///.svn/props/BlackfinuClinux help.htm.svn-work: Cannot allocate memory
rcp: /home/httpd///.svn/props/BlackfinUboot help.htm.svn-work: Cannot allocate memory
rcp: /home/httpd///.svn/props/BlackfinGNU Toolchain help.htm.svn-work: Cannot allocate memory
rcp: /home/httpd///.svn/props/BlackfinuClinux CVS.htm.svn-work: Cannot allocate memory
rcp: /home/httpd///.svn/props/BlackfinUboot CVS.htm.svn-work: Cannot allocate memory
rcp: /home/httpd///.svn/props/BlackfinGNU Toolchain CVS.htm.svn-work: Cannot allocate memory
rcp: /home/httpd///.svn/props/BlackfinuClinux.htm.svn-work: Cannot allocate memory
rcp: /home/httpd///.svn/props/BlackfinUboot.htm.svn-work: Cannot allocate memory
On host, printing:
Mem-info:
DMA per-cpu:
CPU 0: Hot: hi: 18, btch: 3 usd: 5 Cold: hi: 6, btch: 1 usd: 0
Active:703 inactive:2447 dirty:0 writeback:0 unstable:0
free:9761 slab:684 mapped:0 pagetables:0 bounce:0
DMA free:39044kB min:1000kB low:1248kB high:1500kB active:2812kB inactive:9788kB present:62992kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0
DMA: 77*4kB 6*8kB 2*16kB 0*32kB 0*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 1*4096kB 0*8192kB 2*16384kB 0*32768kB = 39044kB
15871 pages of RAM
9801 free pages
678 reserved pages
0 pages shared
0 pages swap cached
syslogd: page allocation failure. order:0, mode:0xa00d2
Hardware Trace:
0 Target : <0x00004740> { _dump_stack + 0x0 }
Source : <0x0002cb52> { ___alloc_pages + 0x186 }
1 Target : <0x0002cb52> { ___alloc_pages + 0x186 }
Source : <0x0000ce12> { _printk + 0x16 }
2 Target : <0x0000ce0e> { _printk + 0x12 }
Source : <0x0000ccc4> { _vprintk + 0x1b8 }
3 Target : <0x0000ccb8> { _vprintk + 0x1ac }
Source : <0xffa00c82> { __common_int_entry + 0xca }
4 Target : <0xffa00c20> { __common_int_entry + 0x68 }
Source : <0xffa00a60> { _return_from_int + 0x58 }
5 Target : <0xffa00a60> { _return_from_int + 0x58 }
Source : <0xffa00a36> { _return_from_int + 0x2e }
6 Target : <0xffa00a08> { _return_from_int + 0x0 }
Source : <0xffa00c1c> { __common_int_entry + 0x64 }
7 Target : <0xffa00c1a> { __common_int_entry + 0x62 }
Source : <0xffa003a0> { _asm_do_IRQ + 0x68 }
8 Target : <0xffa00398> { _asm_do_IRQ + 0x60 }
Source : <0x00010f02> { __local_bh_enable + 0x3e }
9 Target : <0x00010ec4> { __local_bh_enable + 0x0 }
Source : <0x0001100c> { ___do_softirq + 0x94 }
10 Target : <0x00011004> { ___do_softirq + 0x8c }
Source : <0x00010fe4> { ___do_softirq + 0x6c }
11 Target : <0x00010fd8> { ___do_softirq + 0x60 }
Source : <0x00013de0> { _run_timer_softirq + 0x84 }
12 Target : <0x00013d9a> { _run_timer_softirq + 0x3e }
Source : <0x00013e42> { _run_timer_softirq + 0xe6 }
13 Target : <0x00013e38> { _run_timer_softirq + 0xdc }
Source : <0x00013c18> { _cascade + 0x54 }
14 Target : <0x00013c0a> { _cascade + 0x46 }
Source : <0x00013a66> { _internal_add_timer + 0x2a }
15 Target : <0x00013a3c> { _internal_add_timer + 0x0 }
Source : <0x00013c06> { _cascade + 0x42 }
Stack from 032c5c58:
00080000 0002cb56 001f8668 00080000 000a00d2 03dd820c 00000000 000a00d2
006f5380 001f8664 00000000 000a00d2 0060ff3c 00000000 0012abe4 0036ecec
0002a11c 0060e4b0 00000000 00000000 00000001 00000000 00000063 000007ff
00000000 00128b58 001f8660 00000000 00000054 00000001 0017078e 0316b160
0017da78 0060e41c 00000000 0003d6e8 032c5ecc 032c5e9c 00000000 00000000
00000000 00000000 00000000 00000000 00000054 00376dbc 00124256 032c5d44
Call Trace:
[<00010b48>] _current_fs_time+0x38/0x40
[<00001000>] _run_init_process+0x0/0x18
[<0002a5ae>] ___generic_file_aio_write_nolock+0x1e2/0x3a0
[<00001000>] _run_init_process+0x0/0x18
[<00001000>] _run_init_process+0x0/0x18
[<0001caf0>] _autoremove_wake_function+0x0/0x30
[<0002a7c0>] _generic_file_aio_write+0x54/0xe4
[<00001000>] _run_init_process+0x0/0x18
[<00036234>] _do_sync_write+0xac/0xe4
[<00001000>] _run_init_process+0x0/0x18
[<0001caf0>] _autoremove_wake_function+0x0/0x30
[<00001000>] _run_init_process+0x0/0x18
[<00043d86>] _fcntl_setlk+0x2e/0x1e4
[<000369a6>] _vfs_write+0x82/0xfc
[<00036e2a>] _sys_write+0x32/0x64
[<00001000>] _run_init_process+0x0/0x18
[<00036df8>] _sys_write+0x0/0x64
[<0000fffe>] _alarm_setitimer+0x12/0x50
[<00008000>] _bfin_demux_gpio_irq+0x54/0x94
[<00002000>] _get_sclk+0x4/0x58
Mem-info:
DMA per-cpu:
CPU 0: Hot: hi: 18, btch: 3 usd: 5 Cold: hi: 6, btch: 1 usd: 0
Active:703 inactive:2447 dirty:0 writeback:0 unstable:0
free:9761 slab:684 mapped:0 pagetables:0 bounce:0
DMA free:39044kB min:1000kB low:1248kB high:1500kB active:2812kB inactive:9788kB present:62992kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0
DMA: 77*4kB 6*8kB 2*16kB 0*32kB 0*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 1*4096kB 0*8192kB 2*16384kB 0*32768kB = 39044kB
15871 pages of RAM
9801 free pages
678 reserved pages
0 pages shared
0 pages swap cached
root:/>
root:/> free
total used free shared buffers
Mem: 60772 21540 39232 0 0
root:/>
Follow-ups
--- Vivi Li 2008-03-03 02:47:42
Dupilcated with bug 3929 "Can not generate a big file(more then 5MB)".
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found