Subject: USB-related freeze? (Unsure...)
To: None <current-users@netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: current-users
Date: 05/18/1999 19:26:53
Hi, all. I'll try to reproduce this if no one else sees it, although I'm
not really excited about trying...

A day or three ago I'd picked up a USB mouse just to try it, and I've
been running it happily... I didn't reboot when I threw it in, so I
could see a hot swap in action. This went fine. Just now I decided that
I want to go back to my older (and nicer) Logitech thing, so I pulled
the USB mouse, again watching the logs and seeing

May 18 19:08:57 acheron /netbsd: uhub0: port error, restarting port 2
May 18 19:08:57 acheron /netbsd: ums0: at uhub0 port 2 (addr 2) disconnected

which I assume is normal...?

Anyway, X had been using this mouse, and maybe X got confused or something,
but when I shut the system down, it froze about where X goes away. I have
to core dump to examine, unfortunately, and I couldn't seem to get into
the debugger. I was also unable to get away from X to a wscons terminal
to see what was going on. Finally, the machine wasn't answering on the
net. I assumed it was dead, and punched the reset button.

I want to try to reproduce this before sending a PR... Can anyone else
confirm or deny that this happens on their system? My thoughts are that
maybe X didn't like having its pointer taken away, or if there's a protocol
for that to happen, maybe our USB stuff is not saying that the device is
no longer there or something...?

Thanks in advance for ideas.

-- 
                           /\
     Mason Loring Bliss   /()\   mason@acheron.middleboro.ma.us
 awake ? sleep : dream;  /    \  http://acheron.ne.mediaone.net