Discussion:
kernel panic.....Why???
linuxhh
2007-11-15 20:45:09 UTC
Permalink
Hello all,

I am porting Linux and MicroWindow to EPD7212 demo board that provided by Cirrus Logic. I have download Linux kernel patch from www.maverickaudio.com.
And kernel version is 2.2.1. I also download arm toolchain. I have succeed to compile kernel with initrd and download image to flash rom. Kernel have run correct.
Now, I have copy some libs in /lib in initrd. Library and symbolic is:
ld.so.1 --> ld-2.1.2.so
libc.so.6 --> libc-2.1.2.so
libdl.so --> libdl.so.2
libdl.so.2 --> libdl-2.1.2.so

But when I compile a "hello world" sample code with compile param "arm-linux-gcc hello.c -o hello", then copy this file to initrd. When I run command "./hello" some error occur.
"kernel panic: Unknown data abort code 4194304 [pc=40002a10, *pc=e1dc30be] LR=40002a10"

Then system hung up. Why???

Anybody can help me? Thanks.

Eric

______________________________________

===================================================================
ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn
ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
http://sms.sina.com.cn/

Loading...