Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 826035

Summary: host kernel panic when passing usb audio device to guest
Product: Red Hat Enterprise Linux 6 Reporter: Gerd Hoffmann <kraxel>
Component: kernelAssignee: Jaroslav Kysela <jkysela>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: areis, linville, tburke
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-13 18:23:36 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
screen shot (digicam)
none
serial log #1
none
serial console log #2 none

Description Gerd Hoffmann 2012-05-29 12:40:21 UTC
Description of problem:
host kernel panics when assigning a usb audio device (logitech usb speaker) to a kvm guest.

Version-Release number of selected component (if applicable):
kernel-2.6.32-274.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install guest (/me used rhel6, but probably doesn't matter).
2. Boot guest.
3. Start pulseaudio volume control on the host machine.
4. Assign usb speaker to the guest (virt-manager -> add hardware -> usb host device).
  
Actual results:
host kernel panics

Expected results:
host continues to run fine

Additional info:
With pulseaudio volume control not started it works just fine.

Most likely triggered by qemu sending usbfs ioctls (USBDEVFS_DISCONNECT or USBDEVFS_RESET) to the usb speakers while they are in use by pulse.

Comment 2 Gerd Hoffmann 2012-05-29 12:44:00 UTC
Created attachment 587398 [details]
screen shot (digicam)

Comment 3 Gerd Hoffmann 2012-05-29 13:24:10 UTC
Created attachment 587408 [details]
serial log #1

Comment 4 Gerd Hoffmann 2012-05-29 13:25:46 UTC
Created attachment 587411 [details]
serial console log #2

Comment 8 Jaroslav Kysela 2012-11-23 14:54:47 UTC
The ALSA USB driver was updated in recent RHEL 6.4 kernels.

Could you retest with the latest RHEL 6 kernel?

Comment 9 Gerd Hoffmann 2012-11-27 13:23:00 UTC
Tested with 2.6.32-344.el6.x86_64, working fine now.

Comment 10 John W. Linville 2013-12-13 18:23:36 UTC
Closing on the basis of comment 9...