Hello there,
I'm using proxmox 7.4-3 with an Ubuntu LXC for a while. It's been perfect.
Today I decided to install a Windows VM and passthrough the AMD APU (My CPU is a Ryzen 4650GE PRO).
I was able to install Windows using the following guide (https://4sysops.com/archives/create-a-windows-vm-in-proxmox-ve/). It runs fine.
Then I tried to passthrough the APU using this guide (https://forum.proxmox.com/threads/gpu-passthrough-ryzen-4600g-apu.120151/#post-524787). Also installed the vender-reset module as described here (https://www.nicksherlock.com/2020/11/working-around-the-amd-gpu-reset-bug-on-proxmox/).
lspci command shows the following:
When I click to start the VM, it returns an error and the whole host halts/crashes.
dmesg shows the following right after clicking to start the VM.
Am I make any mistake somewhere?
Any help is appreciated.
I'm using proxmox 7.4-3 with an Ubuntu LXC for a while. It's been perfect.
Today I decided to install a Windows VM and passthrough the AMD APU (My CPU is a Ryzen 4650GE PRO).
I was able to install Windows using the following guide (https://4sysops.com/archives/create-a-windows-vm-in-proxmox-ve/). It runs fine.
Then I tried to passthrough the APU using this guide (https://forum.proxmox.com/threads/gpu-passthrough-ryzen-4600g-apu.120151/#post-524787). Also installed the vender-reset module as described here (https://www.nicksherlock.com/2020/11/working-around-the-amd-gpu-reset-bug-on-proxmox/).
lspci command shows the following:
#lspci -s 06:00
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev dc)
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
When I click to start the VM, it returns an error and the whole host halts/crashes.
dmesg shows the following right after clicking to start the VM.
<6>[ 428.932442] usb usb6: USB disconnect, device number 1
<4>[ 428.968056] ata10.00: disabled
<5>[ 428.999646] sd 9:0:0:0: [sdc] Synchronizing SCSI cache
<5>[ 429.001686] sd 9:0:0:0: [sdc] Stopping disk
<6>[ 429.002204] sd 9:0:0:0: [sdc] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
<3>[ 429.021775] FAT-fs (sdc2): unable to read boot sector to mark fs as dirty
<6>[ 429.143677] xhci_hcd 0000:06:00.3: remove, state 4
<6>[ 429.145406] xhci_hcd 0000:06:00.3: USB bus 4 deregistered
<6>[ 429.145916] xhci_hcd 0000:06:00.3: remove, state 4
<6>[ 429.147456] xhci_hcd 0000:06:00.3: USB bus 3 deregistered
<3>[ 429.353430] Buffer I/O error on dev dm-1, logical block 8945664, lost sync page write
<3>[ 429.355415] Buffer I/O error on dev dm-1, logical block 0, lost sync page write
<2>[ 429.355547] EXT4-fs error (device dm-1): ext4_journal_check_start:83: comm rs:main Q:Reg: Detected aborted journal
<2>[ 429.355566] EXT4-fs error (device dm-1): ext4_journal_check_start:83: comm systemd-journal: Detected aborted journal
<3>[ 429.355902] EXT4-fs (dm-1): I/O error while writing superblock
<3>[ 429.355911] EXT4-fs (dm-1): previous I/O error to superblock detected
<3>[ 429.355918] Buffer I/O error on dev dm-1, logical block 0, lost sync page write
<2>[ 429.355921] EXT4-fs (dm-1): Remounting filesystem read-only
<3>[ 437.363493] Buffer I/O error on dev dm-6, logical block 9258, lost sync page write
<2>[ 443.812106] EXT4-fs error (device dm-6): ext4_journal_check_start:83: comm containerd-shim: Detected aborted journal
<3>[ 443.813333] Buffer I/O error on dev dm-6, logical block 0, lost sync page write
<3>[ 443.813770] EXT4-fs (dm-6): I/O error while writing superblock
<2>[ 443.814213] EXT4-fs (dm-6): Remounting filesystem read-only
<3>[ 443.814761] device-mapper: thin: process_cell: dm_thin_find_block() failed: error = -5
<3>[ 443.815207] device-mapper: thin: process_cell: dm_thin_find_block() failed: error = -5
<3>[ 492.321767] Buffer I/O error on dev dm-1, logical block 0, lost sync page write
<6>[ 498.044125] kvm: exiting hardware virtualization
<5>[ 498.045663] sd 4:0:0:0: [sda] Synchronizing SCSI cache
Am I make any mistake somewhere?
Any help is appreciated.