Operating System - HP-UX
1837960 Members
2633 Online
110124 Solutions
New Discussion

Can't load kernel patches

 
SOLVED
Go to solution
Rusty Sapper
Frequent Advisor

Can't load kernel patches

I'm rinning 11.0 and am having problem loading any patches that require the kernel to be rebuilt. During the install, The process is suspended and I get the following error in the log.

Loading the kernel... ^??
ld: Unsatisfied symbol "mlock_valid_args" in file /usr/conf/lib/libhp-ux. ??
ld: Unsatisfied symbol "pwrite" in file /usr/conf/lib/libhp-ux.a[scall_st ??
ld: Unsatisfied symbol "pread" in file /usr/conf/lib/libhp-ux.a[scall_stu ??
3errors. ??
?? ?? make: *** [vmunix_test] Error 1 ??
?? ?? makefailure. ??
?? ?? ERROR: The command "/usr/sbin/mk_kernel", which is used to rebuild ??
?? ?? the kernel, has failed. Because kernel-related filesets were ??
?? ?? installed, this command must be executed by "swinstall", ??
?? ?? without failures, before the load can continue. Check the ??
?? ?? above output for details about the failure.
11 REPLIES 11
Cheryl Griffin
Honored Contributor

Re: Can't load kernel patches

You are installing a patch related to PHKL_18543 and are missing a dependency:
PHKL_18543 PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch
PHKL_20016 2nd CPU not recognized in G70/H70/I70
PHKL_24027 VxFS 3.1 cumulative patch
PHKL_25475 PM cumulative patch
PHKL_25525 Probe,IDDS,PM,VM,PA-8700,asyncio,T600,FS
PHCO_21187 cumulative SAM/ObAM patch
PHCO_23651 fsck_vxfs(1M) cumulative

Cheryl
"Downtime is a Crime."
Rusty Sapper
Frequent Advisor

Re: Can't load kernel patches

I don't think so, I have all of those you listed in the depot. I also get the same behavior when trying to apply the June 02 QPK bundle.
Cheryl Griffin
Honored Contributor

Re: Can't load kernel patches

If a dependency is not missing, then it indicates that the LITS (PHKL_18543) patch has been reinstalled.

Try running check_patches to see if it runs clean, otherwise it will identify what must be fixed. You need to run the latest copy as there has been specific changes regarding the checking for PHKL_18543.

check_patches is part of PHCO_27779 s700_800 11.00 HP-UX Patch Tools and White Paper

Cheryl
"Downtime is a Crime."
S.K. Chan
Honored Contributor
Solution

Re: Can't load kernel patches

In addition check this doc too, it may apply to you.
DocID=KBRC00006788
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000064560096
Hope it helps ..
Rusty Sapper
Frequent Advisor

Re: Can't load kernel patches

Well,
ran the check_patches. along with 147 Patches that failed the checksum check, I got the following at the end.

========================= Swverify on Patch Filesets =========================

ERROR: The swverify(1M) command on all patch filesets failed with
the following error(s):

ERROR: "shelby.cmax.medplus.com:/": The software dependencies for
125 products or filesets cannot be resolved.
ERROR: "shelby.cmax.medplus.com:/": 44 files had errors during thi
s
operation.
WARNING: "shelby.cmax.medplus.com:/": 1 files had warnings during th
is
operation.

Please review the /var/adm/sw/swagent.log file for details.

==============================================================================
Rusty Sapper
Frequent Advisor

Re: Can't load kernel patches

Well,
Guess I'm rebuilding this server, unless someone know an easy way to reinstall 147 patches.


-Rusty
Dave Unverhau_1
Honored Contributor

Re: Can't load kernel patches

Rusty,

Before you rebuild the server, here are some things to try: (I would make a backup of /var/adm/sw before manipulating the files in this tree outside of the SD-UX suite)

Is it possible that your IPD (/var/adm/sw/products/INDEX) is corrupt? It can be rebuilt, if the rest of /var/adm/sw is intact. I have attached a script (written by HP, but UNSUPPORTED) that will traverse /var/adm/sw/products and rebuild the IPD. Before executing it, backup the tree and mv the INDEX file somewhere "safe".

Alternatively...

If you have a backup of /var/adm/sw/products that predates whatever caused the problem, but was made after the most recent sd-ux session where anything was installed or removed, you may be able to fix it by restoring the entire tree. (Make a current backup first...)

I hope this helps!

Dave
Romans 8:28
Clemens van Everdingen
Honored Contributor

Re: Can't load kernel patches

Hi,

I have seen in the forum an easy way to resolve the unsatisfied symbol issue.

Just select all patches starting with PHKL and reinstall them.

To be sure search the forum for this issue and you will find this one as well.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
P. Prinsloo
Advisor

Re: Can't load kernel patches

I had the same problem with unsatisfied symbols.
check this thread out it will most certainly help you.
http://archives.neohapsis.com/archives/hp/2001-q2/0011.html
Wally
Cheryl Griffin
Honored Contributor

Re: Can't load kernel patches


"Downtime is a Crime."
Rusty Sapper
Frequent Advisor

Re: Can't load kernel patches

Thanks all for your input. However, I was a little careless when I was applying the pathces to enable memory windows to solve the Oracle SGA limitations. I did infact install an old patch whith the reinstall flag set to true, which in affect, hosed up 147 patches that had been previously applied. Luckily this was a test server

So please learn from my mistake, and never set the reinstall flag to true when loading multiple patches from a bundle, because there could be an old patch in there.


-Rusty