Good evening,
I'm running 'hpitree' on a blade in an ATCA chassis using the ipmidirect
plugin and RMCP. I'm getting the following error at the point where it
finds the second of two Shelf FRU information modules (the first at IPMB
address 0x20, the second at 0x10):
hpitree: ../../../plugins/ipmidirect/ipmi_fru_info.cpp:156:
cIpmiFruInfo* cIpmiFruInfoContainer::NewFruInfo(unsigned int, unsigned
int, SaHpiEntityTypeT, unsigned int, tIpmiAtcaSiteType, unsigned int):
Assertion `fru_id == 0' failed.
I'm using v.2.0.4, which is bundled with MontaVista Linux 4.0. Here's
my openhpi.conf file:
plugin libipmidirect
handler libipmidirect {
entity_root = "{SYSTEM_CHASSIS,7}"
name = "lan" # RMCP
addr = "localhost" # ipaddress
addr = "111.11.11.111" # IP changed to protect the innocent :-)
# port = "623" # RMCP port
auth_type = "md2" # none, md2, md5 or straight
auth_level = "operator" # none, callback, user, operator or
admin
username = "root"
password = "thisisntreallymypassword"
logflags = "file stdout"
logfile = "log"
logfile_max = 10
}
The chassis has one physical shelf manager and five board slots, of
which four are populated, including this blade at 0x8a.
I'm trying to understand a little better how this plugin works. Why is
the code asserting fru_id == 0? That value designates an IPMC proper,
correct? Would the Shelf FRU information module have a different FRU
device ID?
Using raw IPMI through impish, I see a system-relative ShMC at (240.0)
and a device-relative ShMC at (0.16.240.0). This appears to be the one
it's polling when it fails (0x10=16d). Both ShMC records appear to have
associated records of type 'ATCA Shelf FRU) at (0.32.242.0) and
(0.16.242.0) respectively.
The last few entries in the 'hpitree' output are:
17:42:12.101 found ATCA Board at 0x8a.
17:42:12.101 >cmd 0x08 0c 0f 00 GetAddressInfo (05) 00 00 03 06 00
17:42:12.104 <rsp 0x08 0c 0f 00 GetAddressInfo (08) c9 00 01 86 ff
00 03 00
17:42:12.104 checking for Power Entry Module.
17:42:12.104 >cmd 0x09 0c 0f 00 GetAddressInfo (05) 00 00 03 01 01
17:42:12.108 <rsp 0x09 0c 0f 00 GetAddressInfo (08) c9 00 12 00 00
51 3d 98
17:42:12.108 checking for Shelf FRU Information.
17:42:12.108 >cmd 0x0a 0c 0f 00 GetAddressInfo (05) 00 00 03 01 02
17:42:12.111 <rsp 0x0a 0c 0f 00 GetAddressInfo (08) 00 00 10 20 ff
00 01 02
17:42:12.111 found Shelf FRU Information at 0x20.
17:42:12.111 >cmd 0x0b 0c 0f 00 GetAddressInfo (05) 00 00 03 02 02
17:42:12.114 <rsp 0x0b 0c 0f 00 GetAddressInfo (08) 00 00 08 10 ff
02 02 02
17:42:12.114 found Shelf FRU Information at 0x10.
Thanks,
Jason
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel