On 02/04/2010 09:06 PM, Corey Minyard wrote: > Jan Safranek wrote: >> On 02/04/2010 03:41 PM, Corey Minyard wrote: >>> IIRC, the address in question is 0xc2, and the from below the address of >>> the local card is 0xc2. So if the SDR has the wrong address, it's not >>> going to work. >> >> It could work if ipmitool knows the local address. My question is, how >> to get it from /dev/ipmi? Both IPMICTL_GET_MY_ADDRESS_CMD and >> IPMICTL_GET_MY_CHANNEL_ADDRESS_CMD (with channel 0xf) return 0x20. I >> want 0xc2... Do I really have to parse /dev/ipmi/*/params? > You need to use channel 0, not channel 0xf. a slave address is > meaningless with channel 0xf. I just tested it and it works fine for me > with IPMICTL_GET_MY_ADDRESS_CMD and IPMICTL_GET_MY_CHANNEL_ADDRESS with > channel 0.
IPMICTL_GET_MY_CHANNEL_ADDRESS_CMD with channel 0 returns 0, not 0xc2 :(. For various channels I get the same values as in /proc/ipmi/0/ipmb: 0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Any idea what can be wrong/how to debug it? Can it be a bug in kernel? Thanks in advance! Jan ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel