[ipxe-devel] ifopen net0 not enough space

Michael Brown mbrown at fensystems.co.uk
Tue May 3 16:51:08 UTC 2011


On Tuesday 03 May 2011 15:18:06 Matthias Teege wrote:
> It probes every interface from 0 to 6 with a message like this:
> 
> mmio_start: 0xfbde0000
> mmio_len: 0x00020000
> adapter->hw.hw_addr: ...
> adapter->max.typ: ...
> 00:10:f3:...
> e100e_probe succeeded!
> 
> and then dies with
> 
> err.alloc.etherdev

Thanks.  I think I've found the culprit, which is that the e1000e driver 
allocates around 16kB per e1000e interface.  This appears to be for the 
purpose of shadowing part of the non-volatile memory on ICH8 devices.  As far 
as I can tell, this functionality is wholly redundant in iPXE, and is present 
only because the e1000e driver was ported from Linux rather than being created 
as a dedicated iPXE driver.

The attached patch (compile-tested only) removes all references to this 
shadowed RAM.  Let me know if it fixes your problem.

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e1000e_kill_shadow_ram.patch
Type: text/x-patch
Size: 7612 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20110503/c18e2692/attachment.bin>


More information about the ipxe-devel mailing list