Changes between Version 1 and Version 2 of TipAndDoc/Hardware/e1000e


Ignore:
Timestamp:
Oct 8, 2009 6:34:14 AM (11 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/Hardware/e1000e

    v1 v2  
    11[[PageOutline]] 
    22 
     3 * install e1000e driver to Linux kernel 
     4 
    35 = e1000e = 
    4  * install e1000e driver for Ubuntu Hardy 
     6 * Intel Gigabit CT Desktop Adapter 
     7   * x1 PCI-Express 
     8   * lspci 
     9{{{ 
     1002:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 
     11}}} 
     12 
     13 == Ubuntu == 
     14 * install e1000e driver to Ubuntu Hardy 
    515 
    616 * [http://masaoo.blogspot.com/2009/06/dell-optiplex-760-intel-82567lm-3.html まさおのブログ (表): Dell OPTIPLEX 760 の Intel 82567LM-3 (e1000e) を Linux で動作させる方法] 
    717 * [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”] 
     18 
     19 === kernel spec === 
     20 * uname -a 
     21{{{ 
     22Linux HOSTNAME 2.6.24-24-server #1 SMP Fri Sep 18 16:47:05 UTC 2009 x86_64 GNU/Linux 
     23}}} 
     24 
     25 * aptitude show linux-image-2.6.24-24-server | head 
     26{{{ 
     27Package: linux-image-2.6.24-24-server 
     28State: installed 
     29Automatically installed: yes 
     30Version: 2.6.24-24.61 
     31}}} 
     32 
     33 === requirement === 
     34 * sudo aptitude install -R build-essential linux-libc-dev linux-headers-`uname -r` 
     35{{{ 
     36The following NEW packages will be automatically installed: 
     37  g++ g++-4.2 gcc gcc-4.2 libc6-dev libgomp1 libstdc++6-4.2-dev 
     38  linux-headers-2.6.24-24 
     39The following NEW packages will be installed: 
     40  build-essential g++ g++-4.2 gcc gcc-4.2 libc6-dev libgomp1 
     41  libstdc++6-4.2-dev linux-headers-2.6.24-24 linux-headers-2.6.24-24-server 
     42  linux-libc-dev 
     430 packages upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 
     44}}} 
     45 
     46 * [http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=15817&lang=eng Network Adapter Driver for PCI-E Gigabit Network Connections under Linux*] 
     47   * 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. 
     48   * wget http://downloadmirror.intel.com/15817/eng/e1000e-1.0.2.5.tar.gz 
     49 
     50 === make & install === 
     51 * tar zxvf e1000e-1.0.2.5.tar.gz 
     52 * cd e1000e-1.0.2.5/src/ 
     53 * ~/e1000e-1.0.2.5/src$ make 
     54 * ~/e1000e-1.0.2.5/src$ sudo make install 
     55{{{ 
     56make -C /lib/modules/2.6.24-24-server/build SUBDIRS=/home/mitty/e1000e-1.0.2.5/src modules 
     57make[1]: Entering directory `/usr/src/linux-headers-2.6.24-24-server' 
     58  Building modules, stage 2. 
     59  MODPOST 1 modules 
     60make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-server' 
     61gzip -c ../e1000e.7 > e1000e.7.gz 
     62# remove all old versions of the driver 
     63find /lib/modules/2.6.24-24-server -name e1000e.ko -exec rm -f {} \; || true 
     64find /lib/modules/2.6.24-24-server -name e1000e.ko.gz -exec rm -f {} \; || true 
     65install -D -m 644 e1000e.ko /lib/modules/2.6.24-24-server/kernel/drivers/net/e1000e/e1000e.ko 
     66/sbin/depmod -a || true 
     67install -D -m 644 e1000e.7.gz /usr/share/man/man7/e1000e.7.gz 
     68man -c -P'cat > /dev/null' e1000e || true 
     69man: 
     70cannot write to /var/cache/man/cat7/e1000e.7.gz in catman mode 
     71e1000e. 
     72}}} 
     73 
     74 * sudo vim /etc/modules 
     75{{{ 
     76e1000e 
     77}}}