HP Tc2110 product update: hp server tc2110 (English) - Page 2

Troubleshooting

Page 2 highlights

IF YOU DID NOT SEE ANY ERRORS, then the driver was successfully compiled. If there are any errors, the compilation process will stop. If everything went well you should see an output similar to this e100.o built for 2.4.4-64GB-SMP ** SMP - Enabled ** iANS hooks - Enabled ** PRO Diagnostics - Enabled ** Ethtool IOCTL - Enabled The above is shown only as an example! Your kernel may be different than 2.4.4-64GB-SMP and if you do not have a SMP capable system, SMP will not be enabled. WARNING: Installing the new driver in Step 5 will overwrite the previous driver. 5. Install the new driver. The driver you just compiled is still in the temporary directory. Use make to install it to the appropriate location: make install make install will install the driver to /lib/modules/your_kernel_version/kernel/drivers/net. It is recommended to backup any previous version of your driver. 6. Testing the new driver If you had already loaded the old driver, unload it. To do so, you will have to first stop any interface using that driver: · ifconfig eth0 down · ifconfig eth1 down (etc...) 7. When all the interfaces are down, you can unload the driver: rmmod e100 8. Load the driver again, the new one should load: modprobe e100 9. Type dmesg | less and use the space bar to get to the bottom. You should see the driver version of the driver you loaded last. Troubleshooting Depending on linux distributions, you may encounter some issues when attempting to compile a driver. If the system cannot find modversions.h or version.h, try the following: 1. go to the linux source tree: cd /usr/src/linux 2. run make oldconfig (press enter if you are asked any question) 3. run make dep 4. Go back to the temporary directory and try to compile e100 again. If the driver is not compile for the right kernel try the following: 1. go to the linux source tree: cd /usr/src/linux 2. Edit Makefile and specify the kernel version including extra version if necessary. 2

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

2
IF YOU DID NOT SEE ANY ERRORS, then the driver was successfully compiled. If there are any errors, the
compilation process will stop. If everything went well you should see an output similar to this:
**************************************************
** e100.o built for 2.4.4-64GB-SMP
** SMP - Enabled
** iANS hooks - Enabled
** PRO Diagnostics - Enabled
** Ethtool IOCTL - Enabled
**************************************************
The above is shown only as an example! Your kernel may be different than 2.4.4-64GB-SMP and if you do not have a
SMP capable system, SMP will not be enabled.
WARNING: Installing the new driver in Step 5 will overwrite the previous driver.
5.
Install the new driver. The driver you just compiled is still in the temporary directory. Use make to install it to the
appropriate location:
make install
make install
will install the driver to /lib/modules/your_kernel_version/kernel/drivers/net. It is recommended to backup
any previous version of your driver.
6.
Testing the new driver
If you had already loaded the old driver, unload it. To do so, you will have to first stop any interface using that driver:
±
ifconfig eth0 down
±
ifconfig eth1 down
(etc...)
7.
When all the interfaces are down, you can unload the driver:
rmmod e100
8.
Load the driver again, the new one should load:
modprobe e100
9.
Type dmesg | less and use the space bar to get to the bottom. You should see the driver version of the driver you
loaded last.
Troubleshooting
Depending on linux distributions, you may encounter some issues when attempting to compile a driver.
If the system cannot find modversions.h or version.h, try the following:
1.
go to the linux source tree:
cd /usr/src/linux
2. run
make oldconfig
(press enter if you are asked any question)
3. run
make dep
4.
Go back to the temporary directory and try to compile e100 again.
If the driver is not compile for the right kernel try the following:
1.
go to the linux source tree:
cd /usr/src/linux
2.
Edit Makefile and specify the kernel version including extra version if necessary.