找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4644|回复: 13

i211i210双网卡,i211不识别,启动提示The NVM Checksum Is Not Valid

[复制链接]
发表于 2021-4-15 22:19 | 显示全部楼层 |阅读模式
本帖最后由 spplove88 于 2021-4-16 07:06 编辑

openwrt
i211i210双网卡,i211不识别,只有eth0,在ifcong下只有一个ent0网卡还有一个lo网卡哪位大神能帮忙解决下。感谢!!
从新刷过网卡固件,主板bios。改mac地址都不行!爱快可以正常识别双网卡,exsi和乌班图都不能识别双网卡,都是能看到pci设备。
lspci能看到211pci设备

eth0      Link encap:Ethernet  HWaddr 00:19:7D:3E:A6:11  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8059 errors:0 dropped:5 overruns:0 frame:0
          TX packets:7376 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1049054 (1.0 MiB)  TX bytes:5342281 (5.0 MiB)
          Memory:fe800000-fe8fffff

lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4211 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4211 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:284575 (277.9 KiB)  TX bytes:284575 (277.9 KiB)

下面是启动时报的错误。
[   12.327071] igb 0000:01:00.0: eth0: PBA No: 000300-000
[   12.332278] igb 0000:01:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
[   12.351788] igb 0000:02:00.0: The NVM Checksum Is Not Valid
[   12.431734] igb: probe of 0000:02:00.0 failed with error -5



熬了3天夜了都没解决。找到一个办法就是驱动里e1000-210.c文件删除以下代码在安装驱动。但是不知怎么操作。
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;
        }







我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-4-15 22:40 | 显示全部楼层
估计没有人能看懂你要表达什么
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-15 22:41 | 显示全部楼层
本帖最后由 badcrazy 于 2021-4-15 22:50 编辑

没头没脑这么问 你也不说下是什么系统,i211不被服务器系统识别很正常,比如winserver就不支持211,要装210驱动,既然你会刷网卡不如把211刷成210,不会不稳定的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-15 23:13 | 显示全部楼层
本帖最后由 wulishui 于 2021-4-15 23:24 编辑

我看了些文档,是驱动过老不兼容引起的。如果你是自己编译系统,好办得很。否则要么自己学习编译,要么求人编译,要么扔掉。

点评

自己编译怎么操作。谢谢  详情 回复 发表于 2021-4-16 06:44
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-4-16 06:44 | 显示全部楼层
wulishui 发表于 2021-4-15 23:13
我看了些文档,是驱动过老不兼容引起的。如果你是自己编译系统,好办得很。否则要么自己学习编译,要么求人 ...

自己编译怎么操作。谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-4-20 10:03 | 显示全部楼层
问题勉强解决了。esxi重新封装的驱动。然后虚拟机安装lede。的。

点评

不会网卡驱动注入  详情 回复 发表于 2023-1-10 18:01
楼主好人,esxi重新封装的驱动能不能发往往一份398141365@qq,com  详情 回复 发表于 2023-1-10 18:00
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-4-20 10:05 | 显示全部楼层
跑满500兆CPU虚拟机下占用不到40高不高。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-30 22:48 | 显示全部楼层
我是I210 3口,一个口都找不到,好长时间了,不知道什么原因
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-8-5 16:08 | 显示全部楼层
/**
*  igb_validate_nvm_checksum_i210 - Validate EEPROM checksum
*  @hw: pointer to the HW structure
*
*  Calculates the EEPROM checksum by reading/adding each word of the EEPROM
*  and then verifies that the sum of the EEPROM is equal to 0xBABA.
**/
static s32 igb_validate_nvm_checksum_i210(struct e1000_hw *hw)
{
        s32 status = 0;
        s32 (*read_op_ptr)(struct e1000_hw *, u16, u16, u16 *);

        return 0;
}

/**
*  igb_update_nvm_checksum_i210 - Update EEPROM checksum
*  @hw: pointer to the HW structure
*
*  Updates the EEPROM checksum by reading/adding each word of the EEPROM
*  up to the checksum.  Then calculates the EEPROM checksum and writes the
*  value to the EEPROM. Next commit EEPROM data onto the Flash.
**/
static s32 igb_update_nvm_checksum_i210(struct e1000_hw *hw)
{
        s32 ret_val = 0;
        u16 checksum = 0;
        u16 i, nvm_data;

        return 0;
}

/**
*  igb_pool_flash_update_done_i210 - Pool FLUDONE status.
*  @hw: pointer to the HW structure
*
**/
static s32 igb_pool_flash_update_done_i210(struct e1000_hw *hw)
{
        s32 ret_val = -E1000_ERR_NVM;
        u32 i, reg;

        return 0;
}

/**
*  igb_get_flash_presence_i210 - Check if flash device is detected.
*  @hw: pointer to the HW structure
*
**/
bool igb_get_flash_presence_i210(struct e1000_hw *hw)
{
        u32 eec = 0;
        bool ret_val = false;

        eec = rd32(E1000_EECD);
        if (eec & E1000_EECD_FLASH_DETECTED_I210)
                ret_val = true;

        return ret_val;
}

/**
*  igb_update_flash_i210 - Commit EEPROM to the flash
*  @hw: pointer to the HW structure
*
**/
static s32 igb_update_flash_i210(struct e1000_hw *hw)
{
        s32 ret_val = 0;
        u32 flup;

        ret_val = igb_pool_flash_update_done_i210(hw);
       
        return 0;
}





我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-8-5 16:17 | 显示全部楼层
再附个e1000_i210.c
覆盖
lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.36/drivers/net/ethernet/intel/igb/e1000_i210.c

lede/build_dir/toolchain-x86_64_gcc-8.4.0_musl/linux-5.15.36/drivers/net/ethernet/intel/igb/e1000_i210.c

然后编译


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

aoling888@163。com。谢谢  详情 回复 发表于 2022-10-15 08:34
哥们,我也是三口I210网卡,刷了好多固件都不识别,你那有没有编译好的固件发我一个试试,我还从来没编译过固件  详情 回复 发表于 2022-10-15 08:28
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-10-15 08:28 | 显示全部楼层
lzf577 发表于 2022-8-5 16:17
再附个e1000_i210.c
覆盖
lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.36/drivers/net/ ...

哥们,我也是三口I210网卡,刷了好多固件都不识别,你那有没有编译好的固件发我一个试试,我还从来没编译过固件
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-10-15 08:34 | 显示全部楼层
lzf577 发表于 2022-8-5 16:17
再附个e1000_i210.c
覆盖
lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.36/drivers/net/ ...

aoling888@163。com。谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-1-10 18:00 | 显示全部楼层
spplove88 发表于 2021-4-20 10:03
问题勉强解决了。esxi重新封装的驱动。然后虚拟机安装lede。的。

楼主好人,esxi重新封装的驱动能不能发往往一份398141365@qq,com
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-1-10 18:01 | 显示全部楼层
spplove88 发表于 2021-4-20 10:03
问题勉强解决了。esxi重新封装的驱动。然后虚拟机安装lede。的。

不会网卡驱动注入
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 09:00

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表