<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z="urn:schemas-microsoft-com:" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>BNX2 v1.7.1d-1 with Red Hat 5.2 Fails to Install</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:r_ansi;
        panose-1:2 11 6 9 2 2 2 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Upon further investigation, I am seeing changes in the
kernel-devel-2.6.18-92 package (compared to 2.6.18-55 version) to introduce one
of the parameters, skb_transport_offset.  From the bnx2 source, I see the
parameters that failed listed in bnx2.h file in the below IF statement.   What
I don’t understand, due mainly to being new at this, is why the IF
statement is not working and dropping the bnx compiler into setting these
parameters.  My assumption is that the LINUX_VERSION_CODE variable for kernel
2.6.18-92 is 0x020618 which should be greater than 0x020616.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>======== begin cut bnx2.h ===========<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>#if (LINUX_VERSION_CODE < 0x020616)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>static inline int skb_transport_offset(const struct sk_buff
*skb)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>{<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>        return (int) (skb->h.raw - skb->data);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>}<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'><o:p> </o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>static inline struct iphdr *ip_hdr(const struct sk_buff
*skb)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>{<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>        return skb->nh.iph;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>}<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'><o:p> </o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>static inline unsigned int ip_hdrlen(const struct sk_buff
*skb)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>{<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>        return ip_hdr(skb)->ihl * 4;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>}<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'><o:p> </o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>static inline struct tcphdr *tcp_hdr(const struct sk_buff
*skb)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>{<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>        return skb->h.th;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>}<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:r_ansi'>static
inline unsigned int tcp_optlen(const struct sk_buff *skb)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>{<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>        return (tcp_hdr(skb)->doff - 5) * 4;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'>}<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:r_ansi'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:r_ansi'>#endif</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>===============end cut here bnx2.h =====================<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<p class=MsoNormal style='text-autospace:none'><b><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>Robert Hayden</span></b><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'> |
Technology Architect | Cerner Corporation | 816.201.4068 | <a
href="mailto:rhayden@cerner.com">rhayden@cerner.com</a> | </span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><a
href="www.cerner.com">www.cerner.com</a><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
redhat-install-list-bounces@redhat.com
[mailto:redhat-install-list-bounces@redhat.com] <b>On Behalf Of </b>Hayden,Robert<br>
<b>Sent:</b> Monday, June 09, 2008 3:21 PM<br>
<b>To:</b> redhat-install-list@redhat.com<br>
<b>Subject:</b> BNX2 v1.7.1d-1 with Red Hat 5.2 Fails to Install<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p><span style='font-family:Consolas'>Looking to see if anyone has ran into
this issue before I contact HP Support.</span><o:p></o:p></p>

<p><span style='font-family:Consolas'>I am working on getting Red Hat 5.2</span>
<span style='font-family:Consolas'>(kernel</span> <span style='font-size:10.0pt;
font-family:r_ansi'>2.6.18-92.el5)</span> <span style='font-family:Consolas'>installed</span>
<span style='font-family:Consolas'>on a HP BL460c blade</span> <span
style='font-family:Consolas'>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.</span><o:p></o:p></p>

<p><span style='font-family:Consolas'>Searching Google did not turn up any
solutions but I did have a hit on a Dell list server of a similar issue:</span>
<a
href="http://lists.us.dell.com/pipermail/linux-poweredge/2008-May/036295.html"><span
style='font-family:Consolas'>http://lists.us.dell.com/pipermail/linux-poweredge/2008-May/036295.html</span></a><o:p></o:p></p>

<p><span style='font-family:Consolas'>Reviewing the header files, I do see
duplicates in the bnx2.h and the kernel source headers for the variables
mentioned below.</span><o:p></o:p></p>

<p><span style='font-family:Consolas'>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</span><o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p><span style='font-family:Consolas'>Issue from /var/log/hppldu.log:</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>Preparing
to install HP NC-Series Multifunction Driver for Linux v1.7.1d-1</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>   
This driver contains the driver for the HP NC-Series</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>   
Multifunction Gigabit Ethernet NICs running under Linux.</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
umask 022</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
cd /usr/src/redhat/BUILD</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
cd /usr/src/redhat/BUILD</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
rm -rf bnx2-1.7.1d</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
/usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/bnx2-1.7.1d.tar.bz2</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
tar -xvvf -</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
STATUS=0</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
'[' 0 -ne 0 ']'</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
cd bnx2-1.7.1d</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>++
/usr/bin/id -u</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
'[' 0 = 0 ']'</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
/bin/chown -Rhf root .</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>++
/usr/bin/id -u</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
'[' 0 = 0 ']'</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
/bin/chgrp -Rhf root .</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
/bin/chmod -Rf a+rX,u+w,g-w,o-w .</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
exit 0</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
umask 022</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
cd /usr/src/redhat/BUILD</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
cd bnx2-1.7.1d</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
value=</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
'[' -z '' ']'</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>++
uname -r</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
KVER=2.6.18-92.el5</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>+
make KVER=2.6.18-92.el5</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>In
file included from /usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.c:74:</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:261:
error: redefinition of âskb_transport_offsetâ</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>include/linux/skbuff.h:1006:
error: previous definition of âskb_transport_offsetâ was here</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:266:
error: redefinition of âip_hdrâ</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>include/linux/ip.h:109:
error: previous definition of âip_hdrâ was here</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:271:
error: redefinition of âip_hdrlenâ</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>include/net/ip.h:48:
error: previous definition of âip_hdrlenâ was here</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:276:
error: redefinition of âtcp_hdrâ</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>include/linux/tcp.h:169:
error: previous definition of âtcp_hdrâ was here</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.h:281:
error: redefinition of âtcp_optlenâ</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>include/linux/tcp.h:179:
error: previous definition of âtcp_optlenâ was here</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>make[2]:
*** [/usr/src/redhat/BUILD/bnx2-1.7.1d/bnx2.o] Error 1</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>make[1]:
*** [_module_/usr/src/redhat/BUILD/bnx2-1.7.1d] Error 2</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>make:
*** [default] Error 2</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>error:
Bad exit status from /var/tmp/rpm-tmp.16667 (%build)</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>   
Bad exit status from /var/tmp/rpm-tmp.16667 (%build)</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>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"</span><o:p></o:p></p>

<p>       
        <span style='font-family:Consolas'>Installation
of this component FAILED.</span><o:p></o:p></p>

<p><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Robert</span></b> <o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal>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.<o:p></o:p></p>

</div>

</body>

</html>