Re: [SLE] kernel: drivers/usb/input/hid-core.c: control queue full - probably apcupsd



James Wright wrote:
Dave Howorth wrote:
I've just noted that /var/log/messages is recording a message every ten
seconds:

kernel: drivers/usb/input/hid-core.c: control queue full

Anybody know what this means?

Thanks, Dave
It means the queue is full. It may come from a faulty USB driver
somewhere along the line. See
http://lists.centos.org/pipermail/centos/2006-January/059093.html
which suggests:

rmmod ohci_hcd
modprobe ohci_hcd

as temporary relief, although it does not fix the problem. Do a google
search with that message and quite a bit of hits come up.

Hi James,

Thanks very much for the reply. My googling had turned up some hits from
a few years ago that implicated an old version of apcupsd and I see that
the centos poster, like me, has an APC UPS, so I'll go looking on their
site. I had hoped I might find somebody who'd encountered the problem
with a recent SUSE system. FWIW if anybody else reads this in the
archive, here's what I've discovered so far:

I should of course have mentioned that I'm running 9.3.

Linux cpepc210-3 2.6.11.4-21.7-smp #1 SMP Thu Jun 2 14:23:14 UTC 2005
i686 i686 i386 GNU/Linux

The messages start 3 days ago. There's nothing obvious just before them:

Oct 27 14:22:08 cpepc210-3 syslog-ng[6295]: STATS: dropped 0
Oct 27 14:59:01 cpepc210-3 /usr/sbin/cron[24535]: (root) CMD ( rm -f
/var/spool/cron/lastrun/cron.hourly)
Oct 27 15:09:05 cpepc210-3 smartd[6618]: Device: /dev/hda, SMART Usage
Attribute: 194 Temperature_Celsius changed from 44 to 45
Oct 27 15:18:06 cpepc210-3 kernel: drivers/usb/input/hid-core.c: control
queue full
Oct 27 15:18:16 cpepc210-3 kernel: drivers/usb/input/hid-core.c: control
queue full

I don't remember using any USB devices on Friday. (I have used USB today
and it works fine). There's a UPS control cable plugged in to one USB
port, but that's it (keyboard and mouse are in the PS/2 ports).

The first hit in Google
<http://linux.derkeiler.com/Mailing-Lists/Kernel/2003-09/4439.html>
mentions an APC USB problem, so I've unplugged it. The messages have
stopped:

Oct 30 17:05:31 cpepc210-3 kernel: drivers/usb/input/hid-core.c: ctrl
urb status -71 received
Oct 30 17:05:31 cpepc210-3 kernel: usb 1-1: USB disconnect, address 4

Broadcast Message from root@cpepc210-3
(somewhere) at 17:06 ...

Warning communications lost with UPS Back-UPS-2

Oct 30 17:06:11 cpepc210-3 apcupsd[6794]: Communications with UPS lost.

But that message is quite old (2003) so I'd expect any patches to
already be in my system. I found another mail that says:

Known bug. Upgrade apcupsd to 3.10.8 or the kernel to 2.6.1-rc1.

But I have: apcupsd 3.10.16 (04 November 2004) suse

I'll go hunt in the apc lists.

Thanks again,
Dave

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Controlling recent APC UPS via USB
    ... I figured even if I couldn't get the status from the unit via USB, at least I'd have something like 1.5 hrs of battery time to smooth over all brownouts and short blackouts I get all summer. ... It looks like later releases of OpenBSD are treating non-HID stuff like this smarter, so I was inspired to actually see if I could use the UPS smarter. ... However, the BSD USB code is sound, and is able to talk to ugen devices without a problem. ... I have successfully got an "APC Back-UPS XS 1300" talking BSD, with access to all functionality, including being able to invoke diagnostics and manipulate settings. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: APC UPS gets USB Device not recognized error message
    ... > I recently purchased an APC UPS which uses a USB connection ... > ABIT KV8-Max3 MB, using VIA USB drivers), to get XP to recognize this ... > Since XP will not recognize the UPS, ...
    (microsoft.public.windowsxp.general)
  • Re: [SLE] APC UPS
    ... On Sunday 27 February 2005 09:15 pm, Jim Flanagan wrote: ... > This APC ups works with a USB cable on the PC side connecting to an RJ-45 ...
    (SuSE)
  • Re: RFC - how to balance Dirty+Writeback in the face of slow writeback.
    ... usb hard drive over usb 1.x would be almost as bad, ... Maybe writeout queues need to auto-adjust their queue length when some ... 32MiB requests, so in theory a system that sets max_sectors_kb to ... totally unreasonable to have 96MiB of dirty data on another. ...
    (Linux-Kernel)
  • Re: HP Printer on Edgy
    ... I also have the queue problem of Chris with my usb hp printer (psc 1110). ... Of course the printer is still in the database after the reboot, ...
    (Ubuntu)