Summary: | Vultr Q35 hangs while booting during virtio-random initialization | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Bob Grant <bgfbsd> | ||||||||
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||||||
Status: | New --- | ||||||||||
Severity: | Affects Some People | CC: | alster, emaste, eugen, fred, grahamperrin, j.kelly.hays, mason | ||||||||
Priority: | --- | ||||||||||
Version: | 13.1-RELEASE | ||||||||||
Hardware: | amd64 | ||||||||||
OS: | Any | ||||||||||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253175 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254513 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269823 |
||||||||||
Attachments: |
|
Description
Bob Grant
2022-08-01 00:10:15 UTC
Created attachment 235597 [details]
Hang on manual load of module at single user prompt
Here is the same hang after booting the installer disk single user and then doing a kldload virtio-random
The system is then unresponsive.
I could only take a screenshot because of vultr's video console.
I read in one related thread about the virtio-random spinning 100% cpu. All my hangs took place on a 1 vCPU VM. I just tested on a 2 vCPU VM and the system boots successfully. I'm going to test a 1vCPU VM for a couple of hours and see if it eventually gets past the hang. It would appear that there is an unfortunate interaction with a single CPU and and the virtio-random kernel module. Ok, I had a test boot of FreeBSD 13.1 STABLE that was booted 15 hours ago and is still hung at the same place on a 1 vCPU system. Thus the hang is more than just something that will resolve in an hour or two. Created attachment 235607 [details]
CPU graph for 1 vCPU VM hanging for 16 hrs
This is the CPU utilization as shown by the vultr dashboard during the boot of 13.1 stable ISO where the boot process was hung for 16 hrs.
I'd opened a case with Vultr and they've made a change (different emulated chipset? unsure - I don't have details) that allows stock ISOs to boot for me. For older VMs having an ISO attached and potentially for datacenters that haven't received the fix, the hint noted above seems to reliably work: 1. boot, access console, escape to loader prompt 2. using the lovely "paste" function at the left, set a hint: set hint.vtrnd.0.disabled=1 3. type 'boot' |