Strix Z270F Gaming主板用的是I-219V网卡,装上ubuntu 16.04后发现没有网卡驱动。经过测试,用如下方法能解决问题:
下载驱动e1000e (3.3.5.3)
(https://downloadcenter.intel.com/download/15817/Intel-Network-Adapter-Driver-for-PCI-E-Gigabit-Network-Connections-under-Linux-?product=71307)
修改src/nvm.c: 563行, 将e1000e_validate_nvm_checksum_generic函数改成直接返回0.
s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw)
{
#if 0
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;
}
#endif
return 0;
}
Make and install
$ make
$ sudo make install
$ sudo modprobe e1000e