# US 2017/0293520 A1 · Method for System Debug and Firmware Update of a Headless Server

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

- Number: US 2017/0293520 A1
- Document ID: US20170293520A1
- Status: Published application
- Kind: A1
- Application number: 15/092,103
- Filed: 2016-04-06
- Published: 2017-10-12
- Earliest claimed: 2016-04-06
- Assignees: Dell Products L.P.
- Applicants: Dell Products, LP
- Inventors: Dileesh Onniyil; Sumanth Vidyadhara
- Web page: https://patentgrep.com/patent/US20170293520A1

## CPC

- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/4406: {Loading of operating system}
- G06F 9/4416: {Network booting; Remote initial program loading [RIPL]}
- G06F 11/0745: {in an input/output transactions management context (input/output processing in general G06F13/00)}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An information handling system includes a network interface device coupled to a network, a memory including first code to instantiate an operating system including an exception handler and second code to instantiate an exception handler interface and a UNDI module, and a processor to execute the first code and the second code. The network interface device is responsive to a Universal Network Device Interface (UNDI) command. The operating system detects an exception and invokes the exception handler to write a stack frame associated with the exception to the memory in response to detecting the exception. The exception handler interface determines that the stack frame has been written in the memory and directs the UNDI module to provide the UNDI command to the network interface device to communicate the stack frame to the network.

## Claims

### Claim 1

An information handling system, comprising:
a network interface device coupled to a network, wherein the network interface device is responsive to a Universal Network Device Interface (UNDI) command;
a memory including first code to instantiate an operating system including an exception handler and second code to instantiate an exception handler interface and a UNDI module; and
a processor to execute the first code and the second code;
wherein the operating system:
detects an exception; and
invokes the exception handler to write a stack frame associated with the exception to the memory in response to detecting the exception; and
wherein the exception handler interface:
determines that the stack frame has been written in the memory; and
directs the UNDI module to provide the UNDI command to the network interface device to communicate the stack frame to the network.

### Claim 2 (depends on 1)

The information handling system of claim 1, wherein, in writing the stack frame to the memory, the exception handler further:
writes the stack frame to an exception stack associated with the exception handler.

### Claim 3 (depends on 2)

The information handling system of claim 2, wherein in writing the stack frame to the memory, the exception handler further:
analyzes the exception stack to detect an exception opcode; and
provides an indication to the exception handler interface in response to detecting the exception opcode.

### Claim 4 (depends on 3)

The information handling system of claim 3, wherein the exception handler interface determines that the stack frame has been written in the memory based upon the indication from the exception handler.

### Claim 5 (depends on 2)

The information handling system of claim 2, wherein in determining that the stack frame has been written in the memory, the exception handler interface:
detects that the exception handler has executed an exception opcode.

### Claim 6 (depends on 5)

The information handling system of claim 5, wherein the exception handler interface determines that the stack frame has been written in the memory in response to detecting the exception opcode.

### Claim 7 (depends on 2)

The information handling system of claim 2, wherein the exception handler interface further:
receives a request from the UNDI module to analyze the exception stack;
analyzes the exception stack to detect an exception opcode in response to receiving the request to analyze the exception stack; and
determines that the stack frame has been written in the memory in response to detecting the exception opcode.

### Claim 8 (depends on 1)

The information handling system of claim 1, wherein the second code comprises a Unified Extensible Firmware Interface (UEFI) environment.

### Claim 9

A method, comprising:
detecting, by an operating system running on a processor of an information handling system, that an exception has occurred;
invoking, by the operating system, an exception handler to write a stack frame associated with the exception to a memory of the information handling system in response to detecting the exception;
determining, by an exception handler interface running on the processor, that the stack frame has been written in the memory; and
directing, by the exception handler interface, a Universal Network Device Interface (UNDI) module running on the processor to provide a UNDI command to network interface device of the information handling system to communicate the stack frame to a network coupled to the network interface device.

### Claim 10 (depends on 9)

The method of claim 9, wherein, in writing the stack frame to the memory, the method further comprises:
writing, by the exception handler, the stack frame to an exception stack associated with the exception handler.

### Claim 11 (depends on 10)

The method of claim 10, wherein in writing the stack frame to the memory, the method further comprises:
analyzing, by the exception handler, the exception stack to detect an exception opcode; and
providing an indication to the exception handler interface in response to detecting the exception opcode.

### Claim 12 (depends on 11)

The method of claim 11, wherein the exception handler interface determines that the stack frame has been written in the memory based upon the indication from the exception handler.

### Claim 13 (depends on 10)

The method of claim 10, wherein in determining that the stack frame has been written in the memory, the method further comprises:
detecting, by the exception handler interface that the exception handler has executed an exception opcode.

### Claim 14 (depends on 13)

The method of claim 13, wherein the exception handler interface determines that the stack frame has been written in the memory in response to detecting the exception opcode.

### Claim 15 (depends on 10)

The method of claim 10, further comprising:
receiving, by the exception handler interface, a request from the UNDI module to analyze the exception stack;
analyzing, by the exception handler interface, the exception stack to detect an exception opcode in response to receiving the request to analyze the exception stack; and
determining that the stack frame has been written in the memory in response to detecting the exception opcode.

### Claim 16

A non-transitory computer-readable medium including code for performing a method, the method comprising:
detecting, by an operating system running on a processor, that an exception has occurred;
invoking, by the operating system, an exception handler to write a stack frame associated with the exception to a memory in response to detecting the exception;
determining, by an exception handler interface running on the processor, that the stack frame has been written in the memory; and
directing, by the exception handler interface, a Universal Network Device Interface (UNDI) module running on the processor to provide a UNDI command to network interface device to communicate the stack frame to a network coupled to the network interface device.

### Claim 17 (depends on 16)

The computer-readable medium of claim 16, wherein, in writing the stack frame to the memory, the method further comprises:
writing, by the exception handler, the stack frame to an exception stack associated with the exception handler.

### Claim 18 (depends on 17)

The computer-readable medium of claim 17, wherein in writing the stack frame to the memory, the method further comprises:
analyzing, by the exception handler, the exception stack to detect an exception opcode; and
providing an indication to the exception handler interface in response to detecting the exception opcode, wherein the exception handler interface determines that the stack frame has been written in the memory based upon the indication from the exception handler.

### Claim 19 (depends on 17)

The computer-readable medium of claim 17, wherein in determining that the stack frame has been written in the memory, the method further comprises:
detecting, by the exception handler interface that the exception handler has executed an exception opcode, wherein the exception handler interface determines that the stack frame has been written in the memory in response to detecting the exception opcode.

### Claim 20 (depends on 17)

The computer-readable medium of claim 17, the method further comprising:
receiving, by the exception handler interface, a request from the UNDI module to analyze the exception stack;
analyzing, by the exception handler interface, the exception stack to detect an exception opcode in response to receiving the request to analyze the exception stack; and
determining that the stack frame has been written in the memory in response to detecting the exception opcode.
