Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Troubleshooting driver problems 

Jun 09, 2014 12:11 PM

There are 4 commands that are particularly helpful for troubleshooting driver problems:

lsmod: list all modules that are installed
modprobe: install a specific driver
rmmod: uninstall a driver
locate: find any file on the system containing a specific string

So if I've got a 3Com 905c card, and I know that the correct driver for it is the 3c59x driver I might do this:

1. Verify that it exists on the system:

# locate 3c59x
/lib/modules/2.6.12-1.1372_FC3/kernel/drivers/net/3c59x.ko
/lib/modules/2.6.10-1.770_FC3smp/kernel/drivers/net/3c59x.ko
/lib/modules/2.6.12-1.1372_FC3smp/kernel/drivers/net/3c59x.ko
/lib/modules/2.6.12-1.1378_FC3/kernel/drivers/net/3c59x.ko
/lib/modules/2.6.10-1.770_FC3/kernel/drivers/net/3c59x.ko

2. OK, it exists. Now I'll check to see if it's loaded:

# lsmod | grep 3c59x

3. No response means it's not loaded so I'll load it with modprobe:

# modprobe 3c59x

4. Now lsmod will show that it is installed:

# lsmod | grep 3c59x
3c59x 44905 0 
mii 9537 1 3c59x

5. If I want to uninstall it I can use rmmod:

# rmmod 3c59x

Statistics
0 Favorited
2 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.