[ipxe-devel] Intel 82576 MAC swapping
Michael Brown
mbrown at fensystems.co.uk
Fri Jul 27 11:44:28 UTC 2012
On Friday 27 Jul 2012 11:35:57 Kieran Evans wrote:
> My point in the previous email was that intel_fetch_mac_eeprom is called
> before is_valid_ether_addr. If there is a MAC in the EEPROM, the if
> statement surounding intel_fetch_mac_eeprom retruns 0 from the
> intel_fetch_mac function.
>
> This means that if there's a MAC in eeprom, the is_valid_ether_addr
> function is never reached, and so the autoloaded MAC is never checked
> for validity.
Yes, that's correct.
Could you try the attached patch, and build with DEBUG=intel? This should
dump out the entire EEPROM contents on screen, which would be useful to know.
(If you have a serial port and a null-modem cable, you can capture the output
by enabling CONSOLE_SERIAL in config/console.h; otherwise a digital camera is
probably easiest.)
Thanks,
Michael
More information about the ipxe-devel
mailing list