Bonjour

j'ai lancé une migration vers debian 12 et j'ai une erreur d’installation du noyau 6.1.0.0 que je ne sais pas exploiter clairement. Du coup j'hésite à faire un reboot .

Ci dessous le retour de l'installation et du fichier ou se trouve la trace du problème.

Merci par avance.

François-Marie

Le retour de apt-get full-upgrade est celui ci

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.1.0-9-amd64 -C /lib/modules/6.1.0-9-amd64/build M=/var/lib/dkms/ndiswrapper/1.60/build...(bad exit status: 2) Error! Bad return status for module build on kernel: 6.1.0-9-amd64 (x86_64) Consult /var/lib/dkms/ndiswrapper/1.60/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-9-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-9-amd64.postinst line 11. dpkg: erreur de traitement du paquet linux-headers-6.1.0-9-amd64 (--configure) :  le sous-processus paquet linux-headers-6.1.0-9-amd64 script post-installation installé a renvoyé un état de sortie d'erreur 1 dpkg: des problèmes de dépendances empêchent la configuration de linux-headers-amd64 :  linux-headers-amd64 dépend de linux-headers-6.1.0-9-amd64 (= 6.1.27-1); cependant :
 Le paquet linux-headers-6.1.0-9-amd64 n'est pas encore configuré.

dpkg: erreur de traitement du paquet linux-headers-amd64 (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 linux-image-6.1.0-9-amd64
 linux-image-amd64
 linux-headers-6.1.0-9-amd64
 linux-headers-amd64
libdvd-pkg: Checking orig.tar integrity...
/usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: Réussi
libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting...
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
dans le fichier  /var/lib/dkms/ndiswrapper/1.60/build/make.log j'ai ceci :

DKMS make.log for ndiswrapper-1.60 for kernel 6.1.0-9-amd64 (x86_64)
jeu. 22 juin 2023 06:04:16 CEST
make : on entre dans le répertoire « /usr/src/linux-headers-6.1.0-9-amd64 »
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/crt_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/hal_exports.h
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.o
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/loader.o
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ndis_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_io_exports.h
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/pe_linker.o
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/pnp.o
In file included from /var/lib/dkms/ndiswrapper/1.60/build/ndis.h:19,
                 from /var/lib/dkms/ndiswrapper/1.60/build/loader.c:16:
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h: In function ‘raise_irql’: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:112:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’?
  112 | #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
      |                                        ^~~~~~~~~~~~
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:658:43: note: in expansion of macro ‘tsk_cpus_allowed’   658 |         cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current));
      | ^~~~~~~~~~~~~~~~
/var/lib/dkms/ndiswrapper/1.60/build/loader.c: In function ‘load_sys_files’: /var/lib/dkms/ndiswrapper/1.60/build/loader.c:157:25: error: too many arguments to function ‘__vmalloc’
  157 | __vmalloc(load_driver->sys_files[i].size,
      |                         ^~~~~~~~~
In file included from /usr/src/linux-headers-6.1.0-9-common/include/asm-generic/io.h:994,                  from /usr/src/linux-headers-6.1.0-9-common/arch/x86/include/asm/io.h:332,                  from /usr/src/linux-headers-6.1.0-9-common/include/linux/scatterlist.h:9,                  from /usr/src/linux-headers-6.1.0-9-common/include/linux/dma-mapping.h:10,                  from /usr/src/linux-headers-6.1.0-9-common/include/linux/skbuff.h:31,                  from /usr/src/linux-headers-6.1.0-9-common/include/net/net_namespace.h:43,                  from /usr/src/linux-headers-6.1.0-9-common/include/linux/netdevice.h:38,                  from /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:25: /usr/src/linux-headers-6.1.0-9-common/include/linux/vmalloc.h:149:14: note: declared here   149 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask) __alloc_size(1);
      |              ^~~~~~~~~
make[1]: *** [/usr/src/linux-headers-6.1.0-9-common/scripts/Makefile.build:255 : /var/lib/dkms/ndiswrapper/1.60/build/loader.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
In file included from /var/lib/dkms/ndiswrapper/1.60/build/ndis.h:19,
                 from /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.h:19,
                 from /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.c:28:
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h: In function ‘raise_irql’: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:112:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’?
  112 | #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
      |                                        ^~~~~~~~~~~~
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:658:43: note: in expansion of macro ‘tsk_cpus_allowed’   658 |         cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current));
      | ^~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/ndiswrapper/1.60/build/pe_linker.c:27:
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h: In function ‘raise_irql’: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:112:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’?
  112 | #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
      |                                        ^~~~~~~~~~~~
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:658:43: note: in expansion of macro ‘tsk_cpus_allowed’   658 |         cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current));
      | ^~~~~~~~~~~~~~~~
/var/lib/dkms/ndiswrapper/1.60/build/pe_linker.c: In function ‘fix_pe_image’: /var/lib/dkms/ndiswrapper/1.60/build/pe_linker.c:420:17: error: too many arguments to function ‘__vmalloc’
  420 |         image = __vmalloc(image_size, GFP_KERNEL | __GFP_HIGHMEM,
      |                 ^~~~~~~~~
In file included from /usr/src/linux-headers-6.1.0-9-common/include/asm-generic/io.h:994,                  from /usr/src/linux-headers-6.1.0-9-common/arch/x86/include/asm/io.h:332,                  from /usr/src/linux-headers-6.1.0-9-common/include/linux/scatterlist.h:9,                  from /usr/src/linux-headers-6.1.0-9-common/include/linux/dma-mapping.h:10,                  from /usr/src/linux-headers-6.1.0-9-common/include/linux/skbuff.h:31,                  from /usr/src/linux-headers-6.1.0-9-common/include/net/net_namespace.h:43,                  from /usr/src/linux-headers-6.1.0-9-common/include/linux/netdevice.h:38,                  from /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:25: /usr/src/linux-headers-6.1.0-9-common/include/linux/vmalloc.h:149:14: note: declared here   149 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask) __alloc_size(1);
      |              ^~~~~~~~~
make[1]: *** [/usr/src/linux-headers-6.1.0-9-common/scripts/Makefile.build:255 : /var/lib/dkms/ndiswrapper/1.60/build/pe_linker.o] Erreur 1 /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.c: In function ‘set_ndis_auth_mode’: /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.c:702:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
  702 |                 wnd->iw_auth_key_mgmt = IW_AUTH_KEY_MGMT_PSK;
/var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.c:703:9: note: here
  703 |         case Ndis802_11AuthModeWPANone:
      |         ^~~~
In file included from /var/lib/dkms/ndiswrapper/1.60/build/usb.h:20,
                 from /var/lib/dkms/ndiswrapper/1.60/build/pnp.c:16:
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h: In function ‘raise_irql’: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:112:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’?
  112 | #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
      |                                        ^~~~~~~~~~~~
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:658:43: note: in expansion of macro ‘tsk_cpus_allowed’   658 |         cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current));
      | ^~~~~~~~~~~~~~~~
make[1]: *** [/usr/src/linux-headers-6.1.0-9-common/scripts/Makefile.build:255 : /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.o] Erreur 1
/var/lib/dkms/ndiswrapper/1.60/build/pnp.c: In function ‘start_pdo’:
/var/lib/dkms/ndiswrapper/1.60/build/pnp.c:64:21: error: implicit declaration of function ‘pci_set_dma_mask’ [-Werror=implicit-function-declaration]
   64 |                 if (pci_set_dma_mask(pdev, DMA_BIT_MASK(30)) ||
      |                     ^~~~~~~~~~~~~~~~
/var/lib/dkms/ndiswrapper/1.60/build/pnp.c:65:21: error: implicit declaration of function ‘pci_set_consistent_dma_mask’ [-Werror=implicit-function-declaration]    65 |                     pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(30)))
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [/usr/src/linux-headers-6.1.0-9-common/scripts/Makefile.build:255 : /var/lib/dkms/ndiswrapper/1.60/build/pnp.o] Erreur 1 make: *** [/usr/src/linux-headers-6.1.0-9-common/Makefile:2037 : /var/lib/dkms/ndiswrapper/1.60/build] Erreur 2
make : on quitte le répertoire « /usr/src/linux-headers-6.1.0-9-amd64 »


Répondre à