Skip to content

Unable to set options=efiboot,persistent #163

@jvillal-amp

Description

@jvillal-amp

I'm thinking the parsing of multiple "options=" values is somehow broken.

When I do the following:

ipmitool -I lanplus chassis bootdev disk options=persistent,efiboot -vvv

I see the following

<snip>
Chassis Set Boot Parameter 4 to 0101

>> Sending IPMI command payload
>>    netfn   : 0x00
>>    command : 0x08
>>    data    : 0x05 0xa0 0x08 0x00 0x00 0x00
<snip>

Notice the data is 0x05 0xa0 ... 0xA0 means EFI but NOT persistent.

When doing the command:

ipmitool -I lanplus chassis bootdev disk options=efiboot,persistent -vvv

I see:

<snip>
Chassis Set Boot Parameter 4 to 0101

>> Sending IPMI command payload
>>    netfn   : 0x00
>>    command : 0x08
>>    data    : 0x05 0xc0 0x08 0x00 0x00 0x00
<snip>

Notice the data is 0x05 0xc0 ... 0xC0 means persistent but NOT EFI

What we desire should look like this for either call:

Chassis Set Boot Parameter 4 to 0101

>> Sending IPMI command payload
>>    netfn   : 0x00
>>    command : 0x08
>>    data    : 0x05 0xe0 0x08 0x00 0x00 0x00

The data should be 0x05 0xe0 ... 0xE0 means EFI and persistent

The values are specified in Table 28-14 Boot Option Parameters in the IPMI Specification, V2.0, Rev. 1.1 https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev1-1.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions