Bonjour la communauté.
Le code del'eerur :
Paramétrage de linux-headers-5.14.0-1-amd64 (5.14.6-2) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 5.14.0-1-amd64:
Kernel preparation unnecessary for this kernel. Skipping...
applying patch kernel-5.7.0-set-memory-array.patch...patching file conftest.sh
applying patch linux-2.6.34-dev_pm_info-runtime_auto.patch...patching file conftest.sh
applying patch use-kbuild-compiler.patch...patching file Makefile
applying patch use-kbuild-flags.patch...patching file Kbuild
patching file nvidia/nvidia.Kbuild
patching file Makefile
patching file nvidia-modeset/nvidia-modeset.Kbuild
applying patch use-kbuild-gcc-plugins.patch...patching file Kbuild
applying patch conftest-verbose.patch...patching file Kbuild
applying patch cc_version_check-gcc5.patch...patching file conftest.sh
applying patch nvidia-use-ARCH.o_binary.patch...patching file nvidia/nvidia.Kbuild
applying patch nvidia-modeset-use-ARCH.o_binary.patch...patching file nvidia-modeset/nvidia-modeset.Kbuild
applying patch conftest-prefer-arch-headers.patch...patching file conftest.sh
Building module:
cleaning build area...
unset ARCH; env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=5.14.0-1-amd64..........(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.0-1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/470.57.02/build/make.log for more information.
La fin du log :
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-acpi.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function ‘nv_sleep_ms’:
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv.c:13:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-cray.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function ‘nv_sleep_ms’:
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-p2p.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-pci.h:15,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-pci.c:13:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-i2c.c:16:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
make[3]: *** [/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276 : /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-acpi.o] Erreur 1
make[3]: *** Attente des tâches non terminées....
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c: At top level:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c:963: warning: "IMPORT_SGT_STUBS_NEEDED" redefined
963 | #define IMPORT_SGT_STUBS_NEEDED 0
|
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c:957: note: this is the location of the previous definition
957 | #define IMPORT_SGT_STUBS_NEEDED 1
|
make[3]: *** [/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276 : /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-cray.o] Erreur 1
make[3]: *** [/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276 : /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-pci.o] Erreur 1
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.c:321:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
321 | if (NV_ALLOW_CACHING(memory_type))
| ^
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.c:324:9: note: here
324 | default:
| ^~~~~~~
make[3]: *** [/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276 : /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.o] Erreur 1
make[3]: *** [/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276 : /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.o] Erreur 1
make[3]: *** [/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276 : /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-i2c.o] Erreur 1
make[3]: *** [/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276 : /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-p2p.o] Erreur 1
make[3]: *** [/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276 : /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv.o] Erreur 1
make[2]: *** [/usr/src/linux-headers-5.14.0-1-common/Makefile:1882 : /var/lib/dkms/nvidia-current/470.57.02/build] Erreur 2
make[2] : on quitte le répertoire « /usr/src/linux-headers-5.14.0-1-amd64 »
make[1]: *** [Makefile:232 : __sub-make] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.14.0-1-common »
make: *** [Makefile:80 : modules] Erreur 2
Pour l'instant le noyau 5.14 n'est pas installé, je suis toujours en 5.10 .
Il y a peut-être aussi une relation avec la discussion précédente concernant systemd.
Merci si vous avez un avis.
Dernière modification par taureau89_9 (18-10-2021 08:54:34)
CM Asus Sabertooth 990FX, Proc FX 8350, 4 x 8Go DDR3 1866Mhz, GTX 1060 6Go, DD 2 To Sata 3