HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel configuration problem
Operating System - HP-UX
1827852
Members
1844
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 02:56 PM
09-25-2001 02:56 PM
Kernel configuration problem
I am a newbie with a L2000 running HPUX 11. I need to get the Kernel parameters set back to default and save the current settings (For possible later use) When using SAM and trying load a different file in actions/templates/load template file I select a different file like vmunix.prev it gives me a internal errors message with the master files and I need to restart SAM. How can I create a new kernel file with the defaults and save the current one? Thank you in advance for any help. Lance
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 02:59 PM
09-25-2001 02:59 PM
Re: Kernel configuration problem
Hello here you go
PROBLEM
How do I manually rebuild a kernel at 10.x? 11.0?
RESOLUTION
The simplest way to configure a new kernel under HP-UX 10.x / 11 is with SAM,
the System Administration Manager. However there are situations which arise
that may require a kernel be built manually from the command line. Although the
steps to performs this task are similar for 10.x and 11.0, starting with
version 11.0 new utilities are provided to simplify the process of configuring
kernel parameters and system drivers.
10.X Manual Kernel Configuration
$ cd /stand/build #change to the kernel build directory
$ /usr/lbin/sysadm/system_prep -s system # creates an editable kernel
file
$ vi system #make necessary changes to the kernel file
$ /usr/sbin/mk_kernel -s ./system # creates the test kernel
/stand/build/vmunix_test
$ mv /stand/system /stand/system.prev
$ mv /stand/vmunix /stand/vmunix.prev #preserve prior kernel files
$ mv /stand/build/system /stand/system
$ mv /stand/build/vmunix_test /stand/vmunix # move new kernel files
into place
$ shutdown -ry 0 # reboot the system to test the new kernel
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
PROBLEM
How do I manually rebuild a kernel at 10.x? 11.0?
RESOLUTION
The simplest way to configure a new kernel under HP-UX 10.x / 11 is with SAM,
the System Administration Manager. However there are situations which arise
that may require a kernel be built manually from the command line. Although the
steps to performs this task are similar for 10.x and 11.0, starting with
version 11.0 new utilities are provided to simplify the process of configuring
kernel parameters and system drivers.
10.X Manual Kernel Configuration
$ cd /stand/build #change to the kernel build directory
$ /usr/lbin/sysadm/system_prep -s system # creates an editable kernel
file
$ vi system #make necessary changes to the kernel file
$ /usr/sbin/mk_kernel -s ./system # creates the test kernel
/stand/build/vmunix_test
$ mv /stand/system /stand/system.prev
$ mv /stand/vmunix /stand/vmunix.prev #preserve prior kernel files
$ mv /stand/build/system /stand/system
$ mv /stand/build/vmunix_test /stand/vmunix # move new kernel files
into place
$ shutdown -ry 0 # reboot the system to test the new kernel
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 03:05 PM
09-25-2001 03:05 PM
Re: Kernel configuration problem
ohh yeah
In the version 11.00 the utility kmtune is used to
specify the new parameter values. I got this doc from HP and they and they told me that the 10.20 process
works just fine in the 11.00 environment. The kmtune utility was added to
11.00 just to make things easier.
So, either process listed in the document works for 11.00.
Richard
In the version 11.00 the utility kmtune is used to
specify the new parameter values. I got this doc from HP and they and they told me that the 10.20 process
works just fine in the 11.00 environment. The kmtune utility was added to
11.00 just to make things easier.
So, either process listed in the document works for 11.00.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 08:24 PM
09-25-2001 08:24 PM
Re: Kernel configuration problem
Hi,
If you want to set the defaults back to what
they to start with you need to get a copy
of the default parameters to start with.
These can be found in a file called
/var/sam/boot.config at around line 1890
which starts 'tag Tunables:'
Use this in conjunction with procedure that
Richard has suggested and this should solve
your problem.
HTH
-Michael
If you want to set the defaults back to what
they to start with you need to get a copy
of the default parameters to start with.
These can be found in a file called
/var/sam/boot.config at around line 1890
which starts 'tag Tunables:'
Use this in conjunction with procedure that
Richard has suggested and this should solve
your problem.
HTH
-Michael
Anyone for a Mutiny ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP