I'm testing the OpenIPMI library and noticed that when running the
example code in the documentation (IPMI – A Gentle Introduction with
OpenIPMI), there are errors reported in the 'stats' proc file. The
stats file output is listed below.

I built the code found in Appendix H Sample Program Showing Basic
Operations using:

gcc -c -I /gpl/openipmi/OpenIPMI/include testipmi.cpp

gcc testipmi.o -L/output/initramfs/lib -L/output/initramfs/usr/lib
-lOpenIPMI -lOpenIPMIutils -lOpenIPMIposix -lOpenIPMIpthread -lstdc++
-Wl,-rpath=/output/initramfs/usr/lib -o  testipmi

I executed the command on the server with:

./testipmi smi 0

The output from testipmi looked sane. I've listed that below, also.

I'm running on a Supermicro  superserver 6036st-6lr with the 3.4.60
Linux kernel. The BMC firmware version is 3.03 (very new), but I see
this error on older versions of the fw, as well.

I am curious if the sent_lan_command_errs and sent_ipmb_command_errs
are something to be worried about.

Thanks for your attention.

John Gehring


=====================================================

~ # cat /proc/ipmi/0/stats
sent_invalid_commands:       0
sent_local_commands:         449
handled_local_responses:     466
unhandled_local_responses:   0
sent_ipmb_commands:          174
sent_ipmb_command_errs:      171
retransmitted_ipmb_commands: 0
timed_out_ipmb_commands:     0
timed_out_ipmb_broadcasts:   1
sent_ipmb_responses:         0
handled_ipmb_responses:      0
invalid_ipmb_responses:      0
unhandled_ipmb_responses:    0
sent_lan_commands:           0
sent_lan_command_errs:       1
retransmitted_lan_commands:  0
timed_out_lan_commands:      0
sent_lan_responses:          0
handled_lan_responses:       0
invalid_lan_responses:       0
unhandled_lan_responses:     0
handled_commands:            0
invalid_commands:            0
unhandled_commands:          0
invalid_events:              0
events:                      0
failed rexmit LAN msgs:      0
failed rexmit IPMB msgs:     0

=====================================================

/mnt/boot # ./testipmi smi 0
ipmi_smi_setup_con: allocated os handler.
After ipmi_parse_args.
After ipmi_args_setup_con.
After ipmi_open_domain.
Entity added: 7.1
Sensor added: 7.1.P2_DIMM3A
Sensor added: 7.1.P2_DIMM2A
Sensor added: 7.1.P2_DIMM1A
Sensor added: 7.1.P1_DIMM3A
Sensor added: 7.1.P1_DIMM2A
Sensor added: 7.1.P1_DIMM1A
Entity added: 10.2
Sensor added: 10.2.PS Status 2
Entity added: 10.1
Sensor added: 10.1.PS Status 1
Entity added: 29.3
Sensor added: 29.3.Fan3
Entity added: 29.2
Sensor added: 29.2.Fan2
Entity added: 29.1
Sensor added: 29.1.Fan1
Sensor added: 7.1.+5VSB
Sensor added: 7.1.VBAT
Sensor added: 7.1.+3.3VSB
Sensor added: 7.1.+3.3V
Sensor added: 7.1.+1.5V
Entity added: 3.2
Sensor added: 3.2.CPU2DIMM
Entity added: 3.1
Sensor added: 3.1.CPU1DIMM
Sensor added: 7.1.+12V
Sensor added: 7.1.+5V
Sensor added: 3.2.CPU2 Vcore
Sensor added: 3.1.CPU1 Vcore
Sensor added: 7.1.System Temp
Sensor added: 3.2.CPU2 Temp
Sensor added: 3.1.CPU1 Temp
Entity added: 23.1
FRU added for: 7.1
FRU type: standard FRUtraverse_fru_node_tree
  internal_use_version: (integer) 1
  internal_use: (binary) 00 00 00 00 00 00 00
  board_info_version: (integer) 1
  board_info_lang_code: (integer) 25
  board_info_mfg_time: (integer) 820476000
  board_info_board_manufacturer: (ascii) "               "
  board_info_board_product_name: (ascii) "IPMI 2.0"
  board_info_board_serial_number: (ascii) "               "
  board_info_board_part_number: (ascii) "Winbond Hermon"
  board_info_fru_file_id: (ascii) ""
  board_info_custom: (array) 0
traverse_fru_node_tree
  product_info_version: (integer) 32
  product_info_lang_code: (integer) 192
  product_info_manufacturer_name: (binary) 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
  product_info_product_name: (binary) 00 00 00 00 00 00 00 00 00
  product_info_product_part_model_number: (binary) 00 00 00 00 00 00
00 00 00 00 00 00 00 00
  product_info_product_version: (binary) 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
  product_info_product_serial_number: (ascii) "               "
  product_info_asset_tag: (binary)
  product_info_fru_file_id: (ascii) ""
  product_info_custom: (array) 0
traverse_fru_node_tree
  fru_length: (integer) 512
  internal_use_offset: (integer) 8
  internal_use_length: (integer) 8
  chassis_info_offset: (integer) 0
  chassis_info_length: (integer) 0
  board_info_offset: (integer) 16
  board_info_length: (integer) 72
  product_info_offset: (integer) 88
  product_info_length: (integer) 80
  multi_record_offset: (integer) 0
  multi_record_length: (integer) 0

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to