- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: generate new kernel - kmupdate: automatic rebo...
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
01-30-2003 06:00 AM
01-30-2003 06:00 AM
I had to increase some static kernel parameters.
I did "manually" following this procedure:
# cp /stand/system /stand/system.$DATE
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s /stand/build/system
# kmtune -s
# /usr/sbin/mk_kernel -s ./system"
# mv /stand/system /stand/system.prev"
# mv /stand/vmunix /stand/vmunix.prev"
# mv /stand/dlkm /stand/dlkm.vmunix.prev"
# mv /stand/build/system /stand/system"
Now I want to process the command:
# kmupdate /stand/build/vmunix_test"
Question:
What happens if I do this? Will the system reboot
automatically?
If so: what can I do instead to place the new
kernel /stand/build/vmnix_test to /stand/vmunix
and also the dynamic modules /stand/build/dlkm.vmunix_test to /stand/dlkm ?
Thank you for your tipps in advance
Cheers
Carste
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 06:09 AM
01-30-2003 06:09 AM
Re: generate new kernel - kmupdate: automatic reboot?
You will have to do this:
cd /
shutdown -ry now
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 06:09 AM
01-30-2003 06:09 AM
Re: generate new kernel - kmupdate: automatic reboot?
No the kmupdate doesn't automatically reboot your server. You have to issue the
#shutdown -ry 0
in order to reboot your system.
All that is going to happen is that it's going to put in place the new kernel so that when you boot it'll use this vmunix instead. If your reboot has problem with your new vmunix, you can then reboot using vmunix.prev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 06:14 AM
01-30-2003 06:14 AM
SolutionThe kmupdate will NOT reboot automatically. During the next shutdown the /sbin/init.d/kmbuild script will move the kernel into place.
BTW, if you don't shutdown, but reboot/reset, then kmbuild will detect the kernel update during startup, move the kernel and reboot a 2nd time.
This is what I do usually to tune the kernel, if I want to be fast. :-)
# kmtune ...
# mk_kernel
# kmupdate
# /sbin/init.d/kmbuild stop
# reboot
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 02:26 AM
01-31-2003 02:26 AM
Re: generate new kernel - kmupdate: automatic reboot?
thanks for the facts.
Now I can safely update
the systems without fearing
that project-/application-
users will flame me :-)
Dietmar - what shall I say -
as usual: many thanks for
your advanced and special
tips. :-))
CU
Carsten