Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: clubex on 2013/07/03, 13:20:20

Title: 3.10 kernel and Nvidia
Post by: clubex on 2013/07/03, 13:20:20
Today's du gives
Code: [Select]

Error! Bad return status for module build on kernel 3.10-0.towo-siduction-amd64 (x86_64)
Sonsult /var/lib/dkms/nvidia/319.23/build/make.log for more infromation.


Which results in the inability to boot to the desktop (in my case KDE).
Title: RE: 3.10 kernel and Nvidia
Post by: Gabriel_M on 2013/07/03, 14:34:22
Please, put the contents of the file /var/lib/dkms/nvidia/319.23/build/make.log

Thanks in advance
Title: RE: 3.10 kernel and Nvidia
Post by: musca on 2013/07/03, 15:05:37
Hi clubex!
The proprietary fglrx and nvidia drivers must accomplish the changes of the new kernel 3.10 release.
Did you add the siduction experimental repo? see http://packages.siduction.org/

At least there is an experimental nvidia driver manually patched by towo`.
Be aware of its experimental status!

Code: [Select]
# LC_ALL=C apt-cache policy nvidia-kernel-dkms
nvidia-kernel-dkms:
  Installed: 319.32-0.siduction.1
  Candidate: 319.32-0.siduction.1
  Version table:
 *** 319.32-0.siduction.1 0
        100 http://packages.siduction.org/experimental/ unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status
     304.88-3 0
        500 http://http.debian.net/debian/ unstable/non-free amd64 Packages


have fun!
musca
Title: RE: 3.10 kernel and Nvidia
Post by: clubex on 2013/07/03, 15:44:31
musca: Yeas I was going to try that when I have time later today.

Gabriel_M: I'll post it when I can. At the moment I'm using a 3.9 kernel.
But I suspect is is as musca intimates that we must wait for Nvidia to produce a driver compatible to the 3.10 kernel.
Title: RE: 3.10 kernel and Nvidia
Post by: clubex on 2013/07/03, 16:20:52
/var/lib/dkms/nvidia/319.23/build/make.log


Code: [Select]

DKMS make.log for nvidia-319.23 for kernel 3.10-0.towo-siduction-amd64 (x86_64)
Wed  3 Jul 11:58:52 BST 2013
make: Entering directory `/var/lib/dkms/nvidia/319.23/build'
make -C /lib/modules/3.10-0.towo-siduction-amd64/build  M=`/bin/pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-3.10-0.towo-siduction-amd64'
  CC [M]  /var/lib/dkms/nvidia/319.23/build/nv.o
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv.c:13:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/cpumask.h:4:0,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv.c:13:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  int len = nl ? nl - buf : strlen(buf);
                          ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:13,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv.c:13:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  CC [M]  /var/lib/dkms/nvidia/319.23/build/nv-acpi.o
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-acpi.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/cpumask.h:4:0,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-acpi.c:15:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  int len = nl ? nl - buf : strlen(buf);
                          ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:13,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-acpi.c:15:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/var/lib/dkms/nvidia/319.23/build/nv-acpi.c: At top level:
/var/lib/dkms/nvidia/319.23/build/nv-acpi.c:70:9: warning: initialization from incompatible pointer type [enabled by default]
         .remove = nv_acpi_remove,
         ^
/var/lib/dkms/nvidia/319.23/build/nv-acpi.c:70:9: warning: (near initialization for ‘nv_acpi_driver_template.ops.remove’) [enabled by default]
  CC [M]  /var/lib/dkms/nvidia/319.23/build/nv-chrdev.o
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-chrdev.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/cpumask.h:4:0,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-chrdev.c:15:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  int len = nl ? nl - buf : strlen(buf);
                          ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:13,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-chrdev.c:15:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  CC [M]  /var/lib/dkms/nvidia/319.23/build/nv-cray.o
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-cray.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/cpumask.h:4:0,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-cray.c:15:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  int len = nl ? nl - buf : strlen(buf);
                          ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:13,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-cray.c:15:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  CC [M]  /var/lib/dkms/nvidia/319.23/build/nv-drm.o
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-drm.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/cpumask.h:4:0,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-drm.c:15:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  int len = nl ? nl - buf : strlen(buf);
                          ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:13,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-drm.c:15:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  CC [M]  /var/lib/dkms/nvidia/319.23/build/nv-gvi.o
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-gvi.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/cpumask.h:4:0,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-gvi.c:15:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  int len = nl ? nl - buf : strlen(buf);
                          ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:13,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-gvi.c:15:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  CC [M]  /var/lib/dkms/nvidia/319.23/build/nv-i2c.o
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-i2c.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/cpumask.h:4:0,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-i2c.c:15:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  int len = nl ? nl - buf : strlen(buf);
                          ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-headers-3.10-0.towo-siduction-amd64/include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:13,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/319.23/build/nv-linux.h:46,
                 from /var/lib/dkms/nvidia/319.23/build/nv-i2c.c:15:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.10-0.towo-siduction-amd64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/var/lib/dkms/nvidia/319.23/build/nv-i2c.c: In function ‘nv_i2c_del_adapter’:
/var/lib/dkms/nvidia/319.23/build/nv-i2c.c:327:14: error: void value not ignored as it ought to be
     osstatus = i2c_del_adapter(pI2cAdapter);
              ^
make[2]: *** [/var/lib/dkms/nvidia/319.23/build/nv-i2c.o] Error 1
make[1]: *** [_module_/var/lib/dkms/nvidia/319.23/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.10-0.towo-siduction-amd64'
make: *** [modules] Error 2
make: Leaving directory `/var/lib/dkms/nvidia/319.23/build'
Title: RE: 3.10 kernel and Nvidia
Post by: clubex on 2013/07/03, 16:23:16
My profound apologies for the double post. Could a moderator please remove one of the posts for me?
Title: RE: 3.10 kernel and Nvidia
Post by: towo on 2013/07/03, 16:33:37
Where you get 319.23?
Title: RE: 3.10 kernel and Nvidia
Post by: dibl on 2013/07/03, 17:04:48
There is no problem with 319.32 on my systems.

Code: [Select]
root@imerabox:/# apt-cache policy nvidia-glx
nvidia-glx:
  Installed: 319.32-0.siduction.1
  Candidate: 319.32-0.siduction.1
  Version table:
 *** 319.32-0.siduction.1 0
        500 http://packages.siduction.org/experimental/ unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status
     304.88-3 0
        500 http://ftp.us.debian.org/debian/ unstable/non-free amd64 Packages
        500 http://http.debian.net/debian/ unstable/non-free amd64 Packages
Title: RE: 3.10 kernel and Nvidia
Post by: clubex on 2013/07/03, 17:22:18
towo:
From the siduction repo

Thanks didbl. I aim to try it later today.
Title: RE: 3.10 kernel and Nvidia
Post by: musca on 2013/07/03, 22:29:41
Hi clubex!
towo` has uploaded two new nvidia drivers:
325.08 beta in siduction experimental
304.88 [patched] in sicuction fixes

Code: [Select]

$ LC_ALL=C apt-cache policy nvidia-kernel-dkms
nvidia-kernel-dkms:
  Installed: 325.08-0.siduction.1
  Candidate: 325.08-0.siduction.1
  Version table:
 *** 325.08-0.siduction.1 0
        100 http://packages.siduction.org/experimental/ unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status
     319.17-1 0
          1 http://http.debian.net/debian/ experimental/non-free amd64 Packages
     304.88-4.siduction.2 0
        500 http://ftp.spline.de/pub/siduction/fixes/ unstable/non-free amd64 Packages
     304.88-3 0
        500 http://http.debian.net/debian/ unstable/non-free amd64 Packages


greetings
musca
Title: RE: 3.10 kernel and Nvidia
Post by: clubex on 2013/07/03, 23:35:19
Thanks musca and especially towo:
I discovered 325.08-0-siduction.1 in siduction experimental a short while ago and installed it. So far it seems to function well.

If I get any problems I'll report back.
Code: [Select]

inxi -G
Graphics:  Card: NVIDIA GF119 [GeForce GT 520] X.Org: 1.12.4 driver: nvidia Resolution: 1680x1050@59.9hz
           GLX Renderer: GeForce GT 520/PCIe/SSE2 GLX Version: 4.3.0 NVIDIA 325.08


I'll give it a few hours and then unless anyone objects I'll mark the topic as closed.
Title: build error with nvidia 304.88; was RE: 3.10 kernel and N
Post by: michaa7 on 2013/07/04, 00:47:06
During installation I get an build error:
ERROR: Bad return status for modul build on kernel 3.10-0 ...

In "/var/lib/...../make.log" I see at the end:

Quote
...
cc1: some warnings being treated as errorsnv-procfs.o
make[2]: *** [/var/lib/dkms/nvidia/304.88/build/nv-procfs.o] Fehler 1
make[1]: *** [_module_/var/lib/dkms/nvidia/304.88/build] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-3.10-0.towo-siduction-686'
make: *** [modules] Fehler 2
make: Leaving directory `/var/lib/dkms/nvidia/304.88/build'


As the complete log is rather long, I didn't want do post it here. If you tell me what I should look for or where to post the log I'll do it.
Title: RE: build error with nvidia 304.88; was RE: 3.10 kernel and
Post by: towo on 2013/07/04, 11:03:35
apt-cache policy nvidia-kernel-dkms
Title: RE: build error with nvidia 304.88; was RE: 3.10 kernel and
Post by: michaa7 on 2013/07/04, 13:56:01
Quote
# apt-cache policy nvidia-kernel-dkms
nvidia-kernel-dkms:
  Installiert:           304.88-4.siduction.2
  Installationskandidat: 304.88-4.siduction.2
  Versionstabelle:
     319.17-1 0
          1 http://ftp.de.debian.org/debian/ experimental/non-free i386 Packages
 *** 304.88-4.siduction.2 0
        900 http://packages.siduction.org/fixes/ unstable/non-free i386 Packages
        100 /var/lib/dpkg/status
     304.88-3 0
        900 http://http.debian.net/debian/ sid/non-free i386 Packages
        500 http://ftp.de.debian.org/debian/ testing/non-free i386 Packages
     304.88-1+deb7u1 0
        500 http://ftp.nl.debian.org/debian/ stable/non-free i386 Packages
Title: RE: build error with nvidia 304.88; was RE: 3.10 kernel and
Post by: spacepenguin on 2013/07/04, 15:08:48
Der 304.88-4.siduction.2 will hier auch nicht mit dem 3.10er Kernel, bin grad wieder mit dem 3.9-4.towo.1-siduction-amd64 unterwegs, der 3.10er führt ins Schwarze, sprich, nur an den Login-Prompt. Und wenn ich nvidia-driver installiere, wird der 319.17 installiert... und der will auch nicht.
Title: RE: build error with nvidia 304.88; was RE: 3.10 kernel and
Post by: towo on 2013/07/04, 17:53:07
Könnt ihr mir mal ein
Code: [Select]
ls -ld /var/lib/dkms/nvidia/304.88/nv-i2c.c
nach einem buildversuch gegen 3.10 zeigen?

@spacepenguin
Daß 319.17 nicht baut ist klar, in siduction-experimental liegt dar aktuellste Nvidia-Treiber.

BTW, für solche Probleme wäre der IRC besser geeignet, weils einfach schneller geht.
Title: 3.10 kernel and Nvidia
Post by: gcp on 2013/07/04, 21:23:04
Patch for Nvidia and Kernel 3.11

If you compile the Kernel yourself
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
and want to use Nvidia proprietary drivers with the upcoming Kernel 3.11,
you need an additional patch.

See:
mm: use totalram_pages instead of num_physpages at runtime
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0ed5fd138539940a493dc69359cb2f49de70ad89

mm: kill global variable num_physpages
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1895418189e08c1d1eec4fbdb5fb41d793f57ba5

"Now all references to num_physpages have been removed, so kill it."
... but Nvidia.


Open /var/lib/dkms/nvidia/325.08/source/patches/linux-3.10.patch
and add this to the start of the patch:


--- a/nv-linux.h   2013-07-04 17:30:49.773211000 +0200
+++ b/nv-linux.h   2013-07-04 19:24:29.524124509 +0200
@@ -959,7 +959,7 @@
 #endif
 
 #if !defined(NV_VMWARE)
-#define NV_NUM_PHYSPAGES                num_physpages
+#define NV_NUM_PHYSPAGES                totalram_pages
 #define NV_GET_CURRENT_PROCESS()        current->tgid
 #define NV_IN_ATOMIC()                  in_atomic()
 #define NV_LOCAL_BH_DISABLE()           local_bh_disable()


This works for me.
If you want to install or upgrade Kernel 3.10, you must switch the patches manually. Of course.

I use Nvidia 325.08 from Siduction experimental.
Thanks for that.
Title: Re: RE: build error with nvidia 304.88; was RE: 3.10 kernel
Post by: michaa7 on 2013/07/04, 22:37:33
Quote from: "towo"
Könnt ihr mir mal ein
Code: [Select]
ls -ld /var/lib/dkms/nvidia/304.88/nv-i2c.c
nach einem buildversuch gegen 3.10 zeigen?

(da hat wohl .../build/... im pfad gefehlt)
Quote
-rw-r--r-- 1 root root 9682 Jul  4 22:30 /var/lib/dkms/nvidia/304.88/build/nv-i2c.c

@spacepenguin
Daß 319.17 nicht baut ist klar, in siduction-experimental liegt dar aktuellste Nvidia-Treiber.

Quote
BTW, für solche Probleme wäre der IRC besser geeignet, weils einfach schneller geht.

Da marschiere ich jetzt mal hin ...

BTW, hast du gesehen was gcp gepostet hat?
Title: Re: RE: build error with nvidia 304.88; was RE: 3.10 kernel
Post by: michaa7 on 2013/07/04, 23:28:12
solved here with the new fixes from siduction repo
Title: 3.10 kernel and Nvidia
Post by: towo on 2013/07/04, 23:29:48
Quote
BTW, hast du gesehen was gcp gepostet hat?

Ja, aber das ist im Moment nicht von Belang, da Kernel 3.11 noch in relativ weiter Ferne liegt.
Title: 3.10 kernel and Nvidia
Post by: spacepenguin on 2013/07/05, 14:05:22
Danke für 304.88-5.c0.siduction, damit geht es jetzt hier auch.
Title: 3.10 kernel and Nvidia
Post by: orinoco on 2013/07/07, 14:13:20
What about legacy 173.x?
Title: 3.10 kernel and Nvidia
Post by: vayu on 2013/07/13, 22:21:46
I can't get nvidia working with the 3.10 kernel. I think I have something wrong with my repository lists. apt-cache policy nvidia-kernel-dkms only shows 304.88-4 0

This is after apt-get update with the below sources:
Code: [Select]

$ apt-cache policy nvidia-glx
nvidia-glx:
  Installed: 304.88-4
  Candidate: 304.88-4
  Version table:
 *** 304.88-4 0
        500 http://http.debian.net/debian/ unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status


Code: [Select]

/etc/apt/sources.list.d$ cat debian.list
# debian loadbalancer
deb http://http.debian.net/debian/ unstable main contrib non-free
#deb-src http://http.debian.net/debian/ unstable main contrib non-free
/etc/apt/sources.list.d$ cat siduction.list
# official siduction-lists
deb http://ftp.uni-stuttgart.de/siduction/base unstable main
#deb-src http://ftp.uni-stuttgart.de/siduction/base unstable main

deb http://ftp.uni-stuttgart.de/siduction/extra unstable main
#deb-src http://ftp.uni-stuttgart.de/siduction/extra unstable main

deb http://ftp.uni-stuttgart.de/siduction/fixes unstable main
#deb-src http://ftp.uni-stuttgart.de/siduction/fixes unstable main

/etc/apt/sources.list.d$ cat misc.list
# misc. siduction-lists
deb http://ftp.uni-stuttgart.de/siduction/experimental unstable main
#deb-src http://ftp.uni-stuttgart.de/siduction/experimental unstable main

#deb http://ftp.uni-stuttgart.de/siduction/user unstable main
#deb-src http://ftp.uni-stuttgart.de/siduction/user unstable main

deb http://ftp.uni-stuttgart.de/siduction/kdenext unstable main
#deb-src http://ftp.uni-stuttgart.de/siduction/kdenext unstable main


I'm unclear on what steps to take to get nvidia working with the latest du. I would try some of the nvidia drivers mentioned in this thread but I can't find them.  I'm also unclear on what package(s) would I actually install.  Am I looking to install nvidia-glx, nvidia-kernel-dkms, both or something else?
Title: 3.10 kernel and Nvidia
Post by: dibl on 2013/07/13, 22:28:19
Hi vayu.

Unless you have an older Nvidia card, you should try driver ver. 325-08 -- it comes from the siduction repo:

Code: [Select]
root@imerabox:/# apt-cache policy nvidia-glx
nvidia-glx:
  Installed: 325.08-0.siduction.1
  Candidate: 325.08-0.siduction.1
  Version table:
 *** 325.08-0.siduction.1 0
        500 http://packages.siduction.org/experimental/ unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status
     304.88-4 0
        500 http://ftp.us.debian.org/debian/ unstable/non-free amd64 Packages
        500 http://http.debian.net/debian/ unstable/non-free amd64 Packages



So, add a "siduction.list" file under /etc/apt/sources.d/ and it looks like this:

Code: [Select]
deb http://packages.siduction.org/base unstable main
#deb-src http://packages.siduction.org/base unstable main
deb http://packages.siduction.org/extra unstable main
#deb-src http://packages.siduction.org/extra unstable main
deb http://packages.siduction.org/fixes unstable main
#deb-src http://packages.siduction.org/fixes unstable main
deb http://packages.siduction.org/experimental unstable main contrib non-free


Then run an update and d-u and it should pull in the newer driver.  If it's all working, then you can comment out the "siduction" lines in your old source list file.
Title: 3.10 kernel and Nvidia
Post by: vayu on 2013/07/14, 04:53:41
Quote from: "dibl"

Code: [Select]
deb http://packages.siduction.org/base unstable main
#deb-src http://packages.siduction.org/base unstable main
deb http://packages.siduction.org/extra unstable main
#deb-src http://packages.siduction.org/extra unstable main
deb http://packages.siduction.org/fixes unstable main
#deb-src http://packages.siduction.org/fixes unstable main
deb http://packages.siduction.org/experimental unstable main contrib non-free



Thank you, those mirrors allowed the nvidia 325 package to show up and I was able to install without problem.  I still can't get into X with the new kernel though.  The old kernel works with the new driver (it also did with the old driver).

Code: [Select]


$ apt-cache policy nvidia-glx
nvidia-glx:
  Installed: 325.08-0.siduction.1
  Candidate: 325.08-0.siduction.1
  Version table:
 *** 325.08-0.siduction.1 0
        100 http://packages.siduction.org/experimental/ unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status
     304.88-4 0
        500 http://http.debian.net/debian/ unstable/non-free amd64 Packages

$ uname -a
Linux prajipati 3.9-7.towo-siduction-amd64 #1 SMP PREEMPT Fri Jun 21 16:02:32 UTC 2013 x86_64 GNU/Linux




How can I get the 3.10 kernel working with the nvidia driver?
Title: 3.10 kernel and Nvidia
Post by: vayu on 2013/07/14, 09:18:04
I don't need this kernel for any reason other than it was part of the dist-upgrade I just did.  How do I set the default to boot back to the last one?
Title: 3.10 kernel and Nvidia
Post by: dibl on 2013/07/14, 09:55:21
Regarding the video driver on kernel 3.10, there should be error messages at /var/log/Xorg.0.log.

Regarding pinning the kernel at a given version, follow the guidance in the manual to use dpkg --set-selections to set the kernel image on hold. You will need to manually remove the newer kernel image first -- I don't think you can set an older version to boot by default.
Title: 3.10 kernel and Nvidia
Post by: michaa7 on 2013/07/14, 12:33:45
Quote from: "vayu"
I don't need this kernel for any reason other than it was part of the dist-upgrade I just did.  

I can understand this. And as a temporary workaround I suggest to follow dibl's advice.
OTOH there is no reason the nvidia driver / one of the nvidia drivers shouldn't run even on *your* system.

Quote
How do I set the default to boot back to the last one?

I think it is possible even with grub2.

Have a look at /etc/default/grub (using an editor like nano, mcedit as root)
The line "GRUB_DEFAULT=0" is the one you want to edit.
Quote
GRUB_DEFAULT=0
 The number at the end of this line can be changed to make the highlight bar or selection bar in the GRUB Menu appear automatically on any GRUB Menu entry we like.
 0 (zero) tells GRUB we want the first or top GRUB entry automatically selected unless we over ride that selection with our up or down arrow key during boot-up.
 Any number greater than 0 (zero) will mean boot entries further down the GRUB Menu will be selected instead.

I am not quite sure how to select an older kernel which is somewhat hidden in a submenue (#1 would be the submenue with the newest kernel selected (?), I assume. Would #2 be the second entry in the submenue or the third entry in the main menue?). Maybe someone can give an additonal hint.

After editing this line you have to run
Code: [Select]
update-grub

Anyways, in the long run I'd recomment to solve the problem with nvidia and the newest kernel. Maybe the easiest way would be to provide better info about your system/grafics/exact errormessages and asking towo in IRC directly.
Title: 3.10 kernel and Nvidia
Post by: dibl on 2013/07/14, 15:29:30
Quote from: michaa7
Quote from: "vayu"


Quote
How do I set the default to boot back to the last one?


I think it is possible even with grub2.

Have a look at /etc/default/grub (using an editor like nano, mcedit as root)
The line "GRUB_DEFAULT=0" is the one you want to edit.
Quote
GRUB_DEFAULT=0
 The number at the end of this line can be changed to make the highlight bar or selection bar in the GRUB Menu appear automatically on any GRUB Menu entry we like.
 0 (zero) tells GRUB we want the first or top GRUB entry automatically selected unless we over ride that selection with our up or down arrow key during boot-up.
 Any number greater than 0 (zero) will mean boot entries further down the GRUB Menu will be selected instead.

I am not quite sure how to select an older kernel which is somewhat hidden in a submenue (#1 would be the submenue with the newest kernel selected (?), I assume. Would #2 be the second entry in the submenue or the third entry in the main menue?). Maybe someone can give an additonal hint.

After editing this line you have to run
Code: [Select]
update-grub



Yes, I had forgotten about that method -- that should work to set an older kernel as default.

HOWEVER ...

The next time towo releases a new kernel, your d-u will want to install it.  And if you don't want it, then you can't proceed with the d-u, and you can't update your packages.  This means your rolling distro will stop rolling, or else you'll be accumulating new kernels that you can't use.   :lol:

So, the advice is to first try to troubleshoot the error with the nvidia driver, and get it working on the new kernel, including using IRC to get help if needed.  If that fails, then you probably want to pin the kernel to a 3.9-er and keep that one going forward.
Title: 3.10 kernel and Nvidia
Post by: DeepDayze on 2013/07/14, 16:53:46
Quote from: dibl
Quote from: "michaa7"
Quote from: "vayu"


Quote
How do I set the default to boot back to the last one?


I think it is possible even with grub2.

Have a look at /etc/default/grub (using an editor like nano, mcedit as root)
The line "GRUB_DEFAULT=0" is the one you want to edit.
Quote
GRUB_DEFAULT=0
 The number at the end of this line can be changed to make the highlight bar or selection bar in the GRUB Menu appear automatically on any GRUB Menu entry we like.
 0 (zero) tells GRUB we want the first or top GRUB entry automatically selected unless we over ride that selection with our up or down arrow key during boot-up.
 Any number greater than 0 (zero) will mean boot entries further down the GRUB Menu will be selected instead.

I am not quite sure how to select an older kernel which is somewhat hidden in a submenue (#1 would be the submenue with the newest kernel selected (?), I assume. Would #2 be the second entry in the submenue or the third entry in the main menue?). Maybe someone can give an additonal hint.

After editing this line you have to run
Code: [Select]
update-grub



Yes, I had forgotten about that method -- that should work to set an older kernel as default.

HOWEVER ...

The next time towo releases a new kernel, your d-u will want to install it.  And if you don't want it, then you can't proceed with the d-u, and you can't update your packages.  This means your rolling distro will stop rolling, or else you'll be accumulating new kernels that you can't use.   :lol:

So, the advice is to first try to troubleshoot the error with the nvidia driver, and get it working on the new kernel, including using IRC to get help if needed.  If that fails, then you probably want to pin the kernel to a 3.9-er and keep that one going forward.


If you don't want the kernel to be updated automatically with each d-u just purge the siduction kernel metapackage.
Title: 3.10 kernel and Nvidia
Post by: orinoco on 2013/07/14, 17:37:54
My old laptop is equipped with a

Code: [Select]
01:00.0 VGA compatible controller: NVIDIA Corporation NV34M [GeForce FX Go5200 64M] (rev a1)

Will there be fix for the nvidia 173.x driver together with kernel 3.10? I checked the fixes i386 repository but I can't find a solution.
Title: 3.10 kernel and Nvidia
Post by: michaa7 on 2013/07/14, 22:31:43
Ask towo in IRC, he's the one who cares about kernel an graphics.
Title: 3.10 kernel and Nvidia
Post by: vayu on 2013/07/15, 23:27:31
Quote from: "dibl"

The next time towo releases a new kernel, your d-u will want to install it.  And if you don't want it, then you can't proceed with the d-u, and you can't update your packages.  This means your rolling distro will stop rolling, or else you'll be accumulating new kernels that you can't use.   :lol:


Thanks everyone for all your help and suggestions.  I've sorted out grub.  I'm busy now.  When I get the error messages from xorg and system log sorted out I'll start a new thread.