Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Can not reproduce this bug on the following versions:
kernel-3.10.0-196.el7.x86_64
qemu-kvm-rhev-2.1.2-5.el7.x86_64
steps:
1. Boot up a Win2003 guest w/ virtio_blk
2. echo list disk > cmd && echo exit >> cmd && diskpart /s cmd
Microsoft DiskPart version 5.2.3790.3959
Copyright (C) 1999-2001 Microsoft Corporation.
On computer: AUTOTEST-3D0064
Disk ### Status Size Free Dyn Gpt
-------- ---------- ------- ------- --- ---
Disk 0 Online 30 GB 8033 KB
Disk 1 Online 1020 MB 1020 MB
Leaving DiskPart...
3. echo %errorlevel%
0
4. echo select disk 1 > cmd && echo create partition primary >> cmd && echo select partition 1 >> cmd && echo assign letter=I >> cmd && echo exit >> cmd && diskpart /s cmd
Microsoft DiskPart version 5.2.3790.3959
Copyright (C) 1999-2001 Microsoft Corporation.
On computer: AUTOTEST-3D0064
Disk 1 is now the selected disk.
Diskpart succeeded in creating the specified partition.
Partition 1 is now the selected partition.
Diskpart successfully assigned the driver letter or mount point.
Leaving Diskpart...
5. echo %errorlevel%
0
The screenshot of the test result attached.
Thanks.
(In reply to CongLi from comment #21)
> Created attachment 954258[details]
> screenshot of the test result
Many thanks, for re-testing it again.
Vadim.
Created attachment 803958 [details] guest session log Description of problem: Win2003 virtio-blk guest error when format disk Version-Release number of selected component (if applicable): kernel-3.10.0-23.el7.x86_64 qemu-kvm-1.5.3-7.el7.x86_64 How reproducible: 5/5 Steps to Reproduce: 1. Boot up a Win2003 guest w/ virtio_blk 2. echo list disk > cmd && echo exit >> cmd && diskpart /s cmd 3. echo %errorlevel% 4. echo select disk 1 > cmd && echo create partition primary >> cmd && echo select partition 1 >> cmd && echo assign letter=I >> cmd && echo exit >> cmd && diskpart /s cmd 5. echo %errorlevel% Actual results: step 4 error: 2013-09-26 18:23:55: C:\Documents and Settings\Administrator> 2013-09-26 18:23:55: echo select disk 1 > cmd && echo create partition primary >> cmd && echo select partition 1 >> cmd && echo assign letter=I >> cmd && echo exit >> cmd && diskpart /s cmd 2013-09-26 18:23:55: 2013-09-26 18:23:55: Microsoft DiskPart version 5.2.3790.3959 2013-09-26 18:23:55: Copyright (C) 1999-2001 Microsoft Corporation. 2013-09-26 18:23:55: On computer: AUTOTEST-9D963B 2013-09-26 18:23:55: 2013-09-26 18:23:55: Disk 1 is now the selected disk. 2013-09-26 18:26:55: 2013-09-26 18:26:55: The disk management services could not complete the operation. 2013-09-26 18:26:55: 2013-09-26 18:26:55: C:\Documents and Settings\Administrator> 2013-09-26 18:26:56: echo %errorlevel% 2013-09-26 18:26:56: 4 Expected results: No error occur when format disk Additional info: 1. Qemu CML: /root/staf-kvm-devel/autotest-devel/client/tests/virt/qemu/qemu \ -S \ -name 'virt-tests-vm1' \ -nodefaults \ -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20130926-095954-7KTBxGqC,server,nowait \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -chardev socket,id=serial_id_serial1,path=/tmp/serial-serial1-20130926-095954-7KTBxGqC,server,nowait \ -device isa-serial,chardev=serial_id_serial1 \ -chardev socket,id=seabioslog_id_20130926-095954-7KTBxGqC,path=/tmp/seabios-20130926-095954-7KTBxGqC,server,nowait \ -device isa-debugcon,chardev=seabioslog_id_20130926-095954-7KTBxGqC,iobase=0x402 \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=0x4 \ -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/win2003-32-virtio.qcow2',index=0,if=none,id=drive-virtio-disk1,media=disk,cache=none,snapshot=off,format=qcow2,aio=native \ -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,bootindex=0 \ -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/storage.qcow2',index=2,if=none,id=drive-virtio-disk2,media=disk,cache=none,snapshot=off,format=qcow2,aio=native \ -device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk2,bootindex=1 \ -device virtio-net-pci,netdev=idHZ8uB1,mac='9a:c6:c7:c8:c9:ca',bus=pci.0,addr=0x3,id='id2llSmw' \ -netdev tap,id=idHZ8uB1,vhost=on,vhostfd=22,fd=21 \ -m 4096 \ -smp 2,maxcpus=2,cores=1,threads=1,sockets=2 \ -cpu 'SandyBridge' \ -M pc \ -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/winutils.iso',index=1,if=none,id=drive-ide0-0-0,media=cdrom,format=raw \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0 \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4 \ -vga qxl \ -global qxl-vga.vram_size=33554432 \ -rtc base=localtime,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off \ -enable-kvm 2. Cpuinfo: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Xeon(R) CPU E31225 @ 3.10GHz stepping : 7 microcode : 0x29 cpu MHz : 1984.000 cache size : 6144 KB physical id : 0 siblings : 4 core id : 3 cpu cores : 4 apicid : 6 initial apicid : 6 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 6185.59 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: