Host hang on boot after experimenting g with direct IO

Jan 9, 2019
7
0
21
54
Hello,

I've been experimenting with directed IO for one of the guest VMs and now my host would hang on boot. I'm able to enter rescue mode via boot flags.

To enable directed IO on the host I followed Debian instructions //wiki.debian.org/VGAPassthrough


What would be the right way to debug this?

thanks!
 
Last edited:
hi Dominik, thanks for your reply.

I went through the docs you linked and everything checks out. I also reverted all the changes related to directed IO, which did not help, the host still hangs after seconds of boot, without any error messages printed (boot without silent flag)

In emergency mode (boot flags: systemd.unit=emergency.target) i'm able to boot the host.
If then I run `pvedaemon start` the system hangs the same way as on boot, with no errors shown.

Attached is the recent /var/log/syslog (redacted)
 

Attachments

log looks ok,
do you have vms with passthrough on 'start at boot' maybe there is some problem there?

If then I run `pvedaemon start` the system hangs the same way as on boot, with no errors shown.
you have to start pve-cluster first i guess
 
log looks ok,
do you have vms with passthrough on 'start at boot' maybe there is some problem there?


you have to start pve-cluster first i guess

is pve-cluster a program or a service? if the latter i cannot run services in emergency mode..

yes, i might have VM with passthrough starting on boot - is there a way to disable that through the filesystem?
 
is pve-cluster a program or a service? if the latter i cannot run services in emergency mode..
ok that would explain why pvedaemon start hangs since it simply starts the service...


yes, i might have VM with passthrough starting on boot - is there a way to disable that through the filesystem?
you would have to mount the pmxcfs (with pmxcfs -l) and edit the vm config
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!