1833685 Members
4092 Online
110062 Solutions
New Discussion

Re: kmtune

 
SOLVED
Go to solution
Luigi Manto
Occasional Contributor

kmtune

Hi everyone! I've tried using kmtune to change some of the Kernel's configurable parameters. The #kmtune -l shows the changes made, however, SAM and the sysdef command does not show any changes. I have tried doing a reboot right after changing some configurable parameters by using kmtune, however, the changes did not take effect.

What is the proper way in using kmtune? Thanks in advance!
2 REPLIES 2
Michael Tully
Honored Contributor
Solution

Re: kmtune

Hi,

To actually commit changes you have to use
the kmtune command then commit your changes
and rebuild new kernel. After rebuilding your
kernel. I suggest you use one of the
following two methods.

You can use SAM to make your changes to
the kernel, process (build) the new
kernel and then reboot or you can do it
all from the command line. You seem to
know how SAM can do it, so here is the
command line procedure.

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system (and make your changes, this is
the same as using kmtune -S see the man
page)
save file

# /usr/sbin/mk_kernel -s system
# /usr/sbin/kmupdate (This commits new kernel)

# cd /
# /sbin/shutdown -ry 0

HTH
-Michael


Anyone for a Mutiny ?
Animesh Chakraborty
Honored Contributor

Re: kmtune

Hi,
Are you folowing the correct steps?11.0 Manual Kernel Configuration
$ cd /stand/build
$ /usr/lbin/sysadm/system_prep -v -s system

kmtune parm_name=value | kmtune parm_name+value
kmsystem -c y driver_name # these utilities modify the system
file at 11.0
$ /usr/sbin/mk_kernel -s ./system

$ mv /stand/system /stand/system.prev #new for dynamically
linked modules at 11.0
$ mv /stand/build/system /stand/system
$ kmupdate # kmupdate automates moving
the kernel files into the
proper directory

$ shutdown -ry 0
Regards
animesh

Did you take a backup?