Operating System - HP-UX
1836073 Members
4379 Online
110089 Solutions
New Discussion

kernel Planned value showing old value

 
SOLVED
Go to solution
myr001
Advisor

kernel Planned value showing old value

I rebooted the server to put into place semmns at 16384.

It appears this kernel parameters is now at that value. However when I do a kmtune to query the values, it states a PLANNED value of what the value was before... why?

I used SAM to set the value then I used
"kmupdate" and rebooted the server.

What steps should I do to correct it?
Thanks,

# kmtune -q semmns

Parameter Current Dyn Planned Module Version
===============================================================================
semmns 16384 - 8192



7 REPLIES 7
Rita C Workman
Honored Contributor

Re: kernel Planned value showing old value

My "guess" you changed the parm via SAM, but exited SAM without applying the changes and then just ran the kmupdate command that now doesn't see any changes to apply. You don't mention that you gave it a new kernel_file name or anything with that command.

But I'm just gessing here....

Since you were already in SAM and say you had changed the parm value...why didn't you just go ahead and reboot taking the option to rebuild the kernel with the changes you just made.

Rgrds,
Rita

Steven E. Protter
Exalted Contributor
Solution

Re: kernel Planned value showing old value

Shalom,

I think your system file has not moved or copied correctly. You can look at them manually in the /stand filesystem.

There must be a component in the kernel production process that is missing.

SAM should be catching an error and it should be accessible in the SAM command logs.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=105739

Use the above link and try and do it manually.

You will catch a problem at some point and I ask you to please post the errror back to this thread.

Someone will get back to you, if not myself.

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
myr001
Advisor

Re: kernel Planned value showing old value

I process the kernel through SAM option but didnt choose to re-boot at that time due to som approval issue.

When I selected the "re-boot later" option SAM suggested to run "kmupdate" command and to copy the /stand/build/system.SAM file to /stand/system BUT I forgot the second step.

Now How I can correct it?
myr001
Advisor

Re: kernel Planned value showing old value

The problem is solved.

I just changed the value of one other
parameter from SAM and then selected the
"process kernel" and re-boot option right away within the SAM.

But I would still like to know how I can
do that manually without changing any other
parameter.
myr001
Advisor

Re: kernel Planned value showing old value

Steven,

Just for clarification, do you mean I should
do all the steps (mentioned in the link you refered) to correct this problem? while I dont want change any parameter value.


Thanks to all for the support.
Steven E. Protter
Exalted Contributor

Re: kernel Planned value showing old value

The link has some unrelated information in it.

Basically:
Make sure the parameter is right in the system file and:

#cd /stand
#cp vmunix vmunix.old
#cp system system.old
#cd build
#/usr/lbin/system/system_prep -s system

Edit system file and make changes here as per ur require ment. Imeand addition/Deletion of devices. Then
#mk_kernel -s system
For more information see the man page of mk_kernel

Now one new kernel will be created in /stand/buil directory. Copy this to original location
#cd /stan/build
#cp vmunix_test /stand/vmunix
#cp system /stand

Now reboot the system . In case rebuilding was not successfull, Boot thru /stand/vmunix.old and recover kernel.

Thats a cut and paste on the first post in the thread.

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
likid0
Honored Contributor

Re: kernel Planned value showing old value

Hy,

If You use sam, and then choose to reboot later, you have to do 2 things.

The kmupdate that you mention, and the other one is to manually copy new system.SAM to /stand so it reflects the changes when you use kmtune

#kmupdate
#cp /stand/system /stand/system.prev
#cp /stand/build/system.SAM /stand

Windows?, no thanks