13-Jan-2018, 04:15 AM
I tried to use small dell optiplex micro which have i219-lm network card
that card is supported by the e1000e module but i fond issue:
[ 1.216090] e1000e 0000:00:1f.6: The NVM Checksum Is Not Valid
which need correct sources & rebuild kernel
Edit nvm.c, function e1000e_validate_nvm_checksum_generic (line 563) to:s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw)
{
[font] /*
s32 ret_val;
u16 checksum = 0;
u16 i, nvm_data;
for (i = 0; i < (NVM_CHECKSUM_REG + 1); i++) {
ret_val = e1000_read_nvm(hw, i, 1, &nvm_data);
if (ret_val) {
e_dbg("NVM Read Error\n");
return ret_val;
}
checksum += nvm_data;
}
if (checksum != (u16)NVM_SUM) {
e_dbg("NVM Checksum Invalid\n");
return -E1000_ERR_NVM;
}
[font] */[/font]
[/font]
that card is supported by the e1000e module but i fond issue:
[ 1.216090] e1000e 0000:00:1f.6: The NVM Checksum Is Not Valid
which need correct sources & rebuild kernel
Edit nvm.c, function e1000e_validate_nvm_checksum_generic (line 563) to:s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw)
{
[font] /*
s32 ret_val;
u16 checksum = 0;
u16 i, nvm_data;
for (i = 0; i < (NVM_CHECKSUM_REG + 1); i++) {
ret_val = e1000_read_nvm(hw, i, 1, &nvm_data);
if (ret_val) {
e_dbg("NVM Read Error\n");
return ret_val;
}
checksum += nvm_data;
}
if (checksum != (u16)NVM_SUM) {
e_dbg("NVM Checksum Invalid\n");
return -E1000_ERR_NVM;
}
[font] */[/font]
[/font]