BNX2 v1.7.1d-1 with Red Hat 5.2 Fails to Install

Hayden,Robert RHAYDEN at CERNER.COM
Mon Jun 9 20:21:23 UTC 2008


Looking to see if anyone has ran into this issue before I contact HP Support.

I am working on getting Red Hat 5.2 (kernel 2.6.18-92.el5) installed on a HP BL460c blade and ran into an issue with the installation of the HP PSP 8.0.  In particular, I cannot install the BNX2 driver due to what appears to be duplicated definitions within the build files.  I have tried to download the latest BNX2 driver (1.7.1d.3-1) from HP support web site and it has the same issue when I manually attempt to install it.

Searching Google did not turn up any solutions but I did have a hit on a Dell list server of a similar issue: http://lists.us.dell.com/pipermail/linux-poweredge/2008-May/036295.html

Reviewing the header files, I do see duplicates in the bnx2.h and the kernel source headers for the variables mentioned below.

I am guessing that some definitions were moved into the kernel headers and not eliminated from the BNX2 headers or vice versa.  I do not have this issue with Red Hat 5.1


Issue from /var/log/hppldu.log:

		Preparing to install HP NC-Series Multifunction Driver for Linux v1.7.1d-1

		    This driver contains the driver for the HP NC-Series
		    Multifunction Gigabit Ethernet NICs running under Linux.

		+ umask 022
		+ cd /usr/src/redhat/BUILD
		+ cd /usr/src/redhat/BUILD
		+ rm -rf bnx2-1.7.1d
		+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/bnx2-1.7.1d.tar.bz2
		+ tar -xvvf -
		+ STATUS=0
		+ '[' 0 -ne 0 ']'
		+ cd bnx2-1.7.1d
		++ /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,u+w,g-w,o-w .
		+ exit 0
		+ umask 022
		+ cd /usr/src/redhat/BUILD
		+ cd bnx2-1.7.1d
		+ value=
		+ '[' -z '' ']'
		++ uname -r
		+ KVER=2.6.18-92.el5
		+ make KVER=2.6.18-92.el5
		In file included from /usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.c:74:
		/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:261: error: redefinition of âskb_transport_offsetâ
		include/linux/skbuff.h:1006: error: previous definition of âskb_transport_offsetâ was here
		/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:266: error: redefinition of âip_hdrâ
		include/linux/ip.h:109: error: previous definition of âip_hdrâ was here
		/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:271: error: redefinition of âip_hdrlenâ
		include/net/ip.h:48: error: previous definition of âip_hdrlenâ was here
		/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:276: error: redefinition of âtcp_hdrâ
		include/linux/tcp.h:169: error: previous definition of âtcp_hdrâ was here
		/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:281: error: redefinition of âtcp_optlenâ
		include/linux/tcp.h:179: error: previous definition of âtcp_optlenâ was here
		make[2]: *** [/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.o] Error 1
		make[1]: *** [_module_/usr/src/redhat/BUILD/bnx2-1.7.1d] Error 2
		make: *** [default] Error 2
		error: Bad exit status from /var/tmp/rpm-tmp.16667 (%build)
		    Bad exit status from /var/tmp/rpm-tmp.16667 (%build)
		A command, "rpmbuild -bb --quiet --clean --rmsource ${RPMDIR}/SPECS/bnx2.spec", necessary to complete the installation of this component failed with error code 1: "Operation not permitted"
		Installation of this component FAILED.



Robert 


----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20080609/06fac9a7/attachment.htm>


More information about the Redhat-install-list mailing list