Public bug reported:

During kernel install, the log said (see attachment for the complete log): 
[...]
Entering directory '/var/lib/dkms/nvidia-340/340.76/build'
NVIDIA: calling KBUILD...
make[2]: Entering directory '/usr/src/linux-headers-4.1.0-040100rc2-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.";      \
[...]

but following that instruction I get more errors: 
/usr/src/linux-headers-4.1.0-040100rc2-generic$ sudo make oldconfig && make 
prepare
[sudo] password for presence: 
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
arch/x86/Makefile:129: CONFIG_X86_X32 enabled but no binutils support
Makefile:657: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector 
not supported by compiler
scripts/kconfig/conf  --silentoldconfig Kconfig

*** Error during update of the configuration.

scripts/kconfig/Makefile:37: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
Makefile:541: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make[1]: *** No rule to make target 'arch/x86/syscalls/syscall_32.tbl', needed 
by 'arch/x86/syscalls/../include/generated/asm/syscalls_32.h'.  Stop.
arch/x86/Makefile:181: recipe for target 'archheaders' failed
make: *** [archheaders] Error 2

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: bbswitch-dkms 0.7-2ubuntu1
Uname: Linux 4.1.0-040100rc2-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.3
Architecture: amd64
DKMSKernelVersion: 4.1.0-040100rc2-generic
Date: Fri Aug 21 21:43:25 2015
InstallationDate: Installed on 2014-05-31 (447 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageVersion: 0.7-2ubuntu1
RelatedPackageVersions:
 dpkg 1.17.25ubuntu1
 apt  1.0.9.7ubuntu4.2
SourcePackage: bbswitch
Title: bbswitch-dkms 0.7-2ubuntu1: bbswitch kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: bbswitch (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package vivid

** Attachment added: "contents of 
/var/lib/dkms/nvidia-340/340.76/build/make.log"
   https://bugs.launchpad.net/bugs/1487666/+attachment/4450665/+files/make.log

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

Title:
  non-fatal error right after login (just upgraded the kernel to 4.1)

Status in bbswitch package in Ubuntu:
  New

Bug description:
  During kernel install, the log said (see attachment for the complete log): 
  [...]
  Entering directory '/var/lib/dkms/nvidia-340/340.76/build'
  NVIDIA: calling KBUILD...
  make[2]: Entering directory '/usr/src/linux-headers-4.1.0-040100rc2-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.";    \
  [...]

  but following that instruction I get more errors: 
  /usr/src/linux-headers-4.1.0-040100rc2-generic$ sudo make oldconfig && make 
prepare
  [sudo] password for presence: 
  scripts/kconfig/conf  --oldconfig Kconfig
  #
  # configuration written to .config
  #
  arch/x86/Makefile:129: CONFIG_X86_X32 enabled but no binutils support
  Makefile:657: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector 
not supported by compiler
  scripts/kconfig/conf  --silentoldconfig Kconfig

  *** Error during update of the configuration.

  scripts/kconfig/Makefile:37: recipe for target 'silentoldconfig' failed
  make[2]: *** [silentoldconfig] Error 1
  Makefile:541: recipe for target 'silentoldconfig' failed
  make[1]: *** [silentoldconfig] Error 2
  make[1]: *** No rule to make target 'arch/x86/syscalls/syscall_32.tbl', 
needed by 'arch/x86/syscalls/../include/generated/asm/syscalls_32.h'.  Stop.
  arch/x86/Makefile:181: recipe for target 'archheaders' failed
  make: *** [archheaders] Error 2

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: bbswitch-dkms 0.7-2ubuntu1
  Uname: Linux 4.1.0-040100rc2-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.3
  Architecture: amd64
  DKMSKernelVersion: 4.1.0-040100rc2-generic
  Date: Fri Aug 21 21:43:25 2015
  InstallationDate: Installed on 2014-05-31 (447 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  PackageVersion: 0.7-2ubuntu1
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.2
  SourcePackage: bbswitch
  Title: bbswitch-dkms 0.7-2ubuntu1: bbswitch kernel module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bbswitch/+bug/1487666/+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