Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

kernel generating problems when applying a patch.

SOLVED
Go to solution
Telia BackOffice
Valued Contributor

kernel generating problems when applying a patch.

Hi

I am trying to patch a 4 node cluster to the same level. The 4 nodes did not start out with identical patch level before patching unfortinuatly. Two of the nodes can be be upgraded just fine. One barfs on mk_kernel. One has not been atempted patched just yet. The one that barfs, spits out this during installation

* Building a new kernel for configuration 'import.config'... │
│ │ ld: Unsatisfied protected symbol "sw_callback" in file "/usr/conf/lib/lib │
│ │ ld: Unsatisfied protected symbol "sw_callback" in file "/usr/conf/lib/lib │
│ │ 2 errors. │
│ │ ERROR: The kernel build did not succeed: ld: exit 1 │
│ │ The arguments that were supplied to the linker are the linker │
│ │ are stored in file /stand/failure_ldargs. │
│ │ ERROR: The command "/usr/sbin/mk_kernel", which is used to rebuild │
│ │ the kernel, has failed. Because kernel-related filesets were

The system in question is 11.23 PA RISC and I am trying to apply

FEATURE11i B.11.23.0809.073 Feature Enablemen
t Patches for HP-UX 11i v2, September 2008

Please advice.

BR Thomas
6 REPLIES
Laurent Menase
Honored Contributor
Solution

Re: kernel generating problems when applying a patch.

typically:
1) missing dependancy , and devalidating enforcing dependancy
2) pb while installing the patch which made only old libs are present

typically you have bad, missing or not the right version of kernel libs.
PHKL_34909 not installed.
check the what string of
what /usr/conf/lib/libhp-ux.a |grep softintr
softintr.c $Date: 2006/06/19 15:23:26 $Revision: r11.23/3 PATCH_11.23 (PHKL_34909)

if you see no softintr it is the missing one
and you probably corrupted a little your system
so best advise, apply a full bundle of patch
Steven E. Protter
Exalted Contributor

Re: kernel generating problems when applying a patch.

Shalom,

The system giving you difficulty is missing a patch, that is fairly clear.

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6834AA

SWA, might help you get your systems back into a patch state where they all respond the same way. It will help you build patch sets to make your systems more similar, at least with patches that are nt hardware specific.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Telia BackOffice
Valued Contributor

Re: kernel generating problems when applying a patch.

hi

Thanks for the reply. I know about SWA and will consider it. The problem is that we would like not to go to the last QPAK and HWEnablement, but a couple of versions below (due to vendor support issues with a manufacturer of storage cabinets)

WRT to the patch levels. It is a 4 node cluster called heroes (aquaman, batman, superman and flash). Flash and superman has been patched ok. Batman blew up with the error above during a planned event and I had to revert to the original root disk.

From superman (working)
thosan@superman|pts/7:/home/thosan$ sudo swlist -l patch | grep PHKL_34909
PHKL_34909.CORE2-KRN 1.0 OS-Core.CORE2-KRN applied
# PHKL_34909 1.0 CPU OLA/D Soft interrupts, sw_callback
# PHKL_34909.CORE2-KRN 1.0 OS-Core.CORE2-KRN applied
thosan@superman|pts/7:/home/thosan$ what /usr/conf/lib/libhp-ux.a |grep softintr
softintr.c $Date: 2006/06/19 15:23:26 $Revision: r11.23/3 PATCH_11.23 (PHKL_34909)

From batman (problematic host):
thosan@batman|pts/0:/home/thosan$ sudo swlist -l patch | grep PHKL_34909
# PHKL_34909 1.0 CPU OLA/D Soft interrupts, sw_callback
# PHKL_34909.CORE2-KRN 1.0 OS-Core.CORE2-KRN applied
thosan@batman|pts/0:/home/thosan$ what /usr/conf/lib/libhp-ux.a |grep softintr
softintr.c $Date: 2005/04/12 08:36:16 $Revision: r11.23/2 PATCH_11.23 (PHKL_33161)

Clearly different version of the softintr in /usr/conf/lib/libhp-ux.a and also differences in the patch list.

Please advice on how to proceed :-)
Telia BackOffice
Valued Contributor

Re: kernel generating problems when applying a patch.

By the way. Its like the patches on batman are in a noncommited state:

superman (patched last night). One QPKAPPS and one QPKBASE

thosan@superman|pts/7:/home/thosan$ sudo swlist | grep -i QPK
QPKAPPS B.11.23.0812.076 Applications Patches for HP-UX 11i v2, December 2008
QPKBASE B.11.23.0812.076 Base Quality Pack Bundle for HP-UX 11i v2, December 2008

batman: multiple versions of QPKAPPS and QPKBASE:

thosan@batman|pts/0:/home/thosan$ sudo swlist | grep -i QPK
QPKAPPS B.11.23.0505.022 Applications Quality Pack Bundle for HP-UX 11i v2, May 2005
QPKAPPS B.11.23.0609.053a Applications Quality Pack Bundle for HP-UX 11i v2, September 2006
QPKBASE B.11.23.0609.053a Base Quality Pack Bundle for HP-UX 11i v2, September 2006
QPKBASE B.11.23.0505.022 Base Quality Pack Bundle for HP-UX 11i v2, May 2005
Laurent Menase
Honored Contributor

Re: kernel generating problems when applying a patch.

the best is to take an ignite image now
then get the list of patches of the working system,
check that no superceding patch is already available on the none working system,else put the superceding patch and dependancies in the bundle
make a bundle with that list
then install that bundle on your failing system with the -x reinstall=true flag
Telia BackOffice
Valued Contributor

Re: kernel generating problems when applying a patch.

Missing patches has been identified. Situation will be corrected.