Re: Not enough memory when entering CLI

Itay Gazit <[email protected]> Tue, 20 Oct 2009 16:34:30 +0200
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
Well,

The machine also gets reset with hermon driver, hermon driver also consume
~20MB.

Anyway,
gPXE did not report on fail when allocating memory via umalloc with Stefan
patch. Umalloc succeed and when the driver try to use part of the allocated
memory region the machine gets reset.

After digging some more, I found out that one of the addresses the driver
will try to use after allocating via umalloc, is 0x0000000, which probably
frobidden.

Thanks,

Itay

On Mon, Oct 19, 2009 at 7:17 PM, Thomas Miletich
<[email protected]>wrote:

> On Mon, Oct 19, 2009 at 6:24 PM, Itay Gazit <[email protected]> wrote:
> > The machine has 2GB memory.
> >
> > I run with the patch, same results a reset happens and I could not see
> error
> > message on the screen.
> >
> > Thanks,
> >
> > Itay
> >
>
> Hi
> if the umalloc fails with Stefan's patch the driver should fail it's
> probe function.
> Please enable the serial console in src/config/console.h and build
> gPXE with 'make bin/mtnic.<foo> DEBUG=mtnic>'.
> This should enable you to see the error messages on the serial
> console, even if the machine reboots right after printing them.
>
> Anyway, I believe I saw your name in several commit messages related
> to the hermon driver. Are we even talking about mtnic, or is this an
> issue with the hermon driver?
>
> Thomas
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

_______________________________________________
Etherboot-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss