Subject: Re: Re: Couldn't allocate memory.
To: None <port-hpcarm@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-hpcarm
Date: 03/05/2005 19:02:09
On Sat, Mar 05, 2005 at 12:01:44 +0200, otto.waltari@kolumbus.fi wrote:

> > > Booting my own custom kernel with your build of hpcboot doesn't
> > > freeze the device, but it stops the boot process.
> > 
> > I don't understand "doesn't freeze the device, but it stops the boot
> > process".  Does hpcboot refuses to proceed with the boot at some point
> > and you are back to hpcboot?
> 
> I press the 'boot' button. The progress bar reaches nearly the end,
> but about 1cm is left to go. Then it just stops and the system is
> like nothing ever happened. I may press 'boot' again, and the same 
> thing repeats.


Hmm, weird.  The code goes like:

	f._loader->loadEnd();			// <- in the log
	p = f._arch->setupBootInfo(*f._loader);
	menu.progress("10");			// <- not in the log


At the first glance, I don't see how it can do a non local return and
escape from hpcboot() back into the event loop.

If you feel like debugging it, we'd better take this off the list, so
that we don't spam everyone.


SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen