Using ipmitool 1.8.9 (anf with the latest CVS patches), I get a 
segmentation fault with ipmitool sol info 1 on the Intel S5000PAL 
motherboards.

Has anyone seen this before ?

 It seems to be due to an unitialised payload port value

# ipmitool sol info 1
Info: SOL parameter 'Payload Channel (7)' not supported - defaulting to 0x01
Segmentation fault


Program received signal SIGSEGV, Segmentation fault.
0x0000000000410295 in ipmi_get_sol_info (intf=0x57bd20, channel=1 '\001',
    params=0x7fbfffefb0) at ipmi_sol.c:490
490                                     lprintf(LOG_ERR, "Info: SOL 
parameter '%s' not supported - defaulting to %d",
(gdb) bt
#0  0x0000000000410295 in ipmi_get_sol_info (intf=0x57bd20, channel=1 
'\001',
    params=0x7fbfffefb0) at ipmi_sol.c:490
#1  0x0000000000411dea in ipmi_sol_main (intf=0x57bd20, argc=2,
    argv=0x7fbffff198) at ipmi_sol.c:517
#2  0x000000000042e1a4 in ipmi_main (argc=4, argv=0x7fbffff188,
    cmdlist=0x568ae0, intflist=0x0) at ipmi_main.c:638
#3  0x00000000004042c0 in main (argc=Variable "argc" is not available.
) at ipmitool.c:120
(gdb)

Line 490nis

 lprintf(LOG_ERR, "Info: SOL parameter '%s' not supported - defaulting 
to %d",
                                    val2str(data[1], 
sol_parameter_vals), intf->session->port);

intf->session is NULL so it seg faults.



# ipmitool mc info
Device ID                 : 32
Device Revision           : 1
Firmware Revision         : 0.57
IPMI Version              : 2.0
Manufacturer ID           : 343
Manufacturer Name         : Intel Corporation
Product ID                : 40 (0x0028)
Device Available          : yes
Provides Device SDRs      : no
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    Chassis Device
Aux Firmware Rev Info     :
    0x0a
    0x44
    0x00
    0x03


# ipmitool fru print
FRU Device Description : Builtin FRU Device (ID 0)
 Chassis Type          : Rack Mount Chassis
 Chassis Extra         : SR1500
 Board Mfg             : Intel
 Board Product         : S5000PAL0
 Board Serial          : BZAU64100496
 Board Part Number     : D13607-801
 Product Manufacturer  : Intel
 Product Name          : S5000PAL
 Product Part Number   : ..........
 Product Serial        : 3741-0164

FRU Device Description : Power Dist.FRU (ID 4)
 Device not present (Timeout)

FRU Device Description : Pwr Supply 1 FRU (ID 2)
 Product Manufacturer  : DELTA
 Product Name          : TDPS-600AB A
 Product Part Number   : D23602-005
 Product Version       : 00F
 Product Serial        : AXYD0637013867
 Power Supply Record
  Capacity                   : 600 W
  Peak VA                    : 650 VA
  Inrush Current             : 60 A
  Inrush Interval            : 1 ms
  Input Voltage Range 1      : 90-140 V
  Input Voltage Range 2      : 180-264 V
  Input Frequency Range      : 47-63 Hz
  A/C Dropout Tolerance      : 20 ms
  Flags                      : 'Predictive fail' 'Power factor 
correction' 'Two pulses per rotation'
  Peak capacity              : 650 W
  Peak capacity holdup       : 12 s
  Combined capacity          : 100 W (5 V and 3.3 V)
  Fan lower threshold        : 33 RPS
 DC Output Record
  Output Number              : 1
  Standby power              : No
  Nominal voltage            : 3.30 V
  Max negative deviation     : 3.14 V
  Max positive deviation     : 3.46 V
  Ripple and noise pk-pk     : 50 mV
  Minimum current draw       : 1.500 A
  Maximum current draw       : 10.000 A
 DC Output Record
  Output Number              : 2
  Standby power              : No
  Nominal voltage            : 5.00 V
  Max negative deviation     : 4.75 V
  Max positive deviation     : 5.25 V
  Ripple and noise pk-pk     : 50 mV
  Minimum current draw       : 1.000 A
  Maximum current draw       : 20.000 A
 DC Output Record
  Output Number              : 3
  Standby power              : No
  Nominal voltage            : 12.00 V
  Max negative deviation     : 11.40 V
  Max positive deviation     : 12.60 V
  Ripple and noise pk-pk     : 120 mV
  Minimum current draw       : 0.500 A
  Maximum current draw       : 16.000 A
 DC Output Record
  Output Number              : 4
  Standby power              : No
  Nominal voltage            : -12.00 V
  Max negative deviation     : -13.08 V
  Max positive deviation     : -11.40 V
  Ripple and noise pk-pk     : 120 mV
  Minimum current draw       : 0.000 A
  Maximum current draw       : 0.500 A
 DC Output Record
  Output Number              : 5
  Standby power              : Yes
  Nominal voltage            : 5.00 V
  Max negative deviation     : 4.75 V
  Max positive deviation     : 5.25 V
  Ripple and noise pk-pk     : 50 mV
  Minimum current draw       : 0.100 A
  Maximum current draw       : 3.000 A

FRU Device Description : Pwr Supply 2 FRU (ID 3)
 Device not present (Timeout)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to