busybox init失败
我用自己编译的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/0xc8)
[<c02a2a18>] (panic+0x0/0xc8) 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编译方式。 补充一下,模拟的CPU是s3c2410。
替换busybox时,我只是把testsuit(s3c2410 2.6.36)下的initrd mount一下,然后把里面的/bin/busybox copy到我自己的initrd里面(这样运行会成功,用我编译的就crash)。
页:
[1]