1833187 Members
2684 Online
110051 Solutions
New Discussion

Kernel Changes get Rest

 
SOLVED
Go to solution
Michael Gretton
Frequent Advisor

Kernel Changes get Rest

I am rebuilding a box from scratch (hp-ux 10.20). I have the OS installed and everything is configured except my kernel. I am tuning for oracle. I have an old oracle application that still needs oracle 7.3.4 on Hp-ux 10.20. I am trying to modify my semaphore parameters and I after I make the changes, I elect to rebuild the kernel and reboot. After the reboot, the old parameters are there. Nothing changed! I thought perhaps I didn't know what I was doing with the semaphores so I changed another parameter by one value to see if perhaps I am just crazy. I rebuilt the kernel and again, they are reset to they way they were. I went to /stand to see if I can see any core dumps. There aren't any. Further, the kernel file has been modified to the current date and time. Any thoughts?
6 REPLIES 6
Ravi_8
Honored Contributor

Re: Kernel Changes get Rest

Hi,

#kmtune -s =value
eg: #kmtune -s semmin=1

set for all parameters that you needs change

#cp -p /stand/vmunix /stand/vmunix (kernel backup)

#cd /stand/build
#mk_kernel
#mv vmunix_test /stand/vmunix
#reboot
#kmtune|grep -i sem

all semaphores parameters are set to new values
never give up
Ravi_8
Honored Contributor

Re: Kernel Changes get Rest

Hi,

#kmtune -s =value
eg: #kmtune -s semmin=1

set for all parameters that you needs change

#cp -p /stand/vmunix /stand/vmunix.org (kernel backup)

#cd /stand/build
#mk_kernel
#mv vmunix_test /stand/vmunix
#reboot
#kmtune|grep -i sem

all semaphores parameters are set to new values
never give up
Armin Feller
Honored Contributor

Re: Kernel Changes get Rest

Hi,

unbeliefable ;-(

Please try following:

# cd /stand/build
# rm -r *
# cp /stand/system /stand/sytem.prev
# /usr/lbin/sysadm/system_prep -s /stand/system
# diff /stand/system /stand/system.prev

then
# vi /stand/system
and update the kernel parameter

# mk_kernel
# kmupdate
# cd /
# shutdown -r 0

Hope that helps.

Regards ...
Armin
Michael Gretton
Frequent Advisor

Re: Kernel Changes get Rest

Why can't I just use sam? Why is this happening now? I have been using this box and other Hp-ux boxes for years and have not had this problem.
harry d brown jr
Honored Contributor
Solution

Re: Kernel Changes get Rest

Michael,

You should take care of this:

This member has assigned points to 55 of 232 responses to his/her questions.

You can find your previous posts in your profile:

http://forums.itrc.hp.com/cm/TopSolutions/1,,CA400109!1!questions,00.html


As to your problem, after you reloaded HPux 10.20, you should have installed the latest patch bundle, which would have taken care of the issue. Therefore you need to install the latest patch bundle, and "sam" will work just fine!


live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: Kernel Changes get Rest

Get the patch bundle(s) from here:

http://www.software.hp.com/SUPPORT_PLUS/info.html


live free or die
harry
Live Free or Die