Automated analysis of kernel and user core files including searching, ranking, and recommending patch files
First Claim
1. A method for analyzing a core file created by a computer system, the core file comprising a memory image including information on software executing on the computer system at the time of an unexpected, operating interrupt and including fault information corresponding to the interrupt, the method comprising:
- determining packages installed on the computer system;
accessing patch files comprising descriptive data for patches useful for correcting bugs in the computer system; and
processing the patch files to create a patch search set comprising the patches in the patch files which are configured for use with the installed packages;
assigning a score to each of the patches in the patch search set based on a set of scoring rules;
creating a patch search report including the patch scores;
wherein the core file is a kernel core file related to a kernel on the computer system and the score assigning includes identifying a type of fault, gathering fault metrics, and creating a scoring criteria based on the identified type of fault and the gathered fault metrics; and
wherein the type of fault is selected from the set of panic types and the fault metrics are selected from the group consisting of panic strings, pre-panic functions, and pre-panic modules.
2 Assignments
0 Petitions
Accused Products
Abstract
A computerized method for automatically analyzing a core file created by a computer system after an unexpected interrupt. The packages installed on the computer system are determined and patch files of descriptive data for previously identified patches are accessed to create a patch search set including patches configured for use with the installed packages. Patches in the patch search set are scored by assigning points to each patch based on scoring rules, e.g., searching the patch descriptive data for matches between portions of the patch descriptive data and portions of the core file, including bug descriptions. For UNIX™-based kernel core files, the scoring rules involve creating search criteria based on panic types and on panic metric data gathered from the core file. A detailed patch search report is created providing recommendations for each of the scored patches based on the assigned score and identifying patches for installation.
124 Citations
25 Claims
-
1. A method for analyzing a core file created by a computer system, the core file comprising a memory image including information on software executing on the computer system at the time of an unexpected, operating interrupt and including fault information corresponding to the interrupt, the method comprising:
-
determining packages installed on the computer system;
accessing patch files comprising descriptive data for patches useful for correcting bugs in the computer system; and
processing the patch files to create a patch search set comprising the patches in the patch files which are configured for use with the installed packages;
assigning a score to each of the patches in the patch search set based on a set of scoring rules;
creating a patch search report including the patch scores;
wherein the core file is a kernel core file related to a kernel on the computer system and the score assigning includes identifying a type of fault, gathering fault metrics, and creating a scoring criteria based on the identified type of fault and the gathered fault metrics; and
wherein the type of fault is selected from the set of panic types and the fault metrics are selected from the group consisting of panic strings, pre-panic functions, and pre-panic modules. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for analyzing a core file created by a computer system, the core file comprising a memory image including information on software executing on the computer system at the time of an unexpected, operating interrupt and including fault information corresponding to the interrupt, the method comprising:
-
determining packages installed on the computer system;
accessing patch files comprising descriptive data for patches useful for correcting bugs in the computer system;
processing the patch files to create a patch search set comprising the patches in the patch files which are configured for use with the installed packages;
assigning a score to each of the patches in the patch search set based on a set of scoring rules; and
creating a patch search report including the patch scores;
wherein the core file is a user core file related to a user application and includes fault information;
wherein the score assigning includes identifying matches between the descriptive data for the patches with program descriptive information in the core file and further includes identifying matches between descriptions of bugs referenced in the patch files of the patches in the patch search set and the fault information; and
wherein a first amount of points are assigned for the identified patch description matches and a second number of points are assigned for the identified bug description matches, and wherein the first amount of points is greater than the second amount of points.
-
-
9. A method for selecting software patches for installation in a computer system, comprising:
-
accessing a patch file comprising descriptive data for patches configured for installation in the computer system, the descriptive data including references to bugs relevant to the patches;
accessing a bug file comprising descriptive data for bugs relevant to operation of the computer system;
accessing a core file created by the computer system to isolate fault information and descriptions of executables running of the computer system, wherein the core file is a kernel core file;
determining the packages installed on the computer system;
identifying the patches in the patch file relevant to the installed packages for the processing;
processing the patch file to assign a score to the patches based on matches between the executables descriptions and the patch descriptive data and on matches between the fault information and the bug descriptive data for the bugs referenced by the patches, wherein the processing comprises processing the core file to determine a type of panic and to gather panic-related metrics for use in the assigning of the score to the patches; and
recommending the patches based on the assigned scores. - View Dependent Claims (10)
-
-
11. A computer program product for analyzing a core file generated by a computer system, comprising:
-
first computer code devices configured to cause a computer to determine software packages installed on the computer system;
second computer code devices configured to cause a computer to access patch files comprising descriptive data for patches useful with the computer system to create a patch search set comprising select ones of the patches configured for use with the installed packages;
third computer code devices configured to cause a computer to assign a patch score to each of the patches in the patch search set based on predefined scoring rules; and
fourth computer code devices configured to cause a computer to create a patch search report including recommended corrective actions based on the patch scores;
wherein the core file is a kernel core file and the third computer code devices are further configured to assign the patch scores by gathering a set of fault metrics and comparing the gathered fault metrics with the descriptive data for each of the patches in the patch search set to identify matches; and
wherein differing amounts of points are assigned by the third computer code devices for each of the fault metrics to prioritize select ones of the fault metrics. - View Dependent Claims (12)
-
-
13. A patch selection system for at least partially automatically processing a core file to select patches to address bugs in a computer system, comprising:
-
a memory device for storing patch files comprising descriptive information for patches adapted for addressing bugs on the computer system; and
a core analysis tool linked to the memory device to access the patch files, wherein the core analysis tool is configured to process the core file to identify fault information and executing program information and to compare the fault information and executing program information with the descriptive data of the patch files to assign a score to the patches;
wherein the core analysis tool is adapted to process the core file to gather fault metric information and wherein the assigning of the scores involves adding points to a patch score for identified matches between the gathered fault metric information and the descriptive data for the patches in the patch file. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A method for analyzing a core file created by a computer system, the core file comprising a memory image including information on software executing on the computer system at the time of an unexpected, operating interrupt and including fault information corresponding to the interrupt, the method comprising:
-
determining packages installed on the computer system;
accessing patch files comprising descriptive data for patches useful for correcting bugs in the computer system;
processing the patch files to create a patch search set comprising the patches in the patch files which are configured for use with the installed packages;
assigning a score to each of the patches in the patch search set based on a set of scoring rules; and
creating a patch search report including the patch scores;
wherein the core file is a kernel core file related to a kernel on the computer system and the score assigning includes identifying a type of fault, gathering fault metrics, and creating a scoring criteria based on the identified type of fault and the gathered fault metrics; and
wherein the score assigning is automatically adaptive to the identified type of fault and comprises selectively assigning a number of points for a match between the gathered fault metrics from the core file and the descriptive data for the patches in the patch search set based on the type of fault. - View Dependent Claims (19, 20, 21)
-
-
22. A patch selection system for at least partially automatically processing a core file to select patches to address bugs in a computer system, comprising:
-
a memory device for storing patch files comprising descriptive information for patches adapted for addressing bugs on the computer system; and
a core analysis tool linked to the memory device to access the patch files, wherein the core analysis tool is configured to process the core file to identify fault information and executing program information and to compare the fault information and executing program information with the descriptive data of the patch files to assign a score to the patches;
wherein the core analysis tool functions to compare bug reference information for the patches in the patch file with the fault information of the core file and to add a number of points to the score of the patches for each match in the comparison. - View Dependent Claims (23, 24, 25)
-
Specification