1846576 Members
2107 Online
110256 Solutions
New Discussion

Re: rebuilding kernel

 
SOLVED
Go to solution
Donald Thaler
Super Advisor

rebuilding kernel

when executing '/usr/sbin/mk_kernel', i got the following:
"WARNING: The system file was created from the configuration 'nextboot'. The import operation is targeted at 'hpux_test'.
==> Do you wish to continue? "
What does this mean ??
4 REPLIES 4
Rita C Workman
Honored Contributor
Solution

Re: rebuilding kernel

Not sure if this is what your looking for....but....

On newer versions of O/S like 11.23, /stand contents changed a bit. Links were created. So when you see nextboot, it is actually a link pointing to current. And now there is a current directory that holds a copy of what is the current system file and a copy of the vmunix file.

On versions from 11.11 back you don't see this redirection. The files system & vmunix just sit under /stand.

So it is letting you know that it used the file that it was pointed to via the "nextboot" link. If you wanted to build based on something else, you should have included the path. i.e. man mk_kernel

Hope that helps.
Rgrds,
Rita
Donald Thaler
Super Advisor

Re: rebuilding kernel

What does "The import operation is targeted at 'hpux_test' " mean ??
Rita C Workman
Honored Contributor

Re: rebuilding kernel

Donald,

You didn't do a "man mk_kernel". The answer is right in there:

If the -o option is not specified, the changes are applied to the kernel configuration called hpux_test. The changes will not take effect at next boot unless that kernel configuration was already marked for use at next boot.

Manpages..........you gotta love 'em.

Rgrds,
Rita
Tim Nelson
Honored Contributor

Re: rebuilding kernel

THe commands for managing kernel modules and tunables on 11.23 are:

Kcmodule ( manage driver modules )
Kctune ( manage tunables )
Kconfig ( manages kernel sessions/config sets )

Editing the system file and using mk_kernel is still supported but not recommended.

Take a peruse of the kernel manangement section in the 11.23 admin guide.