[[PageOutline]] * install e1000e driver to Linux kernel = e1000e = * Intel Gigabit CT Desktop Adapter * x1 PCI-Express * lspci {{{ 02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection }}} == Ubuntu == * install e1000e driver to Ubuntu Hardy * [http://masaoo.blogspot.com/2009/06/dell-optiplex-760-intel-82567lm-3.html まさおのブログ (表): Dell OPTIPLEX 760 の Intel 82567LM-3 (e1000e) を Linux で動作させる方法] * [https://bugs.launchpad.net/ubuntu/hardy/+source/linux-ubuntu-modules-2.6.24/+bug/322737 Bug #322737 in linux-ubuntu-modules-2.6.24 (Ubuntu Hardy): “e1000e-ich9m: no wired ethernet adapter Intel 82567LM Dell E6500 @ ubuntu 8.04”] === kernel spec === * uname -a {{{ Linux HOSTNAME 2.6.24-24-server #1 SMP Fri Sep 18 16:47:05 UTC 2009 x86_64 GNU/Linux }}} * aptitude show linux-image-2.6.24-24-server | head {{{ Package: linux-image-2.6.24-24-server State: installed Automatically installed: yes Version: 2.6.24-24.61 }}} === requirement === * sudo aptitude install -R build-essential linux-libc-dev linux-headers-`uname -r` {{{ The following NEW packages will be automatically installed: g++ g++-4.2 gcc gcc-4.2 libc6-dev libgomp1 libstdc++6-4.2-dev linux-headers-2.6.24-24 The following NEW packages will be installed: build-essential g++ g++-4.2 gcc gcc-4.2 libc6-dev libgomp1 libstdc++6-4.2-dev linux-headers-2.6.24-24 linux-headers-2.6.24-24-server linux-libc-dev 0 packages upgraded, 11 newly installed, 0 to remove and 0 not upgraded. }}} * [http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=15817&lang=eng Network Adapter Driver for PCI-E Gigabit Network Connections under Linux*] * The e1000e.x.x.x.x.tar.gz is designed to work with the IntelR 82571/2/3/4/7 PCI-E family of gigabit adapters and 82566/7 controllers. * wget http://downloadmirror.intel.com/15817/eng/e1000e-1.0.2.5.tar.gz === make & install === * tar zxvf e1000e-1.0.2.5.tar.gz * cd e1000e-1.0.2.5/src/ * ~/e1000e-1.0.2.5/src$ make * ~/e1000e-1.0.2.5/src$ sudo make install {{{ make -C /lib/modules/2.6.24-24-server/build SUBDIRS=/home/mitty/e1000e-1.0.2.5/src modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-24-server' Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-server' gzip -c ../e1000e.7 > e1000e.7.gz # remove all old versions of the driver find /lib/modules/2.6.24-24-server -name e1000e.ko -exec rm -f {} \; || true find /lib/modules/2.6.24-24-server -name e1000e.ko.gz -exec rm -f {} \; || true install -D -m 644 e1000e.ko /lib/modules/2.6.24-24-server/kernel/drivers/net/e1000e/e1000e.ko /sbin/depmod -a || true install -D -m 644 e1000e.7.gz /usr/share/man/man7/e1000e.7.gz man -c -P'cat > /dev/null' e1000e || true man: cannot write to /var/cache/man/cat7/e1000e.7.gz in catman mode e1000e. }}} * sudo vim /etc/modules {{{ e1000e }}}