<br><br><div class="gmail_quote">2012/11/27 Paul Whittaker <span dir="ltr"><<a href="mailto:paul.whittaker@drisq.com" target="_blank">paul.whittaker@drisq.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br></blockquote><div> <br>Hi Paul,<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've recently added a UPS (CyberPower CP1300EPFCLCD) to one of our<br>
servers, and I'm managing it with NUT and the usbhid-ups driver.  I've<br>
configured it to do what we want, and it all works fine. (upsc displays<br>
information from upsd correctly, upsmon correctly shuts down both the<br>
server and the UPS when the battery is low, messages are logged when the<br>
mains supply to the UPS is cut/restored, and so forth.)<br>
<br>
However, in the week since installing NUT the server has suffered four<br>
kernel crashes (on stock 64-bit Ubuntu kernels, currently<br>
3.2.0-33-generic) and has been unable to stay up for longer than 12-36<br>
hours without crashing hard and requiring manual power cycling; this<br>
system has never previously crashed.  Googling around the issue brings<br>
up various things, including<br>
<a href="http://thr3ads.net/nut-upsdev/2011/01/1475908-a-nasty-kernel-oops" target="_blank">http://thr3ads.net/nut-upsdev/2011/01/1475908-a-nasty-kernel-oops</a>, which<br>
make me think this could be an existing issue with the<br>
kernel/library/USB stack that's being triggered by NUT.  I've tried a<br>
couple of workarounds (including running the driver with -D), but none<br>
have prevented these lock-ups.<br>
<br>
I'd like to use NUT with usbhid-ups to manage the UPS, but also<br>
(obviously) need to keep the server stable.  If there's a way to do<br>
this, I'd like to; if not, I've got some crash logs that someone might<br>
perhaps find useful.<br>
<br>
I'm happy to provide more details, but first I'd like to check a few<br>
basics since I'm new to the list:<br>
<br>
 1. Is this the right mailing list to be asking about this?  I can<br>
imagine the devs would be interested in this, but I'm primarily here as<br>
a user.<br></blockquote><div> <br>yes<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 2. Is the Linux USB subsystem already known to be prone to stability<br>
issues like this, or am I just having some bad luck on this machine?<br></blockquote><div><br>we have had very few issue, and yours is the 2nd (kernel crash with production release, such as Alfred Ganz) iirc.<br>and your issue is probably different from Alfred's one, at least in the symptoms.<br>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 3. What's the polite way to supply the list with large attachments,<br>
such as log extracts (~10kB) and photos of kernel crash screens (~900kB)?<br></blockquote><div><br>please send the log here, in compressed form.<br>are the photos taken with a still cam?<br>please put these on your website (or any other public storage) and point the link<br>
<br>a dump file would be preferable:<br><a href="https://help.ubuntu.com/12.04/serverguide/kernel-crash-dump.html">https://help.ubuntu.com/12.04/serverguide/kernel-crash-dump.html</a><br><br>cheers,<br>Arnaud<br></div></div>
-- <br>NUT (Network UPS Tools) Project Leader - <a href="http://www.networkupstools.org" target="_blank">http://www.networkupstools.org</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.fr" target="_blank">http://arnaud.quette.fr</a><br><br>