# US 2015/0149830 A1 · Data dump for a memory in a data processing system

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

- Number: US 2015/0149830 A1
- Document ID: US20150149830A1
- Status: Published application
- Kind: A1
- Application number: 14/539,520
- Filed: 2014-11-12
- Published: 2015-05-28
- Earliest claimed: 2013-11-28
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Victor Rafael Escobar Olmos; Jakob Christopher Lang; Angel Nunez Mencias; Albert Schirmer; Jochen Schweflinghaus
- Web page: https://patentgrep.com/patent/US20150149830A1

## CPC

- G06F 11/0778: {Dumping, i.e. gathering error/state information after a fault for later diagnosis}
- G06F 11/0706: {the processing taking place on a specific hardware platform or in a specific software environment}
- G06F 11/0727: {in a storage system, e.g. in a DASD or network based storage system (drivers for digital recording or reproducing units G06F3/06; circuits for error detection or correction within digital recording or reproducing units G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/0781: {Error filtering or prioritizing based on a policy defined by the user or on a policy defined by a hardware/software module, e.g. according to a severity level}
- G06F 16/11: File system administration, e.g. details of archiving or snapshots (error detection or correction of the data by redundancy in operations G06F11/14)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

As the file system of an operating system program might be damaged by a crash, the file system is usually used neither for the selection of data to be dumped from a memory nor for the analysis of the dumped data, and all data contained in one or several areas of the memory are dumped. In order to preserve the integrity of the file system and enable its use after the crash, the memory is divided into a primary and a secondary memory section during a memory setup, file system data are transferred from the primary memory section to the secondary memory section widely out of the control of the operating system program, and a read access of a dump program is directed to the secondary memory section in order to select file system data to be dumped after the crash using error data.

## Claims

### Claim 1

A data dump method for a memory in a data processing system, said data dump method comprising:
dividing said memory into a primary memory section and a secondary memory section during a memory setup, wherein said primary memory section comprises a first area and a second area, wherein the first area of said primary memory section contains code of an operating system program before a crash of said operating system program, wherein said operating system program is operable before said crash, and wherein the second area of said primary memory section contains code of an emergency operating system program and code of a dump program before said crash, wherein said code of said dump program and said code of said emergency operating system program in said second area are transferred to said first area after said crash, and wherein said dump program and said emergency operating system program are operable after said crash, and wherein said secondary memory section is widely out of the control of said operating system program;
transferring first file system data from said primary memory section to said secondary memory section before said crash; and
directing a read access of said dump program to said secondary memory section after said crash in order to select second file system data to be dumped, wherein said dump program uses error data for said selection.

### Claim 2 (depends on 1)

The method according to claim 1, wherein a write access of said operating system program is directed to said secondary memory section by a first secondary memory section management program.

### Claim 3 (depends on 2)

The method according to claim 2, wherein said operating system program writes a new file in said secondary memory section by said first secondary memory section management program.

### Claim 4 (depends on 3)

The method according to claim 3, wherein said first file system data are transferred from said primary memory section to said secondary memory section by said first secondary memory section management program.

### Claim 5 (depends on 1)

The method according to claim 1, wherein said read access of said dump program is directed to said secondary memory section by a second secondary memory section management program.

### Claim 6 (depends on 1)

The method according to claim 1, wherein said dump program performs a consistency check of said second file system data in said secondary memory section before said dump program dumps said second file system data.

### Claim 7 (depends on 1)

The method according to claim 1, wherein said second file system data comprises one or several files.

### Claim 8 (depends on 1)

The method according to claim 1, wherein said dump program uses metadata in order to select said second file system data to be dumped from said secondary memory section.

### Claim 9 (depends on 1)

The method according to claim 1, wherein said memory setup is part of a start sequence of said operating system program.

### Claim 10 (depends on 1)

The method according to claim 1, wherein said code of said dump program and said code of said emergency operating system program in said second area are exchanged with data in said first area.

### Claim 11

A computer system comprising:
a memory; and
a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising:
dividing said memory into a primary memory section and a secondary memory section during a memory setup, wherein said primary memory section comprises a first area and a second area, wherein the first area of said primary memory section contains code of an operating system program before a crash of said operating system program, wherein said operating system program is operable before said crash, and wherein the second area of said primary memory section contains code of an emergency operating system program and code of a dump program before said crash, wherein said code of said dump program and said code of said emergency operating system program in said second area are transferred to said first area after said crash, and wherein said dump program and said emergency operating system program are operable after said crash, and wherein said secondary memory section is widely out of the control of said operating system program;
transferring first file system data from said primary memory section to said secondary memory section before said crash; and
directing a read access of said dump program to said secondary memory section after said crash in order to select second file system data to be dumped, wherein said dump program uses error data for said selection.

### Claim 12 (depends on 11)

The system according to claim 11, wherein a write access of said operating system program is directed to said secondary memory section by a first secondary memory section management program.

### Claim 13 (depends on 11)

The system according to claim 11, wherein said read access of said dump program is directed to said secondary memory section by a second secondary memory section management program.

### Claim 14 (depends on 11)

The system according to claim 11, wherein said dump program performs a consistency check of said second file system data in said secondary memory section before said dump program dumps said second file system data.

### Claim 15 (depends on 11)

The system according to claim 11, wherein said code of said dump program and said code of said emergency operating system program in said second area are exchanged with data in said first area.

### Claim 16

A computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
dividing said memory into a primary memory section and a secondary memory section during a memory setup, wherein said primary memory section comprises a first area and a second area, wherein the first area of said primary memory section contains code of an operating system program before a crash of said operating system program, wherein said operating system program is operable before said crash, and wherein the second area of said primary memory section contains code of an emergency operating system program and code of a dump program before said crash, wherein said code of said dump program and said code of said emergency operating system program in said second area are transferred to said first area after said crash, and wherein said dump program and said emergency operating system program are operable after said crash, and wherein said secondary memory section is widely out of the control of said operating system program;
transferring first file system data from said primary memory section to said secondary memory section before said crash; and
directing a read access of said dump program to said secondary memory section after said crash in order to select second file system data to be dumped, wherein said dump program uses error data for said selection.

### Claim 17 (depends on 16)

The computer program product according to claim 16, wherein a write access of said operating system program is directed to said secondary memory section by a first secondary memory section management program.

### Claim 18 (depends on 16)

The computer program product according to claim 16, wherein said read access of said dump program is directed to said secondary memory section by a second secondary memory section management program.

### Claim 19 (depends on 16)

The computer program product according to claim 16, wherein said dump program performs a consistency check of said second file system data in said secondary memory section before said dump program dumps said second file system data.

### Claim 20 (depends on 16)

The computer program product according to claim 16, wherein said code of said dump program and said code of said emergency operating system program in said second area are exchanged with data in said first area.
