This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
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.
Bug 2088323 - [virtio-win][vioscsi] The disk letter is missed randomly after system_reset during iozone test on a data disk
Summary: [virtio-win][vioscsi] The disk letter is missed randomly after system_reset d...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: virtio-win
Version: 9.0
Hardware: x86_64
OS: Windows
medium
medium
Target Milestone: rc
: ---
Assignee: Vadim Rozenfeld
QA Contact: Peixiu Hou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-19 08:12 UTC by Peixiu Hou
Modified: 2023-09-19 13:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-19 13:03:02 UTC
Type: ---
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-5014 0 None Migrated None 2023-09-19 12:59:55 UTC
Red Hat Issue Tracker RHELPLAN-122555 0 None None None 2022-05-19 09:16:35 UTC

Description Peixiu Hou 2022-05-19 08:12:33 UTC
Description of problem:
On win8.1-32, during iozone test do system reset, after system reset, the data disk letter missed.

Before run iozone test:
The output of command "fsutil fsinfo drives" as:
Drives: C:\ D:\ E:\ S:\


After system_reset:
The output of command "fsutil fsinfo drives" as:
Drives: C:\ D:\ S:\

The data disk letter E is missed.

Also hit this issue on win10-32 vm.
Did not hit this issue on  win10-64, win11-64, win2022.

Version-Release number of selected component (if applicable):
kernel-5.14.0-70.13.1.el9_0.x86_64
qemu-kvm-6.2.0-11.el9_0.2.x86_64
seabios-bin-1.15.0-1.el9.noarch
virtio-win-prewhql-218

How reproducible:
30%(3/10)

Steps to Reproduce:
1. Boot a vm up:
/usr/libexec/qemu-kvm \
    -S  \
    -name 'avocado-vt-vm1'  \
    -sandbox on  \
    -machine q35,memory-backend=mem-machine_mem \
    -device pcie-root-port,id=pcie-root-port-0,multifunction=on,bus=pcie.0,addr=0x1,chassis=1 \
    -device pcie-pci-bridge,id=pcie-pci-bridge-0,addr=0x0,bus=pcie-root-port-0  \
    -nodefaults \
    -device VGA,bus=pcie.0,addr=0x2 \
    -m 4096 \
    -object memory-backend-ram,size=4096M,id=mem-machine_mem  \
    -smp 8,maxcpus=8,cores=4,threads=1,dies=1,sockets=2  \
    -cpu 'EPYC',hv_stimer,hv_synic,hv_vpindex,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_frequencies,hv_runtime,hv_tlbflush,hv_reenlightenment,hv_stimer_direct,hv_ipi,+kvm_pv_unhalt \
    -chardev socket,path=/tmp/avocado_mjbmpq9p/monitor-qmpmonitor1-20220516-222602-DiQz2d6d,server=on,id=qmp_id_qmpmonitor1,wait=off  \
    -mon chardev=qmp_id_qmpmonitor1,mode=control \
    -chardev socket,path=/tmp/avocado_mjbmpq9p/monitor-catch_monitor-20220516-222602-DiQz2d6d,server=on,id=qmp_id_catch_monitor,wait=off  \
    -mon chardev=qmp_id_catch_monitor,mode=control \
    -device pvpanic,ioport=0x505,id=id1lLubg \
    -chardev socket,path=/tmp/avocado_mjbmpq9p/serial-serial0-20220516-222602-DiQz2d6d,server=on,id=chardev_serial0,wait=off \
    -device isa-serial,id=serial0,chardev=chardev_serial0  \
    -chardev socket,id=seabioslog_id_20220516-222602-DiQz2d6d,path=/tmp/avocado_mjbmpq9p/seabios-20220516-222602-DiQz2d6d,server=on,wait=off \
    -device isa-debugcon,chardev=seabioslog_id_20220516-222602-DiQz2d6d,iobase=0x402 \
    -device pcie-root-port,id=pcie-root-port-1,port=0x1,addr=0x1.0x1,bus=pcie.0,chassis=2 \
    -device qemu-xhci,id=usb1,bus=pcie-root-port-1,addr=0x0 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \
    -device pcie-root-port,id=pcie-root-port-2,port=0x2,addr=0x1.0x2,bus=pcie.0,chassis=3 \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,num_queues=8,bus=pcie-root-port-2,addr=0x0 \
    -blockdev node-name=file_image1,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=/home/kvm_autotest_root/images/win8-32.1-virtio-scsi.qcow2,cache.direct=on,cache.no-flush=off \
    -blockdev node-name=drive_image1,driver=qcow2,read-only=off,cache.direct=on,cache.no-flush=off,file=file_image1 \
    -device scsi-hd,id=image1,drive=drive_image1,write-cache=on \
    -blockdev node-name=file_stg,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=/home/kvm_autotest_root/images/storage.qcow2,cache.direct=on,cache.no-flush=off \
    -blockdev node-name=drive_stg,driver=qcow2,read-only=off,cache.direct=on,cache.no-flush=off,file=file_stg \
    -device scsi-hd,id=stg,drive=drive_stg,write-cache=on,serial=TARGET_DISK0 \
    -device pcie-root-port,id=pcie-root-port-3,port=0x3,addr=0x1.0x3,bus=pcie.0,chassis=4 \
    -device virtio-net-pci,mac=9a:da:10:a8:84:d4,id=idLfk8CV,netdev=id2gRU83,bus=pcie-root-port-3,addr=0x0  \
    -netdev tap,id=id2gRU83,vhost=on,vhostfd=20,fd=7 \
    -blockdev node-name=file_cd1,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=/home/kvm_autotest_root/iso/windows/winutils.iso,cache.direct=on,cache.no-flush=off \
    -blockdev node-name=drive_cd1,driver=raw,read-only=on,cache.direct=on,cache.no-flush=off,file=file_cd1 \
    -device scsi-cd,id=cd1,drive=drive_cd1,write-cache=on  \
    -vnc :0  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot menu=off,order=cdn,once=c,strict=off \
    -enable-kvm \
    -device pcie-root-port,id=pcie_extra_root_port_0,multifunction=on,bus=pcie.0,addr=0x3,chassis=5

2. Format the disk and assign a disk letter:
echo list disk > disk_Zw5C && echo exit >> disk_Zw5C && diskpart /s disk_Zw5C && del /f disk_Zw5C
echo list disk > disk_4C2E && echo select disk 1 >> disk_4C2E &&  echo detail disk >> disk_4C2E &&  echo exit >> disk_4C2E && diskpart /s disk_4C2E && del /f disk_4C2E
echo list disk > disk_JOBT && echo exit >> disk_JOBT && diskpart /s disk_JOBT && del /f disk_JOBT
echo list disk > disk_sXWe && echo select disk 1 >> disk_sXWe &&  echo create partition primary size=40955 >> disk_sXWe &&  echo list partition >> disk_sXWe &&  echo exit >> disk_sXWe && diskpart /s disk_sXWe && del /f disk_sXWe
echo list disk > disk_GwZf && echo select disk 1 >> disk_GwZf &&  echo list partition  >> disk_GwZf &&  echo exit >> disk_GwZf && diskpart /s disk_GwZf && del /f disk_GwZf
echo list disk > disk_6pxj && echo select disk 1 >> disk_6pxj &&  echo select partition 1  >> disk_6pxj &&  echo assign  >> disk_6pxj &&  echo exit >> disk_6pxj && diskpart /s disk_6pxj && del /f disk_6pxj
echo list disk > disk_CrNB && echo select disk 1 >> disk_CrNB &&  echo detail disk  >> disk_CrNB &&  echo exit >> disk_CrNB && diskpart /s disk_CrNB && del /f disk_CrNB
echo select volume E > disk_HEaL && echo format fs=ntfs quick >> disk_HEaL && echo exit >> disk_HEaL && diskpart /s disk_HEaL && del /f disk_HEaL

3. fsutil fsinfo drives
Drives: C:\ D:\ E:\ S:\

4. D:\Iozone\iozone.exe -azR -r 64k -n 1G -g 4G -M -i 0 -i 1 -I -f E:\testfile

5. During iozone run, do system_reset:
Sending command(qmp): system_reset
22:28:00 DEBUG| (monitor avocado-vt-vm1.qmpmonitor1) Sending command 'system_reset' 
22:28:00 DEBUG| Send command: {'execute': 'system_reset', 'id': 'FRpnVPqo'}

6. After the vm booted up, do "fsutil fsinfo drives" check.
Drives: C:\ D:\ S:\ 
No E: exists.

Check list volume, as follows:
2022-05-18 21:59:03: Microsoft DiskPart version 6.3.9600
2022-05-18 21:59:03:
2022-05-18 21:59:03: Copyright (C) 1999-2013 Microsoft Corporation.
2022-05-18 21:59:03: On computer: WIN-C2M5ADH43CL
2022-05-18 21:59:05:
2022-05-18 21:59:05:   Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
2022-05-18 21:59:05:   ----------  ---  -----------  -----  ----------  -------  ---------  --------
2022-05-18 21:59:05:   Volume 0     D   WIN_UTILS    CDFS   CD-ROM      2937 MB  Healthy
2022-05-18 21:59:05:   Volume 1     S   System       NTFS   Partition    300 MB  Healthy    System
2022-05-18 21:59:05:   Volume 2     C   Windows      NTFS   Partition     29 GB  Healthy    Boot
2022-05-18 21:59:05:   Volume 3                      NTFS   Partition     39 GB  Healthy

check list disk:
2022-05-18 21:58:59: Microsoft DiskPart version 6.3.9600
2022-05-18 21:58:59:
2022-05-18 21:58:59: Copyright (C) 1999-2013 Microsoft Corporation.
2022-05-18 21:58:59: On computer: WIN-C2M5ADH43CL
2022-05-18 21:59:02:
2022-05-18 21:59:02:   Disk ###  Status         Size     Free     Dyn  Gpt
2022-05-18 21:59:02:   --------  -------------  -------  -------  ---  ---
2022-05-18 21:59:02:   Disk 0    Online           30 GB      0 B
2022-05-18 21:59:02:   Disk 1    Online           40 GB  3072 KB


Actual results:
data disk letter missed after system_reset

Expected results:
data disk letter exists as well.

Additional info:

Comment 2 RHEL Program Management 2023-09-19 12:57:42 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 3 RHEL Program Management 2023-09-19 13:03:02 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


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