3–Driver Installation
Installing Linux Driver Software
12
AH0054602-00 J
To remove Linux drivers in an RDMA environment:
1.
To get the path to the installed drivers, issue the following command:
modinfo <driver name>
2.
Unload and remove the Linux drivers.
modprobe -r qedr
modprobe -r qede
modprobe -r qed
depmod -a
3.
Remove the driver module files:
If the drivers were installed using an RPM package, issue the following
command:
rpm -e qlgc-fastlinq-kmp-default-<version>.<arch>
If the drivers were installed using a TAR file, issue the following
commands for your operating system:
For RHEL:
cd /lib/modules/<version>/extra/qlgc-fastlinq
rm -rf qed.ko qede.ko qedr.ko
For SLES:
cd /lib/modules/<version>/updates/qlgc-fastlinq
rm -rf qed.ko qede.ko qedr.ko
Installing Linux Drivers Using the src RPM Package
To install Linux drivers using the src RPM package:
1.
Issue the following at a command prompt:
rpm -ivh RPMS/<arch>/qlgc-fastlinq-<version>.src.rpm
2.
Change the directory to the RPM path and build the binary RPM for the
kernel.
For RHEL:
cd /root/rpmbuild
rpmbuild -bb SPECS/fastlinq-<version>.spec