Hi, I have to install Broadcom driver because the Dell Optiplex 330 running Centos 5.2 is not able to connect to the network. I am trying to install a Broadcom driver, but I get the followng error: [root at localhost tg3-3.85l]# [root at localhost tg3-3.85l]# make make -C /lib/modules/2.6.18-92.el5/build SUBDIRS=/usr/src/Server/Linux/Driver/tg3-3.85l modules make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5-x86_64' CC [M] /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.o In file included from /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.c:85: /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:234: error: redefinition of 'skb_transport_offset' include/linux/skbuff.h:1006: error: previous definition of 'skb_transport_offset' was here /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:239: error: redefinition of 'ip_hdr' include/linux/ip.h:109: error: previous definition of 'ip_hdr' was here /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:244: error: redefinition of 'ip_hdrlen' include/net/ip.h:48: error: previous definition of 'ip_hdrlen' was here /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:249: error: redefinition of 'tcp_hdr' include/linux/tcp.h:169: error: previous definition of 'tcp_hdr' was here /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:254: error: redefinition of 'tcp_optlen' include/linux/tcp.h:179: error: previous definition of 'tcp_optlen' was here make[2]: *** [/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.o] Error 1 make[1]: *** [_module_/usr/src/Server/Linux/Driver/tg3-3.85l] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.el5-x86_64' make: *** [default] Error 2 [root at localhost tg3-3.85l]# Does anyone know how to resolve this problem? Many thanks in advance for all your help. Regards, Pete
On Sun, Sep 7, 2008 at 10:37 PM, Pete Kay <petedao at gmail.com> wrote:> Hi, > > I have to install Broadcom driver because the Dell Optiplex 330 > running Centos 5.2 is not able to connect to the network. > > I am trying to install a Broadcom driver, but I get the followng error: > > [root at localhost tg3-3.85l]# > [root at localhost tg3-3.85l]# make > make -C /lib/modules/2.6.18-92.el5/build > SUBDIRS=/usr/src/Server/Linux/Driver/tg3-3.85l modules > make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5-x86_64(snip)> make: *** [default] Error 2 > [root at localhost tg3-3.85l]# > > Does anyone know how to resolve this problem?It looks like you are trying to compile the tg3 module. If so, it is included in CentOS-5. $ /sbin/modinfo tg3 filename: /lib/modules/2.6.18-92.1.10.el5/kernel/drivers/net/tg3.ko version: 3.86 license: GPL description: Broadcom Tigon3 ethernet driver You network problem may be due to something else ? Akemi
Pete Kay wrote:> Hi, > > I have to install Broadcom driver because the Dell Optiplex 330 > running Centos 5.2 is not able to connect to the network. > > > I am trying to install a Broadcom driver, but I get the followng error: > > [root at localhost tg3-3.85l]# > [root at localhost tg3-3.85l]# make > make -C /lib/modules/2.6.18-92.el5/build > SUBDIRS=/usr/src/Server/Linux/Driver/tg3-3.85l modules > make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5-x86_64' > CC [M] /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.o > In file included from /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.c:85: > /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:234: error: redefinition > of 'skb_transport_offset'It seems that a recent kernel change in the 5.2 series is conflicting with the broadcom driver, short term you may be able to work around the issue by downgrading the kernel to 2.6.18-55 or earlier. http://www.redhat.com/archives/redhat-install-list/2008-June/msg00002.html nate
I would first download the very latest kernel and build that to see if it works do an lscpi -vv and post the results for the network card did you have a look at atrpms or dag to see if they have a kernel module already built ? e.g. http://rpm.pbone.net/index.php3/stat/11/vendor/1800/com/Broadcom%20Corporation.html Pete Kay wrote:> Hi, > > I have to install Broadcom driver because the Dell Optiplex 330 > running Centos 5.2 is not able to connect to the network. > > > I am trying to install a Broadcom driver, but I get the followng error: > > [root at localhost tg3-3.85l]# > [root at localhost tg3-3.85l]# make > make -C /lib/modules/2.6.18-92.el5/build > SUBDIRS=/usr/src/Server/Linux/Driver/tg3-3.85l modules > make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5-x86_64' > CC [M] /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.o > In file included from /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.c:85: > /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:234: error: redefinition > of 'skb_transport_offset' > include/linux/skbuff.h:1006: error: previous definition of > 'skb_transport_offset' was here > /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:239: error: redefinition > of 'ip_hdr' > include/linux/ip.h:109: error: previous definition of 'ip_hdr' was here > /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:244: error: redefinition > of 'ip_hdrlen' > include/net/ip.h:48: error: previous definition of 'ip_hdrlen' was here > /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:249: error: redefinition > of 'tcp_hdr' > include/linux/tcp.h:169: error: previous definition of 'tcp_hdr' was here > /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:254: error: redefinition > of 'tcp_optlen' > include/linux/tcp.h:179: error: previous definition of 'tcp_optlen' was here > make[2]: *** [/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.o] Error 1 > make[1]: *** [_module_/usr/src/Server/Linux/Driver/tg3-3.85l] Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.el5-x86_64' > make: *** [default] Error 2 > [root at localhost tg3-3.85l]# > > Does anyone know how to resolve this problem? > > Many thanks in advance for all your help. > > Regards, > Pete > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >