Attached the output of installing v3.6-rc7-quantal mainline to precise
Note the lines:
Error! Bad return status for module build on kernel: 3.6.0-030600rc7-generic 
(x86_64)
Consult /var/lib/dkms/nvidia-current/295.40/build/make.log for more information.

make.log:

DKMS make.log for nvidia-current-295.40 for kernel 3.6.0-030600rc7-generic 
(x86_64)
sáb sep 29 08:34:54 VET 2012
NVIDIA: calling KBUILD...
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)
mkdir -p /var/lib/dkms/nvidia-current/295.40/build/.tmp_versions ; rm -f 
/var/lib/dkms/nvidia-current/295.40/build/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/295.40/build
  cc -Wp,-MD,/var/lib/dkms/nvidia-current/295.40/build/.nv.o.d  -nostdinc 
-isystem /usr/lib/gcc/x86_64-linux-gnu/4.6/include 
-I/usr/src/linux-headers-3.6.0-030600rc7-generic/arch/x86/include 
-Iarch/x86/include/generated -Iinclude  -include 
/usr/src/linux-headers-3.6.0-030600rc7-generic/include/linux/kconfig.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration 
-Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args 
-fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables 
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=1024 
-Wno-unused-but-set-variable -fno-omit-frame-pointer 
-fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign 
-fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO 
-I/var/lib/dkms/nvidia-current/295.40/build -Wall -MD -Wsign-compare 
-Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
-DNV_VERSION_STRING=\"295.40\" -Wno-unused-function -Wuninitialized 
-mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o 
/var/lib/dkms/nvidia-current/295.40/build/.tmp_nv.o 
/var/lib/dkms/nvidia-current/295.40/build/nv.c
In file included from include/linux/kernel.h:19:0,
                 from include/linux/sched.h:55,
                 from include/linux/utsname.h:35,
                 from /var/lib/dkms/nvidia-current/295.40/build/nv-linux.h:38,
                 from /var/lib/dkms/nvidia-current/295.40/build/nv.c:13:
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional 
expression [-Wsign-compare]
In file included from 
/usr/src/linux-headers-3.6.0-030600rc7-generic/arch/x86/include/asm/uaccess.h:586:0,
                 from include/linux/poll.h:14,
                 from /var/lib/dkms/nvidia-current/295.40/build/nv-linux.h:97,
                 from /var/lib/dkms/nvidia-current/295.40/build/nv.c:13:
/usr/src/linux-headers-3.6.0-030600rc7-generic/arch/x86/include/asm/uaccess_64.h:
 In function 'copy_from_user':
/usr/src/linux-headers-3.6.0-030600rc7-generic/arch/x86/include/asm/uaccess_64.h:62:6:
 warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
In file included from /var/lib/dkms/nvidia-current/295.40/build/nv.c:13:0:
/var/lib/dkms/nvidia-current/295.40/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-current/295.40/build/nv-linux.h:114:75: fatal error: 
asm/system.h: No such file or directory
compilation terminated.
make[3]: *** [/var/lib/dkms/nvidia-current/295.40/build/nv.o] Error 1
make[2]: *** [_module_/var/lib/dkms/nvidia-current/295.40/build] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

Its the same with the other kernels, nvidia.ko fails to build. Reboot
results in degraded graphics (nouveau takes over).

** Attachment added: "v3.6-rc7-quantal.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1057675/+attachment/3355088/+files/v3.6-rc7-quantal.txt

** Tags removed: needs-upstream-testing
** Tags added: kernel-bug-exists-upstream

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1057675

Title:
  Quantal kernel for precise LTS testing: Nvidia driver fails (dkms
  error)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1057675/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to