• Unable to start X with Debian stable/Jessie's Kernel v4.2... (1/2)

    From Ant@21:1/5 to All on Tue Dec 29 00:07:24 2015
    XPost: alt.os.linux.debian, comp.os.linux.hardware, comp.os.linux.setup
    XPost: comp.os.linux.x.video

    Hi.

    After doing Debian's apt-get dist-upgrade from Wheezy/oldstable to Jessie/stable, I decided to try Kernel v4.2.0 instead of v3.16.0-4-amd64
    to be even more updated. However, X doesn't work. /var/log/Xorg.0.log
    showed:

    X.Org X Server 1.16.4
    Release Date: 2014-12-20
    [ 453.305] X Protocol Version 11, Revision 0
    [ 453.305] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
    [ 453.305] Current Operating System: Linux MyBox 4.2.0-0.bpo.1-amd64
    #1 SMP Debian 4.2.6-3~bpo8+2 (2015-12-14) x86_64
    [ 453.305] Kernel command line:
    BOOT_IMAGE=/boot/vmlinuz-4.2.0-0.bpo.1-amd64 root=UUID=242d81f2-8a0d-48e1-a144-22ab4d2b9407 ro quiet
    [ 453.306] Build Date: 11 February 2015 12:32:02AM
    [ 453.306] xorg-server 2:1.16.4-1 (http://www.debian.org/support)
    [ 453.306] Current version of pixman: 0.32.6
    [ 453.306] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 453.306] Markers: (--) probed, (**) from config file, (==) default
    setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 453.307] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 27
    21:38:52 2015
    [ 453.307] (==) Using config file: "/etc/X11/xorg.conf"
    [ 453.307] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 453.307] (==) No Layout section. Using the first Screen section.
    [ 453.307] (==) No screen section available. Using defaults.
    [ 453.307] (**) |-->Screen "Default Screen Section" (0)
    [ 453.307] (**) | |-->Monitor "<default monitor>"
    [ 453.308] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 453.308] (**) | |-->Device "Video Card"
    [ 453.308] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 453.308] (==) Automatically adding devices
    [ 453.308] (==) Automatically enabling devices
    [ 453.308] (==) Automatically adding GPU devices
    [ 453.308] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
    exist.
    [ 453.308] Entry deleted from font path.
    [ 453.308] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
    [ 453.308] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 453.308] (**) Extension "Composite" is enabled
    [ 453.308] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 453.308] (II) Loader magic: 0x555a1b0a7d80
    [ 453.308] (II) Module ABI versions:
    [ 453.308] X.Org ANSI C Emulation: 0.4
    [ 453.308] X.Org Video Driver: 18.0
    [ 453.308] X.Org XInput driver : 21.0
    [ 453.308] X.Org Server Extension : 8.0
    [ 453.309] (--) PCI: (0:1:0:0) 14f1:8800:1043:4820 rev 3, Mem @ 0xf8000000/16777216
    [ 453.309] (--) PCI:*(0:5:0:0) 10de:0611:10de:053c rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000ec00/128, BIOS @ 0x????????/131072
    [ 453.309] (II) "glx" will be loaded. This was enabled by default and
    also specified in the config file.
    [ 453.309] (II) LoadModule: "glx"
    [ 453.309] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
    [ 453.323] (II) Module glx: vendor="NVIDIA Corporation"
    [ 453.323] compiled for 4.0.2, module version = 1.0.0
    [ 453.323] Module class: X.Org Server Extension
    [ 453.323] (II) NVIDIA GLX Module 340.65 Tue Dec 2 09:10:06 PST 2014
    [ 453.323] (II) LoadModule: "dri"
    [ 453.323] (II) Module "dri" already built-in
    [ 453.323] (II) LoadModule: "nvidia"
    [ 453.323] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 453.324] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 453.324] compiled for 4.0.2, module version = 1.0.0
    [ 453.324] Module class: X.Org Video Driver
    [ 453.324] (II) NVIDIA dlloader X Driver 340.65 Tue Dec 2 08:47:36
    PST 2014
    [ 453.324] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 453.324] (++) using VT number 1

    [ 453.324] (--) controlling tty is VT number 1, auto-enabling KeepTty
    [ 453.326] (II) Loading sub module "fb"
    [ 453.326] (II) LoadModule: "fb"
    [ 453.326] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 453.326] (II) Module fb: vendor="X.Org Foundation"
    [ 453.326] compiled for 1.16.4, module version = 1.0.0
    [ 453.326] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 453.326] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 453.326] (II) Loading sub module "wfb"
    [ 453.326] (II) LoadModule: "wfb"
    [ 453.326] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 453.326] (II) Module wfb: vendor="X.Org Foundation"
    [ 453.326] compiled for 1.16.4, module version = 1.0.0
    [ 453.326] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 453.326] (II) Loading sub module "ramdac"
    [ 453.327] (II) LoadModule: "ramdac"
    [ 453.327] (II) Module "ramdac" already built-in
    [ 453.329] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module.
    Please see the
    [ 453.329] (EE) NVIDIA: system's kernel log for additional error
    messages and
    [ 453.329] (EE) NVIDIA: consult the NVIDIA README for details.
    [ 453.329] (EE) No devices detected.
    [ 453.329] (EE)
    Fatal server error:
    [ 453.329] (EE) no screens found(EE)
    [ 453.329] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 453.329] (EE) Please also check the log file at
    "/var/log/Xorg.0.log" for additional information.
    [ 453.329] (EE)

    I did not see anything interesting in dmesg, syslog, etc.


    $ uname -a
    Linux MyBox 4.2.0-0.bpo.1-amd64 #1 SMP Debian 4.2.6-3~bpo8+2
    (2015-12-14) x86_64 GNU/Linux[/code]

    Booting to v3.16.0-4-amd64 had no problems though. Am I missing
    something for Kernel v4.2? dpkg -l for Kernel v4.2.0 showed:[code] linux-headers-4.2.0-0.bpo.1-all-amd64 4.2.6-3~bpo8+2
    amd64 All header files for Linux 4.2 (meta-package) linux-headers-4.2.0-0.bpo.1-amd64 4.2.6-3~bpo8+2
    amd64 Header files for Linux 4.2.0-0.bpo.1-amd64 linux-headers-4.2.0-0.bpo.1-common 4.2.6-3~bpo8+2
    amd64 Common header files for Linux 4.2.0-0.bpo.1 linux-image-4.2.0-0.bpo.1-amd64 4.2.6-3~bpo8+2
    amd64 Linux 4.2 for 64-bit PCs

    I have these packages installed:
    linux-headers-4.2.0-0.bpo.1-all-amd64
    linux-headers-4.2.0-0.bpo.1-amd64
    linux-headers-4.2.0-0.bpo.1-common
    linux-image-4.2.0-0.bpo.1-amd64
    linux-compiler-gcc-4.9-x86
    linux-kbuild-4.2
    glx-alternative-nvidia 0.5.1
    amd64 allows the selection of NVIDIA as GLX provider libegl1-nvidia:amd64 340.65-2
    amd64 NVIDIA binary EGL libraries
    libgl1-nvidia-glx:amd64 340.65-2
    amd64 NVIDIA binary OpenGL libraries
    libgl1-nvidia-glx:i386 340.65-2
    i386 NVIDIA binary OpenGL libraries
    libgl1-nvidia-glx-i386 340.65-2
    i386 NVIDIA binary OpenGL 32-bit libraries
    libgles1-nvidia:amd64 340.65-2
    amd64 NVIDIA binary OpenGL|ES 1.x libraries
    libgles2-nvidia:amd64 340.65-2
    amd64 NVIDIA binary OpenGL|ES 2.x libraries
    libnvidia-eglcore:amd64 340.65-2
    amd64 NVIDIA binary EGL core libraries
    libnvidia-ml1:amd64 340.65-2
    amd64 NVIDIA Management Library (NVML) runtime library libxvmcnvidia1:amd64 304.131-1
    amd64 NVIDIA binary XvMC library
    nvidia-alternative 340.65-2
    amd64 allows the selection of NVIDIA as GLX provider
    nvidia-driver 340.65-2
    amd64 NVIDIA metapackage
    nvidia-driver-bin 340.65-2
    amd64 NVIDIA driver support binaries
    nvidia-kernel-common 20141201+1
    amd64 NVIDIA binary kernel module support files
    nvidia-kernel-dkms 340.65-2
    amd64 NVIDIA binary kernel module DKMS source
    nvidia-modprobe 340.46-1
    amd64 utility to load NVIDIA kernel modules and create device
    nodes
    nvidia-settings 340.46-2
    amd64 tool for configuring the NVIDIA graphics driver
    nvidia-support 20141201+1
    amd64 NVIDIA binary graphics driver support files nvidia-vdpau-driver:amd64 340.65-2
    amd64 Video Decode and Presentation API for Unix - NVIDIA driver xserver-xorg-video-nvidia 340.65-2
    amd64 NVIDIA binary Xorg driver


    Someone suggested that I try dpkg-reconfigure nvidia-kernel-dkms:
    $ sudo dpkg-reconfigure nvidia-kernel-dkms
    -------- Uninstall Beginning --------
    Module: nvidia-current
    Version: 340.65
    Kernel: 3.16.0-4-amd64 (x86_64)
    -------------------------------------
    Status: Before uninstall, this module version was ACTIVE on this kernel.

    nvidia-current.ko:
    - Uninstallation
    - Deleting from: /lib/modules/3.16.0-4-amd64/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.


    nvidia-uvm.ko:
    - Uninstallation
    - Deleting from: /lib/modules/3.16.0-4-amd64/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.

    depmod....

    DKMS: uninstall completed.

    ------------------------------
    Deleting module version: 340.65
    completely from the DKMS tree.
    ------------------------------
    Done.
    Loading new nvidia-current-340.65 DKMS files...
    Building for 3.16.0-4-amd64 and 4.2.0-0.bpo.1-amd64
    Building initial module for 3.16.0-4-amd64
    Done.

    nvidia-current:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/3.16.0-4-amd64/updates/dkms/

    nvidia-uvm.ko:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/3.16.0-4-amd64/updates/dkms/

    depmod....

    DKMS: install completed.
    Building initial module for 4.2.0-0.bpo.1-amd64
    Error! Bad return status for module build on kernel: 4.2.0-0.bpo.1-amd64 (x86_64)
    Consult /var/lib/dkms/nvidia-current/340.65/build/make.log for more information.


    $ cat /var/lib/dkms/nvidia-current/340.65/build/make.log
    DKMS make.log for nvidia-current-340.65 for kernel 4.2.0-0.bpo.1-amd64
    (x86_64)
    Sun Dec 27 23:19:26 PST 2015
    make: Entering directory '/var/lib/dkms/nvidia-current/340.65/build'
    make KBUILD_VERBOSE=1 -C /lib/modules/4.2.0-0.bpo.1-amd64/build M=/var/lib/dkms/nvidia-current/340.65/build modules
    make[1]: Entering directory '/usr/src/linux-headers-4.2.0-0.bpo.1-amd64' Makefile:10: *** mixed implicit and normal rules: deprecated syntax
    make -C /usr/src/linux-headers-4.2.0-0.bpo.1-amd64 KBUILD_SRC=/usr/src/linux-headers-4.2.0-0.bpo.1-common \
    -f /usr/src/linux-headers-4.2.0-0.bpo.1-common/Makefile modules
    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/340.65/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-current/340.65/build/.tmp_versions/*
    make -f
    /usr/src/linux-headers-4.2.0-0.bpo.1-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/340.65/build
    /bin/sh /var/lib/dkms/nvidia-current/340.65/build/conftest.sh " gcc-4.9"
    " gcc-4.9" x86 /lib/modules/4.2.0-0.bpo.1-amd64/build /lib/modules/4.2.0-0.bpo.1-amd64/build compile_tests remap_pfn_range
    vmap set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_op_remove acpi_device_id acquire_console_sem console_lock kmem_cache_create outer_flush_all
    on_each_cpu smp_call_function nvmap_support acpi_evaluate_integer
    ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace scatterlist pci_domain_nr pci_dma_mapping_error file_operations
    sg_alloc_table sg_init_table pci_get_domain_bus_and_slot
    get_num_physpages efi_enabled dom0_kernel_present drm_available proc_create_data pde_data proc_remove sg_table pm_vt_switch_required pci_save_state
    echo \#define NV_COMPILER \"` gcc-4.9 -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-current/340.65/build/nv_compiler.h
    gcc-4.9 -Wp,-MD,/var/lib/dkms/nvidia-current/340.65/build/.nv.o.d
    -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include -I/usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.2.0-0.bpo.1-common/include -Iinclude -I/usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia-current/340.65/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89
    -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1
    -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare
    -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
    -mno-avx -fno-delete-null-pointer-checks -O2
    --param=allow-store-data-races=0 -Wframe-larger-than=2048
    -fstack-protector -Wno-unused-but-set-variable
    -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.65/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.65\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
    -D__linux__ -DNV_DEV_NAME=\"nvidia\" -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/340.65/build/.tmp_nv.o /var/lib/dkms/nvidia-current/340.65/build/nv.c
    In file included from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi/linux/stddef.h:1:0,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/stddef.h:4,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi/linux/posix_types.h:4,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi/linux/types.h:13,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/types.h:5,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi/linux/capability.h:16,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/capability.h:15,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/sched.h:15,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/utsname.h:5,
    from
    /var/lib/dkms/nvidia-current/340.65/build/nv-linux.h:46,
    from /var/lib/dkms/nvidia-current/340.65/build/nv.c:13: /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/asm-generic/qrwlock.h:
    In function ‘queue_write_trylock’: /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/asm-generic/qrwlock.h:93:35:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    cnts, cnts | _QW_LOCKED) == cnts);
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
    ^
    In file included from /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/preempt.h:5:0,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/preempt.h:64,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/spinlock.h:50,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/seqlock.h:35,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/time.h:5,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi/linux/timex.h:56,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/timex.h:56,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/sched.h:19,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/utsname.h:5,
    from
    /var/lib/dkms/nvidia-current/340.65/build/nv-linux.h:46,
    from /var/lib/dkms/nvidia-current/340.65/build/nv.c:13: /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:
    In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:130:31:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ((val) == 1 || (val) == -1)) ? \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:419:34:
    note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
    case 1: stem##1(variable, __VA_ARGS__);break; \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:177:3:
    note: in expansion of macro ‘this_cpu_add’
    this_cpu_add(*percpu_count, nr);
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:130:31:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ((val) == 1 || (val) == -1)) ? \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:420:34:
    note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
    case 2: stem##2(variable, __VA_ARGS__);break; \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:177:3:
    note: in expansion of macro ‘this_cpu_add’
    this_cpu_add(*percpu_count, nr);
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:130:31:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ((val) == 1 || (val) == -1)) ? \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:421:34:
    note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
    case 4: stem##4(variable, __VA_ARGS__);break; \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:177:3:
    note: in expansion of macro ‘this_cpu_add’
    this_cpu_add(*percpu_count, nr);
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:130:31:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ((val) == 1 || (val) == -1)) ? \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:478:35:
    note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
    case 8: stem##8(variable, __VA_ARGS__);break; \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:177:3:
    note: in expansion of macro ‘this_cpu_add’
    this_cpu_add(*percpu_count, nr);
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:
    In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:130:31:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ((val) == 1 || (val) == -1)) ? \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:419:34:
    note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
    case 1: stem##1(variable, __VA_ARGS__);break; \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’
    #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:276:3:
    note: in expansion of macro ‘this_cpu_sub’
    this_cpu_sub(*percpu_count, nr);
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:130:31:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ((val) == 1 || (val) == -1)) ? \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:420:34:
    note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
    case 2: stem##2(variable, __VA_ARGS__);break; \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’
    #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:276:3:
    note: in expansion of macro ‘this_cpu_sub’
    this_cpu_sub(*percpu_count, nr);
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:130:31:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ((val) == 1 || (val) == -1)) ? \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:421:34:
    note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
    case 4: stem##4(variable, __VA_ARGS__);break; \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’
    #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:276:3:
    note: in expansion of macro ‘this_cpu_sub’
    this_cpu_sub(*percpu_count, nr);
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:130:31:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ((val) == 1 || (val) == -1)) ? \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/percpu.h:478:35:
    note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
    case 8: stem##8(variable, __VA_ARGS__);break; \
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’
    #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/percpu-refcount.h:276:3:
    note: in expansion of macro ‘this_cpu_sub’
    this_cpu_sub(*percpu_count, nr);
    ^
    In file included from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi/linux/stddef.h:1:0,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/stddef.h:4,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi/linux/posix_types.h:4,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi/linux/types.h:13,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/types.h:5,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/uapi/linux/capability.h:16,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/capability.h:15,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/sched.h:15,
    from /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/utsname.h:5,
    from
    /var/lib/dkms/nvidia-current/340.65/build/nv-linux.h:46,
    from /var/lib/dkms/nvidia-current/340.65/build/nv.c:13: /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/uaccess.h:
    In function ‘copy_from_user’: /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/uaccess.h:717:26:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (likely(sz < 0 || sz >= n))
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/uaccess.h:
    In function ‘copy_to_user’: /usr/src/linux-headers-4.2.0-0.bpo.1-common/arch/x86/include/asm/uaccess.h:735:26:
    warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (likely(sz < 0 || sz >= n))
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
    ^ /var/lib/dkms/nvidia-current/340.65/build/nv.c: In function ‘nvidia_unlocked_ioctl’: /var/lib/dkms/nvidia-current/340.65/build/nv.c:1842:29: error: ‘struct file’ has no member named ‘f_dentry’
    return nvidia_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
    ^ /usr/src/linux-headers-4.2.0-0.bpo.1-common/scripts/Makefile.build:263:
    recipe for target '/var/lib/dkms/nvidia-current/340.65/build/nv.o' failed make[4]: *** [/var/lib/dkms/nvidia-current/340.65/build/nv.o] Error 1 /usr/src/linux-headers-4.2.0-0.bpo.1-common/Makefile:1403: recipe for
    target '_module_/var/lib/dkms/nvidia-current/340.65/build' failed
    make[3]: *** [_module_/var/lib/dkms/nvidia-current/340.65/build] Error 2 Makefile:146: recipe for target 'sub-make' failed
    make[2]: *** [sub-make] Error 2
    Makefile:8: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-0.bpo.1-amd64' Makefile:35: recipe for target 'modules' failed
    make: *** [modules] Error 2
    make: Leaving directory '/var/lib/dkms/nvidia-current/340.65/build'
    make: Entering directory '/var/lib/dkms/nvidia-current/340.65/build/uvm'
    make KBUILD_VERBOSE=1 -C /lib/modules/4.2.0-0.bpo.1-amd64/build M=/var/lib/dkms/nvidia-current/340.65/build/uvm modules
    make[1]: Entering directory '/usr/src/linux-headers-4.2.0-0.bpo.1-amd64' Makefile:10: *** mixed implicit and normal rules: deprecated syntax
    make -C /usr/src/linux-headers-4.2.0-0.bpo.1-amd64 KBUILD_SRC=/usr/src/linux-headers-4.2.0-0.bpo.1-common \
    -f /usr/src/linux-headers-4.2.0-0.bpo.1-common/Makefile modules
    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/340.65/build/uvm/.tmp_versions ;
    rm -f /var/lib/dkms/nvidia-current/340.65/build/uvm/.tmp_versions/*
    make -f

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)