Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 29-09-2021 09:24:03

taureau89_9
Adhérent(e)
Lieu : A proximité de LFLA
Distrib. : Debian Testing
Noyau : Linux 5.9.0-1-amd64
(G)UI : Xfce4 4.14
Inscription : 16-09-2011

[RESOLU]Erreur paramétrage de linux-headers-5.14.0-1-amd64

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 09:54:34)


CM Asus Sabertooth 990FX, Proc FX 8350, 4 x 8Go DDR3 1866Mhz, GTX 750ti 2Go, DD 2 To Sata 3

Hors ligne

#2 29-09-2021 12:16:05

enicar
Membre
Lieu : ailleurs
Distrib. : sid
Noyau : Linux 5.13.10
(G)UI : openbox
Inscription : 26-08-2010

Re : [RESOLU]Erreur paramétrage de linux-headers-5.14.0-1-amd64

Je pense que l'api du noyau à changer, et que les sources pour le module nvidia
n'ont pas encore pris en compte ce changement. Bref, il faut attendre que nvidia
modifie leurs sources.

Dernière modification par enicar (29-09-2021 12:16:24)

Hors ligne

#3 29-09-2021 16:22:38

robert2a
Membre
Distrib. : Buster 10 version 10.11
Noyau : kernel buster backports
(G)UI : Mate
Inscription : 15-11-2014

Re : [RESOLU]Erreur paramétrage de linux-headers-5.14.0-1-amd64

Bonjour
tu n'est pas seul => https://debian-facile.org/viewtopic.php … 63#p367663
ce n'est pas le driver qui pose problème mais bien le noyau et headers
tu a bien fait de rester sur le noyau stable de bullseye
le driver de testing fonctionne bien , j'ai noter les bugs sur le lien
le noyau de testing pose problème sur certain portable ,pc de bureau et sur les VM ainsi que sur le driver nonfree nvidia
donc attendre les correctifs    smile

Dernière modification par robert2a (29-09-2021 16:24:12)


Machines : kabylake I7 7700 , AMD 1700(X) ,AMD threadripper gen1 , AMD Raven R3 2200G , AMD FX(tm)-8320

Hors ligne

#4 18-10-2021 09:53:52

taureau89_9
Adhérent(e)
Lieu : A proximité de LFLA
Distrib. : Debian Testing
Noyau : Linux 5.9.0-1-amd64
(G)UI : Xfce4 4.14
Inscription : 16-09-2011

Re : [RESOLU]Erreur paramétrage de linux-headers-5.14.0-1-amd64

J'ai plutôt l'impression que c'est le driver qui posait problème.
Car les headers sont passés de 5.14.0-1 à 5.14.0-2.
Et toujours le même problème.
Et puis un correctif de driver nvidia est arrivé.
Et là le problème est résolu.
Je suis donc maintenant en noyau 5.14.0-2 .

CM Asus Sabertooth 990FX, Proc FX 8350, 4 x 8Go DDR3 1866Mhz, GTX 750ti 2Go, DD 2 To Sata 3

Hors ligne

Pied de page des forums