Thanks to the people who help me with the NFS configure yesterday.
Now I sure I can mount my nfs directory on my own pc, that means nfs works fine
And I also make sure that ping from my embedded board to my PC is ok.
but after I boot the kernel, I still have a kernel panic like below:
VFS: Mounted root (nfs filesystem) on device 0:11.
Freeing init memory: 112K
Kernel panic - not syncing: Attempted to kill init!
Backtrace:Â
[<c0028fd4>] (dump_backtrace+0x0/0x10c) from [<c02a0860>] (dump_stack+0x18/0x1c)
Âr7:c381a000 r6:c03adfc0 r5:00000004 r4:00000004
[<c02a0848>] (dump_stack+0x0/0x1c) from [<c02a08b0>] (panic+0x4c/0x124)
[<c02a0864>] (panic+0x0/0x124) from [<c003a450>] (do_exit+0x520/0x620)
Âr3:c038a798 r2:c381de10 r1:c381dce4 r0:c03316b0
[<c0039f30>] (do_exit+0x0/0x620) from [<c003a594>] (do_group_exit+0x44/0xc4)
[<c003a550>] (do_group_exit+0x0/0xc4) from [<c0044a4c>] (get_signal_to_deliver+0x198/0x350)
Âr5:00000004 r4:c381c000
[<c00448b4>] (get_signal_to_deliver+0x0/0x350) from [<c0027788>] (do_signal+0x5c/0x4b0)
[<c002772c>] (do_signal+0x0/0x4b0) from [<c0027c0c>] (do_notify_resume+0x30/0x34)
[<c0027bdc>] (do_notify_resume+0x0/0x34) from [<c0024eac>] (work_pending+0x1c/0x20)
Rebooting in 5 seconds..arch_reset: atte
It seems that NFS is already mounted, but still got Âa kernel panic. it dont have any error infomation provide.Â
Is it because the bootargs is wrong or something else?
I am using uboot, and my bootargs is like below:
noinitrd console=ttySAC0,115200 init=/linuxrc root=/dev/nfs nfsroot=192.168.1.101:/home/freakrobot/rootfs panic=5 ip=192.168.1.22:192.168.1.101:192.168.1.22:255.255.255.0::eth0:off
my pc as server ip is 192.168.1.101
my board as client ip is 192.168.1.22
Can anyone help?
Thx!
--
Cheng(è)
Fedora Project Contributor -- Ambassador
My Page:Âhttp://gnudam.webgarden.com