Kernel configuration recovery
AssigneeHewlett-Packard Development Company, L.P.
InventorsSteven Roth, Aswin Chandramouleeswaran, C.P. Kumar, Douglas Eldred, Lisa Nishiyama, Arun Krishna
Life of this patent
Estimating the term…
Abstract
Systems, methods, and devices are provided for kernel configurations. One embodiment includes a kernel configuration tool, a system file accessible by the kernel configuration tool, and means for recovering kernel configurations without the use of a manually creating a “known good post update” kernel configuration.
Claims66
A computer readable medium having a program to cause a device to perform a method, comprising:
- installing a kernel configuration for an operating system;
- and
- creating a last install of the kernel configuration.
A computer readable medium having a program to cause a device to perform a method, comprising:
- reading a kernel configuration parameter;
- and
- checking whether a failsafe boot mode has been requested.
A computer readable medium having a program to cause a device to perform a method, comprising:
- installing a kernel configuration for an operating system;
- checking whether a failsafe boot mode has been requested, wherein if the failsafe boot mode has been requested the method includes:
- providing failsafe values to tunables;
- using default device bindings;
- and
- not dynamically loading kernel modules during boot;
- and
- automatically saving a kernel configuration as a last install kernel configuration when a new kernel has booted successfully at least once.
A computer readable medium having a program to cause a device to perform a method, comprising:
- receiving a kernel configuration change;
- and
- checking whether an automatic backup has been enabled.
A computer readable medium having a program to cause a device to perform a method, comprising:
- receiving a kernel configuration change;
- checking whether an automatic backup has been enabled and, when the automatic backup has been enabled, disabling a query as to whether a backup kernel configuration is intended and automatically creating a new backup configuration for each kernel configuration change;
- and
- reading a flag in a kernel configuration command line to disable the automatic backup and to enable a query forward as to whether the backup kernel configuration is intended with subsequent kernel configuration changes.
A computer readable medium having a program to cause a device to perform a method, comprising:
- making a copy of a kernel configuration from an original system disk;
- and
- applying a kernel configuration change to the copy.
A computer readable medium having a program to cause a device to perform a method, comprising:
- making a copy of a kernel configuration from an original system disk;
- applying a kernel configuration change to the copy;
- rebooting an operating system using the copy as a new system disk;
- testing the kernel configuration change;
- when testing is satisfactory, discarding the original system disk;
- and
- when testing is unsatisfactory, rebooting back onto the original system disk.
A kernel configuration tool, comprising:
- a processor;
- a memory coupled to the processor;
- and
- program instructions provided to the memory and executable by the processor to:
- install a kernel configuration for an operating system;
- and
- automatically create a last install of the kernel configuration when the kernel configuration has booted successfully at least once and automatically save a new kernel configuration as the last install when an updated kernel has booted successfully at least once.
A kernel configuration tool, comprising:
- a processor;
- a memory coupled to the processor;
- and
- program instructions provided to the memory and executable by the processor to:
- make a copy of a kernel configuration from an original system disk;
- apply a kernel configuration change to the copy;
- reboot an operating system using the copy as a new system disk;
- test the kernel configuration change;
- when testing is satisfactory, discard the original system disk;
- and
- when testing is unsatisfactory, reboot back onto the original system disk.
A kernel configuration tool, comprising:
- a processor;
- a memory coupled to the processor;
- and
- program instructions provided to the memory and executable by the processor to:
- establish a set of failsafe boot values, including failsafe values for tunables and default device bindings;
- read a kernel configuration parameter;
- and
- check whether a failsafe boot mode has been requested and return a set of failsafe values for a failsafe boot when the failsafe boot mode has been requested including, wherein the program instructions execute to:
- provide failsafe values to tunables;
- use default device bindings;
- and
- prohibit dynamically loading kernel modules during boot.
A kernel configuration tool, comprising:
- a processor;
- a memory coupled to the processor;
- and
- program instructions provided to the memory and executable by the processor to:
- receive a kernel configuration change;
- and
- check whether an automatic update to a backup configuration has been enabled, wherein when the automatic update to the backup configuration has been enabled the program instructions execute to disable a query as to whether the backup configuration is intended and execute to create a new backup configuration, and wherein when the backup configuration is not selected the program instructions execute to not create the new backup and execute to enable the query for subsequent kernel configuration changes.
A kernel configuration system, comprising:
- a kernel configuration tool;
- a system file accessible by the kernel configuration tool;
- and
- means for recovering kernel configurations without the use of a manually created backup kernel configuration.
Dependencies are inferred from the claim text.