1,解压驱动
       tar  zxvf igb-5.1.2.tar.gz
       cd igb-5.1.2/src
2,安装编译环境:
       apt-get install build-essential linux-headers-`uname -r`
       make install
在这里编译错误如下:
=================================================================
make -C /lib/modules/2.6.32-5-amd64/build SUBDIRS=/root/igb-5.1.2/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
  CC [M]  /root/igb-5.1.2/src/igb_main.o
/root/igb-5.1.2/src/igb_main.c:215: error: implicit declaration of function ‘SET_RUNTIME_PM_OPS’
/root/igb-5.1.2/src/igb_main.c:218: error: initializer element is not constant
/root/igb-5.1.2/src/igb_main.c:218: error: (near initialization for ‘igb_pm_ops.suspend_noirq’)
make[4]: *** [/root/igb-5.1.2/src/igb_main.o] 错误 1
make[3]: *** [_module_/root/igb-5.1.2/src] 错误 2
make[2]: *** [sub-make] 错误 2
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64'
make: *** [default] 错误 2
==================================================================
解决以上错误使用以下命令:
      make CFLAGS_EXTRA=-DDISABLE_PM
能过禁用那个模块再进行编译,最后编译成功。
==================================================================
# make CFLAGS_EXTRA=-DDISABLE_PM
make -C /lib/modules/2.6.32-5-amd64/build SUBDIRS=/root/igb-5.1.2/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
  CC [M]  /root/igb-5.1.2/src/igb_main.o
  CC [M]  /root/igb-5.1.2/src/e1000_82575.o
  CC [M]  /root/igb-5.1.2/src/e1000_i210.o
  CC [M]  /root/igb-5.1.2/src/e1000_mac.o
  CC [M]  /root/igb-5.1.2/src/e1000_nvm.o
  CC [M]  /root/igb-5.1.2/src/e1000_phy.o
  CC [M]  /root/igb-5.1.2/src/e1000_manage.o
  CC [M]  /root/igb-5.1.2/src/igb_param.o
  CC [M]  /root/igb-5.1.2/src/igb_ethtool.o
  CC [M]  /root/igb-5.1.2/src/kcompat.o
  CC [M]  /root/igb-5.1.2/src/e1000_api.o
  CC [M]  /root/igb-5.1.2/src/e1000_mbx.o
  CC [M]  /root/igb-5.1.2/src/igb_vmdq.o
  CC [M]  /root/igb-5.1.2/src/igb_procfs.o
  CC [M]  /root/igb-5.1.2/src/igb_hwmon.o
  CC [M]  /root/igb-5.1.2/src/igb_debugfs.o
  LD [M]  /root/igb-5.1.2/src/igb.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /root/igb-5.1.2/src/igb.mod.o
  LD [M]  /root/igb-5.1.2/src/igb.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64'
==================================================================
编译完成!

将驱动拷贝到系统驱动目录中,如果有就进行覆盖。

cp igb-5.1.2/src/igb.ko /lib/modules/2.6.32-5-amd64/kernel/drivers/net/igb/igb.ko

重新成功模块依赖,将所有的模块进行重新分析工作,建立关联文件

depmod    -a

加载模块igb

modprobe igb

查找igb模块是否加载

lsmod | grep igb

重启网络服务
  
      service networking restart

将驱动更新到内核当中,以后开机就会自动加载模块。
 
      update-initramfs -ut

重启主机

reboot

build igb driver with DCA

RHEL  dracut --force

ubuntu    update-initrafs -u

可解决重启网卡驱动读取内核默认版本的问题。

Debian 6.0安装igb驱动相关推荐

  1. Debian 6.0 安装过程 及中文乱码

    2019独角兽企业重金招聘Python工程师标准>>> Debian 6.0 安装过程 Debian 6.0 安装过程 转(一个别人自录的安装过程录相) http://v.youku ...

  2. linux 7.0安装网卡驱动,安装或更新CentOS6.7平台的网卡驱动程序

    基于Linux平台安装或更新网卡驱动程序与Windows平台相差不大,首先查阅出主机网卡的具体型号.Windows平台可以借助鲁大师等硬件检测工具查看网卡,Linux平台有适用的命令lspci.eth ...

  3. CentOS 7.0安装Nvidia驱动

    个人博客: alex-my.xyz CentOS 7.0 Nvidia显卡安装步骤: (请先看评论,再决定是否要按照这个来.我自己每次安装都是按照这个一步一步来的,都是成功的. 显卡: gtx970, ...

  4. Debian 8.0(Jessie) 无线网卡,ATI显卡驱动和输入法等安装记录。

    转载请注明作者与出处!谢谢! 最近准备彻底转换到Linux平台,之前一直用的是Red Hat,对Debian不是很熟悉,花了不少时间摸索.下面记录一下安装的过程以便备忘,顺便给他人能做个参考. 我的是 ...

  5. debian 安装打印机驱动及打印机共享

    作者:wzb56 转自:http://blog.csdn.net/wzb56/article/details/7677604 为了局域网可以共享Debian Linux 服务器上打印机,下面通过cup ...

  6. linux 7260驱动程序,Debian 7.6安装Intel Wireless 7260 wifi模块驱动和固件的方法

    0.内核以及发行版 Version 信息 Debian 7.6 Wheezy Linux fyp-tp 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_ ...

  7. 群晖DS918+ DSM7.0.1 安装网卡驱动

    群晖DS918+ DSM7.0.1 安装网卡驱动 环境 硬件 豆希B365ITX主板(板载双Intel-i211AT千兆网卡) 乐扩8125b双2.5gPCIE网卡 系统 系统:DSM7.0.1-42 ...

  8. 在Debian 4.0 rc3上安装postfix+sasl验证及防垃圾SPAM机制

    作者:何祖彬[RobinHe] Mail:zubin.he@gmail.com 始于2008年8月4日 PM 版本号:Debian-Postfix-SASL-SPAM-V1.0-20080804, 2 ...

  9. 在 VMware ESXi 5.0 上安装万兆网卡驱动

    2012年02月28日 | 标签: vmware esxi | 作者:vpsee  转载自:http://www.vpsee.com/2012/02/intall-network-card-drive ...

最新文章

  1. python socket server库_python基础之socket与socketserver
  2. 从CVPR 2014看计算机视觉领域的最新热点
  3. git 撤销全部的commit_git 撤销commit
  4. 实验二 二叉树的操作与实现
  5. day 31 进程的其他方法 进程锁 进程队列
  6. HashMap源码解释
  7. java搭建聊天服务器_使用 ServerSocket 建立聊天服务器-2
  8. axios跨域请求的qs用法 - qs安装篇
  9. Linux下使用wget下载FTP服务器文件
  10. 用PHP的CURL写的一个采集Discuz的例子
  11. Shape Completion using 3D-Encoder-Predictor CNNs and Shape Synthesis 第二部分
  12. Matlab - 演化博弈论实现
  13. 《码农翻身》各章节阅读连接
  14. 【《游戏引擎架构》提炼总结】(一)游戏是什么,游戏引擎架构导论
  15. 十种常见的图像标注方法 | 数据标注
  16. 凸优化、轨迹优化、最优控制
  17. OpenStreetMap初探(七)——渲染和地图瓦片之安装Mapnik
  18. 系统错误H80004005(-2147467259),未指定的错误。
  19. 我的世界无限贪婪服务器,《我的世界》1.12.2无尽贪婪mod
  20. 如何从 “用户评论”中挖掘业务价值

热门文章

  1. APDU指令学习 如何读取NFC手机钱包的余额
  2. Enscape室内设计商业化探索报告书
  3. 【KMP算法详解——适合初学KMP算法的朋友】
  4. 【毕业季|进击的技术er】作为一个职场人,我想对你们说
  5. 中国人民银行人民币最新汇率抓取
  6. excel的if函数中android,excel中if函数使用小技巧分享
  7. 知微传感Dkam系列3D相机SDK例程篇:点云滤波
  8. 数据库制作宽表的方法
  9. 手机扫描文字如何用软件识别
  10. vue项目移动H5的页面调试