I am unable to install nvidia-340 driver and got the following as log in
its make.log file:

$ tail -n 200 /var/lib/dkms/nvidia-340/340.108/build/make.log
      |   ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer 
expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  131 |          ((val) == 1 || (val) == -1)) ?  \
      |                               ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 
‘percpu_add_op’
  434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
      |                                  ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 
‘this_cpu_add_4’
  379 |   case 4: stem##4(variable, __VA_ARGS__);break;  \
      |           ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro 
‘__pcpu_size_call’
  509 | #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, 
val)
      |                                 ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  519 | #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
      |                                 ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
  521 | #define this_cpu_dec(pcp)  this_cpu_sub(pcp, 1)
      |                            ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
  106 |   this_cpu_dec(*sem->read_count);
      |   ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer 
expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  131 |          ((val) == 1 || (val) == -1)) ?  \
      |                               ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 
‘percpu_add_op’
  492 | #define this_cpu_add_8(pcp, val)  percpu_add_op(volatile, (pcp), val)
      |                                   ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 
‘this_cpu_add_8’
  380 |   case 8: stem##8(variable, __VA_ARGS__);break;  \
      |           ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro 
‘__pcpu_size_call’
  509 | #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, 
val)
      |                                 ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  519 | #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
      |                                 ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
  521 | #define this_cpu_dec(pcp)  this_cpu_sub(pcp, 1)
      |                            ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
  106 |   this_cpu_dec(*sem->read_count);
      |   ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer 
expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  131 |          ((val) == 1 || (val) == -1)) ?  \
      |                               ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 
‘percpu_add_op’
  432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
      |                                  ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro 
‘this_cpu_add_1’
  377 |   case 1: stem##1(variable, __VA_ARGS__);break;  \
      |           ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro 
‘__pcpu_size_call’
  509 | #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, 
val)
      |                                 ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  519 | #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
      |                                 ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
  521 | #define this_cpu_dec(pcp)  this_cpu_sub(pcp, 1)
      |                            ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
  118 |   this_cpu_dec(*sem->read_count);
      |   ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer 
expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  131 |          ((val) == 1 || (val) == -1)) ?  \
      |                               ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 
‘percpu_add_op’
  433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
      |                                  ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro 
‘this_cpu_add_2’
  378 |   case 2: stem##2(variable, __VA_ARGS__);break;  \
      |           ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro 
‘__pcpu_size_call’
  509 | #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, 
val)
      |                                 ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  519 | #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
      |                                 ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
  521 | #define this_cpu_dec(pcp)  this_cpu_sub(pcp, 1)
      |                            ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
  118 |   this_cpu_dec(*sem->read_count);
      |   ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer 
expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  131 |          ((val) == 1 || (val) == -1)) ?  \
      |                               ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 
‘percpu_add_op’
  434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
      |                                  ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 
‘this_cpu_add_4’
  379 |   case 4: stem##4(variable, __VA_ARGS__);break;  \
      |           ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro 
‘__pcpu_size_call’
  509 | #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, 
val)
      |                                 ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  519 | #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
      |                                 ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
  521 | #define this_cpu_dec(pcp)  this_cpu_sub(pcp, 1)
      |                            ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
  118 |   this_cpu_dec(*sem->read_count);
      |   ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer 
expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  131 |          ((val) == 1 || (val) == -1)) ?  \
      |                               ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 
‘percpu_add_op’
  492 | #define this_cpu_add_8(pcp, val)  percpu_add_op(volatile, (pcp), val)
      |                                   ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 
‘this_cpu_add_8’
  380 |   case 8: stem##8(variable, __VA_ARGS__);break;  \
      |           ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro 
‘__pcpu_size_call’
  509 | #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, 
val)
      |                                 ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  519 | #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
      |                                 ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
  521 | #define this_cpu_dec(pcp)  this_cpu_sub(pcp, 1)
      |                            ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
  118 |   this_cpu_dec(*sem->read_count);
      |   ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
                 from ./arch/x86/include/asm/irqflags.h:72,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./include/linux/utsname.h:6,
                 from /var/lib/dkms/nvidia-340/340.108/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-340/340.108/build/nv-frontend.c:13:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of 
different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  266 |   (cpu) < nr_cpu_ids;)
      |         ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
  812 | #define for_each_online_cpu(cpu)   for_each_cpu((cpu), cpu_online_mask)
      |                                    ^~~~~~~~~~~~
./include/linux/vmstat.h:164:2: note: in expansion of macro 
‘for_each_online_cpu’
  164 |  for_each_online_cpu(cpu)
      |  ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of 
different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  266 |   (cpu) < nr_cpu_ids;)
      |         ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
  812 | #define for_each_online_cpu(cpu)   for_each_cpu((cpu), cpu_online_mask)
      |                                    ^~~~~~~~~~~~
./include/linux/vmstat.h:229:2: note: in expansion of macro 
‘for_each_online_cpu’
  229 |  for_each_online_cpu(cpu)
      |  ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
                 from /var/lib/dkms/nvidia-340/340.108/build/nv-linux.h:173,
                 from /var/lib/dkms/nvidia-340/340.108/build/nv-frontend.c:13:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:232:22: warning: comparison of integer expressions of 
different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  232 |  if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
      |                      ^
./include/linux/rtc.h:237:22: warning: comparison of integer expressions of 
different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  237 |  if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
      |                      ^
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1780: /var/lib/dkms/nvidia-340/340.108/build] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-36-generic'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [Makefile:197: nvidia.ko] Error 1
make: Target 'module' not remade because of errors.
make: Entering directory '/var/lib/dkms/nvidia-340/340.108/build/uvm'
cd ./..; make module SYSSRC=/lib/modules/5.8.0-36-generic/build 
SYSOUT=/lib/modules/5.8.0-36-generic/build KBUILD_EXTMOD=./..
make[1]: Entering directory '/var/lib/dkms/nvidia-340/340.108/build'
NVIDIA: calling KBUILD...
make[2]: Entering directory '/usr/src/linux-headers-5.8.0-36-generic'
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 ./scripts/Makefile.build obj=.. \
single-build= \
need-builtin=1 need-modorder=1
scripts/Makefile.build:44: ../Makefile: No such file or directory
make[3]: *** No rule to make target '../Makefile'.  Stop.
make[2]: *** [Makefile:1780: ..] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-36-generic'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [Makefile:197: nvidia.ko] Error 1
make[1]: Leaving directory '/var/lib/dkms/nvidia-340/340.108/build'
make: *** [Makefile:221: ../Module.symvers] Error 2
make: Leaving directory '/var/lib/dkms/nvidia-340/340.108/build/uvm'

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1910709

Title:
  DKMS linux-headers-5.8.0-34-generic update brokes nvidia-340

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Incomplete
Status in nvidia-graphics-drivers-340 source package in Focal:
  Confirmed

Bug description:
  Last linux kernel update "linux-headers-5.8.0-34-generic" broke
  nvidia-340 driver and Desktop access. In make log:

  [...]
  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 ;    
  [...]

  Full DKMS log file attacked.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2020-11-04 (64 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  MachineType: Gigabyte Technology Co., Ltd. H81M-D3H
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=es_ES.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-59-generic 
root=UUID=b0ed05d5-7921-451b-b62c-773b97eeca2f ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.4.0-59.65-generic 5.4.78
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-59-generic N/A
   linux-backports-modules-5.4.0-59-generic  N/A
   linux-firmware                            1.187.7
  RfKill:
   0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  Tags:  focal
  Uname: Linux 5.4.0-59-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: sudo
  WifiSyslog:
   
  _MarkForUpload: True
  dmi.bios.date: 01/20/2014
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F2
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: H81M-D3H
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrF2:bd01/20/2014:svnGigabyteTechnologyCo.,Ltd.:pnH81M-D3H:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH81M-D3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: H81M-D3H
  dmi.product.sku: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2020-11-04 (64 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  MachineType: Gigabyte Technology Co., Ltd. H81M-D3H
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=es_ES.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-59-generic 
root=UUID=b0ed05d5-7921-451b-b62c-773b97eeca2f ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.4.0-59.65-generic 5.4.78
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-59-generic N/A
   linux-backports-modules-5.4.0-59-generic  N/A
   linux-firmware                            1.187.7
  RfKill:
   0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  Tags:  focal
  Uname: Linux 5.4.0-59-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 01/20/2014
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F2
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: H81M-D3H
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrF2:bd01/20/2014:svnGigabyteTechnologyCo.,Ltd.:pnH81M-D3H:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH81M-D3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: H81M-D3H
  dmi.product.sku: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1910709/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to