Operating System - HP-UX
1832172 Members
2951 Online
110038 Solutions
New Discussion

Re: kmupdate - preventing an update on reboot

 
SOLVED
Go to solution
u856100
Frequent Advisor

kmupdate - preventing an update on reboot

Hi All,

Just a theoretical question regarding kmupdate.

If I am set to go with rebooting my HP-UX 9000 11.00 box after tweaking some kernel params and I wish to cancel the updating process, what are the procedures I need to complete.

I am wondering if all I have to do is remove the .update_ux pointer and if need be, delete /stand/build/vmunix_test?

The reason I am asking is that I am not sure what else has been created by kmupdate as I usually do all my kernel updates using manual file creation/copying/moving etc.

thanks in advance and king regards,

john
chicken or egg first?
3 REPLIES 3
Solution

Re: kmupdate - preventing an update on reboot

The answer lies in the following:

/sbin/init.d/kmbuild

This is called by /sbin/rc0.d/K890kmbuild during shutdown.

It's just a shell script, so take a look.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
U.SivaKumar_2
Honored Contributor

Re: kmupdate - preventing an update on reboot

hi,
renaming /stand/vmunix_test will serve the purpose.
before giving kmupdate
#cp -pr /stand/dlkm /stand/dlkm.org
Then after giving kmupdate if you want to revert -
#mv /stand/vmunix_test /stand/vmu_t
#mv /stand/system.prev /stand/system
#mv /stand/dlkm.org /stand/dlkm

regards,
U.SivaKumar
Innovations are made when conventions are broken
u856100
Frequent Advisor

Re: kmupdate - preventing an update on reboot

aha,

thanks for that Duncan!

john
chicken or egg first?