Bug 1219343

Summary: USB error filling gigabytes of error logs
Product: [Fedora] Fedora Reporter: stef <stephane.tranchemer>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: gansalmon, itamar, jonathan, kernel-maint, labbott, madhu.chinakonda, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-4.0.4-300.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-26 03:38:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
memory usage after a reboot
none
cpu usage with real keyboard then kvm
none
disk usage rising due to logs filling
none
possible fix for KVM spew none

Description stef 2015-05-07 06:37:00 UTC
Description of problem:

I have a ATEN Hdmi KVM switch linked to my FC21 box, it switches efficiently my boxes.
it is linked through a USB port and a Hdmi port.

unfortunately I receive so much USB errors that it fills the disks with gigabytes of logs.

Version-Release number of selected component (if applicable):

How reproducible:

every time the KVM switch is linked to the box, any USB port does the same

Steps to Reproduce:
1.link hardware to KVM switch
2.link KVM switch the to the linux box
3.

Actual results:

USB error filling gigabytes of error logs 

Expected results:

no error, no log

Additional info:


[stranche@jonque ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 034: ID 0557:2213 ATEN International Co., Ltd CS682 2-Port USB 2.0 DVI KVM Switch
Bus 001 Device 032: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[stranche@jonque ~]$ 

[stranche@jonque ~]$ uname -a
Linux jonque 3.19.5-200.fc21.x86_64 #1 SMP Mon Apr 20 19:51:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[stranche@jonque ~]$ 

[stranche@jonque ~]$ dmesg | more
[791759.606542] usb 1-5.4: input irq status -75 received
[791759.614537] usb 1-5.4: input irq status -75 received
[791759.622542] usb 1-5.4: input irq status -75 received
[791759.630542] usb 1-5.4: input irq status -75 received
[791759.638542] usb 1-5.4: input irq status -75 received
[791759.646543] usb 1-5.4: input irq status -75 received
[791759.654543] usb 1-5.4: input irq status -75 received
[791759.662543] usb 1-5.4: input irq status -75 received
[791759.670543] usb 1-5.4: input irq status -75 received
[791759.678544] usb 1-5.4: input irq status -75 received
[791759.686543] usb 1-5.4: input irq status -75 received
[...]

Comment 1 stef 2015-05-07 06:41:19 UTC
Created attachment 1022952 [details]
memory usage after a reboot

Comment 2 stef 2015-05-07 06:41:59 UTC
Created attachment 1022953 [details]
cpu usage with real keyboard then kvm

Comment 3 stef 2015-05-07 06:42:37 UTC
Created attachment 1022954 [details]
disk usage rising due to logs filling

Comment 4 stef 2015-05-07 06:50:25 UTC
[stranche@jonque ~]$ lsusb -t
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
    |__ Port 5: Dev 32, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 34, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 4: Dev 34, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
[stranche@jonque ~]$

Comment 5 Laura Abbott 2015-05-08 21:18:12 UTC
Created attachment 1023597 [details]
possible fix for KVM spew

Can you try the attached patch? I don't see a HID Quirk for this KVM switch and other KVM switches seem to have this.

Comment 6 stef 2015-05-12 02:56:22 UTC
I don't see anymore of those messages storming the log files so it seems okay.

Need to include this in mainstream now ;)

Comment 7 Laura Abbott 2015-05-13 16:56:34 UTC
Submitted and accepted upstream. This will be making its way to Fedora 21.

Comment 8 Fedora Update System 2015-05-19 11:40:01 UTC
kernel-4.0.4-300.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/kernel-4.0.4-300.fc22

Comment 9 Fedora Update System 2015-05-20 02:52:46 UTC
Package kernel-4.0.4-300.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-4.0.4-300.fc22'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-8534/kernel-4.0.4-300.fc22
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2015-05-22 21:08:08 UTC
kernel-4.0.4-100.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-4.0.4-100.fc20

Comment 11 stef 2015-05-23 05:55:33 UTC
(In reply to Fedora Update System from comment #10)
> kernel-4.0.4-100.fc20 has been submitted as an update for Fedora 20.
> https://admin.fedoraproject.org/updates/kernel-4.0.4-100.fc20

any ETA on a patching of fc21 ?

Comment 12 Fedora Update System 2015-05-26 03:38:29 UTC
kernel-4.0.4-300.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Josh Boyer 2015-05-26 12:29:04 UTC
(In reply to stef from comment #11)
> (In reply to Fedora Update System from comment #10)
> > kernel-4.0.4-100.fc20 has been submitted as an update for Fedora 20.
> > https://admin.fedoraproject.org/updates/kernel-4.0.4-100.fc20
> 
> any ETA on a patching of fc21 ?

It is already in the latest f21 kernel.

Comment 14 Fedora Update System 2015-05-28 20:42:01 UTC
kernel-4.0.4-101.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-4.0.4-101.fc20