Thread (2 messages) 2 messages, 2 authors, 2002-02-27

Re: execve system call question

From: Sangmoon Kim <hidden>
Date: 2002-02-27 01:36:08

Possibly related (same subject, not in this thread)

Hi Wolfgang Denk.
You're running with root filesystem over NFS,  so  just  start  up  a
network  sniffer  (like  ethereal)  and  check  all  NFS requests and
replys. Probably  something  is  missing  in  your  root  filesystem.
Something essential, like /dev/console or so.
The root file system is from Hardhat Linux. I think it's correct because so many people use it without complain. and the /dev/console exist.
I tried ramdisk. But the result was same.

Thank you for the reply.

----- Original Message -----
From: "Wolfgang Denk" <redacted>
To: "Sangmoon Kim" <redacted>
Cc: "linuxppc-embedded" <redacted>
Sent: Tuesday, February 26, 2002 10:21 PM
Subject: Re: execve system call question

In message [ref] you wrote:
quoted
I traced the code and the point of stopping is after calling
execve("/sbin/init", argv_init, envp_init)
in init/main.c

I was trying to trace more, but it was impossible
because of the complexity of the code.
It's not impossible. In fact, it's quite simple.

You're running with root filesystem over NFS,  so  just  start  up  a
network  sniffer  (like  ethereal)  and  check  all  NFS requests and
replys. Probably  something  is  missing  in  your  root  filesystem.
Something essential, like /dev/console or so.
quoted
Is there any method to debug this?
Yes, attach a BDI2000 and check where you are...
quoted
I'm debugging it for a month.
Urghhh...

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Use C++ to confuse your enemies; use C to produce stable code.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help