not found init
Hi. I use linuxppc_2_4 from penguinppc.org. I rebuild the kernel,and use it to boot my board(mcp750).It said 'Kernel panic: No init found. Try passing init= option to kernel'.I didn't find the item about CONFIG_SASH and CONFIG_SASH_PATH. /dev/console and /bin/init exist. and I didn't cut out the lib. I use 'root=/dev/ram0' in kernel command line. What's wrong? Could you give me some advice? Thanks a lot.
-------------------------------
��ת��ʳס��һ����
http://adinfo.21cn.com
21CN�������͵�
http://www.21cn.com/21cnhtm/duanxin/index.html
�㲻����������רҵ�������
http://www.21cn.net/extend/gb/Charge.htm
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · In message <[email protected]> you wrote:
Hi. I use
linuxppc_2_4from penguinppc.org. I rebuild the kernel,and use it to boot my board(mcp750).It said 'Kernel panic: No init found. Try passing init= option to kernel'.I didn't find the item aboutCONFIG_SASHandCONFIG_SASH_PATH./dev/consoleand
These are no config options of the standard Linux kernel; you can find these extensions in the source trees on our FTP server, but they were never generally accepted because you can do more or less the same by specitying an "init=" boot option.
Quoted 2 lines
/bin/initexist. and I didn't cut out the lib. I use 'root=/dev/ram0' in kernel command line. What's wrong? Could you give me some advice?
Not with the little information you provide. Try running a statically linked shell instead of init. For instance, add /bin/sash to your ramdisk image, and pass "init=/bin/sash" as boot argument to the Linux kernel.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] When the bosses talk about improving productivity, they are never talking about themselves.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/