Operating System - HP-UX
1837419 Members
3374 Online
110116 Solutions
New Discussion

Kernel Configuration Error

 
Charlie Hoffman
Occasional Advisor

Kernel Configuration Error

Error: One or more tunable parameters violates an interdependency rule. SAM expects the following expression(s) to be true:
semmap <= (semmni+2)
semnu <= (nproc-4)
I am running HPUX 11.11 on an N class system and can rebuild the kernel before installing GOLDAPPS11i and GOLDBASE11i version B.11.11.0509.

I can't make any kernel changes but can't rebuild the existing or prev kernel even without making any changes. If I restore the system from the Ignite tape to the previous version, I can then rebuild the kernel. What
could be causing this problem?
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Kernel Configuration Error

Shalom Charlie,

Override the formulas.

They almost all have no relation to reality. Bill Hassell recommends this at the last course of his that I attended. HP World 2004.

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
Charlie Hoffman
Occasional Advisor

Re: Kernel Configuration Error

How can I override the rules when SAM won't allow any changes?
Bill Hassell
Honored Contributor

Re: Kernel Configuration Error

You simply type over the formula with a number. Now, the sanity rules are run immediately before you've had a chance to change a dependent parameter, so you need to go to the root of the rule and change that parameter first. If you change semmap but did not change semmni, or increased semnu but did not increase nproc first, you'll get this type of error.

NOTE: this is a kernel build pre-processor message. Your system is working now because you haven't hit any of the limits yet. You can continue running in preparation for a reboot (Ignite is not necessary) and then make all the changes in SAM until there are no more sanity check errors.


Bill Hassell, sysadmin
Charlie Hoffman
Occasional Advisor

Re: Kernel Configuration Error

I was able to make the kernel changes by finding the interdependencies by trial an error.
Your advice got me on the correct path but there has to be a better way than 'trial and error.'