Building The Source Rpm - SMC Networks Tiger Card SMC10GPCIe-10BT User Manual

Tiger card 10g 10gbase-t and xfp ethernet server adapters
Hide thumbs Also See for Tiger Card SMC10GPCIe-10BT:
Table of Contents

Advertisement

Driver Installation
3.
Apply the new network settings:
a.
"neat" provides an option to "Activate" the new interface. The new network
interface can then be used immediately (there is no need to reboot or
restart the network service).
b.
If you are not using "neat," you will need to reboot or restart the networking
service (
[root@myhost1 i686]# service network restart
the new SMC interface can be used.

Building the Source RPM

The source RPM is also available on the support site:
SMC10GPCIe-10BT: Linux NET driver source RPM
The source RPM can be used to build a binary RPM for that can be installed as
detailed in the section "Installation From a Binary RPM" on page 3-7.
1.
Before building the source RPM, the kernel headers for your running kernel
must be installed at
and Fedora systems, install the appropriate kernel-smp-devel or kernel-devel
package. On SuSE systems, install the kernel-source package.
2.
To build a binary RPM for the running kernel type
rpmbuild --rebuild <package name>
Note: Unfortunately, the location of the generated rpm is dependent on the
distribution you are using, and often the version of the distribution and the
rpm build tools. The following steps may be useful to locate the newly built
rpm:
- The rpmbuild process should print out the location of the rpm towards the
end of the build process, but it can be hard to find amongst the output.
- Typically the rpm will be placed in
where
<dir>
"
packages
convention as the SMC-provided pre-built binary rpms.
- The command
find /usr/src -name "*sfc*.rpm"
will list the locations of all SMC rpms.
3.
The resulting binary RPM package can be installed as detailed in the section
"Installation From a Binary RPM" on page 3-7.
Please consult the rpmbuild man pages for other options, for example, details how
to build an RPM for a kernel variant other than the current running kernel version.
3-10
/lib/modules/<kernel-version>/build
is distribution specific. Possible folders are "
" or "
." The rpm file will be named using the same
extra
/usr/src/<dir>/RPMS/<arch>/
) before
. On RedHat
,
",
redhat

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiger card smc10gpcie-xfp10gpcie-10bt10gpcie-xfp

Table of Contents