Skip to content
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

RaspberryMatic als LXC unter Proxmox 8.2.2 #2760

Closed
jbaconsult opened this issue Jun 1, 2024 · 5 comments
Closed

RaspberryMatic als LXC unter Proxmox 8.2.2 #2760

jbaconsult opened this issue Jun 1, 2024 · 5 comments
Labels
🐛 bug-report Something isn't working 🧊 stale Ticket is in a stale state (about to be closed)

Comments

@jbaconsult
Copy link

Describe the issue you are experiencing

Hallo,

ich hab mein Proxmox auf die Version 8.2.2 aktualisiert. Hier werden neue Kernel-Images verwendet (6.8.4-3-pve). Bei der Installation mit dem https://raspberrymatic.de/install-proxmox.sh Script schlägt die Installation als LCX-Container(!) fehl, da der „pivccu-dkms.service" nicht startet. Hier kommt dann folgender Fehler:

ensure_modules.sh[9553]: make -j4 KERNELRELEASE=6.8.4-3-pve ARCH=x86 all...(bad exit status: 2)
ensure_modules.sh[9553]: Error! Bad return status for module build on kernel: 6.8.4-3-pve (x86_64)

Ich hab im pivccu-Repo auch einen entsprechen Bug erstellt, hier als Referenz:
alexreinert/piVCCU#525

Describe the behavior you expected

Das Installationsscript läuft durch und anschließend ist ein nutzbarer RaspberryMatic LXC-Container verfügbar

Steps to reproduce the issue

  1. Benutzer Proxmox 8.2.2
  2. Rufe wget -qO - https://raspberrymatic.de/install-proxmox.sh | bash - auf
  3. Installation schlägt fehl
    ...

What is the version this bug report is based on?

current (live script)

Which base platform are you running?

generic-x86_64 (Generic appliance, AMD64/x86_64)

Which HomeMatic/homematicIP radio module are you using?

n/a

Anything in the logs that might be useful for us?

Installation auf Proxmox mit HB-RF-ETH

Additional information

No response

@jbaconsult jbaconsult added the 🐛 bug-report Something isn't working label Jun 1, 2024
@jbaconsult
Copy link
Author

Noch mal als Ergänzung: das Ganze ist wirklich nur bei der LXC-Version. Die VM-Version funktioniert.

@jens-maus
Copy link
Owner

Das riecht mal wieder nach den üblichen Problemen mit den Kernel Headers.

@jens-maus jens-maus changed the title RaspberryMatic auf Proxmox 8.2.2 RaspberryMatic als LXC unter Proxmox 8.2.2 Jun 2, 2024
@agcyl
Copy link

agcyl commented Jun 2, 2024

Ich benutzte zwar das install-script nicht - ich denke aber nicht, dass dort das Problem liegt, da das Verhalten schon seit längerer Zeit bei Kernel-Updates von Proxmox besteht. Ich behelfe mir immer mit folgendem "Ablauf" auf dem Host, damit die PIVCCU module korrekt gebaut werden, d.h. erst mal die Module wieder mit dem neuen Kernel zum Laufen zu bekommen:

  1. nach dem Kernel update mit "apt upgrade" bekommt man in der Regel den Hinweis, dass die zum Kernel gehörigen Header nicht installiert wurden.
    Beim aktuell Stand:
    dkms: autoinstall for kernel 6.8.4-3-pve was skipped since the kernel headers for this kernel do not seem to be installed.
  2. also ein "apt install pve-headers-6.8.4-3-pve"
  3. Danach sollte ein "dpkg-reconfigure pivccu-modules-dkms" korrekt durchlaufen - aber nicht zu früh freuen - nach einem reboot klappt es interessanterweise nicht mehr :-(
    deshalb nach dem reboot:
  4. apt reinstall pve-headers-6.8.4-3-pve (ganz wichtig "reinstall" !)
  5. und nochmal "dpkg-reconfigure pivccu-modules-dkms" - nun sollte es dauerhaft funktionieren - zur Sicherheit noch mal einen reboot durchführen

@jens-maus
Copy link
Owner

Genau diesen HickHack meine ich bzgl Kernel Header Probleme in diesem Kontext.

Und ich denke dieses Problem hier rührt genau vom gleichen Ursprung her: Ein Problem mit den Kernelheadern bzw. dem Bauen der Kernel Module via dkms.

Deshalb würde ich vorschlagen wie üblich zu verfahren und eben wie beschrieben die Kernel Header nochmal von Hand zu reparieren, usw.

Und natürlich darüber nachdenken ob es nicht doch Effekt wäre statt RaspberryMatic als LXC unter Proxmox doch lieber als VM zu betreiben damit man sich diese Kopfschmerzen in Zukunft sparen kann.

Copy link
Contributor

github-actions bot commented Sep 1, 2024

There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest RaspberryMatic version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the 🧊 stale Ticket is in a stale state (about to be closed) label Sep 1, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug-report Something isn't working 🧊 stale Ticket is in a stale state (about to be closed)
Projects
None yet
Development

No branches or pull requests

3 participants