Re: USB warning on cdc-acm device close

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Jul 2009, Manuel Lauss wrote:

> > Run your test again, without usbmon.  But before removing ehci-hcd,
> > mount a debugfs filesystem and look in the usb/ehci/au1xxx-ehci.0
> > directory.  There should be a bunch of files with names like
> > "registers", "async", and "periodic"; let's see what they contain.
> 
> Debug output is here:  http://mlau.at/au1xxx-ehci-trace-b.txt
> 
> However I think this is entirely my fault:  In an effort to reduce idle wakeups
> I disabled the EHCI IO watchdog (which reduced idle wakeups by ~10/s).
> Enabling it again gets rid of the WARN_ON output without any patching.

I don't know...  The I/O watchdog should not be needed.  It's there 
only as a backup, in case something else goes wrong.

> On the other hand, 2.6.30 even with the IO watchdog disabled doesn't
> show the error.

Yeah.  Try this: Leave the watchdog disabled and leave the
qh_completions() call in place.  After plugging in the device, start
and exit minicom.  Then get a copy of the "async" file ("registers" and
"periodic" don't matter).  Then unplug the device and get another copy
of "async".  Finally, do the rmmod.

I'll try doing some testing of my own.  I don't have a CDC-ACM device, 
but I can try other things.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux