Bug 476700
Summary: | Loss of USB HID devices when switching with a KVM | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Flavio Leitner <fleitner> | ||||||
Component: | kernel | Assignee: | Flavio Leitner <fleitner> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Brenda Tian <mtian> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 4.7 | CC: | cward, czhang, emcnabb, kenkolden, peterm, qcai, vgoyal | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-02-16 15:29:13 UTC | Type: | --- | ||||||
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
Flavio Leitner
2008-12-16 16:15:46 UTC
Created attachment 327123 [details]
USB messages with keyboard and mouse status
Event posted on 06-09-2009 05:14pm BRT by fbl Hi, This is what I could see from messages log: Nov 5 17:24:39 kernel: usb 6-2: USB disconnect, address 2 Nov 5 17:24:39 kernel: usb 6-2.1: USB disconnect, address 3 Nov 5 17:24:39 kernel: drivers/usb/input/hid-core.c: can't resubmit intr, 0000:00:1d.2-2.2/input0, status -19 Nov 5 17:24:39 kernel: usb 6-2.2: USB disconnect, address 4 Nov 5 17:24:41 kernel: usb 6-2: new full speed USB device using address 5 Nov 5 17:24:41 kernel: hub 6-2:1.0: USB hub found Nov 5 17:24:41 kernel: hub 6-2:1.0: 2 ports detected Nov 5 17:24:42 kernel: usb 6-2.1: new low speed USB device using address 6 Nov 5 17:24:42 kernel: input: USB HID v1.00 Keyboard [SILITEK USB Keyboard and Mouse] on usb-0000:00:1d.2-2.1 Nov 5 17:24:42 kernel: input: USB HID v1.00 Mouse [SILITEK USB Keyboard and Mouse] on usb-0000:00:1d.2-2.1 Nov 5 17:24:43 kernel: hub 6-2:1.0: hub_port_status failed (err = -71) Nov 5 17:24:43 kernel: hub 6-2:1.0: connect-debounce failed, port 2 disabled Nov 5 17:24:43 kernel: hub 6-2:1.0: cannot disable port 2 (err = -71) Nov 5 17:24:43 kernel: usb 6-2: USB disconnect, address 5 Nov 5 17:24:43 kernel: usb 6-2.1: USB disconnect, address 6 Nov 5 17:24:46 kernel: usb 6-2: new full speed USB device using address 7 Nov 5 17:24:46 kernel: usb 6-2: device not accepting address 7, error -71 The upstream commit pointed as workaround actually has many upstream code dependencies that turns the backporting impractical at this stage for RHEL4 due to the risks of introducing regressions. The log lines above shows that your KVM device is a HUB device presenting two connected devices, but it fails to get HUB port status (CRC/Timeout), later the debounce routine fails with the same reason. So, can you enable CONFIG_USB_DEBUG, reproduce the problem again and upload another sosreport? That would tell us more information about this issue. thank you, Flavio Internal Status set to 'Waiting on Support' This event sent from IssueTracker by fbl issue 237467 Created attachment 354358 [details] patch adding suspend_disabled parameter to uhci-hcd.ko Switching a KVM on and off causes the USB keyboard and mouse to no longer be recognized and the following messages are printed. --- input: USB HID v1.00 Keyboard [SILITEK USB Keyboard and Mouse] on usb-0000:00:1d.2-2.1 input: USB HID v1.00 Mouse [SILITEK USB Keyboard and Mouse] on usb-0000:00:1d.2-2.1 kernel: hub 6-2:1.0: hub_port_status failed (err = -71) kernel: hub 6-2:1.0: connect-debounce failed, port 2 disabled kernel: hub 6-2:1.0: cannot disable port 2 (err = -71) --- Hardware: 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) Customer has bisected upstream kernel and found that this commit fixes the problem: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c8f4fe4358c5e0a79b4bd47b814d19f1d1d06f21 but that commit is part of some big changes on UHCI driver and so too intrusive for RHEL4u9. RHEL5 has all patches and works fine. This patch adds suspend_disabled parameter to uhci-hcd.ko to disable suspend. Customer reports the patch works. Flavio This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Committed in 89.11.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/ For there is no hardware to verify this bug,so we just have done the code review. Through code review, confirmed the patch included into kernel-2.6.9-97, marked SanityOnly. Through code review, confirmed the patch included into kernel-2.6.9-97.EL, marked SanityOnly. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0263.html |