Users Guide

Table Of Contents
19–Troubleshooting
Checking if Current Drivers Are Loaded
Doc No. BC0054508-00 Rev. R
January 21, 2021 Page 283 Copyright © 2021 Marvell
Checking if Current Drivers Are Loaded
Follow the appropriate procedure for your operating system to confirm if the
current drivers are loaded.
Windows
See the QCC GUI online help for information on viewing vital information about
the adapter, link status, and network connectivity.
Linux
To verify that the bnx2.o driver is loaded properly, issue the following command:
lsmod | grep -i <module name>
If the driver is loaded, the output of this command shows the size of the driver in
bytes, the quantity of adapters configured, and their names. The following
example shows the drivers loaded for the bnx2 module:
[root@test1]# lsmod | grep -i bnx2
bnx2 199238 0
bnx2fc 133775 0
libfcoe 39764 2 bnx2fc,fcoe
libfc 108727 3 bnx2fc,fcoe,libfcoe
scsi_transport_fc 55235 3 bnx2fc,fcoe,libfc
bnx2i 53488 11
cnic 86401 6 bnx2fc,bnx2i
libiscsi 47617 8
be2iscsi,bnx2i,cxgb4i,cxgb3i,libcxgbi,ib_iser,iscsi_tcp,libiscsi_tcp
scsi_transport_iscsi 53047 8
be2iscsi,bnx2i,libcxgbi,ib_iser,iscsi_tcp,libiscsi
bnx2x 1417947 0
libcrc32c 1246 1 bnx2x
mdio 4732 2 cxgb3,bnx2x
If you reboot after loading a new driver, you can issue the following command to
verify that the currently loaded driver is the correct version.
modinfo bnx2
Following is a sample output.
[root@test1]# lsmod | grep -i bnx2
bnx2 199238 0
Or, you can issue the following command:
[root@test1]# ethtool -i eth2