mk_kernel fails, swverify and swjobs had errors! (334 Views)
Reply
Occasional Advisor
P.Garzotto
Posts: 8
Registered: ‎08-07-2006
Message 1 of 9 (334 Views)

mk_kernel fails, swverify and swjobs had errors!

Hi!

we have carried out an installed system with B11.31, where we tried to install patches.


======= 12/10/07 11:05:51 MET BEGIN install AGENT SESSION (pid=6565)

* Agent session started for user "root@pippo.domain".
(pid=6565)

* Beginning Analysis Phase.
* Source:
pippo.domain:/user_home/FEATURE11i_B.11.31.0709.312.depot

* Target: pippo:/
* Target logfile: pippo:/var/adm/sw/swagent.log
* Reading source for product information.
NOTE: The fileset "PHKL_36054.CORE2-KRN,r=1.0" is already installed.
If you wish to reinstall this fileset, change the "reinstall"
option to "true".
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/" is estimated to remain
unchanged.
This will leave 707704 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/stand" is estimated to
increase by 6497 Kbytes.
This will leave 1555601 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 736 Kbytes.
This will leave 735016 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 11496 Kbytes.
This will leave 7456744 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 1 of 35 filesets will be Skipped.
* 34 of 35 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 34
* Files: 39
* Kbytes: 11418
* Installing bundle "FEATURE11i,r=B.11.31.0709.312" .
NOTE: Saving the current system file at "/stand/system" to
"/stand/system.prev"
NOTE: The template file has been extracted from "/stand/vmunix"
It has been placed in "/stand/system" where it will be used
to build a new kernel.
* Installing fileset "PHKL_35900.CORE2-KRN,r=1.0" (1 of 34).
* Installing fileset "PHKL_36010.CORE2-KRN,r=1.0" (2 of 34).
* Installing fileset "PHKL_36020.CORE2-KRN,r=1.0" (3 of 34).
* Installing fileset "PHKL_36049.CORE2-KRN,r=1.0" (4 of 34).
* Installing fileset "PHKL_36142.CORE2-KRN,r=1.0" (5 of 34).
* Installing fileset "PHKL_36242.CORE2-KRN,r=1.0" (6 of 34).
* Installing fileset "PHKL_36261.CORE2-KRN,r=1.0" (7 of 34).
* Installing fileset "PHKL_36284.CORE2-KRN,r=1.0" (8 of 34).
* Installing fileset "PHKL_36332.CORE2-KRN,r=1.0" (9 of 34).
* Installing fileset "PHKL_36334.CORE2-KRN,r=1.0" (10 of 34).
* Installing fileset "PHKL_36372.CORE2-KRN,r=1.0" (11 of 34).
* Installing fileset "PHKL_36387.CORE2-KRN,r=1.0" (12 of 34).
* Installing fileset "PHKL_36388.CORE2-KRN,r=1.0" (13 of 34).
* Installing fileset "PHKL_36393.CORE2-KRN,r=1.0" (14 of 34).
* Installing fileset "PHKL_36409.VPAR-CORE-KRN,r=1.0" (15 of
34).
* Installing fileset "PHKL_36443.CORE2-KRN,r=1.0" (16 of 34).
* Installing fileset "PHKL_36458.TRUEVM2-KRN,r=1.0" (17 of 34).
* Installing fileset "PHKL_36484.CORE2-KRN,r=1.0" (18 of 34).
* Installing fileset "PHKL_36487.CORE2-KRN,r=1.0" (19 of 34).
* Installing fileset "PHKL_36488.CORE2-KRN,r=1.0" (20 of 34).
* Installing fileset "PHKL_36488.KERN-ENG-A-MAN,r=1.0" (21 of
34).
* Installing fileset "PHKL_36552.CORE2-KRN,r=1.0" (22 of 34).
* Installing fileset "PHKL_36620.CORE2-KRN,r=1.0" (23 of 34).
* Installing fileset "PHNE_36462.CORE2-KRN,r=1.0" (24 of 34).
* Installing fileset "PHNE_36462.UX2-CORE,r=1.0" (25 of 34).
NOTE: The module 'gvid_him_cons' has been removed from /stand/system,
since there is no supported version of the module installed.
NOTE: The module 'asio0' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'ehci' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'gvid_core' has been removed from /stand/system,
since there is no supported version of the module installed.
NOTE: The module 'hcd' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'hub' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'ipmi' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'UsbIomega' has been removed from /stand/system,
since there is no supported version of the module installed.
NOTE: The module 'UsbBulkOnlyMS' has been removed from /stand/system,
since there is no supported version of the module installed.
NOTE: The module 'UsbBootKeyboard' has been removed from
/stand/system, since there is no supported version of the
module installed.
NOTE: The module 'UsbBootMouse' has been removed from /stand/system,
since there is no supported version of the module installed.
NOTE: The module 'btlan' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'c8xx' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'side' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'side_multi' has been removed from /stand/system,
since there is no supported version of the module installed.
NOTE: The module 'eschgr' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'esctl' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'esdisk' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'eslpt' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'estape' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'estp' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'esvroot' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'schgr' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'sctl' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'sdisk' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'tgt' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'DeviceFileSystem' has been removed from
/stand/system, since there is no supported version of the
module installed.
NOTE: The module 'td' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'fcd' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'gelan' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'iether' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'igelan' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'KeyboardMUX' has been removed from /stand/system,
since there is no supported version of the module installed.
NOTE: The module 'MouseMUX' has been removed from /stand/system,
since there is no supported version of the module installed.
NOTE: The module 'OOCdio' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'ciss' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'UsbMiniBus' has been removed from /stand/system,
since there is no supported version of the module installed.
NOTE: The module 'UsbHid' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'UsbEhci' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'UsbOhci' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'mpt' has been removed from /stand/system, since
there is no supported version of the module installed.
NOTE: The module 'stape' has been removed from /stand/system, since
there is no supported version of the module installed.
ERROR: The module 'wsio' has a dependency on the module 'core' that
cannot be satisfied.
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.
NOTE: The Install Phase has suspended. Check the above output for
reasons.



* Continuing the Install Phase.
* Installing bundle "FEATURE11i,r=B.11.31.0709.312" .
ERROR: The module 'wsio' has a dependency on the module 'core' that
cannot be satisfied.
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.
NOTE: The Install Phase has suspended. Check the above output for
reasons.


* Aborting the Install Phase.

======= 12/10/07 11:18:14 MET END install AGENT SESSION (Aborted)
(pid=6565)



Unforunatly I think someone ran somethink like a "find / -name core -exec rm -f {};" so /usr/conf/mod/core disappeared.

Now I don't know if patches are installed and in which state...

here the check_patches.report
Report from check_patches utility
Revision: 2.1
03/17/08 10:30:47
System: pippo

============================== Invalid Patches ===============================

* Determining if any HP-UX 11.31 patches are missing the SD-UX patch
* attributes required for SD-UX to handle the patches properly. If the
* patch attributes are missing SD-UX does not treat the software as
* patches, which can lead to unexpected results.

No invalid patches are present.

=========================== Object Module Checksums ==========================

* Determining if the checksum values of the object modules delivered in
* the currently active patches match the checksum values of the modules
* in the appropriate library.

All object modules checksum values match.

=========================== Missing Patch Filesets ===========================

* Determining if the active patches have all their applicable filesets
* installed.

All applicable patch filesets for the active patches are present.

============================ Patch Fileset States ============================

* Determining if all patch filesets are in the configured state.

NOTE: One or more patch filesets are in the installed state, but
they do NOT include a configure script. Since these patch
filesets do not include a configure script, there is no
difference between the installed or configured state.

The patch filesets in this condition are:

PHKL_35900.CORE2-KRN
PHKL_35936.CORE2-KRN
PHKL_36010.CORE2-KRN
PHKL_36020.CORE2-KRN
PHKL_36049.CORE2-KRN
PHKL_36054.CORE2-KRN
PHKL_36142.CORE2-KRN
PHKL_36242.CORE2-KRN
PHKL_36261.CORE2-KRN
PHKL_36284.CORE2-KRN
PHKL_36332.CORE2-KRN
PHKL_36334.CORE2-KRN
PHKL_36372.CORE2-KRN
PHKL_36387.CORE2-KRN
PHKL_36388.CORE2-KRN
PHKL_36393.CORE2-KRN
PHKL_36409.VPAR-CORE-KRN
PHKL_36443.CORE2-KRN
PHKL_36458.TRUEVM2-KRN
PHKL_36484.CORE2-KRN
PHKL_36487.CORE2-KRN
PHKL_36488.CORE2-KRN
PHKL_36488.KERN-ENG-A-MAN
PHKL_36552.CORE2-KRN
PHKL_36620.CORE2-KRN
PHNE_36462.CORE2-KRN
PHNE_36462.UX2-CORE

If you prefer to have these patch filesets in the configured
state as opposed to the installed state, they can be
configured with swconfig(1M), for example:

swconfig PHNE_36462.UX2-CORE

or to configure all the filesets in a patch:

swconfig PHNE_36462


================================ Patch_States ================================

* Determining if all patch_state attributes are correct.

All patch filesets are in the correct patch_state.

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

The swverify(1M) command found no problems with the patch filesets.

==============================================================================

also swjob and swverify produce errors...

How can I sane the situation?


Thanx
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,877
Registered: ‎03-06-2006
Message 2 of 9 (333 Views)

Re: mk_kernel fails, swverify and swjobs had errors!

>I think someone ran something like a "find / -name core -exec rm -f {};" so /usr/conf/mod/core disappeared.

Can you check the modification date of the directory?
# ll -d /usr/conf/mod

If this is when you tried to install the patches, it isn't helpful. Otherwise it will tell you when the rm was done.

>How can I sane the situation?

Do you have another 11.31 system where you can copy the module?

google doesn't find that file, not sure if it can scan patches?
This may mean you need to have to extract that file from your 11.31 install DVDs.
Or do you have a backup of /usr/conf?
Please use plain text.
Occasional Advisor
P.Garzotto
Posts: 8
Registered: ‎08-07-2006
Message 3 of 9 (333 Views)

Re: mk_kernel fails, swverify and swjobs had errors!

Dennis,
Unfortunately I forget to look at modification date, so I've restored the same module (via tar) from another 11.31 host.

Now I'd like to make system in a consistent state...

As you see there are 27 PHKLs not in configured state.
To re-apply FEATURE11i_B.11.31.0709.312.depot could be a solution?

Paolo
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,877
Registered: ‎03-06-2006
Message 4 of 9 (333 Views)

Re: mk_kernel fails, swverify and swjobs had errors!

>As you see there are 27 PHKLs not in configured state.

The message says not to worry about it:
there is no difference between the installed or configured state. ...
If you prefer to have these patch filesets in the configured state

>To re-apply FEATURE11i_B.11.31.0709.312.depot could be a solution?

The suggested solution was to use swconfig on each SD product, which is about 23.

What were your swverify errors?
Please use plain text.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 5 of 9 (333 Views)

Re: mk_kernel fails, swverify and swjobs had errors!

Shalom,

Seems to me files are missing from /stand.

I would try restoring it from a known good backup.

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
Please use plain text.
Occasional Advisor
P.Garzotto
Posts: 8
Registered: ‎08-07-2006
Message 6 of 9 (333 Views)

Re: mk_kernel fails, swverify and swjobs had errors!

There's no backup!
Here are swjob and swverify outs
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,877
Registered: ‎03-06-2006
Message 7 of 9 (333 Views)

Re: mk_kernel fails, swverify and swjobs had errors!

>Here are swjob and swverify outs

Hmm, I don't see any missing files in /usr/conf. Just some volatile files and some in /opt/tivoli.
Please use plain text.
Occasional Advisor
P.Garzotto
Posts: 8
Registered: ‎08-07-2006
Message 8 of 9 (333 Views)

Re: mk_kernel fails, swverify and swjobs had errors!

hi guys
the problem was solved with HP support.

restored /usr/conf/mod/core from another 11.31
reaplied QPK and FEATURE bundle with reinstall file/fileset option.

mk_kernel ok! and only PHKL_35936.CORE2-KRN not configured (superseeded by PHKL_36242).

thanx to all!
Please use plain text.
Occasional Advisor
P.Garzotto
Posts: 8
Registered: ‎08-07-2006
Message 9 of 9 (333 Views)

Re: mk_kernel fails, swverify and swjobs had errors!

see previous post.
bye!
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation