Hello
I can't install a NIC driver.
Could somebody help me please ?
I have completely setup Red Hat 7.2 on a
"hp compaq business desktop d530 series"
but the NIC hasn't been detected.
During the installation process,
I choosed personnalized and all packages.
The NIC is a
"Integrated Broadcom NetXtreme Gigabit Ethernet for HP"
And when I tried to setup it
with the driver from broadband.com,
I got those messages :
b57um.c:2523: storage size of `eregs' isn't known
b57um.c:2523: warning: unused variable `eregs'
make: *** [b57um.o] Erreur 1
error: Bad exit status from /var/tmp/rpm-tmp.9063 (%build)
The HP NIC spec URL is :
http://h18000.www1.hp.com/products/q...11692_div.HTML
The driver URL is
http://www.broadcom.com/drivers/downloaddrivers.php
(I choosed the 7.1.9 version)
Here is a excerpt of the documentation I followed :
1. Install the source RPM package:
rpm -ivh bcm5700-<version>.src.rpm
2. CD to the RPM path and build the binary driver for your kernel:
cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..}
rpm -bb SPECS/bcm5700.spec
And final full output is :
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9063
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf bcm5700-7.1.9
+ /bin/mkdir -p bcm5700-7.1.9
+ cd bcm5700-7.1.9
+ /bin/gzip -dc /usr/src/redhat/SOURCES/bcm5700-7.1.9.tgz
+ tar -xvvf -
-rw-r--r-- root/root 1935 2003-10-31 14:55:44 5701rls.c
-rw-r--r-- root/root 7954 2003-10-31 14:55:44 5701rls.h
-rw-r--r-- root/root 5757 2003-10-31 14:55:44 DISTRIB.TXT
-rw-r--r-- root/root 15153 2003-10-31 14:55:44 LICENSE
-rw-r--r-- root/root 3905 2003-10-31 14:55:44 Makefile
-rw-r--r-- root/root 17861 2003-10-31 14:55:44 README.TXT
-rw-r--r-- root/root 26623 2003-10-31 14:55:44 RELEASE.TXT
-rw-r--r-- root/root 14209 2003-10-31 14:55:44 autoneg.c
-rw-r--r-- root/root 14308 2003-10-31 14:55:44 autoneg.h
-rw-r--r-- root/root 16873 2003-10-31 14:55:44 b57proc.c
-rw-r--r-- root/root 116362 2003-10-31 14:55:44 b57um.c
-rw-r--r-- root/root 15177 2003-10-31 14:55:44 bcm5700.4
-rw-r--r-- root/root 2486 2003-10-31 14:55:44 bits.h
-rw-r--r-- root/root 13256 2003-10-31 14:55:44 fw_lso05.h
-rw-r--r-- root/root 24167 2003-10-31 14:55:44 fw_stkoffld.h
-rw-r--r-- root/root 19280 2003-10-31 14:55:44 lm.h
-rw-r--r-- root/root 14003 2003-10-31 14:55:44 mm.h
-rw-r--r-- root/root 7965 2003-10-31 14:55:44 nicext.h
-rw-r--r-- root/root 11780 2003-10-31 14:55:44 queue.h
-rw-r--r-- root/root 3759 2003-10-31 14:55:44 tcp_seg.c
-rw------- root/root 241148 2003-10-31 14:55:44 tigon3.c
-rw-r--r-- root/root 124875 2003-10-31 14:55:44 tigon3.h
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/gzip -dc /usr/src/redhat/SOURCES/bcm5700-7.1.9.tgz
+ tar -xvvf -
-rw-r--r-- root/root 1935 2003-10-31 14:55:44 5701rls.c
-rw-r--r-- root/root 7954 2003-10-31 14:55:44 5701rls.h
-rw-r--r-- root/root 5757 2003-10-31 14:55:44 DISTRIB.TXT
-rw-r--r-- root/root 15153 2003-10-31 14:55:44 LICENSE
-rw-r--r-- root/root 3905 2003-10-31 14:55:44 Makefile
-rw-r--r-- root/root 17861 2003-10-31 14:55:44 README.TXT
-rw-r--r-- root/root 26623 2003-10-31 14:55:44 RELEASE.TXT
-rw-r--r-- root/root 14209 2003-10-31 14:55:44 autoneg.c
-rw-r--r-- root/root 14308 2003-10-31 14:55:44 autoneg.h
-rw-r--r-- root/root 16873 2003-10-31 14:55:44 b57proc.c
-rw-r--r-- root/root 116362 2003-10-31 14:55:44 b57um.c
-rw-r--r-- root/root 15177 2003-10-31 14:55:44 bcm5700.4
-rw-r--r-- root/root 2486 2003-10-31 14:55:44 bits.h
-rw-r--r-- root/root 13256 2003-10-31 14:55:44 fw_lso05.h
-rw-r--r-- root/root 24167 2003-10-31 14:55:44 fw_stkoffld.h
-rw-r--r-- root/root 19280 2003-10-31 14:55:44 lm.h
-rw-r--r-- root/root 14003 2003-10-31 14:55:44 mm.h
-rw-r--r-- root/root 7965 2003-10-31 14:55:44 nicext.h
-rw-r--r-- root/root 11780 2003-10-31 14:55:44 queue.h
-rw-r--r-- root/root 3759 2003-10-31 14:55:44 tcp_seg.c
-rw------- root/root 241148 2003-10-31 14:55:44 tigon3.c
-rw-r--r-- root/root 124875 2003-10-31 14:55:44 tigon3.h
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9063
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd bcm5700-7.1.9
+ make bcm5700.o
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_F
IX=1 -Wall -Wstrict-prototypes -O6 -I/lib/modules/2.4.7-10/build/include -c
-o b57um.o b57um.c
b57um.c: In function `netdev_ethtool_ioctl':
b57um.c:2523: storage size of `eregs' isn't known
b57um.c:2523: warning: unused variable `eregs'
make: *** [b57um.o] Erreur 1
error: Bad exit status from /var/tmp/rpm-tmp.9063 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.9063 (%build)
Thank you
Harry