- 论坛徽章:
- 0
|
目标板内核运行很稳定,同时用busybox生成的所有可执行指令都可以正常运行(/bin和/sbin下的),但是我自己用交叉编译器编译的应用程序下载到指定的目录下后,一运行,就出现下面的错误,内核和文件系统还有应用程序都是用同一个版本的交叉编译器编译的,下面分别 是运行hello和RZ两个应用程序时出错的指示,是内核移植的问题还是文件系统中库的问题?
[jackyard@ /usr]#rz
Unable to handle kernel paging request at virtual address e1a03083
pgd = c032c000 [e1a03083] *pgd=00000000
Internal error: Oops: 3 [#1]
Modules linked in:
CPU: 0
PC is at kmem_cache_alloc+0x1c/0x48
LR is at mempool_alloc+0x80/0x104
pc : [<c005c7a8>] lr : [<c00584c8>] Not tainted
sp : c1e77b70 ip : c1e77b84 fp : c1e77b80 r10: 0000002
同样一个hello程序也是这样的
[jackyard@ /usr]#./hello
hello linUnable to handle kernel paging request at virtual address e3530000
pgd = c032c000
[e3530000] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0
PC is at kmem_cache_alloc+0x1c/0x48
LR is at mempool_alloc+0x80/0x104
两个程序到最后都是
Code: bad PC value.
<0>Kernel panic - not syncing: Aiee, killing interrupt handler!
求高人指点? |
|