Operating System - HP-UX
1835243 Members
2625 Online
110078 Solutions
New Discussion

Re: kernel parameteres does not get updated

 
Maicon Stihler
Advisor

kernel parameteres does not get updated

Hi,

I changed some static kernel parameters, rebuild the kernel and then rebooted my system. However the kernel parameters does not get updated. I followed the instructions given on HP'site and by some people here in this forum. Maybe Im missing something or trying to use some wrong parameters.

I attached the output of kmtune to show the state things are now. Things like max_thread_proc, maxssiz, mastsiz never get updated even after a reboot.

note: I started this thread again because I rated the answears to the other thread prematurely as 8... :/ sorry. Any help is welcome, thanks.
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: kernel parameteres does not get updated

I'm sure you got good answers in the prior thread.

I'll assume you followed the directions correctly.

This being true, I'd say check your system for missing components. In /stand is there a system file, does it match up after you make your changes with your changes?

Is ther adequate space in the /stand filesystem to build a kernel?

Do you have other systems where the procedures work? If this is true, there is something wrong with this system, not the instructions.



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
Tony Scully_2
Valued Contributor

Re: kernel parameteres does not get updated

What was the process you followed? Has the server definately rebooted?

Can you post a long listing (ls -lt) of /stand and /stand/build?

Cheers,

T
You CAN do that on HP
Deoncia Grayson_1
Honored Contributor

Re: kernel parameteres does not get updated

Are you trying to rebuild the kernel from the command line or are you using SAM?
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Maicon Stihler
Advisor

Re: kernel parameteres does not get updated

I followed the steps given in "Reconfiguring the kernel in HP-UX Release 11i v1.5" by HP. I tried reconfiguring the kernel using "sam" and tried a manual procedure (using other tools).

The server was rebooted all the time when the kernel was modified.

The (ls -lt) follows:
mtlab2:/> ls -lt /stand
total 85328
drwxr-xr-x 2 root root 1024 Feb 15 10:50 krs_tmp
drwxr-xr-x 2 root sys 1024 Feb 15 10:50 krs
-rw-r--r-- 1 root sys 917 Feb 15 10:50 system
-rw-r--r-- 1 root sys 2400 Feb 12 17:43 ioconfig
drwxr-xr-x 5 root sys 1024 Feb 12 17:41 dlkm
drwxr-xr-x 2 root root 1024 Feb 12 17:40 krs_lkg
-rw------- 1 root root 12 Feb 12 17:40 rootconf
drwxr-xr-x 4 root sys 3072 Feb 12 17:38 build
-rwxr-xr-x 1 root sys 21631560 Feb 12 17:35 vmunix
drwxr-xr-x 5 root sys 1024 Feb 12 15:20 dlkm.vmunix.prev
-rwxr-xr-x 1 root sys 21631560 Feb 12 15:13 vmunix.prev
-rw-r--r-- 1 root sys 893 Feb 12 15:12 system.prev
drwxr-xr-x 2 root sys 1024 Nov 29 15:25 system.d
-r--r--r-- 1 root sys 82 Nov 29 15:07 kernrel
-rw-r--r-- 1 root sys 19 Nov 29 10:51 bootconf
drwxr-xr-x 2 root root 65536 Nov 29 10:50 lost+found
mtlab2:/>
Sundar_7
Honored Contributor

Re: kernel parameteres does not get updated

Without you telling us the procedure followed to rebuild the kernel, we can never tell you what went wrong :-)

Here is the standard procedure to tune and rebuild the kernel from the command line

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# kmtune -s = -S system
# mk_kernel -s system
# kmupdate
# cd /
# /usr/sbin/shutdown -r -y 0

Try this and see if it helps.
Learn What to do ,How to do and more importantly When to do ?
Alex Lavrov.
Honored Contributor

Re: kernel parameteres does not get updated

Maybe you forgot kmupdate? so the next boot the kernel will be replaced?

Reagrds,
Alex
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Sundar_7
Honored Contributor

Re: kernel parameteres does not get updated

oops, missed one step in my last post.

kmupdate takes care of only vmunix and dlkm directory. You should manually copy and move system file.
Learn What to do ,How to do and more importantly When to do ?
Tony Scully_2
Valued Contributor

Re: kernel parameteres does not get updated

Does the /stand/system file have the correct (updated) values? Also can you post a listing (ls -lt) of /stand/build? I assume the timestamps on these files are just old becasue the system clock is wrong?

Does /etc/dmesg give any output?

T
You CAN do that on HP
Maicon Stihler
Advisor

Re: kernel parameteres does not get updated

I cant access the machine anymore, but as soon as I get to it I will try your recommendations.

Thank you all