Hi Konstantin, I have a fix at this branch on github if you could give it a shot:
https://github.com/chu11/freeipmi-mirror/tree/ipmi_fru_file_only after downloading, to build: ./autogen.sh ./configure --enable-debug --enable-trace make ipmi-fru/ipmi-fru --fru-file=... There will be extra debugging output when running this. If things look like its working, you can remove the "--enable-debug, --enable-trace" in the above to remove the debugging. Thanks, Al On Sat, 2021-02-06 at 09:32 -0800, Al Chu via Freeipmi-users wrote: > Hi Konstantin, > > Yeah, this seems to be a bug. I suppose it was always assumed people > were on IPMI systems. I believe this was initially added b/c some > IPMI > developers wanted to debug/test their binaries. > > I'll add this as a TODO for myself and get back to you with a test > branch you can try. > > Al > > On Fri, 2021-02-05 at 12:59 +0300, Konstantin Aladyshev wrote: > > Is it possible to use `ipmi-fru` utility to parse local binary FRU > > file? > > I want to do it from a separate host that doesn't have any IPMI > > devices. > > I thought that `--fru-file` option was designed specifically for > > this > > case, but I can't get it working: > > > > ~/freeipmi-1.6.6/ipmi-fru$ sudo ./ipmi-fru -v > > --fru-file=./AD-FMCADC2-EBZ-FRU.bin > > could not find inband device > > > > So there seems to be a bug that assumes you are always running on > > an > > IPMI system. > > > > Best regards, > > Konstantin Aladyshev > > > > _______________________________________________ > > Freeipmi-users mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/freeipmi-users > > > _______________________________________________ > Freeipmi-users mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/freeipmi-users _______________________________________________ Freeipmi-users mailing list [email protected] https://lists.gnu.org/mailman/listinfo/freeipmi-users
