Bug 2022656
Summary: | [virtio-win][vioscsi] Windows will fail to format a partition to NTFS with vioscsi+scsi-block | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Peixiu Hou <phou> |
Component: | virtio-win | Assignee: | Vadim Rozenfeld <vrozenfe> |
virtio-win sub component: | virtio-win-prewhql | QA Contact: | Peixiu Hou <phou> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | abchujb, coli, mdean, qinwang, qizhu |
Version: | 9.0 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Windows | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-17 15:35:27 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
Peixiu Hou
2021-11-12 10:04:35 UTC
Tried test on RHEL9 host, also reproduced this issue. kernel-5.14.0-15.el9.x86_64 qemu-kvm-6.1.0-6.el9.x86_64 virtio-win-prewhql-214 seabios-bin-1.14.0-7.el9.noarch merged upstream https://github.com/virtio-win/kvm-guest-drivers-windows/pull/685 Hi Vadim, I tested this case on a RHEL8.4 host with virtio-win-prewhql-215, also reproduced this issue, steps as comment#0. - with scsi-block + /dev/sdb, install win10 os failed. - with scsi-hd + /dev/sdb, win10 os can be installed success. # lsscsi [0:2:0:0] disk DELL PERC H710 3.13 /dev/sda [0:2:1:0] disk DELL PERC H710 3.13 /dev/sdb [0:2:2:0] disk DELL PERC H710 3.13 /dev/sdc [5:0:0:0] cd/dvd PLDS DVD-ROM DS-8D9SH UD51 /dev/sr0 # cat /sys/block/sdb/queue/max_segments 64 Version: kernel-4.18.0-305.28.1.el8_4.x86_64 qemu-kvm-5.2.0-16.module+el8.4.0+13043+9eb47245.11.x86_64 edk2-ovmf-20200602gitca407c7246bf-4.el8_4.2.noarch virtio-win-prewhql-215 Thanks~ Peixiu (In reply to Peixiu Hou from comment #4) > Hi Vadim, > > I tested this case on a RHEL8.4 host with virtio-win-prewhql-215, also > reproduced this issue, steps as comment#0. > - with scsi-block + /dev/sdb, install win10 os failed. > - with scsi-hd + /dev/sdb, win10 os can be installed success. > > # lsscsi > [0:2:0:0] disk DELL PERC H710 3.13 /dev/sda > [0:2:1:0] disk DELL PERC H710 3.13 /dev/sdb > [0:2:2:0] disk DELL PERC H710 3.13 /dev/sdc > [5:0:0:0] cd/dvd PLDS DVD-ROM DS-8D9SH UD51 /dev/sr0 > > # cat /sys/block/sdb/queue/max_segments > 64 > > Version: > kernel-4.18.0-305.28.1.el8_4.x86_64 > qemu-kvm-5.2.0-16.module+el8.4.0+13043+9eb47245.11.x86_64 > edk2-ovmf-20200602gitca407c7246bf-4.el8_4.2.noarch > virtio-win-prewhql-215 > > Thanks~ > Peixiu Hi Peixiu, you need to specify max_sectors qemu parameter for the direct lun attached device. Something like this: "-device virtio-scsi-pci,id=scsi-vioscsi1,max_sectors=64" (In reply to Vadim Rozenfeld from comment #5) > (In reply to Peixiu Hou from comment #4) > > Hi Vadim, > > > > I tested this case on a RHEL8.4 host with virtio-win-prewhql-215, also > > reproduced this issue, steps as comment#0. > > - with scsi-block + /dev/sdb, install win10 os failed. > > - with scsi-hd + /dev/sdb, win10 os can be installed success. > > > > # lsscsi > > [0:2:0:0] disk DELL PERC H710 3.13 /dev/sda > > [0:2:1:0] disk DELL PERC H710 3.13 /dev/sdb > > [0:2:2:0] disk DELL PERC H710 3.13 /dev/sdc > > [5:0:0:0] cd/dvd PLDS DVD-ROM DS-8D9SH UD51 /dev/sr0 > > > > # cat /sys/block/sdb/queue/max_segments > > 64 > > > > Version: > > kernel-4.18.0-305.28.1.el8_4.x86_64 > > qemu-kvm-5.2.0-16.module+el8.4.0+13043+9eb47245.11.x86_64 > > edk2-ovmf-20200602gitca407c7246bf-4.el8_4.2.noarch > > virtio-win-prewhql-215 > > > > Thanks~ > > Peixiu > > Hi Peixiu, > > you need to specify max_sectors qemu parameter for the direct lun > attached device. Something like this: > "-device virtio-scsi-pci,id=scsi-vioscsi1,max_sectors=64" Test again with max_sectors=64, installation can be succeed, thanks a lot vadim, changing this bug to verified. Used versions: kernel-4.18.0-305.28.1.el8_4.x86_64 qemu-kvm-5.2.0-16.module+el8.4.0+13043+9eb47245.11.x86_64 virtio-win-preqwhql-215 edk2-ovmf-20200602gitca407c7246bf-4.el8_4.2.noarch Best regards~ Peixiu (In reply to Peixiu Hou from comment #6) > (In reply to Vadim Rozenfeld from comment #5) > > (In reply to Peixiu Hou from comment #4) > > > Hi Vadim, > > > > > > I tested this case on a RHEL8.4 host with virtio-win-prewhql-215, also > > > reproduced this issue, steps as comment#0. > > > - with scsi-block + /dev/sdb, install win10 os failed. > > > - with scsi-hd + /dev/sdb, win10 os can be installed success. > > > > > > # lsscsi > > > [0:2:0:0] disk DELL PERC H710 3.13 /dev/sda > > > [0:2:1:0] disk DELL PERC H710 3.13 /dev/sdb > > > [0:2:2:0] disk DELL PERC H710 3.13 /dev/sdc > > > [5:0:0:0] cd/dvd PLDS DVD-ROM DS-8D9SH UD51 /dev/sr0 > > > > > > # cat /sys/block/sdb/queue/max_segments > > > 64 > > > > > > Version: > > > kernel-4.18.0-305.28.1.el8_4.x86_64 > > > qemu-kvm-5.2.0-16.module+el8.4.0+13043+9eb47245.11.x86_64 > > > edk2-ovmf-20200602gitca407c7246bf-4.el8_4.2.noarch > > > virtio-win-prewhql-215 > > > > > > Thanks~ > > > Peixiu > > > > Hi Peixiu, > > > > you need to specify max_sectors qemu parameter for the direct lun > > attached device. Something like this: > > "-device virtio-scsi-pci,id=scsi-vioscsi1,max_sectors=64" > > Test again with max_sectors=64, installation can be succeed, thanks a lot > vadim, changing this bug to verified. > > Used versions: > kernel-4.18.0-305.28.1.el8_4.x86_64 > qemu-kvm-5.2.0-16.module+el8.4.0+13043+9eb47245.11.x86_64 > virtio-win-preqwhql-215 > edk2-ovmf-20200602gitca407c7246bf-4.el8_4.2.noarch > > Best regards~ > Peixiu if the disk is openstack cinder block volume, where i can set max_sectors=64? (In reply to abchujb from comment #8) > (In reply to Peixiu Hou from comment #6) > > (In reply to Vadim Rozenfeld from comment #5) > > > (In reply to Peixiu Hou from comment #4) > > > > Hi Vadim, > > > > > > > > I tested this case on a RHEL8.4 host with virtio-win-prewhql-215, also > > > > reproduced this issue, steps as comment#0. > > > > - with scsi-block + /dev/sdb, install win10 os failed. > > > > - with scsi-hd + /dev/sdb, win10 os can be installed success. > > > > > > > > # lsscsi > > > > [0:2:0:0] disk DELL PERC H710 3.13 /dev/sda > > > > [0:2:1:0] disk DELL PERC H710 3.13 /dev/sdb > > > > [0:2:2:0] disk DELL PERC H710 3.13 /dev/sdc > > > > [5:0:0:0] cd/dvd PLDS DVD-ROM DS-8D9SH UD51 /dev/sr0 > > > > > > > > # cat /sys/block/sdb/queue/max_segments > > > > 64 > > > > > > > > Version: > > > > kernel-4.18.0-305.28.1.el8_4.x86_64 > > > > qemu-kvm-5.2.0-16.module+el8.4.0+13043+9eb47245.11.x86_64 > > > > edk2-ovmf-20200602gitca407c7246bf-4.el8_4.2.noarch > > > > virtio-win-prewhql-215 > > > > > > > > Thanks~ > > > > Peixiu > > > > > > Hi Peixiu, > > > > > > you need to specify max_sectors qemu parameter for the direct lun > > > attached device. Something like this: > > > "-device virtio-scsi-pci,id=scsi-vioscsi1,max_sectors=64" > > > > Test again with max_sectors=64, installation can be succeed, thanks a lot > > vadim, changing this bug to verified. > > > > Used versions: > > kernel-4.18.0-305.28.1.el8_4.x86_64 > > qemu-kvm-5.2.0-16.module+el8.4.0+13043+9eb47245.11.x86_64 > > virtio-win-preqwhql-215 > > edk2-ovmf-20200602gitca407c7246bf-4.el8_4.2.noarch > > > > Best regards~ > > Peixiu > > if the disk is openstack cinder block volume, where i can set max_sectors=64? Hi, I see your block volume used virtio-blk-pci device, it should not support max_sectors=64 param, if you openstack default use virtio-blk-pci for block volume, then it seems cannot works, we can wait for the developer reply of bug 2041757; If you change to virtio-scsi-pci for block volume, honestly, I'm also not so familiar about the openstack detail behavior, 5sorry for that~ BR~ Peixiu *** Bug 2041757 has been marked as a duplicate of this bug. *** 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 (new packages: virtio-win), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:3890 |