integrated broadcom ethernet card problem with debian 3.0r1
Hi everybody
I am running into troubles with running an integrated ethernet
card called Broadcom 5702 (or bcm5700) on an IBM server with
Linux Debian 3.0r1. Can anybody help me, please ?
The basic Debian install runs ok, although it doesn't recognize
this integrated card, as it did on another machine (Via EPIA 800).
The IBM server is delivered with a few CD drivers. The one for
the Ethernet card is called bcm5700. But the Debian versions I
download (7 CD + 1 update) as the same driver. The package is
called bcm5700-source. The files from IBM driver or Debian
packages are the same and I tried both of them and runned in the
same trouble. So here is what I have done with the Debian package :
11111
Install, via the Package Manager, the bcm5700-source. This write
a file called bcm5700.tar.gz in /usr/src.
22222
With a console, I untared this file ( tar xzvf bcm5700.tar.gz ).
This make 2 new directories : /usr/src/modules/bcm5700/debian and
/usr/src/modules/bcm5700/src .
As it is said in the readme file, the install procedure should
happen this way (from ../bcm5700/src directory)
make
insmod bcm5700.o
make install
33333
So I changed to /usr/src/modules/bcm5700/src and tried make.
This gave me the folowing error :
linux/modversions.h : no such file or directory
I found out that I didn't have the kernel source headers installed.
The command uname -r give me 2.2.20-idepci which is, I assume, the
version number of my kernel.
44444
I installed, via the Package Manager, the package called
kernel-headers-2.2.20-idepci
This created a directory called
/usr/src/kernel-heqders-2.2.20-idepci/include and I found 2 files
named modversions.h in the following directories :
/usr/src/kernel-heqders-2.2.20-idepci/include/config/ and
/usr/src/kernel-heqders-2.2.20-idepci/include/linux/
55555
From /usr/src/modules/bcm5700/src, I made a make clean and then make
but it gave me the same error :
linux/modversions.h : no such file or directory
66666
I found out that the make procedure was locking for header files
in /usr/include/linux . So I copied the file
/usr/src/kernel-heqders-2.2.20-idepci/include/config/modversions.h
in /usr/include/linux (but I think this is maybe a mistake), then
went back again in /usr/src/modules/bcm5700/src, and made a
make clean, and then make.
77777
The make didn't give me any error anymore. So I went to the
following step of the install procedure : the command :
insmod bcm5700.o
This gave me another error :
bcm5700.o : kernel-module version mysmatch
bcm5700.0 was compiled for kernel version 2.4.18
while this kernel is version 2.2.20-idepci
88888
I repeated the 66666 step with the other modversions.h file (the
one from
/usr/src/kernel-heqders-2.2.20-idepci/include/liniux/modversions.h
The make was ok, but step 77777 gave me the same error.
So I am stucked here without knowing how to go on.
|