Re: [BUG] usbfs "did not claim interface before use"

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

 



On Thu, Jan 18, 2018 at 07:32:11AM -0800, Matthew Wilcox wrote:
> 
> My laptop just died horribly and I'm picking through the pieces.
> I'm running Debian testing, and it was kernel 4.13.0-1-amd64 #1 Debian
> 4.13.13-1 although now I've rebooted to 4.14.0-2-amd64 #1 SMP Debian
> 4.14.7-1
> 
> It seems that the original cause of the problem was usbfs going mad and
> spraying this message all over my log files:
> 
> Jan 18 09:50:24 bobo kernel: [2212381.201087] usb 3-2: usbfs: process 13608 (events) did not claim interface 0 before use
> Jan 18 09:50:24 bobo kernel: [2212381.201091] usb 3-2: usbfs: process 13608 (events) did not claim interface 0 before use
> Jan 18 09:50:24 bobo kernel: [2212381.201096] usb 3-2: usbfs: process 13608 (events) did not claim interface 0 before use
> Jan 18 09:50:24 bobo kernel: [2212381.201101] usb 3-2: usbfs: process 13608 (events) did not claim interface 0 before use

That's userspace going "mad" and trying to constantly connect and use
your usbfs connection.  The program is called "events", you might want
to track that down.

> (I have 28153585 lines in kern.log and 28149224 of them contain 'usbfs').
> Can this warning be ratelimited, please?

Sure, have a patch?

> Also, it is not coding style compliant as you cannot grep for "did not
> claim interface" due to the line split.

You can fix that with the ratelimit patch :)

thanks,

greg k-h
--
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