LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* not found init
@ 2001-09-04  7:41 yah
  2001-09-04  8:21 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: yah @ 2001-09-04  7:41 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: not found init
  2001-09-04  7:41 not found init yah
@ 2001-09-04  8:21 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2001-09-04  8:21 UTC (permalink / raw)
  To: yah; +Cc: linuxppc-embedded


In message <ZD989095845890.21633@webmail1.inner-21cn.com> you wrote:
>
> 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

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.

> /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?

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: wd@denx.de
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-04  8:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-04  7:41 not found init yah
2001-09-04  8:21 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox