Operating System - HP-UX
1834827 Members
2427 Online
110070 Solutions
New Discussion

Re: Kernel recovery after a kctune error .... 11.23 Itanium

 
Pyers Symon
Advisor

Kernel recovery after a kctune error .... 11.23 Itanium

A colleague of mine has accidentally changed maxdsiz to an incredibly low value - so low that kctune fails when attempted to revert. I don't have console access (means a 80 mile trip) and I am attempting to sort out the correct settings in /stand so that the machine will boot off /stand/backup. I am hitting krs entries for the original duff configuration whatever I do ....
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Kernel recovery after a kctune error .... 11.23 Itanium

Shalom,

If you still have access.

Take /stand/vmunux.prev and copy it over vmunix

Then you should be able to safely boot the system.

Any mistakes however and you are making a road trip, because a Core OS CD will be needed to recover that system.

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
Don Morris_1
Honored Contributor

Re: Kernel recovery after a kctune error .... 11.23 Itanium

No... don't copy kernels over. (The KRS won't match the kernel and you're not going to be happy). Since the root problem is a tunable change -- that's not in the kernel binary anyway.

Just boot from the directory with the configuration you want from the boot prompt.

Such as: hpux /stand/GOOD/vmunix

would boot from the "GOOD" configuration. That will load the appropriate KRS, etc. from the configuration.
Pyers Symon
Advisor

Re: Kernel recovery after a kctune error .... 11.23 Itanium

Slight problem ... don't have console access....
Don Morris_1
Honored Contributor

Re: Kernel recovery after a kctune error .... 11.23 Itanium

Right, sorry. Don't suppose you can just tell the colleague what to do [as far as what to type on the reboot]?

Alternately -- will kconfig -n GOOD run, or does it hit the limit as well? If you can get kconfig to switch configurations and then shutdown, that should do the trick.
Pyers Symon
Advisor

Re: Kernel recovery after a kctune error .... 11.23 Itanium

it hits the limit ....