3–Driver Installation
Installing Linux Driver Software
12
AH0054602-00 A
3.
Delete the
qed.ko
,
qede.ko
, and
qedr.ko
files from the directory in which
they reside. For example, in SLES, issue the following commands:
cd /lib/modules/
<version>
/updates/qlgc-fastlinq
rm -rf qed.ko
rm -rf qede.ko
rm -rf qedr.ko
depmod -a
To remove Linux drivers in an RoCE environment:
1.
To get the path to the currently 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