PDA

View Full Version : Knoppix 4.0.2 on mobo Intel d975xbx



jazevedo
06-26-2006, 02:08 PM
Hello,
I'm running a Quantian 0.7.9.2 distro based on Knoppix 4.0.2 and I'm having problems with the network card from my Intel d975xbx mother board.
Knoppix is not recognizing my network card (No supported network cards found).
I read intel's Linux* Base Driver for the Intel(R) PRO/1000 Family of Adapters
(http://downloadmirror.intel.com/df-support/9180/ENG/README.txt) and followed their steps.
I've managed to compile the new drivers, however I was not able to load it. I got error messages using both modprobe and insmod.

Load the module using either the insmod or modprobe command:
modprobe e100
insmod /lib/modules/2.6.12/kernel/drivers/net/e100/e100.ko
yield either

FATAL: Error inserting e100 (/lib/modules/2.6.12/kernel/drivers/net/e100/e100.ko): Invalid module format
Or
insmod: error inserting ‘insmod /lib/modules/2.6.12/kernel/drivers/net/e100/e100.ko’: -1 Invalid module format

I would sincerelly appreciate if anyone could point me toward possible solutions to this problem.
Many thanks in advance,
JP

jazevedo
06-27-2006, 01:33 PM
Hello,

I found a solution.

THE PROBLEM

The kernel used in the Quantian distro was compiled using gcc-3.3, however when compiling the new driver it used gcc-4.0.

THE SOLUTION

In order to compile the e100 module properly a hat to correct that link by

"rm /usr/bin/gcc
ln /usr/bin/gcc-3.3 /usr/bin/gcc"

THEN ALL WORKED FINE

So here is my sequence for compiling e100 in knoppix 4.0.2:

"rm -f /usr/bin/gcc
ln /usr/bin/gcc-3.3 /usr/bin/gcc
export CC=/usr/bin/gcc-3.3
make install
modproble e100

Cheers,

JP