- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Command line kernel build
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
Discussions
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
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-21-2005 03:00 AM
11-21-2005 03:00 AM
cd /stand/build
/usr/lbin/sysadm/system_prep -s /stand/build/system
vi /stand/build/system
/usr/sbin/mk_kernel -s /stand/build/system
mv /stand/system /stand/system.prev
mv /stand/build/system /stand/system
kmupdate /stand/build/vmunix_test
If I can get a window to reboot this server it will reboot off the new kernel, but what I noticed is the kmupdate command does not move the /stand/build/vmunix_test into /stand, when does this take place ??
If this server hangs again and I have to reset it again to reboot, will this new kernel still be moved into place ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2005 03:13 AM
11-21-2005 03:13 AM
Re: Command line kernel build
The move of the updated kernel to '/stand/vmunix' will occur during (at) the next shutdown.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2005 03:16 AM
11-21-2005 03:16 AM
Re: Command line kernel build
Can I just manually move the /stand/build/vmunix_test file myself manually ?? or is there something else that goes on that I would be missing ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2005 05:18 AM
11-21-2005 05:18 AM
Re: Command line kernel build
Yes you could move the new kernel to /stand but dont forget to move also by renaming the previous /stand/vmunix to /stand/vmunix.prev BEFORE! (I did this quite a few times with HPUX 11.00...)
But then do this only when you know you will reboot the system very soon, not that it wont work but you might have to be there if the system refuses to reboot... (bad kernel and having to use vmunix.prev...)
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2005 05:30 AM
11-21-2005 05:30 AM
Re: Command line kernel build
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2005 05:40 AM
11-21-2005 05:40 AM
Re: Command line kernel build
The reason I want to do this is the server hung this morning with kthread tabel full errors. Should the server hang again I want to be able to reset it and reboot with the new kernel for this problem in place and not have to come up regen kernel and reboot again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2005 05:58 AM
11-21-2005 05:58 AM
Re: Command line kernel build
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 07:11 AM
11-22-2005 07:11 AM
Solutionmv /stand/vmunix /stand/vmunix.prev
mv /stand/system /stand/system.prev
mv /stand/dlkm /stand/dlkm.vmunix.prev
(in case the system doesn't like your new kernel)
Then
mv /stand/build/vmunix_test /stand/vmunix
mv /stand/build/system /stand/system
and so forth for dlkm directory
When you reboot, the system will use the copy you put there rather than the old kernel, regardless of whether the system has been properly shutdown / rebooted.
(The kernel relocation takes place at shutdown, not at boot time unless you manually copy it. Note: the manual copy can cause strangeness with some diag. utils until you reboot and match what's in memory with what's in /stand.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 07:27 AM
11-22-2005 07:27 AM