Frequent USB mouse disconnections under load with RELENG_7

Wayne Sierke ws at au.dyndns.ws
Thu Jan 24 07:29:56 PST 2008


I'm getting a lot of USB mouse disconnects on RELENG_7. I wondered
whether they might have been due to running with a KTR-enabled kernel
but in just the last 7 hours I've been running on stock GENERIC and
they're still happening.

I get this set of messages for each disconnect: 
Jan 24 15:40:13 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 15:40:13 predator-ii kernel: ums0: detached
Jan 24 15:40:14 predator-ii root: Unknown USB device: vendor 0x046d product 0xc025 bus uhub0
Jan 24 15:40:14 predator-ii kernel: ums0: <B16_b_02 USB-PS/2 Optical Mouse, class 0/0, rev 2.00/98.02, addr 2> on uhub0
Jan 24 15:40:14 predator-ii kernel: ums0: 8 buttons and Z dir.

Rarely, twice that I can recall over the course of a couple of weeks,
the mouse fails to reconnect but comes good with a physical
disconnect/reconnect.

Here's a recent (condensed) history running with stock GENERIC:

Jan 24 15:47:04 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 16:15:53 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 16:21:46 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 16:25:42 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 16:26:17 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 16:37:01 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 16:39:22 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 16:56:28 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 17:06:36 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 19:20:58 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected
Jan 24 21:17:30 predator-ii kernel: ums0: at uhub0 port 2 (addr 2) disconnected

Sometime during 16:00-17:00 I was running a couple of cpu-intensive
tasks (glxgears plus for brief periods a cpu-intensive script). I wasn't
at the computer much during the 17:30-21:00 interval. So it seems like
this gets exacerbated by high cpu load. I counted another 12 in the hour
following on from the above list.

I don't recall seeing these at all under RELENG_6. If they ever did
occur they certainly weren't anywhere nearly as prolific.

A copy of /var/log/messages from boot until the first disconnection is
attached. Any ideas?


Wayne



More information about the freebsd-stable mailing list