seit dem Umstieg auf Bookworm habe ich bei allen 6.0.X Kerneln das Problem, dass das Modulbauen für meine Netzwerkkarten nicht mehr funktioniert.
Code: Alles auswählen
root@laptop-hp:~# apt install linux-headers-6.1.0-13-amd64
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden zusätzlichen Pakete werden installiert:
linux-compiler-gcc-12-x86 linux-headers-6.1.0-13-common linux-kbuild-6.1
Die folgenden NEUEN Pakete werden installiert:
linux-compiler-gcc-12-x86 linux-headers-6.1.0-13-amd64 linux-headers-6.1.0-13-common linux-kbuild-6.1
0 aktualisiert, 4 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 11,1 MB von 12,9 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 63,9 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
Holen:1 http://ftp.de.debian.org/debian bookworm/main amd64 linux-headers-6.1.0-13-common all 6.1.55-1 [9.891 kB]
Holen:2 http://ftp.de.debian.org/debian bookworm/main amd64 linux-headers-6.1.0-13-amd64 amd64 6.1.55-1 [1.255 kB]
Es wurden 11,1 MB in 12 s geholt (908 kB/s).
Vormals nicht ausgewähltes Paket linux-compiler-gcc-12-x86 wird gewählt.
(Lese Datenbank ... 349246 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../linux-compiler-gcc-12-x86_6.1.55-1_amd64.deb ...
Entpacken von linux-compiler-gcc-12-x86 (6.1.55-1) ...
Vormals nicht ausgewähltes Paket linux-headers-6.1.0-13-common wird gewählt.
Vorbereitung zum Entpacken von .../linux-headers-6.1.0-13-common_6.1.55-1_all.deb ...
Entpacken von linux-headers-6.1.0-13-common (6.1.55-1) ...
Vormals nicht ausgewähltes Paket linux-kbuild-6.1 wird gewählt.
Vorbereitung zum Entpacken von .../linux-kbuild-6.1_6.1.55-1_amd64.deb ...
Entpacken von linux-kbuild-6.1 (6.1.55-1) ...
Vormals nicht ausgewähltes Paket linux-headers-6.1.0-13-amd64 wird gewählt.
Vorbereitung zum Entpacken von .../linux-headers-6.1.0-13-amd64_6.1.55-1_amd64.deb ...
Entpacken von linux-headers-6.1.0-13-amd64 (6.1.55-1) ...
linux-compiler-gcc-12-x86 (6.1.55-1) wird eingerichtet ...
linux-headers-6.1.0-13-common (6.1.55-1) wird eingerichtet ...
linux-kbuild-6.1 (6.1.55-1) wird eingerichtet ...
linux-headers-6.1.0-13-amd64 (6.1.55-1) wird eingerichtet ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-13-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.1.0-13-amd64 -C /lib/modules/6.1.0-13-amd64/build M=/var/lib/dkms/r8168/8.051.02/build................
Signing module /var/lib/dkms/r8168/8.051.02/build/r8168.ko
Cleaning build area...
r8168.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-13-amd64/updates/dkms/
depmod....
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...
'make' -j4 KVER=6.1.0-13-amd64..............(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-13-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-13-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-13-amd64.postinst line 11.
dpkg: Fehler beim Bearbeiten des Paketes linux-headers-6.1.0-13-amd64 (--configure):
»installiertes post-installation-Skript des Paketes linux-headers-6.1.0-13-amd64«-Unterprozess gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
linux-headers-6.1.0-13-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Alles auswählen
cat /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log
Code: Alles auswählen
/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_br_ext.c:20:18: fatal error: net/ipx.h: Datei oder Verzeichnis nicht gefunden
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-headers-6.1.0-13-common/scripts/Makefile.build:255: /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_br_ext.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet....
make[1]: *** [/usr/src/linux-headers-6.1.0-13-common/Makefile:2039: /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-6.1.0-13-amd64“ wird verlassen
make: *** [Makefile:2244: modules] Fehler 2
Code: Alles auswählen
root@laptop-hp:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)