Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD hangs while executing /sbin/init in IBM 405 GP eval board.



On Fri, 25 Mar 2011, Allen Briggs wrote:

> Date: Fri, 25 Mar 2011 15:35:34 -0400
> From: Allen Briggs <briggs%netbsd.org@localhost>
> To: mindentropy <mindentropy%gmail.com@localhost>
> Cc: port-powerpc%netbsd.org@localhost
> Subject: Re: NetBSD hangs while executing /sbin/init in IBM 405 GP eval board.
> 
> On Sat, Mar 26, 2011 at 01:00:51AM +0530, mindentropy wrote:
> > > I'd look a little more at the wireshark trace to see what's going on
> > > there.  If init is crashing, you should see something like "panic: init
> > > died".
> > 
> > Not sure I get it but does init send a message via ethernet if it dies?
> 
> No.  Sorry--that was two different ideas/thoughts...
> 
> I'd look at the traces to make sure that nothing is getting hung up on
> the wire (and perhaps put some code in the kernel to ensure that
> everything on the wire makes it into the kernel on the 405 system).
> 
> If init dies, the kernel will print a message on the console.  It
> sounds like that's not happening, so I wouldn't suspect any problem
> with dynamic loading right now.

I'd still recommend running a DEBUG kernel so when it asks you what to use 
for init you can specify /rescue/init which is statically linked.  You can 
also tell it to run /rescue/sh to see if you can get a shell to work.

Have you had any success with a miniroot kernel?  That should have a 
kernel and minmal filesystem in the same image.  If that doesn't work then 
you have a really interesting problem well beyond just configuring a NFS 
root filesystem.

Eduardo


Home | Main Index | Thread Index | Old Index