On Mon, Jun 30, 2003, Greg KH <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 30, 2003 at 05:48:56PM -0400, Johannes Erdfelt wrote:
> > On Mon, Jun 30, 2003, Greg KH <[EMAIL PROTECTED]> wrote:
> > > drivers/usb/host/uhci-hcd.c: uhci_result_common() failed with status 440000
> > > [dec132a0] link (1ec13152) element (1ec00060)
> > >   0: [dec00060] link (00000001) e0 SPD IOC Stalled CRC/Timeo Length=7ff 
> > > MaxLen=1f DT0 EndPt=2 Dev=3, PID=69(IN) (buf=1f9c8ec0)
> > > 
> > > They repeat continuously, and don't stop until I reboot the machine
> > > (spitting these out to the serial log usually takes up 100% of the cpu
> > > so I can't unload the module to see if that stops it.)
> > 
> > The same message everytime? (including pointers)
> 
> Yup.
> 
> No wait, it's actually 2 different messages repeating, here's both of
> them repeating:
> 
> drivers/usb/host/uhci-hcd.c: uhci_result_common() failed with status 440000
> [dec132a0] link (1ec13152) element (1ec00090)
>   0: [dec00090] link (00000001) e0 SPD IOC Stalled CRC/Timeo Length=7ff MaxLen=1f 
> DT0 EndPt=2 Dev=3, PID=69(IN) (buf=1f9c8ec0)
> 
> hub 2-0:0: port 2, status 100, change 3, 12 Mb/s
> drivers/usb/host/uhci-hcd.c: uhci_result_common() failed with status 440000
> [dec13270] link (1ec13152) element (1ec00090)
>   0: [dec00090] link (00000001) e0 SPD IOC Stalled CRC/Timeo Length=7ff MaxLen=1f 
> DT1 EndPt=2 Dev=3, PID=69(IN) (buf=1f9c8ec0)
> 
> drivers/usb/host/uhci-hcd.c: uhci_result_common() failed with status 440000
> [dec132a0] link (1ec13152) element (1ec00060)
>   0: [dec00060] link (00000001) e0 SPD IOC Stalled CRC/Timeo Length=7ff MaxLen=1f 
> DT0 EndPt=2 Dev=3, PID=69(IN) (buf=1f9c8ec0)
> 
> drivers/usb/host/uhci-hcd.c: uhci_result_common() failed with status 440000
> [dec13270] link (1ec13152) element (1ec00060)
>   0: [dec00060] link (00000001) e0 SPD IOC Stalled CRC/Timeo Length=7ff MaxLen=1f 
> DT1 EndPt=2 Dev=3, PID=69(IN) (buf=1f9c8ec0)
> 
> Then in the middle of these, I see this one which is different:
> 
> drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
> [dec132a0] link (1ec131e2) element (1ec00090)
>   0: [dec00090] link (1ec000c0) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 
> Dev=3, PID=2d(SETUP) (buf=1ecf59c4)
>   1: [dec000c0] link (1ec000f0) e3 SPD Active Length=0 MaxLen=1 DT1 EndPt=0 Dev=3, 
> PID=69(IN) (buf=1eb9f2bc)
>   2: [dec000f0] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, 
> PID=e1(OUT) (buf=00000000)

Those kinda look like the driver is still trying to communicate with the
device like it's still there.

Are we sure the driver is getting the disconnect callback?

The fact the two messages above repeat might be because of the slab
cache for QHs and TDs. It might just be getting allocating the same
memory over and over again.

> > > Any ideas of how to fix this, or even what is causing this continuous
> > > message (I can see it happening once, but not more than once.)  This
> > > happens for my usb trackball, and for a variety of different usb-serial
> > > devices.
> > > 
> > > It doesn't seem to happen at all on ohci.
> > 
> > It should only happen once, but if it's happening continuously, perhaps
> > a list got looped?
> 
> Makes sense.

It doesn't look like that now that I look at it.

That one control message in the middle is highly suspicious.

> > I haven't submitted any patches to uhci-hcd in a while so if this is
> > something recent, it could be something else has changed.
> 
> I don't think this is a new thing, I think I've seen this in the past,
> but haven't really tested removing devices a bunch on this machine
> before (it's a USB 2.0 controller with a UHCI controller for the "slow"
> part.)

Neither have I.

Can you possibly add some debugging to see if the disconnect callback is
being made?

I would expect this behaviour if the driver never gets told that the
device was disconnected.

JE



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to