kernel panic after update to proxmox 9

obyy94

New Member
Jul 11, 2024
1
0
1
Edit : i always have kernel panic :/
I dont know what to do


Hello,
I'd like to share a quick feedback after experiencing a kernel panic following the upgrade to Proxmox 9. I think this might help some of you.

I have a small home server running Proxmox, notably with Docker installed inside an LXC container (everything on a ZFS disk). I know, running Docker in an LXC is bad, but it's more lightweight.

I encountered several kernel panics with the following error:
Code:
VERIFY(avl_find(tree, new_node, &where) == NULL) failed
PANIC at avl.c:625:avl_add()
After extensive research, it turns out the problem comes from Docker and ZFS 2.0, specifically due to enabling the "livelist" feature in ZFS (thanks to the author of this post). Once this feature is activated on a zpool, it's impossible to revert it except by contourning the feature on all zpools.

The solution on Proxmox is to create a file to bypass the activation of this feature (man page):
Bash:
cat > /etc/modprobe.d/zfs.conf << EOF
options zfs zfs_livelist_min_percent_shared=100
EOF
(then reboot)

I hope this post saves some of you time ;) If you have a better suggestion to solve my problem, I'd be happy to hear it!

----

Bonjour,
je souhaite vous faire un petit retour d'experience après un kernel panic apparu suite a la mise a jour vers proxmox 9. Je pense que ca en aidera certain.
J'ai un petit serveur a la maison qui fait tourner proxmox, avec notamment docker installé dans un container LXC (le tout sur un disque ZFS). Je sais, faire tourner docker dans un lxc c'est le mal, mais c'est plus léger.
j'ai eu plusieurs kernel panic avec l'erreur suivant :
Code:
VERIFY(avl_find(tree, new_node, &where) == NULL) failed
PANIC at avl.c:625:avl_add()

Après de longue recherche il s''avère que le problème vient de docker et de ZFS 2.0, et de l'activation de la feature "livelist" de zfs (merci a l'auteur de ce post). Une fois cette feature activé dans un zpool, impossible de revenir en arrière, sauf en désactivant la feature pour toutes les zpool !
La solution sous proxmox c'est de créer un fichier pour contourner l'activation cette feature :
Bash:
cat > /etc/modprobe.d/zfs.conf << EOF
options zfs zfs_livelist_min_percent_shared=100
EOF

J'espère que ce poste aidera fera gagner du temps a certain ;) si vous avez une meilleur suggestion pour résoudre mon problème, je suis preneur :)
 
Last edited: