Re: USBDEVFS_RESET deadlocks USB bus.
From: Zephaniah E. Hull
Date: Fri Jun 04 2004 - 15:08:19 EST
On Fri, Jun 04, 2004 at 04:02:11PM -0400, Zephaniah E. Hull wrote:
> On Fri, Jun 04, 2004 at 12:52:47PM -0700, Greg KH wrote:
> > On Fri, Jun 04, 2004 at 03:39:11PM -0400, Zephaniah E. Hull wrote:
> > > Starting at 2.6.7-rc1 or so (that is when we first noticed it) the new
> > > pilot-link libusb back end started deadlocking the entire USB bus that
> > > the palm device was on.
> > >
> > > I have finally tracked it down to happening when we make the
> > > USBDEVFS_RESET ioctl, we never return from it and from that point on the
> > > bus in question is completely dead, no processing is done, no
> > > notifications of devices being plugged in or unplugged.
> > >
> > > This is still happening in 2.6.7-rc2-mm1.
> > >
> > > It seems to happen with both the UHCI and OHCI back ends, so it is
> > > probably above that.
> > >
> > > Given that there were heavy locking changes, I suspect that the case in
> > > question got screwed up somehow.
Further details, existing links with devices remain functional (IE, the
HID layer continues to get data from already connected mice), however
all processing or new devices or removed devices seems to be just gone,
on all USB busses.
--
1024D/E65A7801 Zephaniah E. Hull <warp@xxxxxxxxxxxxxxxx>
92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801
CCs of replies from mailing lists are requested.
"And now, little kittens, we're going to run across red-hot
motherboards, with our bare feet." -- Buzh.
Attachment:
signature.asc
Description: Digital signature