[uClinux-dev] 2.4.10 kmalloc has bugs?

kernig kovacs kovacs_kernig at hotmail.com
Mon Nov 19 07:14:03 EST 2001


Hi all

I use ARM7 no mmu asic, my compiler is 2.95.3.
I feed initrd.img to my kernel by it can run /dev/init?
......
EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
BINFMT_FLAT: Loading file: d17120
##binfmt_flat.c[535]->load_flat_binary()
do_mmap:
Process blocks 1: 00d1f10c: 00000000 -> 0013c800: 0013c780 (65536 @00e00000
#1).
##binfmt_flat.c[538]->load_flat_binary()
textpos =   e00000
##binfmt_flat.c[543]->load_flat_binary()
##binfmt_flat.c[569]->load_flat_binary()
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 00124780
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 00124780
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 00124780
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 00124780
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 00124780
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 00124780
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 00124780
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 00124780
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 00124780
kernel BUG at swap.c:93!
##binfmt_flat.c[572]->load_flat_binary()
##binfmt_flat.c[579]->load_flat_binary()
##binfmt_flat.c[585]->load_flat_binary()
Mapping is e00000, Entry point is 40, data_start is 8200
Load /bin/init: TEXT=e00040-e08240 DATA=e08200-e09b90 BSS=e09b90-e0c6d0
........


Why I put initrd.img at address 0xe00000 and kmalloc() return 0xe00000 to
do_mmap(), which will reture a space of len memory to the relocation
application.

Doese there any body met the same problem?


Any suggestion will be appreciated!!

Regards,

  kovacs
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list