Bug#890775: Fwd: Re: Bug#890775: nvidia-legacy-340xx-kernel-source: v.340.106-2 doesn't compile with linux-image-4.15.0-1-686-pae (v. 4.15.4-1)

Goupil goupilcom at gmail.com
Tue Feb 20 19:44:52 UTC 2018


The result of this command :

# dpkg -l | grep nvidia
ii  glx-alternative-nvidia 0.8.3                                
i386         allows the selection of NVIDIA as GLX provider
ii  libegl1-nvidia-legacy-340xx:i386 
340.106-2                            i386         NVIDIA binary EGL 
library (340xx legacy version)
ii  libgl1-nvidia-legacy-340xx-glx:i386 
340.106-2                            i386         NVIDIA binary 
OpenGL/GLX library (340xx legacy version)
ii  libgles1-nvidia-legacy-340xx:i386 
340.106-2                            i386         NVIDIA binary 
OpenGL|ES 1.x library (340xx legacy version)
ii  libgles2-nvidia-legacy-340xx:i386 
340.106-2                            i386         NVIDIA binary 
OpenGL|ES 2.x library (340xx legacy version)
ii  libnvidia-legacy-340xx-cfg1:i386 
340.106-2                            i386         NVIDIA binary 
OpenGL/GLX configuration library (340xx legacy version)
ii  libnvidia-legacy-340xx-eglcore:i386 
340.106-2                            i386         NVIDIA binary EGL core 
libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-glcore:i386 
340.106-2                            i386         NVIDIA binary 
OpenGL/GLX core libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-ml1:i386 340.106-2                            
i386         NVIDIA Management Library (NVML) runtime library (340xx 
legacy version)
ii  mate-sensors-applet-nvidia 1.20.0-1                             
i386         Display readings from hardware sensors in your MATE panel 
(NVIDIA sensors)
ii  nvidia-installer-cleanup 20151021+7                           
i386         cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common 20151021+7                           
i386         NVIDIA binary kernel module support files
ii  nvidia-legacy-340xx-alternative 340.106-2                            
i386         allows the selection of NVIDIA as GLX provider (340xx 
legacy version)
ii  nvidia-legacy-340xx-driver 340.106-2                            
i386         NVIDIA metapackage (340xx legacy version)
ii  nvidia-legacy-340xx-driver-bin 340.106-2                            
i386         NVIDIA driver support binaries (340xx legacy version)
ii  nvidia-legacy-340xx-driver-libs:i386 
340.106-2                            i386         NVIDIA metapackage 
(OpenGL/GLX/EGL/GLES libraries) (340xx legacy version)
ii  nvidia-legacy-340xx-driver-libs-i386 
340.106-2                            i386         NVIDIA metapackage 
(OpenGL/GLX/EGL/GLES 32-bit libraries) (340xx legacy)
rc  nvidia-legacy-340xx-kernel-4.12.0-1-686-pae 
340.104-3+4.12.6-1                   i386         NVIDIA binary kernel 
module for Linux 4.12.0-1-686-pae
ii  nvidia-legacy-340xx-kernel-4.14.0-3-686-pae 
340.106-2+4.14.17-1                  i386         NVIDIA binary kernel 
module for Linux 4.14.0-3-686-pae
rc  nvidia-legacy-340xx-kernel-4.15.0-1-686-pae 
340.106-2+4.15.4-1                   i386         NVIDIA binary kernel 
module for Linux 4.15.0-1-686-pae
ii  nvidia-legacy-340xx-kernel-dkms 340.106-2                            
i386         NVIDIA binary kernel module DKMS source (340xx legacy version)
ii  nvidia-legacy-340xx-kernel-source 
340.106-2                            i386         NVIDIA binary kernel 
module source (340xx legacy version)
ii  nvidia-legacy-340xx-kernel-support 
340.106-2                            i386         NVIDIA binary kernel 
module support files (340xx legacy version)
ii  nvidia-legacy-340xx-vdpau-driver:i386 
340.106-2                            i386         Video Decode and 
Presentation API for Unix - NVIDIA driver (340xx legacy)
ii  nvidia-modprobe 384.111-1                            i386         
utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-persistenced 384.111-1                            
i386         daemon to maintain persistent software state in the NVIDIA 
driver
ii  nvidia-settings-legacy-340xx 340.104-1                            
i386         tool for configuring the NVIDIA graphics driver (340xx 
legacy version)
ii  nvidia-support 20151021+7                           i386         
NVIDIA binary graphics driver support files
ii  xserver-xorg-video-nvidia-legacy-340xx 
340.106-2                            i386         NVIDIA binary Xorg 
driver (340xx legacy version)

It's weird, i don't see any 195.xx.xx version.

I don't know if its relevant, some others informations :

# /usr/lib/nvidia/check-for-conflicting-opengl-libraries
ERROR: DPKG_MAINTSCRIPT_PACKAGE is not set, usually a bug in 
dpkg-reconfigure

# /usr/lib/nvidia/check-for-mismatching-nvidia-module
#
(no information in console)

In /var/lib/dkms/
I have :
/var/lib/dkms/nvidia/195.36.24/ with oldkernels
and :
/var/lib/dkms/nvidia-legacy-340xx with 4.14.0-3-686-pae

For the test i move this /var/lib/dkms/nvidia/ directory elsewhere

And then installed linux-image-4.15.0-1-686-pae package, and below is 
the result on synaptic:

Sélection du paquet linux-image-4.15.0-1-686-pae précédemment désélectionné.
(Lecture de la base de données... 1172298 fichiers et répertoires déjà 
installés.)
Préparation du dépaquetage de 
.../linux-image-4.15.0-1-686-pae_4.15.4-1_i386.deb ...
Dépaquetage de linux-image-4.15.0-1-686-pae (4.15.4-1) ...
Paramétrage de linux-image-4.15.0-1-686-pae (4.15.4-1) ...
/etc/kernel-img.conf:4: W: ignoring unknown parameter relative_links
/etc/kernel-img.conf:6: W: ignoring unknown parameter do_bootfloppy
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.14.0-3-686-pae
I: /initrd.img.old is now a symlink to boot/initrd.img-4.14.0-3-686-pae
I: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-1-686-pae
I: /initrd.img is now a symlink to boot/initrd.img-4.15.0-1-686-pae
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-1-686-pae
I: The initramfs will attempt to resume from /dev/md0
I: (UUID=92dd207d-8fbb-4224-a70d-ca73e0594d8d)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Création du fichier de configuration GRUB…
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Image Linux trouvée : /boot/vmlinuz-4.15.0-1-686-pae
Image mémoire initiale trouvée : /boot/initrd.img-4.15.0-1-686-pae
Image Linux trouvée : /boot/vmlinuz-4.14.0-3-686-pae
Image mémoire initiale trouvée : /boot/initrd.img-4.14.0-3-686-pae
Image Linux trouvée : /boot/vmlinuz-4.14.0-2-686-pae
Image mémoire initiale trouvée : /boot/initrd.img-4.14.0-2-686-pae
Image Linux trouvée : /boot/vmlinuz-4.13.0-1-686-pae
Image mémoire initiale trouvée : /boot/initrd.img-4.13.0-1-686-pae
Image Linux trouvée : /boot/vmlinuz-4.12.0-1-686-pae
Image mémoire initiale trouvée : /boot/initrd.img-4.12.0-1-686-pae
Image Linux trouvée : /boot/vmlinuz-3.2.0-4-686-pae
Image mémoire initiale trouvée : /boot/initrd.img-3.2.0-4-686-pae
fait

I don't see above the installation of nvidia driver, but it works, i 
reboot my PC on this 4.15.0-1-686-pae kernel and dri is installed :

$ uname -a
Linux goup2net 4.15.0-1-686-pae #1 SMP Debian 4.15.4-1 (2018-02-18) i686 
GNU/Linux

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
(..)

This issue is solved.

Thank you very much for your help and sorry for the inconvenience

Serge Le Tyrant



Le 19/02/2018 à 22:23, Luca Boccassi a écrit :
> On Mon, 2018-02-19 at 21:06 +0100, Goupil wrote:
>> I have tried to installed another time the linux-image-4.15.0-1-686-
>> pae
>> kernel and i recieved the messages below on Synaptic :
>>
>> Sélection du paquet linux-image-4.15.0-1-686-pae précédemment
>> désélectionné.
>> (Lecture de la base de données... 1172298 fichiers et répertoires
>> déjà
>> installés.)
>> Préparation du dépaquetage de
>> .../linux-image-4.15.0-1-686-pae_4.15.4-1_i386.deb ...
>> Dépaquetage de linux-image-4.15.0-1-686-pae (4.15.4-1) ...
>> Paramétrage de linux-image-4.15.0-1-686-pae (4.15.4-1) ...
>> /etc/kernel-img.conf:4: W: ignoring unknown parameter relative_links
>> /etc/kernel-img.conf:6: W: ignoring unknown parameter do_bootfloppy
>> I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.14.0-3-686-pae
>> I: /initrd.img.old is now a symlink to boot/initrd.img-4.14.0-3-686-
>> pae
>> I: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-1-686-pae
>> I: /initrd.img is now a symlink to boot/initrd.img-4.15.0-1-686-pae
>> /etc/kernel/postinst.d/dkms:
>> Error! Bad return status for module build on kernel: 4.15.0-1-686-pae
>> (i686)
>> Consult /var/lib/dkms/nvidia/195.36.24/build/make.log for more
>> information.
>> /etc/kernel/postinst.d/initramfs-tools:
>> update-initramfs: Generating /boot/initrd.img-4.15.0-1-686-pae
>> I: The initramfs will attempt to resume from /dev/md0
>> I: (UUID=92dd207d-8fbb-4224-a70d-ca73e0594d8d)
>> I: Set the RESUME variable to override this.
>> /etc/kernel/postinst.d/zz-update-grub:
>> Création du fichier de configuration GRUB…
>> Found background image: /usr/share/images/desktop-base/desktop-
>> grub.png
>> Image Linux trouvée : /boot/vmlinuz-4.15.0-1-686-pae
>> Image mémoire initiale trouvée : /boot/initrd.img-4.15.0-1-686-pae
>> Image Linux trouvée : /boot/vmlinuz-4.14.0-3-686-pae
>> Image mémoire initiale trouvée : /boot/initrd.img-4.14.0-3-686-pae
>> Image Linux trouvée : /boot/vmlinuz-4.14.0-2-686-pae
>> Image mémoire initiale trouvée : /boot/initrd.img-4.14.0-2-686-pae
>> Image Linux trouvée : /boot/vmlinuz-4.13.0-1-686-pae
>> Image mémoire initiale trouvée : /boot/initrd.img-4.13.0-1-686-pae
>> Image Linux trouvée : /boot/vmlinuz-4.12.0-1-686-pae
>> Image mémoire initiale trouvée : /boot/initrd.img-4.12.0-1-686-pae
>> Image Linux trouvée : /boot/vmlinuz-3.2.0-4-686-pae
>> Image mémoire initiale trouvée : /boot/initrd.img-3.2.0-4-686-pae
>> fait
>>
>> So when i installed this kernel it try to compile automatically a
>> 195.xx.xx nvidia driver.
>> Why ? I don't understand.
>> With others kernel i had installed in the same manner on Synaptic
>> (for
>> example the linux-image-4.14.0-2-686-pae) i didn't have this problem,
>> it
>> compile automatically the good 340.xx series of nvidia driver.
>> And it seems to me there is no 195.xx.xx nvidia driver in Sid Debian
>> repositories
> You probably have leftovers from old or manual installations. If it's
> packages you'll see them with dpkg -l | grep nvidia - If it's the
> Nvidia installer you need to clean them up manually. Check out the http
> s://packages.debian.org/sid/nvidia-installer-cleanup package.
>
>> -------- Message transféré --------
>> Sujet : 	Re: Bug#890775: nvidia-legacy-340xx-kernel-source:
>> v.340.106-2
>> doesn't compile with linux-image-4.15.0-1-686-pae (v. 4.15.4-1)
>> Date : 	Mon, 19 Feb 2018 20:40:59 +0100
>> De : 	Goupil<goupilcom at gmail.com>
>> Pour : 	Luca Boccassi<bluca at debian.org>
>>
>>
>>
>> Hi,
>>
>> Thank you.
>>
>> I didn't notice it was compiling this 195.xx driver.
>> I don't know why it compile this old driver, and not a 340.xx
>> The command i had lauched is : # m-a a-i nvidia-legacy-340xx-kernel-
>> source
>>
>> Perhaps i have made a mistake, but i don't understand, because i
>> don't
>> see any 195.xx driver on Synaptic, and i haven't download any
>> external
>> nvidia driver.
>> I'll do another test tomorrow and I will send you the result
>>
>>
>> Le 18/02/2018 à 20:29, Luca Boccassi a écrit :
>>> Control: tags -1 moreinfo
>>>
>>> On Sun, 2018-02-18 at 19:32 +0100, Serge Le Tyrant wrote:
>>>> Package: nvidia-legacy-340xx-kernel-source
>>>> Version: 340.106-2
>>>> Severity: normal
>>>> Tags: upstream
>>>>
>>>> linux-image-4.15.0-1-686-pae seems to work correctly.
>>>> But when i compile a newer nvidia driver with : # m-a a-i nvidia-
>>>> legacy-340xx-
>>>> kernel-source
>>>> some errors appearded.
>>>>
>>>> In /var/lib/dkms/nvidia/195.36.24/build/make.log :
>>>>
>>>> DKMS make.log for nvidia-195.36.24 for kernel 4.15.0-1-686-pae
>>>> (i686)
>>>> dimanche 18 février 2018, 17:58:56 (UTC+0100)
>>>> make : on entre dans le répertoire
>>>> « /var/lib/dkms/nvidia/195.36.24/build »
>>>> make -C /lib/modules/4.15.0-1-686-pae/build  M=`/bin/pwd` modules
>>>> make[1] : on entre dans le répertoire « /usr/src/linux-
>>>> headers-4.15.0-1-686-pae »
>>>>     CC [M]  /var/lib/dkms/nvidia/195.36.24/build/nv_gvi.o
>>>>     CC [M]  /var/lib/dkms/nvidia/195.36.24/build/nv-vm.o
>>>>     CC [M]  /var/lib/dkms/nvidia/195.36.24/build/os-agp.o
>>>>     CC [M]  /var/lib/dkms/nvidia/195.36.24/build/os-interface.o
>>>>     CC [M]  /var/lib/dkms/nvidia/195.36.24/build/os-registry.o
>>>>     CC [M]  /var/lib/dkms/nvidia/195.36.24/build/nv-i2c.o
>>>>     CC [M]  /var/lib/dkms/nvidia/195.36.24/build/nvacpi.o
>>>> In file included from
>>>> /var/lib/dkms/nvidia/195.36.24/build/nv_gvi.c:15:0:
>>>> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal
>>>> error:
>>>> linux/autoconf.h: Aucun fichier ou dossier de ce type
>>>>    #include <linux/autoconf.h>
>>>>             ^~~~~~~~~~~~~~~~~~
>>>> compilation terminated.
>>>> /usr/src/linux-headers-4.15.0-1-
>>>> common/scripts/Makefile.build:321 :
>>>> la recette
>>>> pour la cible « /var/lib/dkms/nvidia/195.36.24/build/nv_gvi.o » a
>>>> échouée
>>>> make[4]: *** [/var/lib/dkms/nvidia/195.36.24/build/nv_gvi.o]
>>>> Erreur 1
>>>> make[4]: *** Attente des tâches non terminées....
>>>> In file included from /var/lib/dkms/nvidia/195.36.24/build/nv-
>>>> vm.c:14:0:
>>>> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal
>>>> error:
>>>> linux/autoconf.h: Aucun fichier ou dossier de ce type
>>>>    #include <linux/autoconf.h>
>>>>             ^~~~~~~~~~~~~~~~~~
>>>> In file included from /var/lib/dkms/nvidia/195.36.24/build/os-
>>>> agp.c:24:0:
>>>> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal
>>>> error:
>>>> linux/autoconf.h: Aucun fichier ou dossier de ce type
>>>>    #include <linux/autoconf.h>
>>>>             ^~~~~~~~~~~~~~~~~~
>>>> compilation terminated.
>>>> compilation terminated.
>>>> /usr/src/linux-headers-4.15.0-1-
>>>> common/scripts/Makefile.build:321 :
>>>> la recette
>>>> pour la cible « /var/lib/dkms/nvidia/195.36.24/build/nv-vm.o » a
>>>> échouée
>>>> make[4]: *** [/var/lib/dkms/nvidia/195.36.24/build/nv-vm.o]
>>>> Erreur 1
>>>> /usr/src/linux-headers-4.15.0-1-
>>>> common/scripts/Makefile.build:321 :
>>>> la recette
>>>> pour la cible « /var/lib/dkms/nvidia/195.36.24/build/os-agp.o » a
>>>> échouée
>>>> make[4]: *** [/var/lib/dkms/nvidia/195.36.24/build/os-agp.o]
>>>> Erreur 1
>>>> In file included from /var/lib/dkms/nvidia/195.36.24/build/os-
>>>> interface.c:26:0:
>>>> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal
>>>> error:
>>>> linux/autoconf.h: Aucun fichier ou dossier de ce type
>>>>    #include <linux/autoconf.h>
>>>>             ^~~~~~~~~~~~~~~~~~
>>>> compilation terminated.
>>>> /usr/src/linux-headers-4.15.0-1-
>>>> common/scripts/Makefile.build:321 :
>>>> la recette
>>>> pour la cible « /var/lib/dkms/nvidia/195.36.24/build/os-
>>>> interface.o »
>>>> a échouée
>>>> make[4]: *** [/var/lib/dkms/nvidia/195.36.24/build/os-
>>>> interface.o]
>>>> Erreur 1
>>>> In file included from /var/lib/dkms/nvidia/195.36.24/build/nv-
>>>> i2c.c:8:0:
>>>> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal
>>>> error:
>>>> linux/autoconf.h: Aucun fichier ou dossier de ce type
>>>>    #include <linux/autoconf.h>
>>>> (...)
>>> Hi,
>>>
>>> Are you sure you are using the right command/package? The log shows
>>> that it's trying to build the 195.xx series, which is deprecated.
>>> 340.xx works fine, just tested on Sid, both with module-assisant
>>> and
>>> with dkms.
>>>



More information about the pkg-nvidia-devel mailing list