Hey Holger, I just had this thought. It might be good to add another option to ipmi-sel like "--output-vendor-event-string" or something like that. (It would follow through with another formatting option in the sel-parse library.) I just remembered another vendor who has a 'get-sel-entry-long-text' equivalent OEM extension. We could still support the --interpret-oem-data, but you would get different output based on what the user specifies. For example, let's say this is the default output;
System Firmware Progress ; OEM Event Data2 = 0x08 ; OEM Event Data3 = 0x11 If you specify --interpret-oem-data, you would get System Firmware Progress ; Fujitsu Magic Hardware Error Message If you specify --output-vendor-event-string, you would instead get CRITICAL CSS Component - Fujitsu Magic Hardware Error Message Thoughts?? Al On Fri, 2010-08-20 at 05:20 -0700, Liebig, Holger wrote: > > > One problem is, that this OEM command requires admin privilege, which > > > would have to be specified on the command line with -l admin. > > > > That is annoying. We could up the default privilege to admin, but my > > general attitude is to max the privilege level at whatever is necessary > > for the tool. Since this is an OEM extension thing, it's a little > > different. Perhaps we could document it and if you run w/ > > --interpret-oem-data, output an error if user isn't specifying atleast > > admin privilege??? Not entirely sure at this point, we'll ponder this a > > bit more. > [Liebig, Holger] > At least some hint to the user would be nice. Since completion code 0xD4 is > returned (insufficient Privilege), this could be potentially in lined into > the output > > I'm also working on integration of Fujitsu specific OEM sensor information > into freeipmi, at least this would show some better information for the SEL > than today when running without -l admin but with --interpret-oem-data. > > Holger -- Albert Chu [email protected] Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory _______________________________________________ Freeipmi-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/freeipmi-devel
