[ipxe-devel] Try to free Memory without Signature

Jack Neely jjneely at ncsu.edu
Wed Aug 22 19:54:48 UTC 2012


On Wed, Aug 22, 2012 at 05:03:57PM +0100, Michael Brown wrote:
> On Wednesday 22 Aug 2012 16:31:05 Jack Neely wrote:
> > > Thanks; that's narrowed it down one stage further.  It looks as though
> > > the problem happens when iPXE tries to load a PXE stack from the
> > > Broadcom (14e4:1639) PXE ROM.
> > > 
> > > Could you try DEBUG=pci,undi,undirom,undiload,undinet,pxeparent ?
> > 
> > Different colors at least...
> > 
> >     http://www4.ncsu.edu/~jjneely/ipxe-screenshot-3.jpg
> 
> Everything in iPXE's output looks correct, and the failure definitely happens 
> during the call to the Broadcom PXE ROM's loader routine.  It seems that the 
> Broadcom PXE ROM is broken in some way.
> 
> The offending ROM is for PCI ID 14e4:1639, which is due to gain a native driver 
> shortly as part of the bnx2 rewrite.  At that point, iPXE won't try using the 
> PXE ROM anyway, and the problem will go away.
> 
> As a temporary workaround, you could comment out the PCI_ROM() line in 
> arch/i386/drivers/net/undi.c.
> 
> Michael

Michael,

I removed line 141 of arch/i386/drivers/net/undi.c and that produced an
image that at least got through initializing.  However I get to

    iPXE 1.0.0+ (a0587) -- Open Source Network Boot Firmware -- http://ipxe.org
    Features: VLAN HTTP iSCSI DNS TFTP AoE SRP bzImage ELF MBOOT PXE PXEXT Menu

and the cursor flashes on the next line.  There is no further progress.
I built with

    make EMBED=../../PXE-all.ipxe bin/ipxe.lkrn

and my embedded script looks like:

    #!ipxe
    # To build: cd ipxe/src
    #           make EMBED=path/to/here bin/ipxe.lkrn
    :retry_dhcp
    dhcp || goto retry_dhcp
    chain tftp://pxe.domain.com/pxelinux.0

I get the feeling I just removed any support for the network device.
;-)

Thanks!
Jack Neely

-- 
Jack Neely <jjneely at ncsu.edu>
Linux Czar, OIT Campus Linux Services
Office of Information Technology, NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4  EA6B 213B 765F 3B6A 5B89



More information about the ipxe-devel mailing list