Operating System - HP-UX
1834447 Members
3166 Online
110067 Solutions
New Discussion

Re: Unable to build kernel while installing PHKL and PHNE patches.

 
Venkatakrishna P.V_1
Occasional Advisor

Unable to build kernel while installing PHKL and PHNE patches.

Hi,
We are trying to install PHKL and PHNE patches on HP-UX 11.0 (32 bit) using SAM. While installation, analysyis phase passes but while building the kernel, following error occures..

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
NOTE: The Install Phase has suspended. Check the above output for reasons.

I had to abort the installation ...

According to above error we tried to install using swinstall command, but did not successed

Please advice me how to install a kernel patch...

Thanks in Adv.

Krishna
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Unable to build kernel while installing PHKL and PHNE patches.

Your methodoloy is correct. This error is showing you may not have complete filesets in the /stand directory to build a kernel.

If you have a backup of /stand you may wish to restore.

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
Venkatakrishna P.V_1
Occasional Advisor

Re: Unable to build kernel while installing PHKL and PHNE patches.

Hi,
We don't have backup of /stand..

can we execute /usr/sbin/mk_kernel using swinstall?


Rgds,


Krishna
Dave Olker
Neighborhood Moderator

Re: Unable to build kernel while installing PHKL and PHNE patches.

Hi Krishna,

Were there any errors related to the mk_kernel command? The output you listed says "Check the above output for details." Were there any warnings or errors from mk_kernel?

Does a manual mk_kernel return success or failure on this system? You could try doing a mk_kernel just to test without replacing your production kernel by doing something like:

# mk_kernel -v -o /stand/vmunix.TEST

See if the manual mk_kernel returns any errors or if the swinstall log files contain any information about why mk_kernel failed.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Steve Steel
Honored Contributor

Re: Unable to build kernel while installing PHKL and PHNE patches.

Hi


do

swlist -l fileset -a title -a revision -a state -x show_superseded_patches=false
|grep -v "#"|grep -v configured

It should give no output

If it does what is it

Then use swinstall to add the patches and not
via sam

If your depot is /tmp/patchdepot

then

swinstall -s /tmp/patchdepot

What happens

Steve Steel



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)