Hello Managers,
Thanks all for quick responses.
I forgot to add that I'm running DU 3.2.
My original question was:
I need to change the kernel subsystem value due to
requiriments of
new identd (pidentd-2.7b3.)
What I have done:
# vi /etc/sysconfigtab
.
.
vm:
kernel-stack-guard-pages = 0
# sysconfigdb -s
# sysconfig -v -r vm kernel-stack-guard-pages=0
kernel-stack-guard-pages: attribute does not allow this
operation
Have I made a misstake? Do I need to reboot system? Any
ideas?
Here are two answers:
1.
kernel-stack-guard-pages is an attribute that is changed at boot-time.
So to make it effective, you need to reboot your system.
If you're running Digital UNIX V3.* or lower, then it's somewhat
difficult to see if an attribute can be changed at run-time or only at
boot-time. If you run Digital UNIX V4.0 or higher, you get more help in
this respect.
On the command line 'sysconfig' has a new flag '-Q' which gives more
detailed info on an attribute as shown in the following example:
ares07.zuo.dec.com> uname -a
OSF1 ares07.zuo.dec.com V4.0 386 alpha
ares07.zuo.dec.com> sysconfig -Q vm kernel-stack-guard-pages
vm:
kernel-stack-guard-pages - type=INT op=CQ min_val=0
max_val=2147483647
ares07.zuo.dec.com>
op=CQ means that the attribute can be queried[Q] and that it can be
modified when the subsystem initially[C] is loaded (ie. booting).
If it would say op=CQR, then it would mean that the attribute also can
be modified when the system is running[R].
If you're sitting in front of a V4.0 based workstation you also can do
it by using the Kernel_Tuner application from the new graphical system
management tools. Clicking on the 'vm' subsystem would allow you only to
write into the field for values to change at boot time. If an attribute
can be changed runtime then the tool allows to to this directly.
hope this helps
MatthiasD.
------------------------------------
Matthias Dolder, Digital Switzerland
Internet: matthias_at_zuo.dec.com
-----------------------
2. "Harinder Singh" <singhh_at_vrinet.com>
There are two way you can make changes.
1) The sysconfigtab file, which requires a reboot of the system for
it
to take effect.
2) In the file /sys/conf/YOUR SYSTEM NAME. vm should be under
special
options. For the second option, you just have to rebuild the
kernel.
Reboot is not necessary.
------------------------
Thanks once more.
Kegards
---
Piotr Bienias - Computing Center, AE Katowice
mailto:bienias_at_ae.katowice.pl
http://figaro.ae.katowice.pl/~bienias
Received on Mon Aug 12 1996 - 11:57:17 NZST