On 03/17/2014 03:53 PM, Alun Evans wrote: > Hello, > > I was going over "A Gentle Introduction with OpenIPMI", unfortunately the > section I was really after was the Direct i2c access :) > > I was wondering if anyone had any experience in this area?
I've had a little. It's generally not that useful except for some very specific instances. > > Looking at the i2c 7-bit addressing scheme, it seems that the 3-bit select > addresses allow up to 8 slave devices of the following types and base i2c > addresses: > > o Temperature sensor (0x18) > o EEPROM memory (0x50) > o LRDIMM Buffer (0x58) > > Using "ipmitool sensor" and Supermicro's "ipmicfg -nm cpumemtemp", I'm able > to dump the temperature of the DIMMs, meaning 0x18 must be connected on both > DIMMs. The idea of IPMI is that the BMC handles reading these values for you. The sensors should be available as IPMI sensors and the EEPROM memory should be available as FRU data. You shouldn't have to use the direct interface; it would be odd if there were sensors out there that were not managed by the BMC, and EEPROM memory that wasn't available through a FRU interface. > > I've been trying to get the same working via the openipmicmd's ipmb interface. The IPMB interface is something completely different. That's for accessing other BMCs on the I2C bus. > > I've hacked up my own ipmi_devintf with some printk's to see the > transactions, but I'm not sure that is helping me so much. > > Being able to at least dump out the EEPROM would be great, but I'm really > looking to get to the LRDIMM buffer for some system diagnostic and debug > support. > > > any pointers gratefully received. Hopefully you don't need the I2C access. It's a pain to use and IPMI should abstract that for you. -corey ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
