- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tuning the kernel
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО11-26-2001 08:22 AM
тАО11-26-2001 08:22 AM
steps that I have. Can someone just confirm that these steps are correct or not. If not, please direct me to the proper help doc, or give me the proper commands:
kmtune -s | more to get a print out of all the tuneable parameters set on my box.
kmtune -s (parameter name=value) to change the value on a parameter.
cp the system file in /stand to a new filename to a temporary spot
cp the vmunix file in /stand to another filename to a temporary spot.
mk_kernel -s ./system this will rebuild my new kernel using the system file and create vmunix_test once this file is created, I can then move in the vmunix_test into /stand and reboot the system for the new kernel to take effect.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 08:26 AM
тАО11-26-2001 08:26 AM
SolutionYou are correct. You don't need to specify -s with the mk_kernel as it is default.
You can do the following way.
Copy /stand/system as /stand/system.date
Copy /stand/vmunix.prev as /stand/vmunix.old if you want to preserve two levels of kernel.
Your current kernel will be automatically moved as vmunix.prev with the following mk_kernel command.
#kmtune -s (param name=value)
#mk_kernel -o /stand/vmunix
#shutdown -r now (Don't use reboot here)
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 08:27 AM
тАО11-26-2001 08:27 AM
Re: tuning the kernel
This is how I usually do it when I'm making changes on our kernel.
* To change/configure kernel.
- cd /stand/build
- /usr/lbin/sysadm/system_prep ???s system
- vi system
Build new kernel
- /usr/sbin/mk_kernel ???s ./system
note: this will create /stand/build/vmunix_test file. Always backup orig system and vmunix files first
- mv /stand/system /stand/system.prev
- mv /stand/vmunix /stand/vmunix.prev
- mv /stand/build/system /stand/system
- mv /stand/build/vmunix_test /stand/vmunix
- reboot the machine
Thanks
Joey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 08:30 AM
тАО11-26-2001 08:30 AM
Re: tuning the kernel
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 08:32 AM
тАО11-26-2001 08:32 AM
Re: tuning the kernel
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 08:34 AM
тАО11-26-2001 08:34 AM
Re: tuning the kernel
# /usr/lbin/sysadm/system_prep -v -s system
kmtune -S /stand/build/system -s parm_name=value
or
kmtune -S /stand/build/system -s parm_name+value
kmsystem -S system -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
тАО11-26-2001 09:42 AM
тАО11-26-2001 09:42 AM
Re: tuning the kernel
Here is a thread on kernel rebuild from hp doc site,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/32-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/32-toc.html&searchterms=kernel%20build&queryid=20011126-094517
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 09:47 AM
тАО11-26-2001 09:47 AM
Re: tuning the kernel
Remember to run kmupdate before doing the shutdown!! This is important otherwise the dlkm files wont get moved and you will have a system which gives weird problems later on.
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 03:00 PM
тАО11-26-2001 03:00 PM
Re: tuning the kernel
You will need to run kmupdate before rebooting machines, after kernel is built manually using mk_kernel with -o option.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 04:39 PM
тАО11-26-2001 04:39 PM
Re: tuning the kernel
I usually usa sam , and let it do the job. never experienced any kernel screw up, ever. Also kernel parameters are often interdependent you have to change this to change that, (sam knows that). Anyways... you're on the right track compiling a new kernel via command line
d_b