* [Bug 207707] New: USB pass through to qemu/kvm causes CDROM reset and "device not configured"
@ 2020-05-12 22:20 bugzilla-daemon
2021-01-28 20:51 ` [Bug 207707] " bugzilla-daemon
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2020-05-12 22:20 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=207707
Bug ID: 207707
Summary: USB pass through to qemu/kvm causes CDROM reset and
"device not configured"
Product: Virtualization
Version: unspecified
Kernel Version: 4.19.121
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: kvm
Assignee: virtualization_kvm@kernel-bugs.osdl.org
Reporter: steffen@sdaoden.eu
Regression: No
Hello.
I update my 4.19 kernel each Saturday.
In March i wrote a C program that accesses CDDA data (toc, CD-TEXT, etc), and
ported it to *BSD via qemu/kvm via USB pass through (i could). I updated the
binary (s-cdda) last on March 16th.
Now, two weeks ago i wanted to pass through the USB CD-ROM again, and it did
not work no more with error as below. This was directly after updating to qemu
5.0.0, so i reinstalled 4.2.0, with which i did the above, but it did no longer
work, too.
This is CRUX-Linux 3.5, and libusb has not changed. The only thing that really
changed otherwise is the kernel, i would say.
I used this USB CD-ROM:
May 11 22:25:32 kent kernel: usb 1-1: new high-speed USB device number 5 using
xhci_hcd
May 11 22:25:32 kent kernel: usb 1-1: New USB device found, idVendor=0e8d,
idProduct=1806, bcdDevice= 0.00
May 11 22:25:32 kent kernel: usb 1-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
May 11 22:25:32 kent kernel: usb 1-1: Product: MT1887
May 11 22:25:32 kent kernel: usb 1-1: Manufacturer: MediaTek Inc
May 11 22:25:32 kent kernel: usb 1-1: SerialNumber: S16D6YMG2003AB
May 11 22:25:32 kent kernel: usb-storage 1-1:1.0: USB Mass Storage device
detected
May 11 22:25:32 kent kernel: scsi host0: usb-storage 1-1:1.0
May 11 22:25:33 kent kernel: scsi 0:0:0:0: CD-ROM TSSTcorp CDDVDW
SE-218GN TS00 PQ: 0 ANSI: 0
May 11 22:25:33 kent kernel: sr 0:0:0:0: Power-on or device reset occurred
May 11 22:25:33 kent kernel: sr 0:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer
dvd-ram cd/rw xa/form2 cdda tray
May 11 22:25:33 kent kernel: cdrom: Uniform CD-ROM driver Revision: 3.20
May 11 22:25:33 kent kernel: sr 0:0:0:0: Attached scsi CD-ROM sr0
May 11 22:25:33 kent kernel: sr 0:0:0:0: Attached scsi generic sg0 type 5
And it works. I start qemu, the device disappears on the host, the guest OS
detects it during boot, and this causes a "reset":
May 11 22:27:31 kent kernel: usb 1-1: reset high-speed USB device number 5
using xhci_hcd
After which the device is still not back in the host, and also inaccessible in
the guest (FreeBSD says "device not configured" when i try to access it).
Is this right here, or should i open an USB bug?
Happy to help or test, thank you!
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug 207707] USB pass through to qemu/kvm causes CDROM reset and "device not configured"
2020-05-12 22:20 [Bug 207707] New: USB pass through to qemu/kvm causes CDROM reset and "device not configured" bugzilla-daemon
@ 2021-01-28 20:51 ` bugzilla-daemon
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2021-01-28 20:51 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=207707
Steffen Nurpmeso (steffen@sdaoden.eu) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Kernel Version|4.19.121 |5.10.10
Resolution|--- |OBSOLETE
--- Comment #1 from Steffen Nurpmeso (steffen@sdaoden.eu) ---
It seems fixed with 5.10.10.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-28 20:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 22:20 [Bug 207707] New: USB pass through to qemu/kvm causes CDROM reset and "device not configured" bugzilla-daemon
2021-01-28 20:51 ` [Bug 207707] " bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).