Menu

#62 reset: interpret -e as a modifier, not a target

ipmiutil-2.8.x
closed
None
5
2026-02-12
2026-01-13
S Magnani
No

ipmiutil reset appears to be coded to treat the -e (EFI) command line option as a target on par with PXE (-p) and Hard Disk (-h). This prevents construction of a request to EFI-boot to hard disk with -e -h, because the code as written treats -h and -e with equal weight, such the last one on the command line "wins".

Table 28-14 of the Intelligent Platform Management Interface Specification Second Generation (April 21, 2015 E7 Markup) positions the BIOS boot type (EFI-vs-legacy) flag in the data 1 byte of parameter 5. The boot device selector is a 4-bit field in the data 2 byte of that command. The intent seems to have been for boot type to act as an adjective or modifier which places the boot device selector in a larger context. The two fields were meant to be interpreted together, not in a mutually exclusive manner.

In order to execute an EFI hard disk boot on a server whose BIOS supports both EFI and legacy (CSM) boot, the ASUS ASMB9-iKVM requires a Set System Boot Options command that has both BIOS boot type = 1 (EFI) and boot device selector = 0010b.

1 Attachments

Discussion

  • S Magnani

    S Magnani - 2026-01-13

    This was discovered in 3.0.8 but affects all of the active branches.

     
  • Andy Cress

    Andy Cress - 2026-01-14
    • status: open --> accepted
    • assigned_to: Andy Cress
     
  • Andy Cress

    Andy Cress - 2026-01-14

    Thank you for the detailed information, and for the patch. I see why this change is needed.

     
  • Andy Cress

    Andy Cress - 2026-02-12
    • status: accepted --> closed
     
  • Andy Cress

    Andy Cress - 2026-02-12

    Fixed in ipmiutil-3.2.2

     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →