[Nut-upsuser] usbhid-ups and "data stale"

Arjen de Korte nut+users at de-korte.org
Thu Feb 7 10:38:12 UTC 2008


> I'm using nut 2.2.0 on FreeBSD 7.0-RC1. I've got two UPSes (Back-UPS RS
> 1500) connected to the host, and I often see them to go away. All the
> system logs are full of "Poll UPS [ups1 at upshost] failed - Data
> stale".

First of all, it helps if you post the *full* line from the logs and also
show some context (how often these messages occur).

> What causes this issue?

The messages to the logs are reported by upsmon (a NUT client).
Apparently, upsd (the NUT server) has lost the connection to the UPS and
it is telling that it doesn't have fresh data available.

> Is this a known issue, is it going to be fixed?

This could be due to a known issue. Sometimes USB devices suddenly
dissappear, due to interference. Depending on your hardware and
environment, this may seldom happen or very often. If this happens (and
the USB devices reconnect), up to (and including) nut-2.2.0 would declare
the data stale immediately. Since nut-2.2.1 we delay this, until an
attempt to reconnect fails.

If the above is the problem, it would be solved by upgrading to nut-2.2.1
or at least, it should happen less frequently.

> What farther investigations should I do to get some more info on this
> issue?

Before all, upgrade to nut-2.2.1.

Best regards, Arjen
-- 
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57




More information about the Nut-upsuser mailing list