• 查看内核模块加载时参数


    [root@localhost dpdk-19.11]# ls /sys/module/rte_kni/parameters/
    carrier  kthread_mode  lo_mode
    [root@localhost dpdk-19.11]# cat  /sys/module/rte_kni/parameters/*
    on
    (null)
    (null)
    [root@localhost dpdk-19.11]# 
    当用dmesg|grep e1000查看的信息如下
    
    [ 30.239355] e1000: probe of 0000:02:00.0 failed with error -5
    [ 2541.874552] e1000: 0000:02:00.0: e1000_probe: The EEPROM Checksum Is Not Valid
    
    只要在加载驱动的时候加入参数 eeprom_bad_csum_allow=1即可解决问题
    查看e1000驱动模块的参数:
    
    modinfo -p e1000
    
    debug:Debug level (0=none,...,16=all)
    eeprom_bad_csum_allow:Allow bad EEPROM checksums
    copybreak:Maximum size of packet that is copied to a new buffer on receive
    KumeranLockLoss:Enable Kumeran lock loss workaround
    SmartPowerDownEnable:Enable PHY smart power down
    InterruptThrottleRate:Interrupt Throttling Rate
    RxAbsIntDelay:Receive Absolute Interrupt Delay
    RxIntDelay:Receive Interrupt Delay
    TxAbsIntDelay:Transmit Absolute Interrupt Delay
    TxIntDelay:Transmit Interrupt Delay
    XsumRX:Disable or enable Receive Checksum offload
    FlowControl:Flow Control setting
    AutoNeg:Advertised auto-negotiation setting
    Duplex:Duplex setting
    Speed:Speed setting
    RxDescriptors:Number of receive descriptors
    TxDescriptors:Number of transmit descriptors
    
    修改 /etc/modprobe.conf文件,加入一行:
    options e1000 eeprom_bad_csum_allow=1
    
    然后执行这两条命令
    modprobe -r e1000
    modprobe e1000
    
    即可解决问题。
  • 相关阅读:
    Wireshark下载地址
    WireShark过滤语法
    Centos7 虚拟机安装增强功能
    更改切换热键
    kali安装后中文乱码
    C#中关于WebBrowser的一些细节设置
    方法间多参数传递
    绑定checkedComboBox
    反射方法调用例子
    gridView 删除一行后自动定位到指定行
  • 原文地址:https://www.cnblogs.com/dream397/p/13572497.html
Copyright © 2020-2023  润新知