Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #71490 > unrolled thread

Bug#988300: linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms

Started by"Hans-J. Ullrich" <hans.ullrich@loop.de>
First post2021-05-10 02:10 +0200
Last post2021-05-12 19:20 +0200
Articles 4 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#988300: linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms "Hans-J. Ullrich" <hans.ullrich@loop.de> - 2021-05-10 02:10 +0200
    Processed: Re: Bug#988300: linux-kbuild-5.10: can not build  nvidia-kernel-340xx-dkms "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-05-11 22:00 +0200
    Bug#988300: linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms Ben Hutchings <ben@decadent.org.uk> - 2021-05-11 22:00 +0200
    Bug#988300: [SOLVED] linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms Hans <hans.ullrich@loop.de> - 2021-05-12 19:20 +0200

#71490 — Bug#988300: linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms

From"Hans-J. Ullrich" <hans.ullrich@loop.de>
Date2021-05-10 02:10 +0200
SubjectBug#988300: linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms
Message-ID<Cd1EJ-4gF-1@gated-at.bofh.it>
Package: linux-kbuild-5.10
Version: 5.10.28-1
Severity: important

Dear Maintainer,

I am not quite sure, but I believe, there is a problem with either linux-kbuild-5.10 or the nvidia-kernel-340xx-dkms.

The problem is, that the build of the kernel module stops and the make.log says the following:

--- snip ---

make[3]: Verzeichnis „/usr/src/linux-headers-5.10.0-6-amd64“ wird betreten
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)
make -f /usr/src/linux-headers-5.10.0-6-common/scripts/Makefile.build obj=.. \
single-build= \
need-builtin=1 need-modorder=1
/usr/src/linux-headers-5.10.0-6-common/scripts/Makefile.build:44: /usr/src/linux-headers-5.10.0-6-common/../Makefile: Datei oder Verzeichnis nicht gefunden
make[4]: *** Keine Regel, um „/usr/src/linux-headers-5.10.0-6-common/../Makefile“ zu erstellen.  Schluss.
make[3]: *** [/usr/src/linux-headers-5.10.0-6-common/Makefile:1822: ..] Fehler 2
make[3]: Verzeichnis „/usr/src/linux-headers-5.10.0-6-amd64“ wird verlassen
make[2]: *** [Makefile:185: __sub-make] Fehler 2
make[2]: Verzeichnis „/usr/src/linux-headers-5.10.0-6-common“ wird verlassen
make[1]: *** [Makefile:205: nvidia.ko] Fehler 2
make[1]: Verzeichnis „/var/lib/dkms/nvidia-legacy-340xx/340.108/build“ wird verlassen
make: *** [Makefile:221: ../Module.symvers] Fehler 2
make: Verzeichnis „/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm“ wird verlassen
                                                                          1124,1  
--- snap ----

This issue happened, when I deinstalled and reinstalled all the nvidia-packages.

Please note: It was possible before to build the nvidia-module for a 5.10-version, but this was a prior version before 5.10.0-6-amd64 (maybe 5.10.0-4-amd64 or similar).

On kernel version 4.19.0-16-amd64 the module can be build, but this is another linux-kbuild-version!

Thus and because of the make.log I believe, linux-kbuild-5.10 might be buggy.

Thank you for reading this and any help.

Best regards

Hans
 

 





-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-16-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-kbuild-5.10 depends on:
ii  libc6      2.31-11
ii  libelf1    0.183-1
ii  libssl1.1  1.1.1k-1

linux-kbuild-5.10 recommends no packages.

linux-kbuild-5.10 suggests no packages.

-- debconf-show failed

[toc] | [next] | [standalone]


#71504 — Processed: Re: Bug#988300: linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-05-11 22:00 +0200
SubjectProcessed: Re: Bug#988300: linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms
Message-ID<CdGHT-4xf-1@gated-at.bofh.it>
In reply to#71490
Processing control commands:

> tag -1 moreinfo
Bug #988300 [linux-kbuild-5.10] linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms
Added tag(s) moreinfo.

-- 
988300: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988300
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#71505

FromBen Hutchings <ben@decadent.org.uk>
Date2021-05-11 22:00 +0200
Message-ID<CdGHT-4xf-3@gated-at.bofh.it>
In reply to#71490

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 moreinfo

On Mon, 2021-05-10 at 01:56 +0200, Hans-J. Ullrich wrote:
> Package: linux-kbuild-5.10
> Version: 5.10.28-1
> Severity: important
> 
> Dear Maintainer,
> 
> I am not quite sure, but I believe, there is a problem with either
> linux-kbuild-5.10 or the nvidia-kernel-340xx-dkms.
> 
> The problem is, that the build of the kernel module stops and the
> make.log says the following:
[...]

Could this be the same bug as #987575?

Which version of nvidia-legacy-340xx-kernel-dkms is installed, and do
you have any other out-of-tree module packages installed?

Ben.

-- 
Ben Hutchings
The obvious mathematical breakthrough [to break modern encryption]
would be development of an easy way to factor large prime numbers.
                                                           - Bill Gates

[toc] | [prev] | [next] | [standalone]


#71525 — Bug#988300: [SOLVED] linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms

FromHans <hans.ullrich@loop.de>
Date2021-05-12 19:20 +0200
SubjectBug#988300: [SOLVED] linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms
Message-ID<Ce0GC-8qy-7@gated-at.bofh.it>
In reply to#71490
Dear maintainers,

tested a lot and I dicovered, there is a problem with the nvidia-package 
version 340.108-3-*.

This package (and even the original version from NVidia) does NOT build.

However, on your repo I found version 340.108-10-*bpo*, which I manually 
downloaded and installed. This version is running well and I suggest, to 
release it as soon as possible.

As I found a solution for me, I think, you can safely close this bugreport.

Thank you very much for reading this and all the work.

Best regards

Hans  

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web