freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-users] problem with freeipmi 0.5.3 and intel SE7221BK1-E


From: Al Chu
Subject: Re: [Freeipmi-users] problem with freeipmi 0.5.3 and intel SE7221BK1-E
Date: Wed, 23 Jan 2008 09:34:43 -0800

Hey Chris,

Well, its very evident that a lot of stuff does work.  Lets try this
one:

ipmi-raw --no-probing -D SSIF --driver-address=0x42 --driver-
device=/dev/i2c-0 --register-spacing=1 --debug 0x0 0x04 0x2D 0x1

ipmi-raw --no-probing -D SSIF --driver-address=0x42 --driver-
device=/dev/i2c-0 --register-spacing=1 --debug 0x1 0x04 0x2D 0x1

ipmi-raw --no-probing -D SSIF --driver-address=0x42 --driver-
device=/dev/i2c-0 --register-spacing=1 --debug 0x2 0x04 0x2D 0x1

ipmi-raw --no-probing -D SSIF --driver-address=0x42 --driver-
device=/dev/i2c-0 --register-spacing=1 --debug 0x3 0x04 0x2D 0x1

(On the above, alter the last number (0x1) a few up and down to see if
you get different results if the output looks strange originally).

then

ipmi-raw --no-probing -D SSIF --driver-address=0x42 --driver-
device=/dev/i2c-0 --register-spacing=1 --debug 0x0 0x0A 0x20

ipmi-raw --no-probing -D SSIF --driver-address=0x42 --driver-
device=/dev/i2c-0 --register-spacing=1 --debug 0x1 0x0A 0x20

ipmi-raw --no-probing -D SSIF --driver-address=0x42 --driver-
device=/dev/i2c-0 --register-spacing=1 --debug 0x2 0x0A 0x20

ipmi-raw --no-probing -D SSIF --driver-address=0x42 --driver-
device=/dev/i2c-0 --register-spacing=1 --debug 0x3 0x0A 0x20

The above are the hex commands to get a sensor reading on different
logical units and get SDR info on different logical units.  My guess is
that the SDR/sensor info may be on a different LUN, which is why the
other commands aren't working by default.  That's just a guess at this
point :|

Al

On Tue, 2008-01-22 at 21:05 -0500, Chris Morgan wrote:
> Sorry about that. Didn't realize you wanted all of the device options
> in there. Here is the output in its own mail so its clearer:
> 
> address@hidden:~# bmc-config --list --no-probing -D SSIF
> --driver-address=0x42 --driver-device=/dev/i2c-0 --register-spacing=1
> --debug
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               1h] = cmd[ 8b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               1h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [              20h] = device_id[ 8b]
> [               1h] = device_revision.revision[ 4b]
> [               0h] = device_revision.reserved1[ 3b]
> [               1h] = device_revision.sdr_support[ 1b]
> [               2h] = firmware_revision1.major_revision[ 7b]
> [               0h] = firmware_revision1.device_available[ 1b]
> [              40h] = firmware_revision2.minor_revision[ 8b]
> [               1h] = ipmi_version.ms_bits[ 4b]
> [               5h] = ipmi_version.ls_bits[ 4b]
> [               1h] = additional_device_support.sensor_device[ 1b]
> [               1h] = additional_device_support.sdr_repository_device[ 1b]
> [               1h] = additional_device_support.sel_device[ 1b]
> [               1h] = additional_device_support.fru_inventory_device[ 1b]
> [               1h] = additional_device_support.ipmb_event_receiver[ 1b]
> [               0h] = additional_device_support.ipmb_event_generator[ 1b]
> [               0h] = additional_device_support.bridge[ 1b]
> [               1h] = additional_device_support.chassis_device[ 1b]
> [             157h] = manufacturer_id.id[20b]
> [               0h] = manufacturer_id.reserved1[ 4b]
> [            4311h] = product_id[16b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              42h] = cmd[ 8b]
> [               0h] = channel_number[ 4b]
> [               0h] = reserved[ 4b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              42h] = cmd[ 8b]
> [              C9h] = comp_code[ 8b]
> ================================================================
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi-messaging-support-cmds-udm.c: 383: ipmi_cmd_get_channel_info:
> errmsg = Parameter out of range. One or more parameters in the data
> field of the Request are out of range. This is different from
> 'Invalid data field' (CCh) code in that it indicates that the
> erroneous field(s) has a contiguous range of possible values.
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              42h] = cmd[ 8b]
> [               1h] = channel_number[ 4b]
> [               0h] = reserved[ 4b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              42h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [               1h] = actual_channel_number[ 4b]
> [               0h] = actual_channel_number.reserved[ 4b]
> [               4h] = channel_medium_type[ 7b]
> [               0h] = channel_medium_type.reserved[ 1b]
> [               1h] = channel_protocol_type[ 5b]
> [               0h] = channel_protocol_type.reserved[ 3b]
> [               0h] = active_session_count[ 6b]
> [               2h] = session_support[ 2b]
> [             157h] = vendor_id[24b]
> [               0h] = auxiliary_channel_info[16b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              44h] = cmd[ 8b]
> [               1h] = channel_number[ 4b]
> [               0h] = reserved1[ 4b]
> [               1h] = user_id[ 6b]
> [               0h] = reserved2[ 2b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              44h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [               1h] = max_channel_user_ids[ 6b]
> [               0h] = reserved1[ 2b]
> [               1h] = current_channel_user_ids[ 6b]
> [               0h] = user_id_enable_status[ 2b]
> [               1h] = current_channel_fixed_names[ 6b]
> [               0h] = reserved2[ 2b]
> [               4h] = user_privilege_level_limit[ 4b]
> [               1h] = user_ipmi_messaging[ 1b]
> [               1h] = user_link_authentication[ 1b]
> [               0h] = user_restricted_to_callback[ 1b]
> [               0h] = reserved3[ 1b]
> ================================================================
> User1
> Lan_Channel
> Lan_Conf
> Lan_Conf_Auth
> Lan_Conf_Security_Keys
> Lan_Conf_Misc
> Rmcpplus_Conf_Privilege
> Serial_Channel
> Serial_Conf
> SOL_Conf
> Misc
> 
> 
> 
> 
> address@hidden:~# pef-config --list --no-probing -D SSIF
> --driver-address=0x42 --driver-device=/dev/i2c-0 --register-spacing=1
> --debug
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               1h] = cmd[ 8b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               1h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [              20h] = device_id[ 8b]
> [               1h] = device_revision.revision[ 4b]
> [               0h] = device_revision.reserved1[ 3b]
> [               1h] = device_revision.sdr_support[ 1b]
> [               2h] = firmware_revision1.major_revision[ 7b]
> [               0h] = firmware_revision1.device_available[ 1b]
> [              40h] = firmware_revision2.minor_revision[ 8b]
> [               1h] = ipmi_version.ms_bits[ 4b]
> [               5h] = ipmi_version.ls_bits[ 4b]
> [               1h] = additional_device_support.sensor_device[ 1b]
> [               1h] = additional_device_support.sdr_repository_device[ 1b]
> [               1h] = additional_device_support.sel_device[ 1b]
> [               1h] = additional_device_support.fru_inventory_device[ 1b]
> [               1h] = additional_device_support.ipmb_event_receiver[ 1b]
> [               0h] = additional_device_support.ipmb_event_generator[ 1b]
> [               0h] = additional_device_support.bridge[ 1b]
> [               1h] = additional_device_support.chassis_device[ 1b]
> [             157h] = manufacturer_id.id[20b]
> [               0h] = manufacturer_id.reserved1[ 4b]
> [            4311h] = product_id[16b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              42h] = cmd[ 8b]
> [               0h] = channel_number[ 4b]
> [               0h] = reserved[ 4b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              42h] = cmd[ 8b]
> [              C9h] = comp_code[ 8b]
> ================================================================
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi_check_completion_code: completion code invalid: c9
> ipmi-messaging-support-cmds-udm.c: 383: ipmi_cmd_get_channel_info:
> errmsg = Parameter out of range. One or more parameters in the data
> field of the Request are out of range. This is different from
> 'Invalid data field' (CCh) code in that it indicates that the
> erroneous field(s) has a contiguous range of possible values.
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              42h] = cmd[ 8b]
> [               1h] = channel_number[ 4b]
> [               0h] = reserved[ 4b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              42h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [               1h] = actual_channel_number[ 4b]
> [               0h] = actual_channel_number.reserved[ 4b]
> [               4h] = channel_medium_type[ 7b]
> [               0h] = channel_medium_type.reserved[ 1b]
> [               1h] = channel_protocol_type[ 5b]
> [               0h] = channel_protocol_type.reserved[ 3b]
> [               0h] = active_session_count[ 6b]
> [               2h] = session_support[ 2b]
> [             157h] = vendor_id[24b]
> [               0h] = auxiliary_channel_info[16b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               2h] = cmd[ 8b]
> [               1h] = channel_number[ 4b]
> [               0h] = reserved1[ 3b]
> [               0h] = get_parameter[ 1b]
> [              11h] = parameter_selector[ 8b]
> [               0h] = set_selector[ 8b]
> [               0h] = block_selector[ 8b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               0h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [               0h] = present_revision[ 4b]
> [               0h] = oldest_revision_parameter[ 4b]
> [               0h] = number_of_lan_destinations[ 4b]
> [               0h] = reserved[ 4b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              13h] = cmd[ 8b]
> [               8h] = parameter_selector[ 7b]
> [               0h] = get_parameter[ 1b]
> [               0h] = set_selector[ 8b]
> [               0h] = block_selector[ 8b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              13h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [               1h] = present_revision[ 4b]
> [               1h] = oldest_revision_parameter[ 4b]
> [               1h] = number_of_alert_policy_entries[ 7b]
> [               0h] = reserved[ 1b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              13h] = cmd[ 8b]
> [               Bh] = parameter_selector[ 7b]
> [               0h] = get_parameter[ 1b]
> [               0h] = set_selector[ 8b]
> [               0h] = block_selector[ 8b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              13h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [               1h] = present_revision[ 4b]
> [               1h] = oldest_revision_parameter[ 4b]
> [               0h] = number_of_alert_strings[ 7b]
> [               0h] = reserved[ 1b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              13h] = cmd[ 8b]
> [               5h] = parameter_selector[ 7b]
> [               0h] = get_parameter[ 1b]
> [               0h] = set_selector[ 8b]
> [               0h] = block_selector[ 8b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [              13h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [               1h] = present_revision[ 4b]
> [               1h] = oldest_revision_parameter[ 4b]
> [              1Eh] = number_of_event_filters[ 7b]
> [               0h] = reserved[ 1b]
> ================================================================
> PEF_Conf
> Community_String
> Alert_Policy_1
> Event_Filter_1
> Event_Filter_2
> Event_Filter_3
> Event_Filter_4
> Event_Filter_5
> Event_Filter_6
> Event_Filter_7
> Event_Filter_8
> Event_Filter_9
> Event_Filter_10
> Event_Filter_11
> Event_Filter_12
> Event_Filter_13
> Event_Filter_14
> Event_Filter_15
> Event_Filter_16
> Event_Filter_17
> Event_Filter_18
> Event_Filter_19
> Event_Filter_20
> Event_Filter_21
> Event_Filter_22
> Event_Filter_23
> Event_Filter_24
> Event_Filter_25
> Event_Filter_26
> Event_Filter_27
> Event_Filter_28
> Event_Filter_29
> Event_Filter_30
> 
> 
> 
> 
> address@hidden:~# ipmi-chassis -c --no-probing -D SSIF
> --driver-address=0x42 --driver-device=/dev/i2c-0 --register-spacing=1
> --debug
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               0h] = cmd[ 8b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               0h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [               1h] = capabilities_flags.intrusion_sensor[ 1b]
> [               0h] = capabilities_flags.front_panel_lockout[ 1b]
> [               1h] = capabilities_flags.diagnostic_interrupt[ 1b]
> [               0h] = capabilities_flags.power_interlock[ 1b]
> [               0h] = capabilities_flags.reserved[ 4b]
> [              84h] = fru_info_device_address[ 8b]
> [              84h] = sdr_device_address[ 8b]
> [              84h] = sel_device_address[ 8b]
> [               0h] = system_management_device_address[ 8b]
> [               0h] = bridge_device_address[ 8b]
> ================================================================
> Intrusion Sensor           : Provided
> Front Panel Lockout        : Not Provided
> Diagnostic Interrupt       : Provided
> Power Interlock            : Not Provided
> FRU Info Device Address    : 84h
> SDR Device Address         : 84h
> SEL Device Address         : 84h
> Sys Mgmt Device Address    : 0h
> Bridge Device Address      : 0h
> 
> 
> 
> 
> address@hidden:~# ipmi-chassis -s --no-probing -D SSIF
> --driver-address=0x42 --driver-device=/dev/i2c-0 --register-spacing=1
> --debug
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               1h] = cmd[ 8b]
> ================================================================
> ================================================================
> [ VALUE               TAG NAME:LENGTH                          ]
> ================================================================
> [               1h] = cmd[ 8b]
> [               0h] = comp_code[ 8b]
> [               1h] = current_power_state.power_is_on[ 1b]
> [               0h] = current_power_state.power_overload[ 1b]
> [               0h] = current_power_state.interlock[ 1b]
> [               0h] = current_power_state.power_fault[ 1b]
> [               1h] = current_power_state.power_control_fault[ 1b]
> [               2h] = current_power_state.power_restore_policy[ 2b]
> [               0h] = current_power_state.reserved[ 1b]
> [               0h] = last_power_event.ac_failed[ 1b]
> [               0h] = last_power_event.power_down_caused_by_power_overload[ 
> 1b]
> [               0h] =
> last_power_event.power_down_caused_by_power_interlock_being_activated[
> 1b]
> [               1h] = last_power_event.power_down_caused_by_power_fault[ 1b]
> [               0h] = last_power_event.power_on_entered_via_ipmi[ 1b]
> [               0h] = last_power_event.reserved[ 3b]
> [               0h] = misc_chassis_state.chassis_intrusion_active[ 1b]
> [               0h] = misc_chassis_state.front_panel_lockout_active[ 1b]
> [               0h] = misc_chassis_state.drive_fault[ 1b]
> [               0h] = misc_chassis_state.cooling_fan_fault_detected[ 1b]
> [               0h] = misc_chassis_state.chassis_identify_state[ 2b]
> [               0h] =
> misc_chassis_state.chassis_identify_command_and_state_info_supported[
> 1b]
> [               0h] = misc_chassis_state.reserved[ 1b]
> ================================================================
> System Power               : on
> System Power Overload      : false
> Interlock switch           : Inactive
> Power fault detected       : false
> Power control fault        : true
> Power restore policy       : Always on
> Last Power Event           : power down due to power fault
> Misc Chassis status        :
> Front panel capabilities   :
> address@hidden:~#
> 
> 
> Chris
-- 
Albert Chu
address@hidden
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory




reply via email to

[Prev in Thread] Current Thread [Next in Thread]