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)

Luca Boccassi bluca at debian.org
Mon Feb 19 21:23:20 UTC 2018


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.
> > 
> 
> 

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20180219/4d2f0a38/attachment.sig>


More information about the pkg-nvidia-devel mailing list