u/Master_Ad6818

hi guys,

so i am planning on running proxmox as hypervisor and on top an instance of some sort of NAS operating system. Therefore i need to passthrough my SATA controller for my Disks to work properly. So i got myself an M.2 to 5x Sata Connector ASM1166 HBA controller. Then i followed this github guide to get it to work:

https://gist.github.com/mietzen/6174d04a560fa0bb35f8e752f4743382

which it did, at first. i also double checked and got this as proof of it working:
root@proxmox:~# lspci -nnk | grep -A 3 ASM1166
01:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1166 Serial ATA Controller [1b21:1166] (rev 02)

Subsystem: ZyDAS Technology Corp. Device [2116:2116]

Kernel driver in use: vfio-pci

Kernel modules: ahci

root@proxmox:~#

so i started up a OMV instance on proxmox and could also select that controller for passthrough. In my OMV i also saw and used my disks. Then i had to restart proxmox and my controller is "gone". It was still shown in the Boot menu but when i tried to start my OMV conatainer it failed since the PCI card couln´t be found. Then i tried the same command from before again:

root@proxmox:~# lspci -nnk | grep -A 3 ASM1166

but got no entry at all. Then i tried lspci alone, which showed me a bunch of stuff but none of them where an ASM1166 controller. I just redid all the steps from the github page again, and it worked again. After restart it was gone, again.

the only thing being "curious" to me was the running the command:

update-initramfs -u -k allupdate-initramfs -u -k all

since it stated this:

root@proxmox:~# update-initramfs -u -k all

update-initramfs: Generating /boot/initrd.img-7.0.0-3-pve

Running hook script 'zz-proxmox-boot'..

Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..

No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

update-initramfs: Generating /boot/initrd.img-6.17.13-6-pve

Running hook script 'zz-proxmox-boot'..

Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..

No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

update-initramfs: Generating /boot/initrd.img-6.17.2-1-pve

Running hook script 'zz-proxmox-boot'..

Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..

No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

Could the part: No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync. be the problem why it isn´t working?

Any help/ideas would be appreciated.

u/Master_Ad6818 — 12 days ago