[Nut-upsuser] Debian Squeeze / Powerware 9135 450KVA UPS

Gregory Skelton gregory.skelton at gmail.com
Thu Jan 12 21:30:02 UTC 2012


Hi,

I have more information, I did some more digging and found a debugging
mode for the driver.. So this what I'm seeing. Any ideas how I get
around the "PW_COMMAND_START_BYTE"?

Thanks for any help.
Greg


<snip>
root at omen:/lib/nut# ./bcmxcp -a powerware  -DDDDDDD  -i 5 -x baud_rate=9600
Network UPS Tools - BCMXCP UPS driver 0.23 (2.4.3)
RS-232 communication subdriver 0.17
   0.000000	debug level is '7'
   0.871186	Connected to UPS on /dev/ttyS0 with baudrate 9600
   0.871200	send_to_all: SETINFO device.type "ups"
   0.871206	send_to_all: SETINFO driver.version "2.4.3"
   0.871211	send_to_all: SETINFO driver.version.internal "0.23"
   0.871216	send_to_all: SETINFO driver.name "bcmxcp"
   1.155038	send_to_all: SETINFO ups.firmware "Cont:01.32 Inve:01.08
Rect:01.08 "
   1.155050	send_to_all: SETINFO ups.power.nominal "500000"
   1.155055	send_to_all: SETINFO output.phases "3"
   1.155061	send_to_all: SETINFO ups.mfr "Eaton"
   1.155070	send_to_all: SETINFO ups.model "Powerware Plus  500000i"
   1.155073	Length of meter map: 81

   1.155077	Index	Offset	Format	NUT

   1.155083	0000	0000	f0	output.L1-L2.voltage
   1.155088	0001	0004	f0	output.L2-L3.voltage
   1.155094	0002	0008	f0	output.L3-L1.voltage
   1.155099	0003	0012	f0	input.L1-L2.voltage
   1.155104	0004	0016	f0	input.L2-L3.voltage
   1.155109	0005	0020	f0	input.L3-L1.voltage
   1.155114	0009	0024	f0	None
   1.155119	0010	0028	f0	None
   1.155124	0011	0032	f0	None
   1.155129	0018	0036	f0	input.L1.current
   1.155134	0019	0040	f0	input.L2.current
   1.155139	0020	0044	f0	input.L3.current
   1.155152	0021	0048	f0	None
   1.155158	0022	0052	f0	None
   1.155163	0023	0056	f0	ups.power
   1.155168	0024	0060	f0	None
   1.155173	0025	0064	42	None
   1.155178	0026	0068	42	None
   1.155183	0027	0072	f0	output.frequency
   1.155188	0028	0076	f0	input.frequency
   1.155193	0029	0080	f0	None
   1.155198	0030	0084	f0	None
   1.155203	0032	0088	61	battery.current
   1.155208	0033	0092	f0	battery.voltage
   1.155213	0034	0096	f0	battery.charge
   1.155218	0035	0100	f0	battery.runtime
   1.155223	0059	0104	f0	None
   1.155228	0060	0108	f0	None
   1.155233	0061	0112	f0	None
   1.155238	0065	0116	f0	output.L1.current
   1.155244	0066	0120	f0	output.L2.current
   1.155249	0067	0124	f0	output.L3.current
   1.155254	0068	0128	f0	output.L1.current.nominal
   1.155259	0069	0132	f0	output.L2.current.nominal
   1.155264	0070	0136	f0	output.L3.current.nominal
   1.155269	0071	0140	f0	None
   1.155274	0072	0144	f0	None
   1.155279	0073	0148	f0	None
   1.155284	0078	0152	f0	output.L1-N.voltage
   1.155289	0079	0156	f0	output.L2-N.voltage
   1.155294	0080	0160	f0	output.L3-N.voltage
   1.155299	

   1.155303	Length of alarm map: 25

   1.155306	Index	Alarm	Supported

   1.155311	0000	INVERTER_AC_OVER_VOLTAGE	Yes
   1.155316	0001	INVERTER_AC_UNDER_VOLTAGE	Yes
   1.155321	0002	INVERTER_OVER_OR_UNDER_FREQ	Yes
   1.155325	0003	BYPASS_AC_OVER_VOLTAGE	Yes
   1.155330	0004	BYPASS_AC_UNDER_VOLTAGE	Yes
   1.155334	0005	BYPASS_OVER_OR_UNDER_FREQ	Yes
   1.155339	0006	INPUT_AC_OVER_VOLTAGE	Yes
   1.155343	0007	INPUT_AC_UNDER_VOLTAGE	Yes
   1.155348	0008	INPUT_UNDER_OR_OVER_FREQ	Yes
   1.155352	0009	OUTPUT_OVER_VOLTAGE	Yes
   1.155357	0010	OUTPUT_UNDER_VOLTAGE	Yes
   1.155361	0011	OUTPUT_UNDER_OR_OVER_FREQ	Yes
   1.155366	-001	REMOTE_EMERGENCY_PWR_OFF	No
   1.155370	-001	REMOTE_GO_TO_BYPASS	No
   1.155375	0012	BUILDING_ALARM_6	Yes
   1.155379	0013	BUILDING_ALARM_5	Yes
   1.155384	0014	BUILDING_ALARM_4	Yes
   1.155388	0015	BUILDING_ALARM_3	Yes
   1.155392	0016	BUILDING_ALARM_2	Yes
   1.155397	0017	BUILDING_ALARM_1	Yes
   1.155404	-001	STATIC_SWITCH_OVER_TEMP	No
   1.155409	-001	CHARGER_OVER_TEMP	No
   1.155413	-001	CHARGER_LOGIC_PWR_FAIL	No
   1.155417	-001	CHARGER_OVER_VOLTAGE_OR_CURRENT	No
   1.155422	-001	INVERTER_OVER_TEMP	No
   1.155427	0018	OUTPUT_OVERLOAD	Yes
   1.155431	-001	RECTIFIER_INPUT_OVER_CURRENT	No
   1.155436	-001	INVERTER_OUTPUT_OVER_CURRENT	No
   1.155440	0019	DC_LINK_OVER_VOLTAGE	Yes
   1.155445	0020	DC_LINK_UNDER_VOLTAGE	Yes
   1.155449	0021	RECTIFIER_FAILED	Yes
   1.155453	-001	INVERTER_FAULT	No
   1.155458	0022	BATTERY_CONNECTOR_FAIL	Yes
   1.155462	0023	BYPASS_BREAKER_FAIL	Yes
   1.155467	-001	CHARGER_FAIL	No
   1.155471	-001	RAMP_UP_FAILED	No
   1.155476	-001	STATIC_SWITCH_FAILED	No
   1.155480	-001	ANALOG_AD_REF_FAIL	No
   1.155485	-001	BYPASS_UNCALIBRATED	No
   1.155489	0024	RECTIFIER_UNCALIBRATED	Yes
   1.155494	0025	OUTPUT_UNCALIBRATED	Yes
   1.155498	0026	INVERTER_UNCALIBRATED	Yes
   1.155503	-001	DC_VOLT_UNCALIBRATED	No
   1.155507	-001	OUTPUT_CURRENT_UNCALIBRATED	No
   1.155512	-001	RECTIFIER_CURRENT_UNCALIBRATED	No
   1.155516	-001	BATTERY_CURRENT_UNCALIBRATED	No
   1.155521	-001	INVERTER_ON_OFF_STAT_FAIL	No
   1.155525	0027	BATTERY_CURRENT_LIMIT	Yes
   1.155530	0028	INVERTER_STARTUP_FAIL	Yes
   1.155534	-001	ANALOG_BOARD_AD_STAT_FAIL	No
   1.155539	0029	OUTPUT_CURRENT_OVER_100	Yes
   1.155543	-001	BATTERY_GROUND_FAULT	No
   1.155548	-001	WAITING_FOR_CHARGER_SYNC	No
   1.155552	-001	NV_RAM_FAIL	No
   1.155557	-001	ANALOG_BOARD_AD_TIMEOUT	No
   1.155561	0030	SHUTDOWN_IMMINENT	Yes
   1.155566	0031	BATTERY_LOW	Yes
   1.155570	-001	UTILITY_FAIL	No
   1.155575	-001	OUTPUT_SHORT_CIRCUIT	No
   1.155579	-001	UTILITY_NOT_PRESENT	No
   1.155584	-001	FULL_TIME_CHARGING	No
   1.155588	-001	FAST_BYPASS_COMMAND	No
   1.155593	-001	AD_ERROR	No
   1.155597	-001	INTERNAL_COM_FAIL	No
   1.155602	-001	RECTIFIER_SELFTEST_FAIL	No
   1.155606	-001	RECTIFIER_EEPROM_FAIL	No
   1.155611	-001	RECTIFIER_EPROM_FAIL	No
   1.155615	-001	INPUT_LINE_VOLTAGE_LOSS	No
   1.155620	0032	BATTERY_DC_OVER_VOLTAGE	Yes
   1.155624	-001	POWER_SUPPLY_OVER_TEMP	No
   1.155629	0033	POWER_SUPPLY_FAIL	Yes
   1.155633	-001	POWER_SUPPLY_5V_FAIL	No
   1.155638	-001	POWER_SUPPLY_12V_FAIL	No
   1.155642	0034	HEATSINK_OVER_TEMP	Yes
   1.155647	0035	HEATSINK_TEMP_SENSOR_FAIL	Yes
   1.155651	-001	RECTIFIER_CURRENT_OVER_125	No
   1.155656	-001	RECTIFIER_FAULT_INTERRUPT_FAIL	No
   1.155660	-001	RECTIFIER_POWER_CAPASITOR_FAIL	No
   1.155665	-001	INVERTER_PROGRAM_STACK_ERROR	No
   1.155669	-001	INVERTER_BOARD_SELFTEST_FAIL	No
   1.155674	-001	INVERTER_AD_SELFTEST_FAIL	No
   1.155678	-001	INVERTER_RAM_SELFTEST_FAIL	No
   1.155683	-001	NV_MEMORY_CHECKSUM_FAIL	No
   1.155687	-001	PROGRAM_CHECKSUM_FAIL	No
   1.155692	-001	INVERTER_CPU_SELFTEST_FAIL	No
   1.155696	0036	NETWORK_NOT_RESPONDING	Yes
   1.155701	-001	FRONT_PANEL_SELFTEST_FAIL	No
   1.155705	-001	NODE_EEPROM_VERIFICATION_ERROR	No
   1.155710	-001	OUTPUT_AC_OVER_VOLT_TEST_FAIL	No
   1.155715	-001	OUTPUT_DC_OVER_VOLTAGE	No
   1.155719	0037	INPUT_PHASE_ROTATION_ERROR	Yes
   1.155724	-001	INVERTER_RAMP_UP_TEST_FAILED	No
   1.155728	-001	INVERTER_OFF_COMMAND	No
   1.155733	-001	INVERTER_ON_COMMAND	No
   1.155737	-001	TO_BYPASS_COMMAND	No
   1.155742	-001	FROM_BYPASS_COMMAND	No
   1.155746	-001	AUTO_MODE_COMMAND	No
   1.155750	0038	EMERGENCY_SHUTDOWN_COMMAND	Yes
   1.155755	-001	SETUP_SWITCH_OPEN	No
   1.155760	-001	INVERTER_OVER_VOLT_INT	No
   1.155764	-001	INVERTER_UNDER_VOLT_INT	No
   1.155769	-001	ABSOLUTE_DCOV_ACOV	No
   1.155773	-001	PHASE_A_CURRENT_LIMIT	No
   1.155777	-001	PHASE_B_CURRENT_LIMIT	No
   1.155782	-001	PHASE_C_CURRENT_LIMIT	No
   1.155786	0039	BYPASS_NOT_AVAILABLE	Yes
   1.155791	-001	RECTIFIER_BREAKER_OPEN	No
   1.155795	0040	BATTERY_CONTACTOR_OPEN	Yes
   1.155800	0041	INVERTER_CONTACTOR_OPEN	Yes
   1.155804	-001	BYPASS_BREAKER_OPEN	No
   1.155809	-001	INV_BOARD_ACOV_INT_TEST_FAIL	No
   1.155813	-001	INVERTER_OVER_TEMP_TRIP	No
   1.155818	-001	INV_BOARD_ACUV_INT_TEST_FAIL	No
   1.155823	-001	INVERTER_VOLTAGE_FEEDBACK_ERROR	No
   1.155827	-001	DC_UNDER_VOLTAGE_TIMEOUT	No
   1.155832	-001	AC_UNDER_VOLTAGE_TIMEOUT	No
   1.155836	-001	DC_UNDER_VOLTAGE_WHILE_CHARGE	No
   1.155841	-001	INVERTER_VOLTAGE_BIAS_ERROR	No
   1.155845	-001	RECTIFIER_PHASE_ROTATION	No
   1.155850	-001	BYPASS_PHASER_ROTATION	No
   1.155855	-001	SYSTEM_INTERFACE_BOARD_FAIL	No
   1.155859	-001	PARALLEL_BOARD_FAIL	No
   1.155863	-001	LOST_LOAD_SHARING_PHASE_A	No
   1.155868	-001	LOST_LOAD_SHARING_PHASE_B	No
   1.155872	-001	LOST_LOAD_SHARING_PHASE_C	No
   1.155877	-001	DC_OVER_VOLTAGE_TIMEOUT	No
   1.155936	0042	BATTERY_TOTALLY_DISCHARGED	Yes
   1.155943	-001	INVERTER_PHASE_BIAS_ERROR	No
   1.155948	-001	INVERTER_VOLTAGE_BIAS_ERROR_2	No
   1.155953	-001	DC_LINK_BLEED_COMPLETE	No
   1.155957	-001	LARGE_CHARGER_INPUT_CURRENT	No
   1.155962	-001	INV_VOLT_TOO_LOW_FOR_RAMP_LEVEL	No
   1.155967	-001	LOSS_OF_REDUNDANCY	No
   1.155971	-001	LOSS_OF_SYNC_BUS	No
   1.155976	-001	RECTIFIER_BREAKER_SHUNT_TRIP	No
   1.155983	-001	LOSS_OF_CHARGER_SYNC	No
   1.155994	-001	INVERTER_LOW_LEVEL_TEST_TIMEOUT	No
   1.155999	-001	OUTPUT_BREAKER_OPEN	No
   1.156003	-001	CONTROL_POWER_ON	No
   1.156008	-001	INVERTER_ON	No
   1.156014	-001	CHARGER_ON	No
   1.156019	-001	BYPASS_ON	No
   1.156023	-001	BYPASS_POWER_LOSS	No
   1.156028	-001	ON_MANUAL_BYPASS	No
   1.156033	-001	BYPASS_MANUAL_TURN_OFF	No
   1.156037	-001	INVERTER_BLEEDING_DC_LINK_VOLT	No
   1.156042	-001	CPU_ISR_ERROR	No
   1.156046	-001	SYSTEM_ISR_RESTART	No
   1.156051	-001	PARALLEL_DC	No
   1.156055	-001	BATTERY_NEEDS_SERVICE	No
   1.156060	-001	BATTERY_CHARGING	No
   1.156068	0043	BATTERY_NOT_CHARGED	Yes
   1.156073	-001	DISABLED_BATTERY_TIME	No
   1.156079	-001	SERIES_7000_ENABLE	No
   1.156085	-001	OTHER_UPS_ON	No
   1.156090	-001	PARALLEL_INVERTER	No
   1.156096	-001	UPS_IN_PARALLEL	No
   1.156101	-001	OUTPUT_BREAKER_REALY_FAIL	No
   1.156106	-001	CONTROL_POWER_OFF	No
   1.156110	-001	LEVEL_2_OVERLOAD_PHASE_A	No
   1.156115	-001	LEVEL_2_OVERLOAD_PHASE_B	No
   1.156121	-001	LEVEL_2_OVERLOAD_PHASE_C	No
   1.156126	-001	LEVEL_3_OVERLOAD_PHASE_A	No
   1.156132	-001	LEVEL_3_OVERLOAD_PHASE_B	No
   1.156137	-001	LEVEL_3_OVERLOAD_PHASE_C	No
   1.156143	-001	LEVEL_4_OVERLOAD_PHASE_A	No
   1.156148	-001	LEVEL_4_OVERLOAD_PHASE_B	No
   1.156155	-001	LEVEL_4_OVERLOAD_PHASE_C	No
   1.156159	0044	UPS_ON_BATTERY	Yes
   1.156165	0045	UPS_ON_BYPASS	Yes
   1.156170	0046	LOAD_DUMPED	Yes
   1.156176	-001	LOAD_ON_INVERTER	No
   1.156180	-001	UPS_ON_COMMAND	No
   1.156185	-001	UPS_OFF_COMMAND	No
   1.156191	-001	LOW_BATTERY_SHUTDOWN	No
   1.156197	-001	AUTO_ON_ENABLED	No
   1.156202	-001	SOFTWARE_INCOMPABILITY_DETECTED	No
   1.156206	-001	INVERTER_TEMP_SENSOR_FAILED	No
   1.156212	-001	DC_START_OCCURED	No
   1.156219	-001	IN_PARALLEL_OPERATION	No
   1.156225	-001	SYNCING_TO_BYPASS	No
   1.156229	-001	RAMPING_UPS_UP	No
   1.156235	-001	INVERTER_ON_DELAY	No
   1.156240	-001	CHARGER_ON_DELAY	No
   1.156245	-001	WAITING_FOR_UTIL_INPUT	No
   1.156250	-001	CLOSE_BYPASS_BREAKER	No
   1.156256	-001	TEMPORARY_BYPASS_OPERATION	No
   1.156261	-001	SYNCING_TO_OUTPUT	No
   1.156267	-001	BYPASS_FAILURE	No
   1.156272	-001	AUTO_OFF_COMMAND_EXECUTED	No
   1.156277	-001	AUTO_ON_COMMAND_EXECUTED	No
   1.156283	-001	BATTERY_TEST_FAILED	No
   1.156289	-001	FUSE_FAIL	No
   1.156293	0047	FAN_FAIL	Yes
   1.156299	-001	SITE_WIRING_FAULT	No
   1.156304	-001	BACKFEED_CONTACTOR_FAIL	No
   1.156338	-001	ON_BUCK	No
   1.156343	-001	ON_BOOST	No
   1.156347	-001	ON_DOUBLE_BOOST	No
   1.156352	-001	BATTERIES_DISCONNECTED	No
   1.156356	

   1.156360	Length of Config_block: 48

   1.156366	Length of statistics map: 62

   1.156371	Length of command list: 4047

   1.156375	Length of outlet_block: 33650

   1.156380	Length of alarm_block: 34179

   2.157495	Receive error (PW_COMMAND_START_BYTE): 0!!!

   3.158599	Receive error (PW_COMMAND_START_BYTE): 0!!!

   4.159701	Receive error (PW_COMMAND_START_BYTE): 0!!!

   4.159712	Communications with UPS lost: Error executing command
   4.159717	Could not communicate with the ups
</snip>


On Thu, Jan 12, 2012 at 2:38 PM, Gregory Skelton
<gregory.skelton at gmail.com> wrote:
> Hi All,
>
> I'm a system administrator of a large data center, and I've recently
> replaced the machine that acted as the nut master for our
> cluster/cloud. The machine that was interfacing with our Powerware
> 9135 450KVA 3 phase UPS, not to confused with Eaton's Powerware 9135,
> and was a Fedora Core 4 box running nut version 2.0.3-4 connected by a
> serial cable.
>
> We are using these versions of nut on our FC4 machine:
> Network UPS Tools - UPS driver controller 2.1.0
> Network UPS Tools - BCMXCP UPS driver 0.11 (2.1.0)
>
> We've had intermittent UPS driver problem, but it worked. Now I'm
> trying to connect to our UPS using this new machine and I get this:
>
> root at omen:/etc/nut# upsdrvctl start
> Network UPS Tools - UPS driver controller 2.4.3
> Network UPS Tools - BCMXCP UPS driver 0.23 (2.4.3)
> RS-232 communication subdriver 0.17
> Connected to UPS on /dev/ttyS0 with baudrate 9600
> Communications with UPS lost: Error executing command
> Could not communicate with the ups
> Driver failed to start (exit status=1)
>
> I've tried to google for an answer and found a great reference, but I
> haven't been able to communicate with the UPS
> http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/
>
> Is there any diagnostics or log files I can create to track down this
> problem? "Driver failed to start (exit status=1)" isn't all that
> helpful
>
> Thanks in advance for any and all help.
>
> Best,
> Greg
>
> PS I have both machines, so if I missed anything I can get it for you.



More information about the Nut-upsuser mailing list