[ipxe-devel] Intel 82576 MAC swapping
Kieran Evans
keyz182 at gmail.com
Fri Jul 27 12:48:54 UTC 2012
Michael:
I'm working on these servers via the remote management controllers,
they're about 50 miles away from me at the moment, so to make it easier,
I ran ethtool -e eth1/eth3 from Ubuntu to dump the EEPROM.
http://dbyz.co.uk/eth1.dmp
http://dbyz.co.uk/eth3.dmp
It should be the same as iPXE would output (as it's being read directly
from the HW).
Anton:
No luck.
http://dbyz.co.uk/ipxe3.png
I managed to find a datasheet for the 82576 on the web here:
ftp://ftp.mirrorservice.org/pub/sourceforge/e/e1/e1000/82576%20Developers%20Manual%20-%20DS/Version%202p0/OpenSDM_82576-DS-2p0.pdf
The datasheet says that the MAC address is stored once as a shared
resource (I.E. it is only stored once in the EEPROM, and calculated for
the other interfaces) see Page 88, Table 3-24.
/Kieran
On 27/07/2012 12:45, Michael Brown wrote:
> On Friday 27 Jul 2012 12:44:28 Michael Brown wrote:
>>> 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.)
> And this time with the patch actually attached.
>
> Michael
More information about the ipxe-devel
mailing list