Operating System - Linux
1833767 Members
2370 Online
110063 Solutions
New Discussion

Prolinat Support Pack 7 on RH AS 2.1

 
SOLVED
Go to solution
Jeroen Peereboom
Honored Contributor

Prolinat Support Pack 7 on RH AS 2.1

L.S.

Fresh install of Red Hat AS 2.1 on ML 360.
Kernel 2.4.9-e.34smp.

Trying to install Proliant Support Pack 7.0
Installation of several components fail:

Installing HP ProLiant NC67xx/NC77xx Gigabit Ethernet NIC Driver for Linux v6.2.17a-1
This RPM contains the bcm5700 driver for HP ProLiant NC67xx and NC77xx Gigabit Ethernet NICs running under Linux.
...
...
+ make bcm5700.o
In file included from /lib/modules/2.4.9-e.34smp/build/include/linux/autoconf.h:1,
from /lib/modules/2.4.9-e.34smp/build/include/linux/config.h:4,
from mm.h:16,
from b57um.c:19:
/lib/modules/2.4.9-e.34smp/build/include/linux/rhconfig.h:31:60: operator '(' has no left operand
make: *** [b57um.o] Error 1

Same thing for hpasm.

I checked the rhconfig.h file. There are lines #if defined with SMP, ENTERPRISE and SUMMIT.
SUMMIT is the offending line.

Any suggestions?

JP.
5 REPLIES 5
Don_89
Trusted Contributor

Re: Prolinat Support Pack 7 on RH AS 2.1

I got the same message when trying to compile vmware 3.0 gsx server on the e.34 kernel. I think its a syntax error in one of the C files.. I updated the the kernel to 2.4.9.e38 and it compiled fine.

Jeroen Peereboom
Honored Contributor

Re: Prolinat Support Pack 7 on RH AS 2.1

L.S.

What I did before installing a new kernel, is to remove the offending SUMMIT lines if fhconfig.h. That solved the problem, but later I had many problems with bonding.

OK, I installed the latest errate kernel, but still no luck (has luck got anything to do with this?).

==========
1. Some elements just won't be installed because they are not supported on this errata kernel. Here they are:
Parsing of XML file for cpq_cciss-2.4.48-8.rhel21.i686.rpm package
was SUCCESSFUL.
Parsing of XML file for cpq_cpqarray_RedHatAS21-2.4.25-1.i386.rpm package
was SUCCESSFUL.
Parsing of XML file for lsi-megaide-drvr-rhas21-2.26e-1.i386.rpm package
was SUCCESSFUL.
Parsing of XML file for aic7xxx-6.2.35-rhas21.i686.rpm package
was SUCCESSFUL.
Parsing of XML file for mptlinux-redhat-2.05.00-1.i686.rpm package
was SUCCESSFUL.
However, ALL components ABOVE DO NOT SUPPORT the currently installed errata kernel.
Installation of ALL THESE component will not be attempted.

=================
2. bcm5700 and bonding installation just fail:

Preparing to install HP ProLiant NC67xx/NC77xx Gigabit Ethernet NIC Driver for Linux v6.2.17a-1

This RPM contains the bcm5700 driver for HP ProLiant NC67xx
and NC77xx Gigabit Ethernet NICs running under Linux.
bcm5700 ##################################################
700-6.2.17a
+ /bin/mkdir -p bcm5700-6.2.17a
+ cd bcm5700-6.2.17a
+ /bin/gzip -dc /usr/src/redhat/SOURCES/bcm5700-6.2.17a.tgz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/gzip -dc /usr/src/redhat/SOURCES/bcm5700-6.2.17a.tgz
+ tar -xvvf -
+ 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
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd bcm5700-6.2.17a
+ make bcm5700.o
In file included from /lib/modules/2.4.9-e.38smp/build/include/linux/autoconf.h:1,
from /lib/modules/2.4.9-e.38smp/build/include/linux/config.h:4,
from mm.h:16,
from b57um.c:19:
/lib/modules/2.4.9-e.38smp/build/include/linux/rhconfig.h:31:60: operator '(' has no left operand
make: *** [b57um.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.20753 (%build)
Bad exit status from /var/tmp/rpm-tmp.20753 (%build)
A command, "rpmbuild -bb --quiet --clean --rmsource ${RPMDIR}/SPECS/bcm5700.spec", necessary to complete the installation of this component failed with error code 1: "Operation not permitted"
Installation of this component FAILED.


Preparing to install HP Tested and Approved Linux Bonding Driver v1.0.4d-1

This RPM contains the bonding driver, which allows you to
combine multiple HP ProLiant NIC ports to behave as one when
running under Linux.
tus from /var/tmp/rpm-tmp.87297 (%build)
A command, "rpmbuild -bb --quiet --clean --rmsource ${RPMDIR}/SPECS/bonding.spec", necessary to complete the installation of this component failed with error code 1: "Operation not permitted"
Installation of this component FAILED.


What now:
* Downgrade to errata kernel 27, which is supported by the Proliant Support Pack?
* Open a thread on the bonding problem?
* Wait for new Proliant Support Pack. Will it support newer errata kernels?
* ???

JP.
Jeroen Peereboom
Honored Contributor

Re: Prolinat Support Pack 7 on RH AS 2.1

Another solution:

delete /boot/kernel.h* files (2 files)
Will be built again at boot time. I have not tested that yet, mybe the newly generated file is wrong too.
But I just edited kernel.h (changed
__BOOT_KERNEL_SUMMIT
to
__BOOT_KERNEL_SUMMIT 0
)
since my kernel is SMP.

That helps.

JP.
Chuck Way
New Member
Solution

Re: Prolinat Support Pack 7 on RH AS 2.1

I have run into the exact problem with the PSP's loading 2.1 update 3 on a Proliant 380 G2. There is a fix

initscripts-6.47.6-1.i386.rpm

Available at https://rhn.redhat.com/errata/RHBA-2003-341.html
Jeroen Peereboom
Honored Contributor

Re: Prolinat Support Pack 7 on RH AS 2.1

Chuck,

great. It does exactly what I did manually.

Thanks (and point),

JP.