freeipmi-users
[Top][All Lists]
Advanced

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

[Freeipmi-users] Freeipmi problems on Intel SE7320SP2


From: ulrich
Subject: [Freeipmi-users] Freeipmi problems on Intel SE7320SP2
Date: Sun, 18 May 2008 14:10:23 +0200
User-agent: KMail/1.9.5

Hi,

I'm attempting to use freeipmi on 

Board: Intel SE7320sp2
BMC   Winbond (NS) PC87431 mBMC
Freeipmi 0.6.1 - Debug  running on Opensuse 10.2 (64-bit)

.... doesn't work correctly . Dose anyone know this issues?

accessing the BMC-Sensors with Intel CLI DPCPROXY / DPCCLI works for me, but 
isn't sufficient.....

BMC's USER and PASSWORD are both empty

please see different output from IPMI-SENSORS at  Address 0x42 / 0x84
and also have a look at  a possible 'explanation' ?? at the end of my posting



Any help would be greatly appreciated.

U. Schäfer

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
======================================================================================================
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

>> ipmi-locate

--snip-

Probing SSIF device using DMIDECODE... done
IPMI Version: 1.5
IPMI locate driver: DMIDECODE
IPMI interface: SSIF
BMC driver device: /dev/i2c-0
BMC SMBUS slave address: 0x42
Register spacing: 1

Probing SSIF device using SMBIOS... done
IPMI Version: 1.5
IPMI locate driver: SMBIOS
IPMI interface: SSIF
BMC driver device: /dev/i2c-0
BMC SMBUS slave address: 0x84
Register spacing: 1

--snip--

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
======================================================================================================
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


>>ipmi-sensors  --driver-device /dev/i2c-0 --driver-address=0x42 --debug

ipmi-locate-dmidecode.c: 513: _ipmi_locate_dmidecode_get_device_info: errno  
(0), error internal system error (6)
ipmi-locate-smbios.c: 384: _copy_ipmi_dev_info: errno  (0), error internal 
system error (6)
ipmi-locate-pci.c: 228: _ipmi_locate_pci_get_device_info: errno  (0), error 
internal system error (6)
ipmi-locate.c: 103: _ipmi_locate_get_device_info: errno  (0), error internal 
system error (6)
ipmi-locate.c: 98: _ipmi_locate_get_device_info: errno  (0), error success (0)
ipmi-locate.c: 98: _ipmi_locate_get_device_info: errno  (0), error success (0)
ipmi-sdr-cache-read.c: 90: ipmi_sdr_cache_open: errno  (2), error SDR cache 
does not exist (16)
Caching SDR repository information: 
/root/.freeipmi/sdr-cache/sdr-cache-server.localhost
=====================================================
Get SDR Repository Info Request
=====================================================
[              20h] = cmd[ 8b]
ipmi-ssif-driver.c: 173: _ipmi_i2c_smbus_access: errno  (1)
ipmi-ssif-driver.c: 583: ipmi_ssif_read: errno  (1), error permission denied (4)
ipmi-ssif-driver-api.c: 98: ipmi_ssif_cmd_api: errno  (1), error permission 
denied (4)
=====================================================
Get SDR Repository Info Response
=====================================================
ipmi-sdr-cache-common.c: 92: ipmi_sdr_cache_info: errno  (1), error internal 
IPMI error (21)
ipmi_sdr_cache_create: internal IPMI error


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
======================================================================================================
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

>> ipmi-sensors  --driver-device /dev/i2c-0 --driver-address=0x84 --debug

ipmi-locate-dmidecode.c: 513: _ipmi_locate_dmidecode_get_device_info: errno  
(0), error internal system error (6)
ipmi-locate-smbios.c: 384: _copy_ipmi_dev_info: errno  (0), error internal 
system error (6)
ipmi-locate-pci.c: 228: _ipmi_locate_pci_get_device_info: errno  (0), error 
internal system error (6)
ipmi-locate.c: 103: _ipmi_locate_get_device_info: errno  (0), error internal 
system error (6)
ipmi-locate.c: 98: _ipmi_locate_get_device_info: errno  (0), error success (0)
ipmi-locate.c: 98: _ipmi_locate_get_device_info: errno  (0), error success (0)
ipmi-ssif-driver.c: 513: ipmi_ssif_ctx_io_init: errno  (22), error internal 
error (12)
ipmi-api.c: 634: ipmi_ctx_open_inband: errno  (22), error internal error (12)
ipmi-sdr-cache-read.c: 90: ipmi_sdr_cache_open: errno  (2), error SDR cache 
does not exist (16)
Caching SDR repository information: 
/root/.freeipmi/sdr-cache/sdr-cache-server.localhost
=====================================================
Get SDR Repository Info Request
=====================================================
[              20h] = cmd[ 8b]
=====================================================
Get SDR Repository Info Response
=====================================================
[              E8h] = cmd[ 8b]
[              2Ch] = comp_code[ 8b]
[               6h] = sdr_version_major[ 4b]
[               0h] = sdr_version_minor[ 4b]
[            8B1Fh] = record_count[16b]
[            58F7h] = free_space[16b]
[        561E5F07h] = most_recent_addition_timestamp[32b]
[        1C75FF26h] = most_recent_erase_timestamp[32b]
[               0h] = get_sdr_repository_allocation_info_command_supported[ 1b]
[               1h] = reserve_sdr_repository_command_supported[ 1b]
[               1h] = partial_add_sdr_command_supported[ 1b]
[               0h] = delete_sdr_command_supported[ 1b]
[               0h] = reserved[ 1b]
[               1h] = 
modal_non_modal_sdr_repository_update_operation_supported[ 2b]
[               0h] = overflow_flag[ 1b]
ipmi-sdr-repository-cmds-api.c: 63: ipmi_cmd_get_sdr_repository_info: errno  
(2), error Device specific (OEM) completion code 2Ch. (0)
ipmi-sdr-cache-common.c: 92: ipmi_sdr_cache_info: errno  (2), error internal 
IPMI error (21)
ipmi_sdr_cache_create: internal IPMI error

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
======================================================================================================
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

>> bmc-info  --driver-device /dev/i2c-0 --driver-address=0x42 --debug

ipmi-locate-dmidecode.c: 513: _ipmi_locate_dmidecode_get_device_info: errno  
(0), error internal system error (6)
ipmi-locate-smbios.c: 384: _copy_ipmi_dev_info: errno  (0), error internal 
system error (6)
ipmi-locate-pci.c: 228: _ipmi_locate_pci_get_device_info: errno  (0), error 
internal system error (6)
ipmi-locate.c: 103: _ipmi_locate_get_device_info: errno  (0), error internal 
system error (6)
ipmi-locate.c: 98: _ipmi_locate_get_device_info: errno  (0), error success (0)
ipmi-locate.c: 98: _ipmi_locate_get_device_info: errno  (0), error success (0)
=====================================================
Get Device ID Request
=====================================================
[               1h] = cmd[ 8b]
=====================================================
Get Device ID Response
=====================================================
[               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]
[             322h] = manufacturer_id.id[20b]
[               0h] = manufacturer_id.reserved1[ 4b]
[            4311h] = product_id[16b]
Device ID:         20
Device Revision:   1
                   [SDR Support]
Firmware Revision: 2.40
                   [Device Available (normal operation)]
IPMI Version:      1.5
Additional Device Support:
                   [Sensor Device]
                   [SDR Repository Device]
                   [SEL Device]
                   [FRU Inventory Device]
                   [IPMB Event Receiver]
                   [Chassis Device]
Manufacturer ID:   322h
Product ID:        4311h
Aux Firmware Revision Info: 0h
=====================================================
Get Channel Info Command Request
=====================================================
[              42h] = cmd[ 8b]
[               0h] = channel_number[ 4b]
[               0h] = reserved[ 4b]
ipmi-ssif-driver.c: 173: _ipmi_i2c_smbus_access: errno  (1)
ipmi-ssif-driver.c: 583: ipmi_ssif_read: errno  (1), error permission denied (4)
ipmi-ssif-driver-api.c: 98: ipmi_ssif_cmd_api: errno  (1), error permission 
denied (4)
=====================================================
Get Channel Info Command Response
=====================================================
=====================================================
Get Channel Info Command Request
=====================================================
[              42h] = cmd[ 8b]
[               1h] = channel_number[ 4b]
[               0h] = reserved[ 4b]
=====================================================
Get Channel Info Command Response
=====================================================
[              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]
[             322h] = vendor_id[24b]
[               0h] = auxiliary_channel_info[16b]
=====================================================
Get Channel Info Command Request
=====================================================
[              42h] = cmd[ 8b]
[               2h] = channel_number[ 4b]
[               0h] = reserved[ 4b]
=====================================================
Get Channel Info Command Response
=====================================================
[              42h] = cmd[ 8b]
[               0h] = comp_code[ 8b]
[               2h] = actual_channel_number[ 4b]
[               0h] = actual_channel_number.reserved[ 4b]
[               Ch] = channel_medium_type[ 7b]
[               0h] = channel_medium_type.reserved[ 1b]
[               4h] = channel_protocol_type[ 5b]
[               0h] = channel_protocol_type.reserved[ 3b]
[               1h] = active_session_count[ 6b]
[               0h] = session_support[ 2b]
[             322h] = vendor_id[24b]
[               0h] = auxiliary_channel_info[16b]
=====================================================
Get Channel Info Command Request
=====================================================
[              42h] = cmd[ 8b]
[               3h] = channel_number[ 4b]
[               0h] = reserved[ 4b]
=====================================================
Get Channel Info Command Response
=====================================================
[              42h] = cmd[ 8b]
[              C9h] = comp_code[ 8b]
[               2h] = actual_channel_number[ 4b]
[               0h] = actual_channel_number.reserved[ 4b]
[               Ch] = channel_medium_type[ 7b]
[               0h] = channel_medium_type.reserved[ 1b]
[               4h] = channel_protocol_type[ 5b]
[               0h] = channel_protocol_type.reserved[ 3b]
[               1h] = active_session_count[ 6b]
[               0h] = session_support[ 2b]
[             322h] = vendor_id[24b]
[               0h] = auxiliary_channel_info[16b]
ipmi-messaging-support-cmds-api.c: 381: ipmi_cmd_get_channel_info: errno  (1), 
error 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. (0)
=====================================================
Get Channel Info Command Request
=====================================================
[              42h] = cmd[ 8b]
[               4h] = channel_number[ 4b]
[               0h] = reserved[ 4b]
=====================================================
Get Channel Info Command Response
=====================================================
[              42h] = cmd[ 8b]
[              C9h] = comp_code[ 8b]
[               2h] = actual_channel_number[ 4b]
[               0h] = actual_channel_number.reserved[ 4b]
[               Ch] = channel_medium_type[ 7b]
[               0h] = channel_medium_type.reserved[ 1b]
[               4h] = channel_protocol_type[ 5b]
[               0h] = channel_protocol_type.reserved[ 3b]
[               1h] = active_session_count[ 6b]
[               0h] = session_support[ 2b]
[             322h] = vendor_id[24b]
[               0h] = auxiliary_channel_info[16b]
ipmi-messaging-support-cmds-api.c: 381: ipmi_cmd_get_channel_info: errno  (1), 
error 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. (0)
=====================================================
Get Channel Info Command Request
=====================================================
[              42h] = cmd[ 8b]
[               5h] = channel_number[ 4b]
[               0h] = reserved[ 4b]
ipmi-ssif-driver.c: 173: _ipmi_i2c_smbus_access: errno  (1)
ipmi-ssif-driver.c: 549: ipmi_ssif_write: errno  (1), error permission denied 
(4)
ipmi-ssif-driver-api.c: 79: ipmi_ssif_cmd_api: errno  (1), error permission 
denied (4)
=====================================================
Get Channel Info Command Response
=====================================================
[              42h] = cmd[ 8b]
[              C9h] = comp_code[ 8b]
[               2h] = actual_channel_number[ 4b]
[               0h] = actual_channel_number.reserved[ 4b]
[               Ch] = channel_medium_type[ 7b]
[               0h] = channel_medium_type.reserved[ 1b]
[               4h] = channel_protocol_type[ 5b]
[               0h] = channel_protocol_type.reserved[ 3b]
[               1h] = active_session_count[ 6b]
[               0h] = session_support[ 2b]
[             322h] = vendor_id[24b]
[               0h] = auxiliary_channel_info[16b]
=====================================================
Get Channel Info Command Request
=====================================================
[              42h] = cmd[ 8b]
[               6h] = channel_number[ 4b]
[               0h] = reserved[ 4b]
=====================================================
Get Channel Info Command Response
=====================================================
[              42h] = cmd[ 8b]
[              C9h] = comp_code[ 8b]
[               2h] = actual_channel_number[ 4b]
[               0h] = actual_channel_number.reserved[ 4b]
[               Ch] = channel_medium_type[ 7b]
[               0h] = channel_medium_type.reserved[ 1b]
[               4h] = channel_protocol_type[ 5b]
[               0h] = channel_protocol_type.reserved[ 3b]
[               1h] = active_session_count[ 6b]
[               0h] = session_support[ 2b]
[             322h] = vendor_id[24b]
[               0h] = auxiliary_channel_info[16b]
ipmi-messaging-support-cmds-api.c: 381: ipmi_cmd_get_channel_info: errno  (1), 
error 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. (0)
=====================================================
Get Channel Info Command Request
=====================================================
[              42h] = cmd[ 8b]
[               7h] = channel_number[ 4b]
[               0h] = reserved[ 4b]
=====================================================
Get Channel Info Command Response
=====================================================
[              42h] = cmd[ 8b]
[              C9h] = comp_code[ 8b]
[               2h] = actual_channel_number[ 4b]
[               0h] = actual_channel_number.reserved[ 4b]
[               Ch] = channel_medium_type[ 7b]
[               0h] = channel_medium_type.reserved[ 1b]
[               4h] = channel_protocol_type[ 5b]
[               0h] = channel_protocol_type.reserved[ 3b]
[               1h] = active_session_count[ 6b]
[               0h] = session_support[ 2b]
[             322h] = vendor_id[24b]
[               0h] = auxiliary_channel_info[16b]
ipmi-messaging-support-cmds-api.c: 381: ipmi_cmd_get_channel_info: errno  (1), 
error 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. (0)
Channel Information:
       Channel No: 1
      Medium Type: 802.3 LAN
    Protocol Type: IPMB-1.0
       Channel No: 2
      Medium Type: System Interface (KCS, SMIC, or BT)
    Protocol Type: IPMI-SMBus

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
======================================================================================================
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

May this lead to any conclusions ??????

-snip-

from OPENIPMI mailing list


On the SE7520JR2/SE7320SP2 running AMIBIOS8, the National Semiconductor/Winbond

PC 87431 (mBMC) is located at I2C slave address 0x42.

AMIBIOS8 is SMBIOS compatible. To determine the IPMI BMC I2C slave
address, examine the SMBIOS table. The algorithm is:

1) Read a DWORD at every 16-byte boundary from 0xF0000 to 0xFFFF0
searching for the value 0x5F4D535F ("_SM_" in little-endian). The
address where you find this value is called the SMBIOS entry point.

2) You will find the pointer to the SMBIOS structure table in the DWORD
at offset 0x18 past the SMBIOS entry point. You can get the length of
the SMBIOS structure table in the WORD at offset 0x16 past the SMBIOS
entry point. A count of the number of SMBIOS structures is in the WORD
at offset 0x1C past the SMBIOS entry point.

3) The SMBIOS structures are contiguous in memory, starting at the
SMBIOS structure table pointer. Every SMBIOS structure begins with a
"type" BYTE at offset 0 and a "length" BYTE at offset 1. Look for table
type 0x26, which contains the IPMI device information. When you
encounter the incorrect table type, add the length to the address of the
beginning of the current table to find the start of the next table.

4) The BYTE at offset 0x6 within the SMBIOS type 0x26 table is the I2C
read address. It usually contains the value 0x84. As is typical for I2C
slave addresses, it is shifted left one bit to accommodate the
read/write flag at bit 0. The I2C drivers shift this bit out, which is
how we arrive at slave address 0x42.

Legend
------
DWORD=32 bits
WORD=16 bits
BYTE=8 bits





reply via email to

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