Bug 603430 - "bdrv_write ret=-5" error display when stop guest on write error
"bdrv_write ret=-5" error display when stop guest on write error
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Virtualization Maintenance
Virtualization Bugs
Depends On:
  Show dependency treegraph
Reported: 2010-06-13 03:26 EDT by Suqin Huang
Modified: 2010-06-13 03:49 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-13 03:49:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Suqin Huang 2010-06-13 03:26:36 EDT
Description of problem:
put image in nfs, start guest, and run dd in guest, then stop nfs. "bdrv_write ret=-5 qcow2: free_clusters failed: Input/output error" is display on monitor

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. mount nfs
mount -o rw,soft,timeo=1,retrans=1 /mnt/
2. boot guest
/usr/libexec/qemu-kvm -no-hpet -usbdevice tablet -rtc-td-hack -drive file=/mnt/bak/rhel5.5-64-virtio.qcow2,format=qcow2,media=disk,if=virtio,boot=on,cache=off,index=0,werror=stop -smp 2 -m 2G  -vnc :3 -monitor stdio -net nic,vlan=0,macaddr=20:20:28:99:01:19,model=virtio -net tap,vlan=0,script=//usr/local/staf/test/RHEV/kvm-new/autotest/client/tests/kvm/scripts/qemu-ifup-switch -uuid `uuidgen` -cpu qemu64
3. run  dd
dd if=/dev/zero of=file bs=1M count=100
4. stop nfs

Actual results:
"bdrv_write ret=-5"
is display in monitor, can not operate monitor

Expected results:

Additional info:
Comment 1 Suqin Huang 2010-06-13 03:31:43 EDT
kernel: 2.6.18-194.3.1.el5
guest: rhel5.5-64 (kernel-201)

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