Description

TrueNAS-12.1-MASTER-202008140438
created VM based on virtio disk + net. set 4KB block size on zvol and for VM disk. can connect with VNC. boots from ISO, starts install. just after "copying files" it crashes.

ISO created: slipstreamed virtio drivers v189 into windows 10 2004 (boot.wim and install.wim), added autounattend.xml. tested working fine in VMware player.

Logs show:

Assertion failed: (n >= 2 && n <= BLOCKIF_IOV_MAX + 2), function pci_vtblk_proc, file /TrueNAS-12.1-Nightlies/freenas/_BE/os/usr.sbin/bhyve/pci_virtio_block.c, line 222.

after that crash you cannot stop the VM. UI still shows it is running. iohyve list yields nothing. have to restart freenas to be able to give the VM another try.

Steps to Reproduce

None

Expected Result

None

Actual Result

None

Environment

None

Hardware Health

None

Error Message (if applicable)

None

Katalon Manual Tests (BETA)

Activity

Show:

William Gryzbowski December 28, 2021 at 5:17 PM

Unfortunately we do not have enough resources to look at this issue, this its a Third Party to Resolve.

 

Alternatively you can try TrueNAS SCALE for a better VM experience.

Metis IT May 3, 2021 at 12:33 AM

1.185 ( currently "stable") allows windows 10H2 installer to run through also with 4k zvol. so that is the REQUIRED version. maybe add that info to the docs? 

so any virtio newer than that currently seems incompatible right away or after some time or in some configuration scenario. 

sadly the changlog of virtio doesn't give useful information what has changed, and no new version released since january? ... 

 

Metis IT May 2, 2021 at 7:23 PM
Edited

just found this on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250865 

There is a known issues with 1.189.
https://bugzilla.redhat.com/show_bug.cgi?id=1890810

If you are either presenting the zvol as 4k or the underlying setting of it is 4k, then you'll run into corruption pretty quickly.

I have tested and confirmed this. 1.187 does not exhibit the same issue. Testing was conducted using 12.2-RELEASE and Windows 10.

Our Windows Server 2019 fleet are using 1.185 without issue.

also tested latest version 1.190 crashes bhyve. 

version 1.187 does NOT produce bhyve crashes  - but windows cannot finish the setup phase (after first copy-install phase) , it stays in a reboot cycle in configuration-phase. this seems to be related to a 4k zvol underneith. changed to 128k and windows install finished 2nd boot phase as well. 

Metis IT May 1, 2021 at 5:16 PM

just reproduced this with TrueNAS 12.0-U3. bhyve crash when windows setup starts "copying files"

is there any known way to install windows 10 on bhyve these days? 

Preview unavailable

Ryan Moeller October 16, 2020 at 9:04 PM

Third Party to Resolve
Pinned fields
Click on the next to a field label to start pinning.
Details

Assignee

Triage Team

Reporter

Metis IT

Labels

Fix versions

Components

Priority

More fields
Katalon Platform
Created August 17, 2020 at 10:26 PM
Updated July 1, 2022 at 2:55 PM
Resolved December 28, 2021 at 5:17 PM