Tak jadro z backports jsem sice dokazal zprovoznit, ale problem jsou sitovky. (r8186)
Na standardnim 4.19 jadre jsem je musel zprovoznovat instalaci baliku r8186-dkms.
Ten pri upgradu na to backportovy jadro zahlasil chybu, a zjevne se ho nepovedlo zkompilovat. Takze sitovy rozhrani na tom backportovanem jadre nenabehly. Vysledek je, ze mam ted ten balik rozbitej.
/usr/sbin/dpkg-reconfigure: r8168-dkms is broken or not fully installed
kdyz dam instalovat balik linux-headers-5.4.0-0.bpo.2-amd64 (kterej uz nainstalovanej je), tak se sestavi r8186 pro to stavajici bezici jadro 4.19, ale pro 5.4.0 uz ne:
aptitude install linux-headers-5.4.0-0.bpo.2-amd64
linux-headers-5.4.0-0.bpo.2-amd64 is already installed at the requested version (5.4.8-1~bpo10+1)
linux-headers-5.4.0-0.bpo.2-amd64 is already installed at the requested version (5.4.8-1~bpo10+1)
The following partially installed packages will be configured:
r8168-dkms
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up r8168-dkms (8.046.00-1) ...
Removing old r8168-8.046.00 DKMS files...
-------- Uninstall Beginning --------
Module: r8168
Version: 8.046.00
Kernel: 4.19.0-6-amd64 (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
r8168.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-6-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
update-initramfs.......
DKMS: uninstall completed.
------------------------------
Deleting module version: 8.046.00
completely from the DKMS tree.
------------------------------
Done.
Loading new r8168-8.046.00 DKMS files...
Building for 4.19.0-6-amd64 5.4.0-0.bpo.2-amd64
Building initial module for 4.19.0-6-amd64
Done.
r8168.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
depmod...
Backing up initrd.img-4.19.0-6-amd64 to /boot/initrd.img-4.19.0-6-amd64.old-dkms
Making new initrd.img-4.19.0-6-amd64
(If next boot fails, revert to initrd.img-4.19.0-6-amd64.old-dkms image)
update-initramfs.......
DKMS: install completed.
Building initial module for 5.4.0-0.bpo.2-amd64
Error! Bad return status for module build on kernel: 5.4.0-0.bpo.2-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.046.00/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
r8168-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up r8168-dkms (8.046.00-1) ...
Removing old r8168-8.046.00 DKMS files...
-------- Uninstall Beginning --------
Module: r8168
Version: 8.046.00
Kernel: 4.19.0-6-amd64 (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
r8168.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-6-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
update-initramfs.......
DKMS: uninstall completed.
------------------------------
Deleting module version: 8.046.00
completely from the DKMS tree.
------------------------------
Done.
Loading new r8168-8.046.00 DKMS files...
Building for 4.19.0-6-amd64 5.4.0-0.bpo.2-amd64
Building initial module for 4.19.0-6-amd64
Done.
r8168.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
depmod...
Backing up initrd.img-4.19.0-6-amd64 to /boot/initrd.img-4.19.0-6-amd64.old-dkms
Making new initrd.img-4.19.0-6-amd64
(If next boot fails, revert to initrd.img-4.19.0-6-amd64.old-dkms image)
update-initramfs.......
DKMS: install completed.
Building initial module for 5.4.0-0.bpo.2-amd64
Error! Bad return status for module build on kernel: 5.4.0-0.bpo.2-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.046.00/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
r8168-dkms
V tom logu, kam me to smeruje to krici, ze neni neco ve zdrojakach jadra..
DKMS make.log for r8168-8.046.00 for kernel 5.4.0-0.bpo.2-amd64 (x86_64)
Mon Jan 20 19:40:07 CET 2020
make: Entering directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64'
AR /var/lib/dkms/r8168/8.046.00/build/built-in.a
CC [M] /var/lib/dkms/r8168/8.046.00/build/r8168_n.o
CC [M] /var/lib/dkms/r8168/8.046.00/build/r8168_asf.o
/var/lib/dkms/r8168/8.046.00/build/r8168_n.c:60:10: fatal error: linux/pci-aspm.h: Adres<C3><A1><C5><99> nebo soubor neexistuje
#include <linux/pci-aspm.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-headers-5.4.0-0.bpo.2-common/scripts/Makefile.build:271: /var/lib/dkms/r8168/8.046.00/build/r8168_n.o] Chyba 1
make[2]: *** <C4><8C>ek<C3><A1> se na nedokon<C4><8D>en<C3><A9> <C3><BA>lohy<E2><80><A6>
make[1]: *** [/usr/src/linux-headers-5.4.0-0.bpo.2-common/Makefile:1665: /var/lib/dkms/r8168/8.046.00/build] Chyba 2
make: *** [/usr/src/linux-headers-5.4.0-0.bpo.2-common/Makefile:179: sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64'
takze jsem z toho docela zoufalej, starat se ve zdrojakach, to je mimo moje schopnosti..