-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem creating VLAN interface? #15
Comments
In case someone also screws up the initramfs and needs to rebuild it to get the linux boot again. You need to boot another linux, chroot into the non-bootlable linux and then rebuild the initramfs. I documented it there: https://forum.proxmox.com/threads/fix-stuck-initramfs.120192/post-522569 Still the question why VLANs are not working and it fails with "RTNETLINK answers: Operation not supported" on both of my servers. |
Sorry, but because I'm not using the hook anymore and a lack of time, I'm not able to maintain this repo anymore. Please fork and start developing :) |
@Dunuin I reported the sleep and cat issue to https://bugs.debian.org/1033802 |
Hi,
Already used this hook 2 years ago on Proxmox VE server to unlock a LUKS encrypted LVM via tagged vlan and that is still working fine.
Now I'm trying to set up another Proxmox VE 7.2 ( which is based on Debian 11) server that also needs tagged VLAN but this time to unlock the encrypted ZFS root filesystem dataset.
But with this server this just won't work. After manually unlocking the root filesystem by connecting a keyboard+display and Proxmox VE has booted my network is working fine. This is my /etc/network/intefaces:
When I check the used driver in Proxmox VE it is reporting to use r8169 and the chip is a Realtek RTL8111GR.
My /etc/initramfs-tools/initramfs.conf looks like this:
The old server, using a Mellanox Connectx-3, and this config works fine:
So the new server uses basically the same, just another NIC, a hostname and an additional DNS server IP.
But when I reboot it looks like initramfs is failing to create the VLAN interface:
Second 4 to 5.5:
Then a long time nothing and then 10x:
And a single:
/scripts/init-premount/dropbear: .: line 329: can't open '/run/net-enp3s0.43.conf' : No such file or directory
When I skip tagged VLAN and use this for the /etc/initramfs-tools/initramfs.conf and set the switch to untagged VLAN 43 everything works fine:
What could be the problem here? Looks like initramfs and Proxmox VE are using the same r8169 driver but somehow initramfs still can't create a vlan interface?
I'm also not sure how to add a driver to initramfs using modprobe. Do I just need to "modprobe r8169" to the /etc/initramfs-tools/initramfs.conf?
The text was updated successfully, but these errors were encountered: