Thread (2 messages) 2 messages, 2 authors, 2003-06-10

Re: init does not run on 405GP system

flat view

From: Robert Schwebel <hidden>
Date: 2003-06-10 18:00:32

On Tue, Jun 10, 2003 at 06:52:51PM +0200, Wolfgang Denk wrote:
Show us your "hello_world" code. Does it actually open "/dev/console" ?
Attached - source + compiled binary (this one is dynamically linked).
Could you verify that this hello world works with your hardware when
copied to /sbin/init? I would assume it prints out the text and then the
kernel panics because of the return.
quoted
do not see the sys_write() syscall being called at all. Btw, init on my
other rootfs is busybox init. I suppose I should always see someting
useful when init is starting.
Why do you assume that?
Normally init makes some output, something like

	message(MAYBE_CONSOLE | LOG, "init started:  %s", bb_msg_full_version);

from busybox-init.

Robert
--
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help