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 - host kernel panic when passing usb audio device to guest
Summary: host kernel panic when passing usb audio device to guest
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jaroslav Kysela
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-29 12:40 UTC by Gerd Hoffmann
Modified: 2013-12-13 18:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-13 18:23:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen shot (digicam) (4.65 MB, image/jpeg)
2012-05-29 12:44 UTC, Gerd Hoffmann
no flags Details
serial log #1 (4.53 KB, text/plain)
2012-05-29 13:24 UTC, Gerd Hoffmann
no flags Details
serial console log #2 (16.20 KB, text/plain)
2012-05-29 13:25 UTC, Gerd Hoffmann
no flags Details

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...


Note You need to log in before you can comment on or make changes to this bug.