HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- previous kernel purpose
Operating System - HP-UX
1838471
Members
2995
Online
110126
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
Go to solution
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
06-04-2007 07:46 PM
06-04-2007 07:46 PM
Hi frinds
I have done following functions to our HP-UX server (9000/800/N4000-36) that running OS is HP-UX 11.23.
I have installed few patches to the server. Due to some testing purpose I have remove one of that patch. Before that I have generate a new kernel using running system and take it as backup kernel.
When I list the install patch, now it shows, there is no any such patch available in the system as expected.
So then I restart the machine using previous kernel by expecting previouly install patch also available. But it didn’t show in the system.
Same procedure I have done for kernel parameter also. But it also didn’t revert back when after reboot using previous kernel.
So I want to know what the exact purpose of the previous kernel? If something goes wrong to system is it possible to revert back the system using previous kernel? If so what extend?
Can you please explain above incidents, because I plan to do some critical changes to our live system in very soon day
Thanks & Reg’s
Dhananjaya Amarakoon.
I have done following functions to our HP-UX server (9000/800/N4000-36) that running OS is HP-UX 11.23.
I have installed few patches to the server. Due to some testing purpose I have remove one of that patch. Before that I have generate a new kernel using running system and take it as backup kernel.
When I list the install patch, now it shows, there is no any such patch available in the system as expected.
So then I restart the machine using previous kernel by expecting previouly install patch also available. But it didn’t show in the system.
Same procedure I have done for kernel parameter also. But it also didn’t revert back when after reboot using previous kernel.
So I want to know what the exact purpose of the previous kernel? If something goes wrong to system is it possible to revert back the system using previous kernel? If so what extend?
Can you please explain above incidents, because I plan to do some critical changes to our live system in very soon day
Thanks & Reg’s
Dhananjaya Amarakoon.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2007 10:24 PM
06-04-2007 10:24 PM
Solution
Patches may affect the entire OS, not only the kernel.
Kernel patches (PHKL) will affect the files that are used to create a new kernel (the "raw materials"): they will *not* affect the kernel that is running when you swinstall the patch. This is why a new kernel must be generated after installing a kernel patch.
If you install a kernel patch, create a new kernel, then boot using a previous kernel, the raw materials are still updated and this is what swlist shows. Swlist will not look inside your kernel to determine if your active kernel is really up to date or not - your responsibility as a sysadmin is to make sure of that.
The purpose of the previous kernel:
if a failed kernel patch or a bad parameter change makes the new kernel unbootable, it allows you to reboot using a known good kernel so that the problem can be fixed.
This helps in _kernel problems only_: if, for example, a damaged/failed patch makes /sbin/init unusable, the kernel will still boot but will probably panic immediately because it cannot start the "init" process. In this case, booting with a previous kernel will not help: you must boot from some other media to fix the problem. (In this case, you could boot from CD into a recovery shell, mount the filesystems, find the old version of /sbin/init in /var/adm/sw/save, copy it to /sbin, restart the system and then *remove the failed patch*.
If you install a large set of patches, it is not absolutely guaranteed that you can restore the system to exactly original state by removing the patches. This is why it's recommended to take an Ignite backup before any major patch operations.
MK
Kernel patches (PHKL) will affect the files that are used to create a new kernel (the "raw materials"): they will *not* affect the kernel that is running when you swinstall the patch. This is why a new kernel must be generated after installing a kernel patch.
If you install a kernel patch, create a new kernel, then boot using a previous kernel, the raw materials are still updated and this is what swlist shows. Swlist will not look inside your kernel to determine if your active kernel is really up to date or not - your responsibility as a sysadmin is to make sure of that.
The purpose of the previous kernel:
if a failed kernel patch or a bad parameter change makes the new kernel unbootable, it allows you to reboot using a known good kernel so that the problem can be fixed.
This helps in _kernel problems only_: if, for example, a damaged/failed patch makes /sbin/init unusable, the kernel will still boot but will probably panic immediately because it cannot start the "init" process. In this case, booting with a previous kernel will not help: you must boot from some other media to fix the problem. (In this case, you could boot from CD into a recovery shell, mount the filesystems, find the old version of /sbin/init in /var/adm/sw/save, copy it to /sbin, restart the system and then *remove the failed patch*.
If you install a large set of patches, it is not absolutely guaranteed that you can restore the system to exactly original state by removing the patches. This is why it's recommended to take an Ignite backup before any major patch operations.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 09:50 PM
07-03-2007 09:50 PM
Re: previous kernel purpose
Hi Matti Kurkela
Thanks for your reply and guide me. I did patch update for my live system and system works without problem.
Dhananjaya Amarakoon
Thanks for your reply and guide me. I did patch update for my live system and system works without problem.
Dhananjaya Amarakoon
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP