[Nut-upsuser] New NUT user with HP R3000XR problem

Brother Railgun of Reason alaric at caerllewys.net
Wed May 27 18:08:57 UTC 2009


[oops, forgot to copy list]

On Wed, May 27, 2009 at 06:04:40PM +0200, Kjell Claesson wrote:
> > On Tue, May 26, 2009 at 09:51:31PM -0400, Brother Railgun of Reason wrote:
> Hi,
> > > ups.conf looks like this:
> > >
> > > [tokamak]
> > >     driver      = bcmxcp
> > >     port        = /dev/tty00
> > >     baud_rate   = 19200
> > >     desc        = HP R3000XR (main rack)
> >
> > (Oops.  That's *after* changing to the 19200 rate the driver claims to
> > autodetect.)
> That sound strange. It should hit 19200 direct if it is in the config.
> And the HP R3000XR is communicating at 19200 default. That type
> is the reason the baud changing got into the driver.

Sorry, I confused the issue a little there.  I originally had 9600
specified.  It failed to connect at 9600, autodetected, and claimed sync
at 19200.  When I went back and pasted in the config section, I didn't
realize until too late that I'd pasted the config from *after* editing
to 19200 in before the stage of the process where I'd actually done so.

With the config indicating 19200, it locks immediately at 19200.  I just
don't get any UPS "signature" displayed on connection:

babylon4:root:/opt/nut:24 # bin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)
RS-232 communication subdriver 0.17
Connected to UPS on /dev/tty00 with baudrate 19200
babylon4:root:/opt/nut:25 # sbin/upsd
Network UPS Tools upsd 2.4.1
listening on 127.0.0.1 port 3493
listening on ::1 port 3493
/opt/nut/var is world readable
Connected to UPS [tokamak]: bcmxcp-tokamak
Maximum number of connections limited to 256 [requested 1024]
babylon4:root:/opt/nut:26 # bin/upsc tokamak at localhost
Error: Connection failure: Connection refused



> If it say it connect it is talking to the ups. But to be sure about that, you 
> may run it in debug mode, like this.
> 
> /path/to/bcmxcp -DD -a tokamak
> (stop it by hitting ctrl-c)
> 
> Now it would spit out some info. I'm interested in the output. There may
> be some problems how the HP is counting the load-segments.
> It depends on the version of the firmware in the ups.


That generates a lot of output with many repeats.  I've edited out most
of the repeats from the end of the following:

debug level is '2'
Connected to UPS on /dev/tty00 with baudrate 19200
Length of meter map: 82

Index   Offset  Format  NUT

0015    0000    61      None
0018    0004    61      input.current
0021    0008    61      None
0023    0012    61      ups.power
0027    0016    51      output.frequency
0028    0020    51      input.frequency
0031    0024    61      None
0033    0028    51      battery.voltage
0034    0032    51      battery.charge
0035    0036    e2      battery.runtime
0056    0040    61      input.voltage
0062    0044    61      ambient.temperature
0065    0048    61      output.current
0068    0052    61      output.current.nominal
0071    0056    61      None
0078    0060    61      output.voltage


Length of alarm map: 27

Index   Alarm   Supported

0000    INVERTER_AC_OVER_VOLTAGE        Yes
0001    INVERTER_AC_UNDER_VOLTAGE       Yes
-001    INVERTER_OVER_OR_UNDER_FREQ     No
-001    BYPASS_AC_OVER_VOLTAGE  No
-001    BYPASS_AC_UNDER_VOLTAGE No
-001    BYPASS_OVER_OR_UNDER_FREQ       No
0002    INPUT_AC_OVER_VOLTAGE   Yes
0003    INPUT_AC_UNDER_VOLTAGE  Yes
0004    INPUT_UNDER_OR_OVER_FREQ        Yes
-001    OUTPUT_OVER_VOLTAGE     No
-001    OUTPUT_UNDER_VOLTAGE    No
-001    OUTPUT_UNDER_OR_OVER_FREQ       No
0005    REMOTE_EMERGENCY_PWR_OFF        Yes
-001    REMOTE_GO_TO_BYPASS     No
-001    BUILDING_ALARM_6        No
-001    BUILDING_ALARM_5        No
-001    BUILDING_ALARM_4        No
-001    BUILDING_ALARM_3        No
-001    BUILDING_ALARM_2        No
-001    BUILDING_ALARM_1        No
-001    STATIC_SWITCH_OVER_TEMP No
-001    CHARGER_OVER_TEMP       No
-001    CHARGER_LOGIC_PWR_FAIL  No
-001    CHARGER_OVER_VOLTAGE_OR_CURRENT No
-001    INVERTER_OVER_TEMP      No
0006    OUTPUT_OVERLOAD Yes
0007    RECTIFIER_INPUT_OVER_CURRENT    Yes
0008    INVERTER_OUTPUT_OVER_CURRENT    Yes
0009    DC_LINK_OVER_VOLTAGE    Yes
-001    DC_LINK_UNDER_VOLTAGE   No
-001    RECTIFIER_FAILED        No
0010    INVERTER_FAULT  Yes
-001    BATTERY_CONNECTOR_FAIL  No
-001    BYPASS_BREAKER_FAIL     No
0011    CHARGER_FAIL    Yes
-001    RAMP_UP_FAILED  No
-001    STATIC_SWITCH_FAILED    No
-001    ANALOG_AD_REF_FAIL      No
-001    BYPASS_UNCALIBRATED     No
-001    RECTIFIER_UNCALIBRATED  No
-001    OUTPUT_UNCALIBRATED     No
-001    INVERTER_UNCALIBRATED   No
-001    DC_VOLT_UNCALIBRATED    No
-001    OUTPUT_CURRENT_UNCALIBRATED     No
-001    RECTIFIER_CURRENT_UNCALIBRATED  No
-001    BATTERY_CURRENT_UNCALIBRATED    No
-001    INVERTER_ON_OFF_STAT_FAIL       No
-001    BATTERY_CURRENT_LIMIT   No
-001    INVERTER_STARTUP_FAIL   No
-001    ANALOG_BOARD_AD_STAT_FAIL       No
-001    OUTPUT_CURRENT_OVER_100 No
-001    BATTERY_GROUND_FAULT    No
-001    WAITING_FOR_CHARGER_SYNC        No
-001    NV_RAM_FAIL     No
-001    ANALOG_BOARD_AD_TIMEOUT No
-001    SHUTDOWN_IMMINENT       No
0012    BATTERY_LOW     Yes
0013    UTILITY_FAIL    Yes
-001    OUTPUT_SHORT_CIRCUIT    No
0014    UTILITY_NOT_PRESENT     Yes
-001    FULL_TIME_CHARGING      No
-001    FAST_BYPASS_COMMAND     No
-001    AD_ERROR        No
-001    INTERNAL_COM_FAIL       No
-001    RECTIFIER_SELFTEST_FAIL No
-001    RECTIFIER_EEPROM_FAIL   No
-001    RECTIFIER_EPROM_FAIL    No
-001    INPUT_LINE_VOLTAGE_LOSS No
0015    BATTERY_DC_OVER_VOLTAGE Yes
-001    POWER_SUPPLY_OVER_TEMP  No
-001    POWER_SUPPLY_FAIL       No
-001    POWER_SUPPLY_5V_FAIL    No
-001    POWER_SUPPLY_12V_FAIL   No
0016    HEATSINK_OVER_TEMP      Yes
-001    HEATSINK_TEMP_SENSOR_FAIL       No
-001    RECTIFIER_CURRENT_OVER_125      No
-001    RECTIFIER_FAULT_INTERRUPT_FAIL  No
-001    RECTIFIER_POWER_CAPASITOR_FAIL  No
-001    INVERTER_PROGRAM_STACK_ERROR    No
0017    INVERTER_BOARD_SELFTEST_FAIL    Yes
-001    INVERTER_AD_SELFTEST_FAIL       No
-001    INVERTER_RAM_SELFTEST_FAIL      No
-001    NV_MEMORY_CHECKSUM_FAIL No
-001    PROGRAM_CHECKSUM_FAIL   No
-001    INVERTER_CPU_SELFTEST_FAIL      No
-001    NETWORK_NOT_RESPONDING  No
-001    FRONT_PANEL_SELFTEST_FAIL       No
-001    NODE_EEPROM_VERIFICATION_ERROR  No
-001    OUTPUT_AC_OVER_VOLT_TEST_FAIL   No
-001    OUTPUT_DC_OVER_VOLTAGE  No
-001    INPUT_PHASE_ROTATION_ERROR      No
-001    INVERTER_RAMP_UP_TEST_FAILED    No
-001    INVERTER_OFF_COMMAND    No
-001    INVERTER_ON_COMMAND     No
-001    TO_BYPASS_COMMAND       No
-001    FROM_BYPASS_COMMAND     No
-001    AUTO_MODE_COMMAND       No
-001    EMERGENCY_SHUTDOWN_COMMAND      No
-001    SETUP_SWITCH_OPEN       No
-001    INVERTER_OVER_VOLT_INT  No
-001    INVERTER_UNDER_VOLT_INT No
-001    ABSOLUTE_DCOV_ACOV      No
-001    PHASE_A_CURRENT_LIMIT   No
-001    PHASE_B_CURRENT_LIMIT   No
-001    PHASE_C_CURRENT_LIMIT   No
0018    BYPASS_NOT_AVAILABLE    Yes
-001    RECTIFIER_BREAKER_OPEN  No
-001    BATTERY_CONTACTOR_OPEN  No
-001    INVERTER_CONTACTOR_OPEN No
-001    BYPASS_BREAKER_OPEN     No
-001    INV_BOARD_ACOV_INT_TEST_FAIL    No
-001    INVERTER_OVER_TEMP_TRIP No
-001    INV_BOARD_ACUV_INT_TEST_FAIL    No
-001    INVERTER_VOLTAGE_FEEDBACK_ERROR No
-001    DC_UNDER_VOLTAGE_TIMEOUT        No
-001    AC_UNDER_VOLTAGE_TIMEOUT        No
-001    DC_UNDER_VOLTAGE_WHILE_CHARGE   No
-001    INVERTER_VOLTAGE_BIAS_ERROR     No
-001    RECTIFIER_PHASE_ROTATION        No
-001    BYPASS_PHASER_ROTATION  No
-001    SYSTEM_INTERFACE_BOARD_FAIL     No
-001    PARALLEL_BOARD_FAIL     No
-001    LOST_LOAD_SHARING_PHASE_A       No
-001    LOST_LOAD_SHARING_PHASE_B       No
-001    LOST_LOAD_SHARING_PHASE_C       No
-001    DC_OVER_VOLTAGE_TIMEOUT No
0019    BATTERY_TOTALLY_DISCHARGED      Yes
-001    INVERTER_PHASE_BIAS_ERROR       No
-001    INVERTER_VOLTAGE_BIAS_ERROR_2   No
-001    DC_LINK_BLEED_COMPLETE  No
-001    LARGE_CHARGER_INPUT_CURRENT     No
-001    INV_VOLT_TOO_LOW_FOR_RAMP_LEVEL No
-001    LOSS_OF_REDUNDANCY      No
-001    LOSS_OF_SYNC_BUS        No
-001    RECTIFIER_BREAKER_SHUNT_TRIP    No
-001    LOSS_OF_CHARGER_SYNC    No
-001    INVERTER_LOW_LEVEL_TEST_TIMEOUT No
-001    OUTPUT_BREAKER_OPEN     No
-001    CONTROL_POWER_ON        No
-001    INVERTER_ON     No
-001    CHARGER_ON      No
-001    BYPASS_ON       No
-001    BYPASS_POWER_LOSS       No
-001    ON_MANUAL_BYPASS        No
-001    BYPASS_MANUAL_TURN_OFF  No
-001    INVERTER_BLEEDING_DC_LINK_VOLT  No
-001    CPU_ISR_ERROR   No
-001    SYSTEM_ISR_RESTART      No
-001    PARALLEL_DC     No
-001    BATTERY_NEEDS_SERVICE   No
-001    BATTERY_CHARGING        No
-001    BATTERY_NOT_CHARGED     No
-001    DISABLED_BATTERY_TIME   No
-001    SERIES_7000_ENABLE      No
-001    OTHER_UPS_ON    No
-001    PARALLEL_INVERTER       No
-001    UPS_IN_PARALLEL No
-001    OUTPUT_BREAKER_REALY_FAIL       No
-001    CONTROL_POWER_OFF       No
-001    LEVEL_2_OVERLOAD_PHASE_A        No
-001    LEVEL_2_OVERLOAD_PHASE_B        No
-001    LEVEL_2_OVERLOAD_PHASE_C        No
-001    LEVEL_3_OVERLOAD_PHASE_A        No
-001    LEVEL_3_OVERLOAD_PHASE_B        No
-001    LEVEL_3_OVERLOAD_PHASE_C        No
-001    LEVEL_4_OVERLOAD_PHASE_A        No
-001    LEVEL_4_OVERLOAD_PHASE_B        No
-001    LEVEL_4_OVERLOAD_PHASE_C        No
0020    UPS_ON_BATTERY  Yes
0021    UPS_ON_BYPASS   Yes
0022    LOAD_DUMPED     Yes
-001    LOAD_ON_INVERTER        No
-001    UPS_ON_COMMAND  No
-001    UPS_OFF_COMMAND No
0023    LOW_BATTERY_SHUTDOWN    Yes
-001    AUTO_ON_ENABLED No
-001    SOFTWARE_INCOMPABILITY_DETECTED No
-001    INVERTER_TEMP_SENSOR_FAILED     No
0024    DC_START_OCCURED        Yes
-001    IN_PARALLEL_OPERATION   No
-001    SYNCING_TO_BYPASS       No
-001    RAMPING_UPS_UP  No
-001    INVERTER_ON_DELAY       No
-001    CHARGER_ON_DELAY        No
-001    WAITING_FOR_UTIL_INPUT  No
-001    CLOSE_BYPASS_BREAKER    No
-001    TEMPORARY_BYPASS_OPERATION      No
-001    SYNCING_TO_OUTPUT       No
-001    BYPASS_FAILURE  No
-001    AUTO_OFF_COMMAND_EXECUTED       No
-001    AUTO_ON_COMMAND_EXECUTED        No
0025    BATTERY_TEST_FAILED     Yes
-001    FUSE_FAIL       No
0026    FAN_FAIL        Yes
0027    SITE_WIRING_FAULT       Yes
-001    BACKFEED_CONTACTOR_FAIL No
-001    ON_BUCK No
-001    ON_BOOST        No
-001    ON_DOUBLE_BOOST No
0028    BATTERIES_DISCONNECTED  Yes
-001    UPS_CABINET_OVER_TEMP   No
-001    TRANSFORMER_OVER_TEMP   No
-001    AMBIENT_UNDER_TEMP      No
0029    AMBIENT_OVER_TEMP       Yes
-001    CABINET_DOOR_OPEN       No
-001    CABINET_DOOR_OPEN_VOLT_PRESENT  No
0030    AUTO_SHUTDOWN_PENDING   Yes
-001    TAP_SWITCHING_REALY_PENDING     No
0031    UNABLE_TO_CHARGE_BATTERIES      Yes
-001    STARTUP_FAILURE_CHECK_EPO       No
-001    AUTOMATIC_STARTUP_PENDING       No
-001    MODEM_FAILED    No
-001    INCOMING_MODEM_CALL_STARTED     No
-001    OUTGOING_MODEM_CALL_STARTED     No
-001    MODEM_CONNECTION_ESTABLISHED    No
-001    MODEM_CALL_COMPLETED_SUCCESS    No


Lengt of Config_block: 80

Length of statistics map: 0

Lengt of command list: 25

Lengt of outlet_block: 20

Lengt of alarm_block: 31

Number of outlets: 3

Number of bytes: 6

Outlet number: 1

Outlet state: 1

Auto delay off: -1

Auto delay on: 1

Outlet number: 2

Outlet state: 1

Auto delay off: -1

Auto delay on: 2

Outlet number: 3

Outlet state: 1

Auto delay off: -1

Auto delay on: 3

Number of outlets: 3

Number of bytes: 6

Outlet number: 1

Outlet state: 1

Auto delay off: -1

Auto delay on: 1

Outlet number: 2

Outlet state: 1

Auto delay off: -1

Auto delay on: 2

Outlet number: 3

Outlet state: 1

Auto delay off: -1

Auto delay on: 3

dstate_init: sock /opt/nut/var/bcmxcp-tokamak open on fd 6
Number of outlets: 3

Number of bytes: 6

Outlet number: 1

Outlet state: 1

Auto delay off: -1

Auto delay on: 1

Outlet number: 2

Outlet state: 1

Auto delay off: -1

Auto delay on: 2

Outlet number: 3

Outlet state: 1

Auto delay off: -1

Auto delay on: 3

Signal 2: exiting
Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)
RS-232 communication subdriver 0.17


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric at caerllewys.net   alaric at metrocast.net   phil at co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.



More information about the Nut-upsuser mailing list