[Nut-upsdev] Getting 'Data stale' error with bcmxcp_usb for a PowerWare 5115 on OSX

Charlie Garrison garrison at zeta.org.au
Mon Mar 22 11:12:25 UTC 2010


Good evening,

On 17/03/10 at 8:17 PM +1100, Charlie Garrison 
<garrison at zeta.org.au> wrote:

>>But I have now...  after running for around 8 hours in debug 
>>mode; I'm now getting "Data stale" errors via upsmon:

Another update on the 'data stale' error I'm having with 
bcmxcp_usb on OSX...

The driver stopped working correctly, with the following from 
the log:

453976.501714   get_answer: block_number = 4
453976.506567   entering get_answer(35)
453976.661822   get_answer: (22 bytes) => ab 05 11 81 00 00 00 
00 00 00 00 00 00 00 00 00
453976.661886    00 00 00 00 00 be
453976.661901   get_answer: block_number = 5
453976.664534   entering get_answer(33)
453976.856410   get_answer: (25 bytes) => ab 03 13 81 63 c2 00 
00 05 00 00 00 00 00 00 00
453976.856474    00 00 00 00 00 00 00 94 00
453976.856553   get_answer: block_number = 3
453978.158629   entering get_answer(34)
453978.485631   get_answer: (61 bytes) => ab 04 38 81 ea 00 00 
00 fa 00 00 00 00 00 48 42
453978.485695    00 00 48 42 00 58 db 41 64 00 00 00 2d 04 00 00 
fc 00 00 00 00 00 00 00 24
453978.485720    00 00 00 00 80 95 3f ad 47 91 40 e8 03 00 00 dc 
00 00 00 97
453978.485735   get_answer: block_number = 4
453978.487633   entering get_answer(35)
453978.645655   get_answer: (22 bytes) => ab 05 11 81 00 00 00 
00 00 00 00 00 00 00 00 00
453978.645710    00 00 00 00 00 be
453978.645726   get_answer: block_number = 5
453978.648774   entering get_answer(33)
453978.839335   get_answer: (25 bytes) => ab 03 13 81 63 c2 00 
00 05 00 00 00 00 00 00 00
453978.839409    00 00 00 00 00 00 00 94 00
453978.839425   get_answer: block_number = 3


And then after I dis/connected the USB cable from the UPS:


454951.167449   entering get_answer(34)
454951.197589   entering get_answer(34)
454951.197846   entering get_answer(34)
454951.197881   entering get_answer(34)
454951.197914   entering get_answer(34)
454951.197973   Short read from UPS
.... [snipped repeated entries]
454957.198766   Short read from UPS
454959.198421   entering get_answer(34)
454959.198520   entering get_answer(34)
454959.198555   entering get_answer(34)
454959.198588   entering get_answer(34)
454959.198621   entering get_answer(34)
454959.198654   Warning: excessive comm failures, limiting error reporting
454959.198672   Communications with UPS lost: Error executing command
454959.198689   Short read from UPS
454961.198321   entering get_answer(34)
454961.198608   entering get_answer(34)
454961.198644   entering get_answer(34)
454961.198677   entering get_answer(34)
454961.198862   entering get_answer(34)
454961.198954   Short read from UPS
454963.198210   entering get_answer(34)
454963.198334   entering get_answer(34)

So I killed and restarted the driver daemon and it's all working again.

Does anyone have suggestions on how I can get the driver working 
on my system? IOW, any ideas on how it can recover without me 
having to dis/connect the USB cable and kill/restart the driver?

I'm happy to do more testing/debugging, but the usb stuff is too 
low-level for me to know how to proceed.

Thanks,
Charlie

-- 
    Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>
    〠 PO Box 141, Windsor, NSW 2756, Australia

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt



More information about the Nut-upsdev mailing list