Broadcom Ethernet not working- tg3 running kernel 2.6

Tags:

When installing Debian Sarge with kernel 2.6 on a IBM HS20 Blade the Broadcom Ethernet interface does not work. When using kernel 2.4 the interface works fine.

I've tried to download the tg3 driver from the Broadcom web site, but the instruction are not clear to me. http://www.broadcom.com/support/ethernet_nic/driver-sla.php?driver=570x-Linux

After the tar-file is extracted the instructions refers to;

cd src
make

Under my Debian Sarge installation the only source dir is /usr/src
I move the extracted files/dir to /usr/src and did a make. The output is printed bellow (see also kernel version);

linblade2:/usr/src/tg3-3.58b# make make -C /lib/modules/2.6.8-2-386/build SUBDIRS=/usr/src/tg3-3.58b modules
make[1]: Entering directory `/lib/modules/2.6.8-2-386/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.8-2-386/build'
make: *** [default] Error 2
linblade2:/usr/src/tg3-3.58b#

linblade2:/usr/src/tg3-3.58b# uname -r
2.6.8-2-386
linblade2:/usr/src/tg3-3.58b# ls
ChangeLog LICENSE Makefile README.TXT tg3.4 tg3.c tg3.h

This is from the Broadcom Makefile;
-----------------------------------
LINUX=/lib/modules/$(shell uname -r)/build ifeq ($(shell ls /lib/modules/$(shell uname -r)/source > /dev/null 2>&1 && echo source),)
LINUXSRC=$(LINUX)
else
LINUXSRC=/lib/modules/$(shell uname -r)/source
------------------------------------

Non of the references above that makes the variable 'LINUXSRC' are correct.
/lib/modules/$(shell uname -r)/build does not exist /lib/modules/$(shell uname -r)/source is a symlink which point to a fake/faulty location

Has anyone runned in to this issue before? How can I find out which driver version that comes with the kernel I'm using? If I install kernel 2.4 and then upgrade to 2.6 will the driver also change?

No votes yet
Syndicate content