VirtualBox

Opened 5 years ago

Closed 5 years ago

#19146 closed defect (fixed)

NetBSD 9.0 RC1 installer crash immediately during boot

Reported by: Bodie Owned by:
Component: other Version: VirtualBox 6.1.0
Keywords: NetBSD, crash, BSD Cc:
Guest type: BSD Host type: Windows

Description

Hi,

downloaded NetBSD-9.0_RC1-amd64.iso from https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/images/

Host is Windows 10 on Lenovo ThinkPad T590 Guest is NetBSD 64b with 2 vCPU, 8GB RAM, without disk, LiveCD over IDE and USB flash disk via USB filter (to which I want to install) - https://shop.westerndigital.com/products/usb-flash-drives/sandisk-ultra-fit-usb-3-1#SDCZ430-128G-A46 (128GB version)

NetBSD starts to boot loader with 3 options how to boot. Hitting default boot normally and it immediately crash and screen on background is just black.

See attached files for details once allowed to upload.

Attachments (2)

VBox.log (234.2 KB ) - added by Bodie 5 years ago.
Log of NetBSD guest
VBox.png (958 bytes ) - added by Bodie 5 years ago.
screenshot right after crash

Download all attachments as: .zip

Change History (8)

by Bodie, 5 years ago

Attachment: VBox.log added

Log of NetBSD guest

by Bodie, 5 years ago

Attachment: VBox.png added

screenshot right after crash

comment:1 by Bodie, 5 years ago

Tested now with assigned virtual disk (IDE, SATA, NVME) and problem is the same so not related to USB disk at least.

comment:2 by Bodie, 5 years ago

Related thread on NetBSD mailing list https://mail-index.netbsd.org/current-users/2019/12/11/msg037187.html suggested to check:

CPUID values are ... = guest (host):

IBRS_IBPB - IA32_SPEC_CTRL.IBRS and IA32_PRED_CMD.IBPB = 0 (1) STIBP - Supports IA32_SPEC_CTRL.STIBP = 0 (1) SSBD - Supports IA32_SPEC_CTRL.SSBD = 0 (1)

so the NetBSD guest is told the cpu doesn't support IA32_SPEC_CTRL (0x48), but still the guest tries to read it:

00:00:11.518912 IEM: rdmsr(0x48) -> #GP(0) 00:00:11.518920 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'

But same values are set in NetBSD 8.1 STABLE amd64 on same host/VirtualBox combo and that one boots and runs just fine.

Version 0, edited 5 years ago by Bodie (next)

comment:3 by Socratis, 5 years ago

Try the following:

VBoxManage modifyvm "NetBSD" --spec-ctrl on

It should solve your crash...

in reply to:  3 comment:4 by Bodie, 5 years ago

Replying to socratis:

Try the following:

VBoxManage modifyvm "NetBSD" --spec-ctrl on

It should solve your crash...

I can confirm that with this setting it is possible to install this version. And it boots in to system after install.

BTW project reported that current from 13.12.2019 (9.99.23) was booting just fine, but I do not know details about the host.

comment:5 by Valery Ushakov, 5 years ago

Can you try a test build (r135456 or later).

comment:6 by aeichner, 5 years ago

Resolution: fixed
Status: newclosed

No response and there was a fix for 6.1.2, closing. Please reopen if this is still an issue with the latest VirtualBox 6.1 release.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette