- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /stand/build not found when building 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
Forums
Discussions
Discussions
Forums
Discussions
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
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
06-20-2006 01:06 AM
06-20-2006 01:06 AM
Phil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 01:30 AM
06-20-2006 01:30 AM
Solutionwhat's your hpux version?
what's your way for building new kernel? (sam or command line)?
for command line building, here is an example:
Sometimes the kernel needs to be built manually, using the command line.
1. cd /stand/build
2. Have HPUX create a new system file from the active kernel.
/usr/lbin/sysadm/system_prep -s /stand/build/system
NOTE: The command system_prep captures values directly from the kernel.
Therefore, for HP-UX 11i systems using the newly introduced dynamic tunable parameters, create a kernel template by copying the /stand/system to /stand/build/system. By default, the command, kmtune, updates the /stand/system file for any dynamic tunable parameter changes. (See the kmtune(1m) and 11.11
Release Notes manpage for more information.)
3. Edit the template system file for the recommended values with
vi /stand/build/system or kmtune(1m).
Example setting nfile tunable to 3000:
kmtune -s nfile=3000 -S /stand/build/system
4. Create the proposed kernel.
/usr/sbin/mk_kernel -s /stand/build/system
5. Archive the old system and vmunix files so if needed, the system can be booted from the old kernel.
mv /stand/system /stand/system.prev
6. Place the newly created system and kernel files for system boot strap.
mv /stand/build/system /stand/system
kmupdate /stand/build/vmunix_test
NOTE: kmupdate renames /stand/vmunix to /stand/vmunix.prev and moves the new
kernel to /stand/vmunix.
7. Boot the system to use the new kernel.
cd /
shutdown -r
hope this helps you.
--
Cheers,
Cédrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 01:44 AM
06-20-2006 01:44 AM
Re: /stand/build not found when building kernel
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 01:52 AM
06-20-2006 01:52 AM
Re: /stand/build not found when building kernel
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 07:17 PM
06-20-2006 07:17 PM
Re: /stand/build not found when building kernel
http://docs.hp.com/en/B2355-90950/ch03s11.html
and if you want to have more knowledge, you can see "Managing kernel configurations":
http://h71028.www7.hp.com/ERC/downloads/c00563213.pdf
--
Regards,
Cédrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 02:43 AM
06-28-2006 02:43 AM
Re: /stand/build not found when building kernel
Phil