# US 2015/0178168 A1 · Persistent Data Across Reboots

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0178168 A1
- Document ID: US20150178168A1
- Status: Published application
- Kind: A1
- Application number: 14/139,953
- Filed: 2013-12-24
- Published: 2015-06-25
- Earliest claimed: 2013-12-24
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Andrew Dunshea; Maha Emad; Douglas J. Griffith
- Web page: https://patentgrep.com/patent/US20150178168A1

## CPC

- G06F 11/1451: {by selection of backup contents}
- G06F 11/0712: {in a virtual computing platform, e.g. logically partitioned systems}
- G06F 11/0778: {Dumping, i.e. gathering error/state information after a fault for later diagnosis}
- G06F 11/0787: {Storage of error reports, e.g. persistent data storage, storage using memory protection}
- G06F 11/1438: {Restarting or rejuvenating}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, system and computer-usable medium are disclosed for persisting Lightweight Memory Trace (LMT) data across reboots of a system. One or more LMT traces are stored in a predetermined pinned memory area with a server's operating system (OS) through a system reboot. A pointer to each LMT is likewise stored in nonvolatile storage (NVS) at a known memory location. The pointers in NVS point to a page which describes where the LMT trace and other kernel structures are in real memory. During initialization, the OS guards these preserved pages to prevent them from being used. By keeping the current and prior address within NVS, the current LMT and prior traces can be retrieved and processed to determine the cause of the system reboot.

## Claims

### Claim 1

A computer-implemented method for preserving a predetermined memory region during a reboot, comprising:
storing a first set of dynamically-generated data in a first predetermined area of real memory;
generating a first pointer to the first predetermined area of real memory;
storing the first pointer in nonvolatile storage; and
protecting the first predetermined area of real memory during a first system reboot process by allocating a first different area of real memory for performing a first set of reboot-related operations.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first set of dynamically-generated data comprises a first set of Lightweight Memory Trace (LMT) data.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
using the first pointer to retrieve the first set of dynamically-generated data; and
processing the first set of dynamically-generated data to determine the cause of the first system reboot.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
storing a second set of dynamically-generated data in a second predetermined area of real memory, the second set of dynamically-generated data comprising a second set of LMT data generated subsequent to performing the first set of reboot-related operations;
generating a second pointer to the second predetermined area of real memory; and
storing the second pointer in nonvolatile storage.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
using the first and second pointers to respectively retrieve the first and second sets of dynamically-generated data; and
processing the first and second sets of dynamically-generated data to determine the cause of the system reboot.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
protecting the second predetermined area of real memory during a second system reboot process by allocating a second different area of real memory for performing a second set of reboot-related operations.

### Claim 7

A system comprising:
a processor;
a data bus coupled to the processor; and
a computer-usable medium embodying computer program code, the computer-usable medium being coupled to the data bus, the computer program code used for preserving a predetermined memory region during a reboot and comprising instructions executable by the processor and configured for:
storing a first set of dynamically-generated data in a first predetermined area of real memory;
generating a first pointer to the first predetermined area of real memory;
storing the first pointer in nonvolatile storage; and
protecting the first predetermined area of real memory during a first system reboot process by allocating a first different area of real memory for performing a first set of reboot-related operations.

### Claim 8 (depends on 7)

The system of claim 7, wherein the first set of dynamically-generated data comprises a first set of Lightweight Memory Trace (LMT) data.

### Claim 9 (depends on 8)

The system of claim 8, further comprising:
using the first pointer to retrieve the first set of dynamically-generated data; and
processing the first set of dynamically-generated data to determine the cause of the first system reboot.

### Claim 10 (depends on 9)

The system of claim 9, further comprising:
storing a second set of dynamically-generated data in a second predetermined area of real memory, the second set of dynamically-generated data comprising a second set of LMT data generated subsequent to performing the first set of reboot-related operations;
generating a second pointer to the second predetermined area of real memory; and
storing the second pointer in nonvolatile storage.

### Claim 11 (depends on 10)

The system of claim 10, further comprising:
using the first and second pointers to respectively retrieve the first and second sets of dynamically-generated data; and
processing the first and second sets of dynamically-generated data to determine the cause of the system reboot.

### Claim 12 (depends on 11)

The system of claim 11, further comprising:
protecting the second predetermined area of real memory during a second system reboot process by allocating a second different area of real memory for performing a second set of reboot-related operations.

### Claim 13

A non-transitory, computer-readable storage medium embodying computer program code, the computer program code comprising computer executable instructions configured for:
storing a first set of dynamically-generated data in a first predetermined area of real memory;
generating a first pointer to the first predetermined area of real memory;
storing the first pointer in nonvolatile storage; and
protecting the first predetermined area of real memory during a first system reboot process by allocating a first different area of real memory for performing a first set of reboot-related operations.

### Claim 14 (depends on 13)

The non-transitory, computer-readable storage medium of claim 13, wherein the first set of dynamically-generated data comprises a first set of Lightweight Memory Trace (LMT) data.

### Claim 15 (depends on 14)

The non-transitory, computer-readable storage medium of claim 14, further comprising:
using the first pointer to retrieve the first set of dynamically-generated data; and
processing the first set of dynamically-generated data to determine the cause of the first system reboot.

### Claim 16 (depends on 15)

The non-transitory, computer-readable storage medium of claim 15, further comprising:
storing a second set of dynamically-generated data in a second predetermined area of real memory, the second set of dynamically-generated data comprising a second set of LMT data generated subsequent to performing the first set of reboot-related operations;
generating a second pointer to the second predetermined area of real memory; and
storing the second pointer in nonvolatile storage.

### Claim 17 (depends on 16)

The non-transitory, computer-readable storage medium of claim 16, further comprising:
using the first and second pointers to respectively retrieve the first and second sets of dynamically-generated data; and
processing the first and second sets of dynamically-generated data to determine the cause of the system reboot.

### Claim 18 (depends on 17)

The non-transitory, computer-readable storage medium of claim 17, further comprising:
protecting the second predetermined area of real memory during a second system reboot process by allocating a second different area of real memory for performing a second set of reboot-related operations.

### Claim 19 (depends on 13)

The non-transitory, computer-readable storage medium of claim 13, wherein the computer executable instructions are deployable to a client system from a server system at a remote location.

### Claim 20 (depends on 13)

The non-transitory, computer-readable storage medium of claim 13, wherein the computer executable instructions are provided by a service provider to a user on an on-demand basis.
