Operating System - HP-UX
1834432 Members
2615 Online
110067 Solutions
New Discussion

Re: Kernel parameter page_text_to_local won't stick

 
SOLVED
Go to solution
Dustin Black
Advisor

Kernel parameter page_text_to_local won't stick

Per HP's recommendation about the software I'm running, I am trying to set the kernel parameter "page_text_to_local" to "1". SAM doesn't show this parameter, so I have tried to change it by command-line:

# cd /stand
# /usr/lbin/sysadm/system_prep -s system
# kmtune -s page_text_to_local=1 -S /stand/system
# cp system build/system
# mk_kernel -o /stand/vmunix
# kmupdate

After a reboot, kmtune still shows the parameter current value at "-" and a planned value of "1". I also reviewed the /stand/system file and it shows the parameter set to "1".

Any ideas on why I can't get the value to stick?
9 REPLIES 9
Sanjay_6
Honored Contributor

Re: Kernel parameter page_text_to_local won't stick

Hi Dustin,

Try this doc on how to manually build a kernel

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000070309309

The itrc doc id is KBRC00010515.

Hope this helps.

Regds
Deoncia Grayson_1
Honored Contributor

Re: Kernel parameter page_text_to_local won't stick

cd /stand/build
/usr/lbin/sysadm/system_prep -s system
kmtune -s page_text_to_local=1 -S /stand/system
/usr/sbin/mk_kernel -s ./system
cp /stand/system /stand/system.old
cp /stand/vmunix /stand/vmunix.old
cp /stand/build/system /stand
cp /stand/build/vmunix_test /stand/vmunix
reboot
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Dustin Black
Advisor

Re: Kernel parameter page_text_to_local won't stick

Either method should have worked, but after trying each kmtune still shows a "-" current value and a "1" planned value for the parameter. Something else has to be going on here...
Deoncia Grayson_1
Honored Contributor

Re: Kernel parameter page_text_to_local won't stick

Would it be fair to say you're running HPUX 11.11?
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Dustin Black
Advisor

Re: Kernel parameter page_text_to_local won't stick

Yes, sorry.. should have said that.
Don Morris_1
Honored Contributor
Solution

Re: Kernel parameter page_text_to_local won't stick

page_text_to_local is a private tunable -- and it turns out that the system call underlying kmtune doesn't report back for private tunables. So the value should be updated in your kernel, but kmtune is going to report "-" anyway.

This is shown as resolved in 11i v1.6 (11.22) and later, but was not deemed as needing patching for 11.11. I'd recommend contacting your support representative if you want a patch for this.
Deoncia Grayson_1
Honored Contributor

Re: Kernel parameter page_text_to_local won't stick

I'm still looking into it but the only difference I see in 11.11 is copying dlkm directory over before doing your kmupdate. I don't think this should make a difference though.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Deoncia Grayson_1
Honored Contributor

Re: Kernel parameter page_text_to_local won't stick

Please see Don answer, that is what I found out as well. You will need a patch to this parameter to report the updated value.

If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Dustin Black
Advisor

Re: Kernel parameter page_text_to_local won't stick

Don Morris's tip.