QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1759|回复: 1

busybox init失败

[复制链接]
发表于 2010-12-15 16:00:13 | 显示全部楼层 |阅读模式
我用自己编译的busybox,init运行失败了:

Kernel panic - not syncing: Attempted to kill init!
Backtrace:
[<c00321c4>] (dump_backtrace+0x0/0x110) from [<c02a2a14>] (dump_stack+0x18/0x1c)
r6:c1c15c40 r5:00000004 r4:c038ac84
[<c02a29fc>] (dump_stack+0x0/0x1c) from [<c02a2a60>] (panic+0x48/0xc
[<c02a2a18>] (panic+0x0/0xc from [<c0052524>] (do_exit+0x64/0x59c)
r3:c0377414 r2:c1c19e40 r1:00000001 r0:c031f301
[<c00524c0>] (do_exit+0x0/0x59c) from [<c0052d48>] (do_group_exit+0x90/0xc4)
r7:c1c19fb0
[<c0052cb8>] (do_group_exit+0x0/0xc4) from [<c005c468>] (get_signal_to_deliver+0x324/0x35c)
r4:0830009f
[<c005c144>] (get_signal_to_deliver+0x0/0x35c) from [<c00311a4>] (do_signal+0x6c/0x5d0)
[<c0031138>] (do_signal+0x0/0x5d0) from [<c0031c30>] (do_notify_resume+0x1c/0x50)
[<c0031c14>] (do_notify_resume+0x0/0x50) from [<c002eeec>] (work_pending+0x1c/0x20)
r4:00000000

但如果用testsuit里面的busybox就没问题。
我的环境如下:
skyeye 1.3.2 + linux 2.6.34 + busybox(1. 15/1.17/1.18三个版本都试过)

各位大虾,有人知道怎么回事吗?或者提供以下test-suit的busybox编译方式。
 楼主| 发表于 2010-12-15 16:05:11 | 显示全部楼层
补充一下,模拟的CPU是s3c2410。
替换busybox时,我只是把testsuit(s3c2410 2.6.36)下的initrd mount一下,然后把里面的/bin/busybox copy到我自己的initrd里面(这样运行会成功,用我编译的就crash)。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-12-4 01:15 , Processed in 0.039427 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表