Re: [opensuse] Error when making tg3 from source



On Wednesday 31 October 2007 22:07:38 Ben Kevan wrote:
Here I get:

tg3-3.81c> make
make -C /lib/modules/2.6.23.1-185-default/build
SUBDIRS=/home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c modules
make[1]: Entering directory `/usr/src/linux-2.6.23.1-185-obj/i386/default'
make -C ../../../linux-2.6.23.1-185
O=../linux-2.6.23.1-185-obj/i386/default modules
CC [M] /home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c/tg3.o
/home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c/tg3.c:9751: error:
unknown field ‘get_perm_addr’ specified in initializer
/home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c/tg3.c:9751:
error: ‘ethtool_op_get_perm_addr’ undeclared here (not in a function)
make[4]: ***
[/home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c/tg3.o] Error 1
make[3]: ***
[_module_/home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c] Error 2
make[2]: *** [modules] Error 2
mke[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23.1-185-obj/i386/default'
make: *** [default] Error 2

ethtool is installed

But the field was removed from the kernel structure

If you are going to be building the very latest drivers against the very
latest kernels, shouldn't you be asking these questions either on lkml or on
opensuse-kernel?

Actually, since the problem is that the tg3 driver hasn't been ported to the
latest kernel, you should probably be talking to Broadcom

Anders

--
Madness takes its toll
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Dell 2650 Dual Xeon freezing up frequently
    ... On Wed, 30 Jul 2003, Ian S. Nelson wrote: ... Try replacing the tg3 driver with the one found in newer kernels (2.4.22pre ... or 2.4.21) or make sure you are using the latest RH kernel with the updated ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Debian (sarge) on HP Proliant (DL320/DL360)
    ... >module package for your kernel. ... According to the tg3 driver stopped working in april last year because it ... because Debian isn't a supported OS on Proliant ... with SCSI RAID instead to be able to install and use Debian on a HP Proliant ...
    (Debian-User)
  • Custom Compiled 2.6.18 Kernel and tg3 network driver
    ... I just upgraded to a custom compiled 2.6.18 kernel on my debian etch box, ... and my network card uses the tg3 driver loaded as a module. ... sites or even ssh, some times they hang, and same with apt-get upgrades. ...
    (Debian-User)
  • Re: tg3 timeouts with 2.6.17-rc6
    ... network traffic, e.g. by using bittorrent. ... Did this use to work with an older kernel or older tg3 driver? ... | tg3: lan0: Flow control is on for TX and on for RX. ...
    (Linux-Kernel)
  • tg3 vs. e1000? Trouble with kernel panic related to gigabit nic?
    ... on our site we're using a dell 2550 with a BroadCom Gigabit ethernet card. ... Lately we're experiencing kernel panics. ... All this leads me to believe that the tg3 driver may be the cause of our ...
    (comp.os.linux.hardware)