Bug 603430

Summary: "bdrv_write ret=-5" error display when stop guest on write error
Product: Red Hat Enterprise Linux 5 Reporter: Suqin Huang <shuang>
Component: kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5.zCC: mkenneth, virt-maint, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-13 07:49:57 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:

Description Suqin Huang 2010-06-13 07:26:36 UTC
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):
kvm-83-164.el5_5.11

How reproducible:
100%

Steps to Reproduce:
1. mount nfs
mount -o rw,soft,timeo=1,retrans=1 10.66.91.146:/root/share /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 07:31:43 UTC
kernel: 2.6.18-194.3.1.el5
guest: rhel5.5-64 (kernel-201)