[uClinux-dev] why kernel BUG at page_alloc.c:229!?

kernig kovacs kovacs_kernig at hotmail.com
Wed Nov 14 06:41:21 EST 2001


Hi
I use 2.4.10 kernel from uclinux and gcc is 2.95.3.
the elf2flt is elf2flt -0.9.

Why my kernel can not run /bin/init ?
Am I use right CFLAGS and LDFLAGS?

CFLAGS += $(OPT)
$(DBGOPT) -mcpu=arm7tdmi -r -d -fno-rtti -nostartfiles -DEMBED=1 -I$(UCLIBC)
/include -I$(TOP)/common/include -I$(TOP)/linux/include -I$(TARGETDIR)/inclu
de -I$(BUILD)

LDFLAGS += -r -d -fno-rtti -nostartfiles -L$(UCLIBC)/lib -lc -lgcc
LDFLAGS += -T $(TOOLS)/elf2flt/elf2flt.ld -Ur

the results are:
..........
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1024K
VFS: Mounted root (ext2 filesystem).
BINFMT_FLAT: Loading file: 715120
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
kernel BUG at page_alloc.c:229!
kernel BUG at filemap.c:74!<2> - extra data = 0010a680
kernel BUG at swap.c:93!
Mapping is 800000, Entry point is 40, data_start is 9980
Load /bin/init: TEXT=800040-809980 DATA=809980-80b2e0 BSS=80b2e0-80e164
kernel BUG at page_alloc.c:229!
Unhandled fault: alignment exception (13) at 0x00000001
fault-common.c 96
Internal error: Oops: 0
CPU: 0
pc : [<00046554>]    lr : [<00046550>]
sp : 0017bd70  ip : 073081e2  fp : 0017bdd8
r10: 0017a000  r9 : 00809980  r8 : 0017be0c
r7 : 00800000  r6 : 0080b2e0  r5 : 07b08222  r4 : 00000000
r3 : 0017a000  r2 : 0071b0a0  r1 : 00809980  r0 : 07b08222
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
..........

Why others run well but I am not?

Any suggestions will be appreciated!

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