HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

kctune

 
himacs
Super Advisor

kctune

HI admins,

I want to change the value of maxuprc in kernel .
and its immedaite-changes should get affect without reboot.BUt when i chenged using kctune
i got belw output

kctune maxuprc=nproc*9/10+1
NOTE: The configuration being loaded contains the following change(s)
that cannot be applied immediately and which will be held for
the next boot:
-- The module 'libusb' depends on a module 'mass_storage' which is
not available without a kernel rebuild.
WARNING: The automatic 'backup' configuration currently contains the
configuration that was in use before the last reboot of this
system.
==> Do you wish to update it to contain the current configuration
before making the requested change? yes
* The automatic 'backup' configuration has been updated.
* The requested changes have been saved, and will take effect at
next boot.
Tunable Value Expression Changes
maxuprc (now) 3780 nproc*9/10 Immed
(next boot) 3781 nproc*9/10+1

=====================
it showing next reboot

server is B.11.23 U ia64 3619037392


quick reply highly appreciated
himacs

10 REPLIES
Ganesan R
Honored Contributor

Re: kctune

Hi,

>>>The module 'libusb' depends on a module 'mass_storage' which is
not available without a kernel rebuild.<<<

This shows answer to you. When it depends on other module which needs a kernel rebuild, then you need to live with it.
Best wishes,

Ganesh.

Re: kctune

Sounds like someone made some change already that aren't yet implemented following a reboot.

What do you see from running:

kconfig -D


HTH

Duncan

HTH

Duncan
himacs
Super Advisor

Re: kctune

I think by SAM we can change without rebuild as SAM will check all the things since maxuprc is dynamic
Biut m getting following error thro sam.

Enter Value/Expression OR q(quit) = nproc*9/10+1

The Expression is not valid

Please help on this..

and tell me any switches used with sam,so reboot is not required.

himacs

Re: kctune

now I'm confused... are you doing this through sam (kcweb) or via kctune?

HTH

Duncan

HTH

Duncan
himacs
Super Advisor

Re: kctune

Hi Ducan,

I reverted back the value,since its asked for next boot.

kconfig -D
Module Version State Cause Notes
DlkmDrv (now) [4666C0F1] static required
(next boot) [49B103C6] static required
LCentIf (now) [4666C110] static best
(next boot) [49B103CF] static best
PCItoPCI (now) [4666C0ED] static best
(next boot) [49B10382] static best
acpi (now) [4666C0EA] static required
(next boot) [49B1037C] static required
acpi_hotplug_psm (now) [4666C0F2] static required
(next boot) [49B103BE] static required
acpi_node (now) [4666C0EA] static best
(next boot) [49B1037C] static best
asama (now) [4666C0F2] static required
(next boot) [49B103BE] static required
asio0 (now) [4666C110] static best
(next boot) [49B103CF] static best
asyncdsk (now) [4666C110] static best
(next boot) [49B103CF] static best
azusa_psm (now) [4666C0F2] static best
(next boot) [49B103BE] static best
c460gx_psm (now) [4666C0F2] static depend
(next boot) [49B103BE] static depend
c8xx (now) [4666C0F1] static depend
(next boot) [49B103C6] static depend
cb (now) [4666C0F1] static required
(next boot) [49B103C5] static required
cec_gen (now) [4666C0F2] static required
(next boot) [49B103BE] static required
cec_hp (now) [4666C0F2] static depend
(next boot) [49B103BE] static depend
cec_psm (now) [4666C0F2] static required
(next boot) [49B103BE] static required
cmc (now) [4666C0F3] static required
(next boot) [49B103AE] static required
cn (now) [4666C110] static required
(next boot) [49B103CF] static required
dev_acpi (now) [4666C0EA] static required
(next boot) [49B1037C] static required
dev_config (now) [4666C0F1] static best
(next boot) [49B103C5] static best
dev_olar (now) [4666C0F1] static required
(next boot) [49B103C6] static required
diag2 (now) [4666C0F1] static best
(next boot) [49B103C6] static best
diagmem_cmc_psm (now) [4666C0F2] static required
(next boot) [49B103BE] static required
dlkm (now) [4666C0B8] static required
(next boot) [49B10379] static required
dlpi (now) [434C175F] static best
(next boot) [46D797A1] static best
dmem (now) [4666C0E9] static best
(next boot) [49B103AC] static best
dmp (now) [4292E92B] static depend
(next boot) [49B103BD] static depend
dump (now) [4666C0E6] static required
(next boot) [49B103A1] static required
eh_psm (now) [4666C0F1] static required
(next boot) [49B103C5] static required
ehci (now) [4666C0BC] static depend
(next boot) [49B103B2] static depend
evp (now) [413F2E92] static required
(next boot) [49B1035D] static required
fcms (now) [43E3D6ED] static depend
(next boot) [4644517A] static depend
fcp (now) [43E3D6ED] static depend
(next boot) [4644517A] static depend
fcp_cdio (now) [43E3D6ED] static depend
(next boot) [4644517A] static depend
fcparray (now) [43E3D6ED] static depend
(next boot) [4644517A] static depend
fcpdev (now) [43E3D6ED] static depend
(next boot) [4644517A] static depend
fcpmux (now) [43E3D6ED] static depend
(next boot) [4644517A] static depend
foundation_psm (now) [4666C0F2] static required
(next boot) [49B103BE] static required
fs (now) [4666C0CC] static required
(next boot) [49B103BD] static required
gh2p (now) [4666C0EF] static required
(next boot) [49B10382] static required
gvid (now) [4666C0F0] static best
(next boot) [49B10371] static best
gvid_core (now) [4666C0F0] static depend
(next boot) [49B10371] static depend
gvid_info (now) auto explicit auto-loadable, unloadable
(next boot) unused
hcd (now) [4666C0BC] static best
(next boot) [49B103B2] static best
hid (now) [4666C0BC] static best
(next boot) [49B103B2] static best
hub (now) [4666C0BC] static best
(next boot) [49B103B2] static best
ia64_psm (now) [4666C0F2] static best
(next boot) [49B103BE] static best
ia64dsk (now) [4666C0F1] static required
(next boot) [49B103C5] static required
iether (now) [45108E98] static best
(next boot) [464A527D] static best
igelan (now) [44A18E86] static best
(next boot) [4721E763] static best
intl_lcd_psm (now) [4666C0F2] static required
(next boot) [49B103BE] static required
io (now) [4666C0F1] static required
(next boot) [49B103C5] static required
ipmi (now) [4666C0CA] static best
(next boot) [49B1034C] static best
ipmi_psm (now) [4666C0CA] static best
(next boot) [49B1034C] static best
ite (now) [4666C0F0] static depend
(next boot) [49B10371] static depend
keybd_ps2 (now) [4666C0F0] static required
(next boot) [49B10371] static required
lba (now) [4666C0ED] static best
(next boot) [49B10382] static best
lcm (now) unused
(next boot) static required
ldterm (now) [4666C109] static best
(next boot) [49B103CB] static best
legacyio (now) [4666C0EF] static depend
(next boot) [49B10382] static depend
libacpi_pdk (now) [4666C0EA] static required
(next boot) [49B1037C] static required
libaudit (now) [49A661E7] static required
(next boot) [49B10387] static required
libclock_pdk (now) [4666C0D3] static required
(next boot) [49B103A0] static required
libdebug (now) [49A661E7] static required
(next boot) [49B103CB] static required
libdlkm (now) [4666C0B8] static required
(next boot) [49B10379] static required
libdlkm_pdk (now) [4666C0B8] static required
(next boot) [49B10379] static required
libdump (now) [4666C0E6] static required
(next boot) [49B103A1] static required
libdump_pdk (now) [4666C0E6] static required
(next boot) [49B103A1] static required
libevp (now) [413F2E92] static required
(next boot) [49B1035D] static required
libfabric_pik (now) [413F2E92] static required
(next boot) [49B103AD] static required
libfcms (now) [43E3D6ED] static depend
(next boot) [4644517A] static depend
libfs (now) [4666C0CC] static required
(next boot) [49B103BD] static required
libgraf (now) [4666C0F0] static required
(next boot) [49B10371] static required
libiether (now) [45108E98] static depend
(next boot) [464A527D] static depend
libigelan (now) [44A18E86] static depend
(next boot) [4721E763] static depend
libinit (now) [413F2E93] static required
(next boot) [49B1034F] static required
libio (now) [4666C0F1] static required
(next boot) [49B103C5] static required
libio_pdk (now) [4666C0F2] static required
(next boot) [49B103BE] static required
libipmi (now) [4666C0CA] static required
(next boot) [49B1034C] static required
libkdebug (now) [413F2E93] static required
(next boot) [49B1039F] static required
libkdebug_pdk (now) [413F2E93] static required
(next boot) [49B1039F] static required
libklmmod (now) [412E90BD] static depend
(next boot) [478D23E7] static depend
liblan (now) [434C175F] static depend
(next boot) [46D797A1] static depend
liblofs (now) [413F2E94] static required
(next boot) [49B10346] static required
libpci (now) [4666C0ED] static required
(next boot) [49B10382] static required
libpci_pdk (now) [4666C0EF] static required
(next boot) [49B10382] static required
libperf (now) [413F2E92] static required
(next boot) [49B10356] static required
libperf_pdk (now) [413F2E94] static required
(next boot) [49B10372] static required
libpm (now) [4666C0E7] static required
(next boot) [49B103C4] static required
libpm_pdk (now) [413F2E94] static required
(next boot) [49B1037A] static required
libprm (now) [4666C0CE] static depend
(next boot) [49B103AF] static depend
libpseudo_drv_pdk (now) [4666C0F3] static required
(next boot) [49B103C0] static required
libpstat (now) [49A661D8] static required
(next boot) [49B103A5] static required
librpc (now) [441F0628] static depend
(next boot) [483C5D52] static depend
libscall (now) [4666C0D5] static required
(next boot) [49B1037D] static required
libscall_pdk (now) [4666C0D5] static required
(next boot) [49B1037D] static required
libsec (now) [412E9459] static required
(next boot) [47D08BE7] static required
libshm (now) [413F2E95] static required
(next boot) [49B10378] static required
libsio (now) [4666C110] static required
(next boot) [49B103CF] static required
libstrtio (now) [4666C109] static depend
(next boot) [49B103CB] static depend
libsvc (now) [4666C0C0] static required
(next boot) [49B103C7] static required
libsvc_pdk (now) [4666C0F3] static required
(next boot) [49B103AE] static required
libsync (now) [413F2E94] static required
(next boot) [49B10347] static required
libsync_pdk (now) [413F2E94] static required
(next boot) [49B1034E] static required
libtelnet (now) [412E8D79] static depend
(next boot) [4652C368] static depend
libufs (now) [413F2E95] static required
(next boot) [49B1034D] static required
libusb (now) [4666C0BC] static depend
(next boot) [49B103B2] static depend
libvm (now) [4666C0E9] static required
(next boot) [49B103C4] static required
libvm_pdk (now) [4666C0E9] static required
(next boot) [49B103AC] static required
libvxdmp_vrts (now) [4292E92B] static depend
(next boot) [49B103BD] static depend
libvxfs (now) [4666C0E5] static depend
(next boot) [49B103B3] static depend
libvxvm_vrts (now) [42931793] static depend
(next boot) [49B103BC] static depend
libwsio (now) [4666C0F1] static required
(next boot) [49B103C6] static required
libwsio_pdk (now) [4666C110] static required
(next boot) [49B103CF] static required
lion_psm (now) [4666C0F2] static best
(next boot) [49B103BE] static best
local_sapic (now) [4666C0F2] static required
(next boot) [49B103BE] static required
lofs (now) [413F2E94] static required
(next boot) [49B10346] static required
mass_storage (now) unused
(next boot) static depend
mdep_tunables (now) [4666C0C0] static required
(next boot) [49B103C7] static required
mm (now) [4666C0E9] static required
(next boot) [49B103AC] static required
netdiag1 (now) [4666C0C0] static best
(next boot) [49B103C7] static best
olar_psm_if (now) [4666C0F1] static required
(next boot) [49B103C5] static required
pci (now) [4666C0ED] static required
(next boot) [49B10382] static required
pckt (now) [4666C109] static best
(next boot) [49B103CB] static best
pdh (now) [4666C0F2] static best
(next boot) [49B103BE] static best
perfmon (now) [413F2E94] static required
(next boot) [49B10372] static required
pm (now) [4666C0E7] static required
(next boot) [49B103C4] static required
prm (now) [4666C0CE] static best
(next boot) [49B103AF] static best
ptem (now) [4666C109] static best
(next boot) [49B103CB] static best
ptm (now) [4666C109] static best
(next boot) [49B103CB] static best
pts (now) [4666C109] static best
(next boot) [49B103CB] static best
qlisp (now) [4666C0F1] static depend
(next boot) [49B103C6] static depend
qlisp_multi (now) [4666C0F1] static depend
(next boot) [49B103C6] static depend
ramdisc (now) [4666C110] static required
(next boot) [49B103CF] static required
rmp3f01 (now) [4666C110] static best
(next boot) [49B103CF] static best
rpcmod (now) [441F0628] static best
(next boot) [483C5D52] static best
sac (now) [4666C110] static best
(next boot) [49B103CF] static best
sapic (now) [4666C0F1] static required
(next boot) [49B103C5] static required
sba (now) [4666C0F1] static best
(next boot) [49B103C5] static best
sctl (now) [4666C0F1] static best
(next boot) [49B103C6] static best
sdisk (now) [4666C0F1] static best
(next boot) [49B103C6] static best
sec (now) unused
(next boot) static required
side (now) [4666C0F1] static required
(next boot) [49B103C6] static required
side_multi (now) [4666C0F1] static required
(next boot) [49B103C6] static required
stape (now) [4666C0F1] static explicit
(next boot) [49B103C6] static explicit
sysv_shm (now) [413F2E95] static required
(next boot) [49B10378] static required
telm (now) [412E8D79] static best
(next boot) [4652C368] static best
tels (now) [412E8D79] static best
(next boot) [4652C368] static best
token_arp (now) [434C175F] static best
(next boot) [46D797A1] static best
ucm (now) unused
(next boot) static required
ufs (now) [413F2E95] static required
(next boot) [49B1034D] static required
usbcomposite (now) unused
(next boot) static depend
usbd (now) [4666C0BC] static depend
(next boot) [49B103B2] static depend
vm (now) [4666C0E9] static required
(next boot) [49B103C4] static required
vol (now) [42931793] static best
(next boot) [49B103BC] static best
vols (now) [42931793] static best
(next boot) [49B103BC] static best
vxdmp (now) [4292E92B] static best
(next boot) [49B103BD] static best
vxfs (now) [4666C0E5] static best
(next boot) [49B103B3] static best
vxportal (now) [4666C0E5] static best
(next boot) [49B103B3] static best
vxvm (now) [42931793] static best
(next boot) [49B103BC] static best
wsio (now) [4666C0F1] static required
(next boot) [49B103C6] static required
wxb_hp (now) [4666C110] static best
(next boot) [49B103CF] static best
NOTE: There are no tunable changes being held until next boot.


himacs
himacs
Super Advisor

Re: kctune

I want to do it in SAM.As i posted,sam shows error.

In kctune i can change the value,bit it asks next boot.

I heard that sam will check all the things and it rebulid the kernel since maxpurc is dynamic.

himacs

Re: kctune

Thats indicating a lot of kernel module changes pending - someone or something at some point has requested these changes - you can probably figure out what running "kclog -a" and looking at all entries since the last reboot.

It *is* possible to ditch all these changes (using "kconfig -H"), but I wouldn't advise that you do that as the changes may have been made for a very good reason (e.g. have you done a major patch installation and then interrupted the install near the end?), in which case you may need to schedule a reboot so you can get them all applied.

HTH

Duncan

HTH

Duncan
himacs
Super Advisor

Re: kctune

HI admins,

Is there any switch can be used with kctune so that reboot is not required as maxuprc is dynamic.


please help me on this

himacs
himacs
Super Advisor

Re: kctune

Hi ducan,

Thanks for ur reply..

Since maxuprc is dynamic ,it should be changed without boot.

himacs

Re: kctune

Yes thats normally the case, but note the following in the manual for kernel configuration:

http://docs.hp.com/en/B2355-90950/ch03s11.html#i489956

The following paragraph:

------------------------------------
When you change a tunable value using a command like the above examples, the change will be made immediately to the currently running system, if possible. Sometimes itâ s not possible to make the change immediately; for example, you might be trying to reduce the maximum value of some resource to below the current usage. Also, there are some tunables that cannot be changed without a reboot. In those cases, kctune will hold the change and apply it at next boot. If any change on the kctune command line has to be held for next boot, they all will be.
------------------------------------


So I'm guessing as there are other kernel changes pending (those we saw with kconfig -D) then all kernel changes are held pending reboot. In your case you're only increasing the value by 1, so I wouldn't get too worked up about it.

Go back to my last post and look at using kclog to figure out where those pending changes came from. Then either reboot to apply the changes, or if you are *absolutely* sure these changes don't need to be applied back them out using "kconfig -H"

After either of those, I think you'll find kctune will qork as advertised

HTH

Duncan

HTH

Duncan