HELP! Proxmox bullseye kernel freeze on Elkhart Lake

lxrootard

New Member
Oct 12, 2022
23
2
3
Hello

I'm struggling since several days to install proxmox on my NUC.
I've given up the ISO install and I'm now I'm getting errors installing proxmox following these instructions on a fresh debian 11 distrib (fully functional):

Code:
error: /etc/network/interfaces: line14: iface enp1s0: unsupported address method 'auto'
dpkg: erreur de traitement du paquet ifupdown2 (--configure) :
 installed ifupdown2 package post-installation script subprocess returned error exit status 1

It seems the proxmox installer first uninstalls my network drivers. Is that the issue?
The full log and /etc/network/interfaces* are in attachement

Thanks
 

Attachments

  • proxmox.log
    4.8 KB · Views: 2
  • interfaces.txt
    384 bytes · Views: 8
  • interfaces.new.txt
    656 bytes · Views: 2
Last edited:
error: /etc/network/interfaces: line14: iface enp1s0: unsupported address method 'auto'
Take a look into man interfaces...

Code:
METHODS
          Both inet and inet6 address family interfaces can use the following methods (However they are not required):

          The loopback Method
                 This method may be used to define the loopback interface.

          The static Method
                 This method may be used to define ethernet interfaces with statically allocated addresses.

          The dhcp Method
                 This method may be used to obtain an address via DHCP.

(I am not using IPv6 in my Homelab, so I do not know if my hint is the only truth...)

Edit: just disable that line by adding "# ..." - if you do not need IPv6 actually...

Good luck
 
Last edited:
Take a look into man interfaces...

Code:
METHODS
          Both inet and inet6 address family interfaces can use the following methods (However they are not required):

          The loopback Method
                 This method may be used to define the loopback interface.

          The static Method
                 This method may be used to define ethernet interfaces with statically allocated addresses.

          The dhcp Method
                 This method may be used to obtain an address via DHCP.

(I am not using IPv6 in my Homelab, so I do not know if my hint is the only truth...)

Edit: just disable that line by adding "# ..." - if you do not need IPv6 actually...

Good luck
thanks for your hint @UdoB I've made some progress and finally managed to install ifupdown2 from the proxmox distrib manually after some tweaking...
ifupdown2/stable,now 3.1.0-1+pmx3 all [installé]

However I'm scared about proxmox installer that wants to remove my (non-free) network drivers:

Les paquets suivants seront ENLEVÉS : firmware-iwlwifi firmware-linux-free firmware-misc-nonfree firmware-realtek

Why? Is that normal???
The full log in dry-run mode is attached
 

Attachments

  • proxmox2.log
    69.7 KB · Views: 1
Why? Is that normal???
Probably.

Proxmox brings some specifically crafted packages, most prominent the Kernel pve-kernel-5.15 pve-kernel-5.15.64-1-pve. It is not surprising, that some other packages depend on this or conflict with stock debian.

I do not know if you need those packages. The first one is a WLAN related package. A server should use wired connectivity. The last one is for Realtek NICs - I can not know if this is required for your hardware.

If you are brave: just remove them one by one in beforehand. You may lose network connectivity by this approach. Make sure to have those packages available offline and reinstall them if necessary.

Look into /var/cache/apt/archives/. Force download by apt -d -y install --reinstall firmware-misc-nonfree and so on.

Btw: this specific package is just not available for PVE-systems. An attempt to download it gives me:
Code:
root@pvea:~# apt -d -y install --reinstall firmware-misc-nonfree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package firmware-misc-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  pve-firmware

E: Package 'firmware-misc-nonfree' has no installation candidate


Best regards
 
Probably.

Proxmox brings some specifically crafted packages, most prominent the Kernel pve-kernel-5.15 pve-kernel-5.15.64-1-pve. It is not surprising, that some other packages depend on this or conflict with stock debian.

I do not know if you need those packages. The first one is a WLAN related package. A server should use wired connectivity. The last one is for Realtek NICs - I can not know if this is required for your hardware.

If you are brave: just remove them one by one in beforehand. You may lose network connectivity by this approach. Make sure to have those packages available offline and reinstall them if necessary.

Look into /var/cache/apt/archives/. Force download by apt -d -y install --reinstall firmware-misc-nonfree and so on.

Btw: this specific package is just not available for PVE-systems. An attempt to download it gives me:
Code:
root@pvea:~# apt -d -y install --reinstall firmware-misc-nonfree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package firmware-misc-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  pve-firmware

E: Package 'firmware-misc-nonfree' has no installation candidate


Best regards

@UdoB Following your advice I removed my custom firmwares without loosing networking (the board has an embedded Realtek ethernet controller, my Intel wifi M.2 card is intended to be used for bluetooth only by my domotics VM).

However at reboot the PVE kernel hangs as with the ISO install (see screenshot attached and my previous post) :mad:
What's wrong? Are there any failsafe or debug kernel options ?

[EDIT]
I've just ried to update the PVE kernel to 5.19, unfortunately no change...
 

Attachments

  • IMG_1305.jpg
    IMG_1305.jpg
    41.5 KB · Views: 2
Last edited:
still struggling...I've installed pve-edge-kernel
This time the hosts boots but a freeze occurs during several minutes after which the console resets, it seems linked to modprobe i915:
i915 vgaarb: deactivate vga console

I finally get a prompt but networking is disabled and I need to issue:
systemctl enable networking systemctl start pveproxy

Here's the log and the console screen after reset
 

Attachments

  • dmesg-pve-edge.log
    69 KB · Views: 2
  • IMG_1306.jpg
    IMG_1306.jpg
    110.4 KB · Views: 3
  • pveversion.log
    1.2 KB · Views: 1
Last edited:
please add your /etc/apt/sources.list and /etc/apt/sources.list.d/* files.
btw. pve-edge-kernel is not supported here, i see why you tried it, but most users here can't help with that.
"I'm getting errors installing proxmox following these instructions on a fresh debian 11 distrib" this is actually a good way to go, if iso won't install.
from your above /etc/network/interface i see no vmbr0, which should be created manually, before you can create VM network interfaces on it.
please elaborate some more infos.
 
@flames I've attached my apt sources.list files

I haven't created /dev/vmbr0 yet.
I've added auto enp1s0 to /etc/network/interfaces eg the interfaces.new file above but for some reason the system still doesn't start the network automatically.

Also the PVE kernel does not poweroff either using shutdown now or halt -p, it can still be pinged after last message kvm: exiting hardware virtualization. see screenshot attached
 

Attachments

  • sources.list.txt
    1,011 bytes · Views: 0
  • pve-install-repo.list.txt
    85 bytes · Views: 0
  • pve-edge-kernel.list.txt
    129 bytes · Views: 0
  • IMG_1308.jpg
    IMG_1308.jpg
    93.7 KB · Views: 0

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!