Red Hat Bugzilla – Bug 561414
Writes to virtual usb-storage produce I/O errors
Last modified: 2013-01-09 17:16:24 EST
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.
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