Re: Init hangs

2 messages, 2 authors, 2004-08-05 · open the first message on its own page

Re: Init hangs

From: Wolfgang Denk <hidden>
Date: 2004-08-05 10:33:19

In message [off-list ref] you wrote:
my kernel hangs by initializing the system. My target is mpc8270-based. I use ELDK 3.0 and mount my root-fs over nfs.
Denx-kernel 2.4.25.
...
It seems like it hangs in "run_init_process("/sbin/init");" or the /sbin/init - file does not work.
Sometimes the message "INIT: version 2.84 booting" is showed. And after printing this message it hangs, too.
But the most times it looks like above.

Any ideas?
Run ethereal and have a look at  the  network  traffic.  Check  which
files get loaded and/or accessed. This might give you an idea.

But first check your memory map. Kernels crashing when entering  user
space   are   often   an  indication  of  illegal  memory  maps.  See
http://www.denx.de/twiki/bin/view/PPCEmbedded/Kernel#Section_10.2.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
How much net work could a network work, if a network could net work?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Init hangs

From: Marco Schramel <hidden>
Date: 2004-08-05 15:28:52

Hi Wolfgang,

thanks for your reply.
quoted
my kernel hangs by initializing the system. My target is mpc8270-based. I use ELDK 3.0 and mount my root-fs over nfs.
Denx-kernel 2.4.25.
...
quoted
It seems like it hangs in "run_init_process("/sbin/init");" or the /sbin/init - file does not work.
Sometimes the message "INIT: version 2.84 booting" is showed. And after printing this message it hangs, too.
But the most times it looks like above.

Any ideas?
Run ethereal and have a look at  the  network  traffic.  Check  which
files get loaded and/or accessed. This might give you an idea.
i started ethereal and saw that the NFS read calls from target to host, are answered with two IP "fragmented IP protocols" by the host,
followed by a NFS read reply [Unreassembled Packet] by the host, too. And that goes on and on until the connection is dead.
I am not sure whether the fragmentation of ip in two packets is correct? There is no additional traffic it is "only" mounting and using rootfs over NFS.

Can you help me ?

Thanks
Marco






---------
Marco Schramel
R&D
Bartec GmbH
Schulstr. 30
94239 Gotteszell, Germany
www.bartec.de
Marco.Schramel@go.bartec.de
Phone:  +49 (0)9929/301332
Fax:    +49 (0)9929/301112

** 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