AOC-SG-i4 Add On Card User’s Manual
4-2
4-3
Building and Installation
To build a binary RPM* package of this driver, run
rpmbuild -tb <filename.tar.gz>
Replace
<filename.tar.gz>
with the specific file name of the driver.
Building a Binary RPM Package
1.
Move the base driver tar file to the directory of your choice. For example, use
/home/username/e1000
or
/usr/local/src/e1000.
2.
Untar/unzip the archive, where
<x.x.x>
is the version number for the driver tar file:
tar zxf e1000-<x.x.x>.tar.gz
3.
Change to the driver src directory, where <x.x.x> is the version number for the driver
tar:
cd e1000-<x.x.x>/src/
4.
Compile the driver module:
make install
The binary will be installed as:
/lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000/
e1000.[k]o
The install location listed above is the default location. This may differ for various
Linux distributions. For more information, go to
ldistrib.htm
.
5.
Load the module using either the
insmod
or
modprobe
command:
modprobe e1000
insmod e1000
Note that for 2.6 kernels the
insmod
command can be used if the full path to the
driver module is specified. For example:
insmod /lib/modules/<KERNEL VERSION>/kernel/drivers/net/
e1000/e1000.ko
With 2.6 based kernels also make sure that older e1000 drivers are removed from
the kernel, before loading the new module:
NOTE:
For the build to work properly, the currently running kernel MUST match
the version and configuration of the installed kernel sources. If you have just
recompiled the kernel reboot the system now.
NOTE:
PM functionality has only been tested in Red Hat distributions.
Содержание AOC-SG-i4
Страница 1: ...AOC SG i4 User s Guide Revison 1 0a...
Страница 8: ...AOC SG i4 Add On Card User s Guide viii Notes...
Страница 10: ...AOC SG i4 Add On Card User s Manual 1 2 Notes...
Страница 14: ...AOC SG i4 Add On Card User s Manual 2 4 Notes...
Страница 36: ...AOC SG i4 Add On Card User s Manual 4 12 Notes...
Страница 38: ...AOC SG i4 Add on Card User s Manual 0 ii Notes...