Professional Web Applications Themes

problem with Broadcom Ethernet card and RH 7.2 - Linux Setup, Configuration & Administration

The card is simply not reckognized, and it does not figure in the list of reckognized ethernet cards for that RedHat distro. Could someone tell me where I can find a driver for this card, or what alternate setup may be tested ? The exact references of this card are : "Broadcom NetXtrem Gigabit Ethernet for HP" In case this card would not be useable with RH 7.2, would there be another distro, such as Mandrake 9 or else, that would accept this ethernet card ? Thanks in advance for any input. -- Bernard DEBREIL...

  1. #1

    Default problem with Broadcom Ethernet card and RH 7.2

    The card is simply not reckognized, and it does not figure in the list of
    reckognized ethernet cards for that RedHat distro. Could someone tell me
    where I can find a driver for this card, or what alternate setup may be
    tested ?

    The exact references of this card are :

    "Broadcom NetXtrem Gigabit Ethernet for HP"

    In case this card would not be useable with RH 7.2, would there be another
    distro, such as Mandrake 9 or else, that would accept this ethernet card ?

    Thanks in advance for any input.

    --


    Bernard DEBREIL

    Bernard Guest

  2. #2

    Default Re: problem with Broadcom Ethernet card and RH 7.2

    Bernard DEBREIL wrote: 

    See http://www.broadcom.com/support/downloaddrivers.php.

    Regards, Ian

    Ian Guest

  3. #3

    Default Re: problem with Broadcom Ethernet card and RH 7.2

    On Wed, 12 Nov 2003 Bernard DEBREIL wrote:
     

    Did you try google?

    http://h18000.www1.hp.com/products/quickspecs/11692_div/11692_div.HTML

    There is support for this driver for 2.2 and 2.4 linux kernels.

    V.
    Vwakes Guest

  4. #4

    Default Re: problem with Broadcom Ethernet card and RH 7.2

    On Wed, 12 Nov 2003 22:52:34 +0100, Ian Northeast wrote:
     
    >
    > See http://www.broadcom.com/support/downloaddrivers.php.[/ref]

    Thanks a lot for this link. I have downloaded drivers, but I can't
    compile/install any of them. I am not a specialist, and, when compiling a
    program using the makefiles that are provided, if nothing goes wrong, I
    have no problem. However, when something is not right, I am not likely to
    know what to do. So, whether I try installing this driver, here is what it
    says:

    ************************************************** ******************
    [rootPCDEBREIL src]# make
    gcc -DMODULE -D__KERNEL__ -DDBG=0 -DT3_JUMBO_RCV_RCB_ENTRY_COUNT=256
    -DNICE_SUPPORT -DPCIX_TARGET_WORKAROUND=1 -DINCLUDE_TBI_SUPPORT -DINCLUDE_5701_AX_FIX=1
    -Wall

    -Wstrict-prototypes -O6 -I/lib/modules/2.4.7-10/build/include -c -o b57um.o b57um.c In file
    included from mm.h:30,from b57um.c:19:

    /usr/include/linux/modversions.h:1:2: #error Modules should never use
    kernel-headers systemheaders,

    /usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate
    kernel-source package.

    /usr/include/linux/modversions.h:3:2:

    #error Change -I/usr/src/linux/include (or similar)to /usr/include/linux/modversions.h:4:2:

    #error -I/lib/modules/$(uname -r)/build/include /usr/include/linux/modversions.h:5:2:

    #error to build against the currently-running kernel. make: *** [b57um.o]

    Erreur 1

    [rootPCDEBREIL src]#

    ************************************************** ****************** below
    Now, here is the Makefile provided with the driver package:

    ************************************************** ******************
    #!/usr/bin/make
    # Makefile for building Linux Broadcom Gigabit ethernet driver as a
    module. # $id$

    # PREFIX may be set by the RPM build to set the effective root. PREFIX=
    ifeq ($(shell ls /lib/modules/$(shell uname -r)/build > /dev/null 2>&1 &&
    echo build),)
    ifeq ($(shell ls /usr/src/linux > /dev/null 2>&1 && echo linux),)
    LINUX=
    else
    LINUX=/usr/src/linux
    endif
    else
    LINUX=/lib/modules/$(shell uname -r)/build
    endif

    # check if 2.4 kernel or 2.5+ kernel
    BCM_KVER:=$(shell uname -r | cut -c1-3 | sed 's/2\.[56]/2\.6/')

    ifeq ($(BCM_KVER), 2.6)
    # Makefile for 2.5+ kernel
    ifneq ($(KERNELRELEASE),)

    obj-m += bcm5700.o

    bcm5700-objs := b57um.o b57proc.o tigon3.o autoneg.o 5701rls.o
    tcp_seg.o

    EXTRA_CFLAGS = -DDBG=0 -DT3_JUMBO_RCV_RCB_ENTRY_COUNT=256 -DNICE_SUPPORT
    -DPCIX_TARGET_WORKAROUND=1 -DINCLUDE_TBI_SUPPORT -DINCLUDE_5701_AX_FIX=1

    else

    default:
    make -C $(LINUX) SUBDIRS=$(shell pwd) modules

    install: default
    if [ -d $(PREFIX)/lib/modules/$(shell uname -r)/kernel/drivers/net/bcm
    ];\ then install -m 444 bcm5700.ko $(PREFIX)/lib/modules/$(shell uname
    -r)/kernel/drivers/net/bcm;\ else mkdir -p $(PREFIX)/lib/modules/$(shell
    uname -r)/drivers/net;\ install -m 444 bcm5700.ko
    $(PREFIX)/lib/modules/$(shell uname -r)/drivers/net;\ fi
    install -m 444 bcm5700.4.gz $(PREFIX)/usr/share/man/man4;

    endif

    else # ifeq ($(BCM_KVER),2.6)
    # Makefile for 2.4 kernel

    ifeq ($(LINUX),)
    $(error Linux kernel source tree not found)
    endif

    ifeq ($(shell which kgcc > /dev/null 2>&1 && echo kgcc),)
    CC = gcc
    else
    ifneq ($(findstring gcc version egcs-2.91.66, $(shell cat /proc/version
    2>&1)),)
    CC = kgcc
    else
    CC = gcc
    endif
    endif

    LD = ld
    CFLAGS=-DMODULE -D__KERNEL__ -DDBG=0 -DT3_JUMBO_RCV_RCB_ENTRY_COUNT=256
    -DNICE_SUPPORT -DPCIX_TARGET_WORKAROUND=1 -DINCLUDE_TBI_SUPPORT
    -DINCLUDE_5701_AX_FIX=1 -Wall -Wstrict-prototypes -O6 -I$(LINUX)/include

    ifeq ($(wildcard ~/rpmdir),)
    rpmdir = /usr/src/redhat
    else
    rpmdir = $(wildcard ~/rpmdir)
    endif

    ARCH:=$(shell uname -m)

    ifeq ($(ARCH),x86_64)
    CFLAGS+=-mno-red-zone -mcmodel=kernel -pipe -finline-limit=2000
    endif

    ifeq ($(ARCH),ia64)
    CFLAGS+=-pipe -ffixed-r13 -mfixed-range=f10-f15,f32-f127
    -falign-functions=32
    endif

    ifdef DBG
    CFLAGS += -DTIGON3_DEBUG=1
    endif

    ifdef SMALL
    CFLAGS += -DBCM_SMALL_DRV=1
    endif

    all: bcm5700.o
    tar: bcm5700.tgz

    bcm5700.o: b57um.o b57proc.o tigon3.o autoneg.o 5701rls.o tcp_seg.o
    $(LD) -i $^ -o $

    install: bcm5700.o
    if [ -d $(PREFIX)/lib/modules/`uname -r`/kernel/drivers/addon/bcm5700
    ];\ then install -m 444 bcm5700.o $(PREFIX)/lib/modules/`uname
    -r`/kernel/drivers/addon/bcm5700;\ elif [ -d $(PREFIX)/lib/modules/`uname
    -r`/kernel/drivers/net/bcm ];\ then install -m 444 bcm5700.o
    $(PREFIX)/lib/modules/`uname -r`/kernel/drivers/net/bcm;\ elif [ -d
    $(PREFIX)/lib/modules/`uname -r`/kernel ];\ then mkdir -p
    $(PREFIX)/lib/modules/`uname -r`/kernel/drivers/net;\ install -m 444
    bcm5700.o $(PREFIX)/lib/modules/`uname -r`/kernel/drivers/net;\ else
    mkdir -p $(PREFIX)/lib/modules/`uname -r`/net;\ install -m 444 bcm5700.o
    $(PREFIX)/lib/modules/`uname -r`/net/;\ fi
    if [ "$(PREFIX)" = "" ]; then /sbin/depmod -a ;\ else echo " *** Run
    '/sbin/depmod -a' to update the module database.";\ fi
    if [ -d $(PREFIX)/usr/share/man ];\
    then install -m 444 bcm5700.4.gz $(PREFIX)/usr/share/man/man4;\ elif [ -d
    $(PREFIX)/usr/man ];\
    then install -m 444 bcm5700.4.gz $(PREFIX)/usr/man/man4;\ fi

    bcm5700.tgz: Makefile *.[cho] LICENSE RELEASE.TXT
    tar cfvz $ $^

    rpm: bcm5700.tgz bcm5700.spec
    cp -p $< ${rpmdir}/SOURCES/
    rpm -ba bcm5700.spec

    ..PHONEY: all clean install tar

    debug:
    make DBG=1

    small:
    make SMALL=1

    endif # ifeq ($(BCM_KVER),2.6)

    clean:
    -rm -f bcm5700.o bcm5700.ko b57um.o b57proc.o tigon3.o autoneg.o
    5701rls.o tcp_seg.o bcm5700.mod.c bcm5700.mod.o
    ************************************************** *********************

    Can you advise what to do next ?

    I don't know how to interpretate the following errors:

    *******************************************
    #error Change -I/usr/src/linux/include (or similar)to /usr/include/linux/modversions.h:4:2:

    #error -I/lib/modules/$(uname -r)/build/include /usr/include/linux/modversions.h:5:2:

    #error to build against the currently-running kernel. make: *** [b57um.o]
    *******************************************

    The system recommends that I replace ' -I/usr/src... by
    /usr/include/modversions...

    which makes no sense to me, since modversions.h contains only error
    messages, and, besides, I don't know where to find the string to modify,
    since it does not appear in the makefile. In any case, the $(uname -r)
    would make no sense to me either.

    Thanks in advance for a knowledged hand :)

    I point out that I am running kernel 2.4.7-10.

    --


    Bernard DEBREIL

    Bernard Guest

  5. #5

    Default Re: problem with Broadcom Ethernet card and RH 7.2

    On Thu, 13 Nov 2003 00:18:50 +0100, Vwakes wrote:
     [/ref]

     

    Thanks a lot for this info.

    --


    Bernard DEBREIL

    Bernard Guest

  6. #6

    Default Re: problem with Broadcom Ethernet card and RH 7.2

    Am Wed, 12 Nov 2003 22:15:35 +0100 schrieb Bernard DEBREIL:
     

    look at
    http://h18023.www1.hp.com/support/files/server/us/locate/70_4706.html

    This driver works with SuSe and RedHat

    Detlef Guest

  7. #7

    Default Re: problem with Broadcom Ethernet card and RH 7.2


    "Bernard DEBREIL" <fr> wrote in message
    news:fr... 
    > >
    > > See http://www.broadcom.com/support/downloaddrivers.php.[/ref]
    >
    > Thanks a lot for this link. I have downloaded drivers, but I can't
    > compile/install any of them. I am not a specialist, and, when compiling a
    > program using the makefiles that are provided, if nothing goes wrong, I
    > have no problem. However, when something is not right, I am not likely to
    > know what to do. So, whether I try installing this driver, here is what it
    > says:
    >
    > ************************************************** ******************
    > [rootPCDEBREIL src]# make
    > gcc -DMODULE -D__KERNEL__ -DDBG=0 -DT3_JUMBO_RCV_RCB_ENTRY_COUNT=256
    > -DNICE_SUPPORT -DPCIX_TARGET_WORKAROUND=1 -DINCLUDE_TBI_SUPPORT -DINCLUDE_[/ref]
    5701_AX_FIX=1 
    b57um.o b57um.c In file 

    Start here. You *REALLY* need to update to a more modern kernel, preferably
    the 2.4.20-20 RPM based one from RedHat along with the kernel-source RPM to
    match.


    Nico Guest

  8. #8

    Default Re: problem with Broadcom Ethernet card and RH 7.2

    On Mon, 17 Nov 2003 03:18:54 +0100, Nico Kadel-Garcia wrote:

     
    >>
    >> Thanks a lot for this link. I have downloaded drivers, but I can't
    >> compile/install any of them. I am not a specialist, and, when compiling
    >> a program using the makefiles that are provided, if nothing goes wrong,
    >> I have no problem. However, when something is not right, I am not
    >> likely to know what to do. So, whether I try installing this driver,
    >> here is what it says:
    >>
    >> ************************************************** ******************
    >> [rootPCDEBREIL src]# make
    >> gcc -DMODULE -D__KERNEL__ -DDBG=0 -DT3_JUMBO_RCV_RCB_ENTRY_COUNT=256
    >> -DNICE_SUPPORT -DPCIX_TARGET_WORKAROUND=1 -DINCLUDE_TBI_SUPPORT
    >> -DINCLUDE_[/ref]
    > 5701_AX_FIX=1 
    > b57um.o b57um.c In file 
    >
    > Start here. You *REALLY* need to update to a more modern kernel,
    > preferably the 2.4.20-20 RPM based one from RedHat along with the
    > kernel-source RPM to match.[/ref]

    OK, I start to acknowledge the fact that I am not likely to save compiling
    a new kernel. I still hope I won't have to upgrade the whole distro... Is
    kernel 2.4.20-20 compatible with RH 7.2 ? Does it run nicely and smoothly
    ? Where am I to find it to download ? Since RedHat no longer carry any
    support, I don't know where to find kernel sources and headers, and my
    investigations on Fedora never lead anywhere...

    Do you think that kernel 2.4.20-20 include direct support for this
    ethernet driver, or for the tg3 driver (which is supposed to work too) ?

    Thanks in advance for your help



    --


    Bernard DEBREIL

    Bernard Guest

  9. #9

    Default Re: problem with Broadcom Ethernet card and RH 7.2

    On Thu, 13 Nov 2003 00:18:50 +0100, Vwakes wrote:
     
    >
    > Did you try google?
    >
    > http://h18000.www1.hp.com/products/quickspecs/11692_div/11692_div.HTML
    >
    > There is support for this driver for 2.2 and 2.4 linux kernels.[/ref]

    Yes, the doc says that the driver is compatible for linux kernels 2.2.x
    and 2.4.X... but still, I can't get it to work... 

    --


    Bernard DEBREIL

    Bernard Guest

  10. #10

    Default Re: problem with Broadcom Ethernet card and RH 7.2


    "Bernard DEBREIL" <fr> wrote in message
    news:fr... 
    > > 5701_AX_FIX=1 
    > > b57um.o b57um.c In file 
    > >
    > > Start here. You *REALLY* need to update to a more modern kernel,
    > > preferably the 2.4.20-20 RPM based one from RedHat along with the
    > > kernel-source RPM to match.[/ref]
    >
    > OK, I start to acknowledge the fact that I am not likely to save compiling
    > a new kernel. I still hope I won't have to upgrade the whole distro... Is
    > kernel 2.4.20-20 compatible with RH 7.2 ? Does it run nicely and smoothly
    > ? Where am I to find it to download ? Since RedHat no longer carry any
    > support, I don't know where to find kernel sources and headers, and my
    > investigations on Fedora never lead anywhere...[/ref]

    Please re-read what I just said: "the 2.4.20-20 RPM based one from RedHat".
    It's available at ftp.redhat.com and the FTP mirrors, such as
    ftp://rpmfind.net/linux/redhat/updates/7.2/en/os/.
     

    I'm not positive, but I believe it includes such a plethora of more recent
    drivers that you can only gain from it.


    Nico Guest

Similar Threads

  1. PROBLEM: Notebook w/PCMCIA ethernet & docking station ethernet / Multiple NICs / Only use one at a time
    By ---==[Quasar]==--- in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: September 19th, 04:07 PM
  2. Ethernet card in LC475
    By David Stone in forum Mac Networking
    Replies: 2
    Last Post: August 12th, 01:05 PM
  3. Ethernet Card
    By Jacob in forum Debian
    Replies: 3
    Last Post: August 9th, 08:10 AM
  4. somewhat off topic: ethernet card problem
    By Micha Feigin in forum Debian
    Replies: 0
    Last Post: July 21st, 08:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139