Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: harley-peter on 2026/06/20, 14:39:35

Title: Schon wieder Probleme mit Virtualbox?
Post by: harley-peter on 2026/06/20, 14:39:35
Habe soeben eine Update gemacht und folgende Fehler bekommen:
dpkg --configure -a
linux-image-7.1.1-1-siduction-amd64 (7.1-1) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
The kernel is built without module signing facility, modules won't be signed

Autoinstall of module virtualbox/7.2.8 for kernel 7.1.1-1-siduction-amd64 (x86_64)
Building module(s)...(bad exit status: 2)
Failed command:
make -j12 KERNELRELEASE=7.1.1-1-siduction-amd64 -C /lib/modules/7.1.1-1-siduction-amd64/build M=/var/lib/dkms/virtualbox/7.2.8/build

Error! Bad return status for module build on kernel: 7.1.1-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/7.2.8/build/make.log for more information.

Autoinstall on 7.1.1-1-siduction-amd64 failed for module(s) virtualbox(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes linux-image-7.1.1-1-siduction-amd64 (--configure):
 »altes postinst-Betreuerskript des Paketes linux-image-7.1.1-1-siduction-amd64«-Unterprozess mit Exit-Status 1 fehlgeschlagen
linux-headers-7.1.1-1-siduction-amd64 (7.1-1) wird eingerichtet ...
/etc/kernel/header_postinst.d/dkms:
The kernel is built without module signing facility, modules won't be signed

Autoinstall of module virtualbox/7.2.8 for kernel 7.1.1-1-siduction-amd64 (x86_64)
Building module(s)...(bad exit status: 2)
Failed command:
make -j12 KERNELRELEASE=7.1.1-1-siduction-amd64 -C /lib/modules/7.1.1-1-siduction-amd64/build M=/var/lib/dkms/virtualbox/7.2.8/build

Error! Bad return status for module build on kernel: 7.1.1-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/7.2.8/build/make.log for more information.

Autoinstall on 7.1.1-1-siduction-amd64 failed for module(s) virtualbox(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-7.1.1-1-siduction-amd64.postinst line 11.
dpkg: Fehler beim Bearbeiten des Paketes linux-headers-7.1.1-1-siduction-amd64 (--configure):
 »altes postinst-Betreuerskript des Paketes linux-headers-7.1.1-1-siduction-amd64«-Unterprozess mit Exit-Status 1 fehlgeschlagen
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-siduction-amd64:
 linux-image-siduction-amd64 hängt ab von linux-image-7.1.1-1-siduction-amd64 (= 7.1-1); aber:
  Paket linux-image-7.1.1-1-siduction-amd64 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes linux-image-siduction-amd64 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-headers-siduction-amd64:
 linux-headers-siduction-amd64 hängt ab von linux-headers-7.1.1-1-siduction-amd64 (= 7.1-1); aber:
  Paket linux-headers-7.1.1-1-siduction-amd64 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes linux-headers-siduction-amd64 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 linux-image-7.1.1-1-siduction-amd64
 linux-headers-7.1.1-1-siduction-amd64
 linux-image-siduction-amd64
 linux-headers-siduction-amd64
Sieht so aus, wie wenn Virtualbox wieder Probleme macht. Hat die Fehler noch jemand anders?
Title: Re: Schon wieder Probleme mit Virtualbox?
Post by: Teriarch on 2026/06/20, 15:20:25
> Sieht so aus, wie wenn Virtualbox wieder Probleme macht. Hat die Fehler noch jemand anders?

Nicht mehr. Da es immer etwas Zeit braucht, bis virtualbox das Problem korrigiert, hier eine
vorübergehende Lösung:

Lass' den neuen Kernel  linux-image-7.1.1-1-siduction-amd64 zunächst unkonfiguriert (das ist er
nach dem Fehler ohnehin), nicht deinstallieren, auch  virtualbox-dkms unangetastet lassen.
Der Datei /usr/src/virtualbox-7.2.8/vboxdrv/linux/SUPDrv-linux.c muss ein wenig auf die
Sprünge gehofen werden.
 
--- a/SUPDrv-linux.c    2026-04-18 12:20:22.000000000 +0200
+++ b/SUPDrv-linux.c    2026-06-14 21:18:34.416684211 +0200
@@ -210,9 +210,17 @@ static bool
 /** Whether we need to put the corresponding KVM function pointers. */
 static bool                                    g_fPutKvmEnableVirtualization, g_fPutKvmDisableVirtualization;
 /** Function pointer to kvm_enable_virtualization(). */
+# if RTLNX_VER_MIN(7,1,0)
+static __typeof__(kvm_arch_enable_virtualization_cpu)  *g_pfnKvmEnableVirtualization;
+# else
 static __typeof__(kvm_enable_virtualization)  *g_pfnKvmEnableVirtualization;
+# endif
 /** Function pointer to kvm_disable_virtualization(). */
+# if RTLNX_VER_MIN(7,1,0)
+static __typeof__(kvm_arch_disable_virtualization)  *g_pfnKvmDisableVirtualization;
+# else
 static __typeof__(kvm_disable_virtualization)  *g_pfnKvmDisableVirtualization;
+# endif
 /** Pointer to the KVM hardware specific module. */
 static struct module                          *g_pKvmHwvirtModule;
 #endif
Da der automatische Patch wegen Formatierungsschwierigkeiten nicht funktioniert, gibst
Du unter root die im obigen Patch mit "+" markierten Zeilen (ab Zeile 210) einfach
per Hand mit einem Editopr Deiner Wahl ein (Sichere zuvor die Ursprungsdatei, falls etwas
schiefgeht). Danach mit

$ sudo dpkg-reconfigure linux-image-7.1.1-1-siduction-amd64

die noch ausstehende Konfiguration des Kernels abschließen. Auf diese Weise wird
nach einem DU virtualbox-dkms nicht gleich wieder vom Paketentwicker aus
dem remote Repository überschrieben, sondern erst nach einem Update (Versionssprung)
des Pakets, in welchem dann hoffentlich der Fehler entgültig beseitigt ist.

HTH
Title: Re: Schon wieder Probleme mit Virtualbox?
Post by: DeepDayze on 2026/06/21, 03:01:16
Oracle has 7.2.10 out that provides 7.1 kernel support but not made its way to Debian Unstable yet.
Title: Re: Schon wieder Probleme mit Virtualbox?
Post by: harley-peter on 2026/06/22, 16:16:49
@Teriarch:
Danke für den Patch, das hat funktioniert.
Title: Re: Schon wieder Probleme mit Virtualbox?
Post by: DeepDayze on 2026/06/23, 01:45:42
The patch does not build for me so if someone already has a patched SUPDrv-linux.c for VBox 7.2.8 is there a way to share it that doesn't break the formatting of it?
Title: Re: Schon wieder Probleme mit Virtualbox?
Post by: harley-peter on 2026/06/23, 12:58:28
@DeepDayze:
I had also a build problem after the patch and made an "apt update && apt full-upgrade" again. That solved for me the problem.
Title: Re: Schon wieder Probleme mit Virtualbox?
Post by: Teriarch on 2026/06/23, 14:20:52
@DeepDayze
 (https://forum.siduction.org/index.php?action=profile;u=550)Can you be a little more specific? You can always patch the original file manually as
already mentioned. I am a little under pressure right now, but I can provide a 24
hours lasting wormhole.app link of  SUPDrv-linux.c later this day, if that's acceptable.
Title: Re: Schon wieder Probleme mit Virtualbox?
Post by: DeepDayze on 2026/06/23, 16:44:07
Quote from: Teriarch on Yesterday at 14:20:52@DeepDayze
 (https://forum.siduction.org/index.php?action=profile;u=550)Can you be a little more specific? You can always patch the original file manually as
already mentioned. I am a little under pressure right now, but I can provide a 24
hours lasting wormhole.app link of  SUPDrv-linux.c later this day, if that's acceptable.
Okay no rush :)
Title: Re: Schon wieder Probleme mit Virtualbox?
Post by: Teriarch on 2026/06/23, 19:14:52
Here comes a base64 encoded version of the patch (patch.b64):

LS0tIGEvU1VQRHJ2LWxpbnV4LmMJMjAyNi0wNC0xOCAxMjoyMDoyMi4wMDAwMDAwMDAgKzAyMDAK
KysrIGIvU1VQRHJ2LWxpbnV4LmMJMjAyNi0wNi0xNiAxNDo0MDo1OS4yODY2MTIwODEgKzAyMDAK
QEAgLTIxMCw5ICsyMTAsMTcgQEAgc3RhdGljIGJvb2wKIC8qKiBXaGV0aGVyIHdlIG5lZWQgdG8g
cHV0IHRoZSBjb3JyZXNwb25kaW5nIEtWTSBmdW5jdGlvbiBwb2ludGVycy4gKi8KIH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applies w/o errors to SUPDrv-linux.c.
Title: Re: Schon wieder Probleme mit Virtualbox?
Post by: Teriarch on 2026/06/23, 22:26:22
And here is the link:
<https://wormhole.app/OLOxAo#UD4x06jBOjAi0CW5-31zSQ>