When running lsirec on Linux kernel 4.5 or later it will fail with error message:
More info is provided here: HPE Support document - HPE Support Center
You can work around this by booting with the "iomem=relaxed" paramter.mmap bar1: Invalid argument
More info is provided here: HPE Support document - HPE Support Center
Kernel versions 4.5 (and later) enable a new kernel security measure "CONFIG_IO_STRICT_DEVMEM" by default that prevents user space tools from memory mapping device BAR when the device driver is loaded (resource is marked as BUSY). As a result, the "hfi1_eprom" tool cannot query/flash the device while the "hfi1" kernel module is loaded.