Bug 561414
Summary: | Writes to virtual usb-storage produce I/O errors | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Kevin Wolf <kwolf> | ||||
Component: | qemu-kvm | Assignee: | Gerd Hoffmann <kraxel> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.0 | CC: | akong, armbru, bcao, borgan, chellwig, drjones, gcosta, jcpunk, juzhang, kcao, kwolf, qcai, qzhou, syeghiay, tburke, virt-maint, xfu | ||||
Target Milestone: | beta | ||||||
Target Release: | 6.2 | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | qemu-kvm-0.12.1.2-2.169.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-12-06 15:42:12 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: | |||||||
Bug Depends On: | 711354 | ||||||
Bug Blocks: | 575298, 580953 | ||||||
Attachments: |
|
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. *** Bug 592916 has been marked as a duplicate of this bug. *** Kevin, Thanks for the info. It is strange in that you reported it and someone else elevated it as a test blocker. I moved the target to RC, but left as a blocker. Putting it in needinfo to get justification. caiqian, when asserting blocker, please add a comment with some justification. Is this a really a blocker? If not please drop the flag. Which tests are blocked as a result of this bug? We think this is not a blocker and there's no requirement to support usb storage devices. Driver update program tests that used a KVM-based automation to test if we can load the driver disks/ISOs in the installer from a USB device. There used to be a few issues ... upstream/master should be fine now in case anyone cares to try. RHEL-6.2 needs tons of USB backports for EHCI anyway, I'll go fix this along the way. devel_acked (see Devel Whiteboard) Tested with qemu-kvm-0.12.1.2-2.163.el6.x86_64,usb-storage is disabled. fixed version should be enable Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2011-1531.html |
Created attachment 388558 [details] Guest kernel logs Description of problem: When I write to a virtual USB disk, Linux outputs lots of I/O errors and resets in the kernel log. In the end, the transferred data seems to be fine, though. This was tested with a RHEL 5.3 and a Fedora 11 guest. It happens both with UHCI and OHCI emulation. Steps to Reproduce: 1. Start a guest with a small scratch image (-device usb-storage,drive=usb -drive id=usb,if=none,file=/tmp/scratch.img) 2. In the guest, write to the disk: dd if=/dev/urandom of=/dev/sda 3. If the messages don't appear on the console, use dmesg Actual results: The data is correctly transferred (you can verify by writing into a temporary file first and md5sum this file and the scratch image on the host), but lots of error messages appear. Expected results: No error messages should appear. Additional info: Attaching the kernel logs of the guest.