Page 3 of 32 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 320

Thread: HowTo: NViDIA 185.18 Drivers in Ubuntu

  1. #21
    Join Date
    Jan 2008
    Beans
    4,757

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    I think I have an ubuntu-studio CD lying around somewhere, I'll install it on my test machine and will try it out and let you know of anything.

    In the meantime, can you post the contents of the file:
    Code:
    /var/log/nvidia-installer.log
    Regards
    Iain

  2. #22
    Join Date
    Feb 2009
    Beans
    11

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    Thanks Iain heres the output..

    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Tue Apr 28 00:46:19 2009
    installer version: 1.0.7

    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    OpenGL header files : true
    no questions : false
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    no X server check : false
    no cc version check : false
    force tls : (not specified)
    force compat32 tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    compat32 install chroot : (not specified)
    compat32 install prefix : (not specified)
    compat32 install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)

    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> Installing NVIDIA driver version 185.19.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.28-3-rt/build'
    -> Kernel output path: '/lib/modules/2.6.28-3-rt/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Performing Xen check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.28-3-rt/bui
    ld SYSOUT=/lib/modules/2.6.28-3-rt/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.28-3-rt/build SUBDIRS=/tmp/
    selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are mis
    sing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it
    ."; \
    echo; \
    /bin/false)
    mkdir -p /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/.tmp_ver
    sions ; rm -f /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/.tm
    p_versions/*
    make -f scripts/Makefile.build obj=/tmp/selfgz6048/NVIDIA-Linux-x86_64-185.1
    9-pkg2/usr/src/nv
    cc -Wp,-MD,/tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/.nv.
    o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.3/include -D__KERN
    EL__ -Iinclude -I/usr/src/linux-headers-2.6.28-3-rt/arch/x86/include -incl
    ude include/linux/autoconf.h -Iub
    untu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-a
    liasing -fno-common -Werror-implicit-function-declaration -O2 -m64 -mtune=ge
    neric -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-a
    rgs -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mm
    x -mno-sse2 -mno-3dnow -Iarch/x86/include/asm/mach-default -fno-stack-protec
    tor -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-
    statement -Wno-pointer-sign -fwrapv -I/tmp/selfgz6048/NVIDIA-Linux-x86_64-18
    5.19-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar
    -subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=ke
    rnel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__
    -DMODULE -DNVRM -DNV_VERSION_STRING=\"185.19\" -UDEBUG -U_DEBUG -DNDEBUG -DM
    ODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MOD
    NAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-p
    kg2/usr/src/nv/.tmp_nv.o /tmp/selfg
    z6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/nv.c
    In file included from include/linux/bitops.h:17,
    from include/linux/kernel.h:15,
    from include/linux/sched.h:52,
    from include/linux/utsname.h:35,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:19,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv.c:14:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h: In functio
    n ‘set_bit’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h:60: warning
    : pointer of type ‘void *’ used in arithmetic
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h: In functio
    n ‘clear_bit’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h:97: warning
    : pointer of type ‘void *’ used in arithmetic
    In file included from include/linux/utsname.h:35,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:19,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv.c:14:
    include/linux/sched.h: In function ‘object_is_on_stack’:
    include/linux/sched.h:2124: warning: pointer of type ‘void *’ used in ar
    ithmetic
    In file included from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/dma-mapping.h:9,
    from include/linux/dma-mapping.h:57,
    from include/asm-generic/pci-dma-compat.h:7,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/pci.h:94,
    from include/linux/pci.h:1002,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:86,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv.c:14:
    include/linux/scatterlist.h: In function ‘sg_virt’:
    include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
    in arithmetic
    In file included from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/hardirq_64.h:5,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/hardirq.h:4,
    from include/linux/hardirq.h:7,
    from include/linux/interrupt.h:12,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:87,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv.c:14:
    include/linux/irq.h: In function ‘irq_to_desc’:
    include/linux/irq.h:203: warning: comparison between signed and unsigned
    In file included from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:113,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv.c:14:
    include/linux/highmem.h: In function ‘zero_user_segments’:
    include/linux/highmem.h:136: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:139: warning: pointer of type ‘void *’ used in a
    rithmetic
    In file included from include/linux/compat.h:14,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/mtrr.h:141,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:142,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv.c:14:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/compat.h: In functio
    n ‘compat_alloc_user_space’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/compat.h:210: warnin
    g: pointer of type ‘void *’ used in arithmetic
    cc -Wp,-MD,/tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/.nv-
    vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.3/include -D__K
    ERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.28-3-rt/arch/x86/include -i
    nclude include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-pro
    totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-fun
    ction-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -fun
    it-at-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchr
    onous-unwind-tables -mno-sse -mno-mmx -mno-sse
    2 -mno-3dnow -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-o
    mit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement
    -Wno-pointer-sign -fwrapv -I/tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/
    usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscript
    s -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-
    red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE
    -DNVRM -DNV_VERSION_STRING=\"185.19\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"
    KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=K
    BUILD_STR(nvidia)" -c -o /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/us
    r/src/nv/.tmp_nv-vm.o /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-vm.c
    In file included from include/linux/bitops.h:17,
    from include/linux/kernel.h:15,
    from include/linux/sched.h:52,
    from include/linux/utsname.h:35,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:19,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-vm.c:14:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h: In functio
    n ‘set_bit’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h:60: warning
    : pointer of type ‘void *’ used in arithmetic
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h: In functio
    n ‘clear_bit’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h:97: warning
    : pointer of type ‘void *’ used in arithmetic
    In file included from include/linux/utsname.h:35,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:19,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-vm.c:14:
    include/linux/sched.h: In function ‘object_is_on_stack’:
    include/linux/sched.h:2124: warning: pointer of type ‘void *’ used in ar
    ithmetic
    In file included from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/dma-mapping.h:9,
    from include/linux/dma-mapping.h:57,
    from include/asm-generic/pci-dma-compat.h:7,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/pci.h:94,
    from include/linux/pci.h:1002,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:86,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-vm.c:14:
    include/linux/scatterlist.h: In function ‘sg_virt’:
    include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
    in arithmetic
    In file included from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/hardirq_64.h:5,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/hardirq.h:4,
    from include/linux/hardirq.h:7,
    from include/linux/interrupt.h:12,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:87,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-vm.c:14:
    include/linux/irq.h: In function ‘irq_to_desc’:
    include/linux/irq.h:203: warning: comparison between signed and unsigned
    In file included from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:113,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-vm.c:14:
    include/linux/highmem.h: In function ‘zero_user_segments’:
    include/linux/highmem.h:136: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:139: warning: pointer of type ‘void *’ used in a
    rithmetic
    In file included from include/linux/compat.h:14,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/mtrr.h:141,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:142,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-vm.c:14:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/compat.h: In functio
    n ‘compat_alloc_user_space’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/compat.h:210: warnin
    g: pointer of type ‘void *’ used in arithmetic
    cc -Wp,-MD,/tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/.os-
    agp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.3/include -D__
    KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.28-3-rt/arch/x86/include -
    include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-pr
    ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-fu
    nction-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -fu
    nit-at-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynch
    ronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iarch/x86/inclu
    de/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimi
    ze-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -I/
    tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv -Wall -Wimplicit -
    Wreturn-type -Wswitch -Wforma
    t -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mc
    model=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__
    KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"185.19\" -UDEBUG -U_DEBUG -DN
    DEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"
    -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6048/NVIDIA-Linux-x8
    6_64-185.19-pkg2/usr/src/nv/.tmp_os-agp.o /tmp/selfgz6048/NVIDIA-Linux-x86_6
    4-185.19-pkg2/usr/src/nv/os-agp.c
    In file included from include/linux/bitops.h:17,
    from include/linux/kernel.h:15,
    from include/linux/sched.h:52,
    from include/linux/utsname.h:35,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:19,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-agp.c:24:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h: In functio
    n ‘set_bit’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h:60: warning
    : pointer of type ‘void *’ used in arithmetic
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h: In functio
    n ‘clear_bit’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h:97: warning
    : pointer of type ‘void *’ used in arithmetic
    In file included from include/linux/utsname.h:35,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:19,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-agp.c:24:
    include/linux/sched.h: In function ‘object_is_on_stack’:
    include/linux/sched.h:2124: warning: pointer of type ‘void *’ used in ar
    ithmetic
    In file included from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/dma-mapping.h:9,
    from include/linux/dma-mapping.h:57,
    from include/asm-generic/pci-dma-compat.h:7,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/pci.h:94,
    from include/linux/pci.h:1002,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:86,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-agp.c:24:
    include/linux/scatterlist.h: In function ‘sg_virt’:
    include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
    in arithmetic
    In file included from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/hardirq_64.h:5,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/hardirq.h:4,
    from include/linux/hardirq.h:7,
    from include/linux/interrupt.h:12,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:87,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-agp.c:24:
    include/linux/irq.h: In function ‘irq_to_desc’:
    include/linux/irq.h:203: warning: comparison between signed and unsigned
    In file included from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:113,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-agp.c:24:
    include/linux/highmem.h: In function ‘zero_user_segments’:
    include/linux/highmem.h:136: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:139: warning: pointer of type ‘void *’ used in a
    rithmetic
    In file included from include/linux/compat.h:14,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/mtrr.h:141,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:142,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-agp.c:24:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/compat.h: In functio
    n ‘compat_alloc_user_space’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/compat.h:210: warnin
    g: pointer of type ‘void *’ used in arithmetic
    cc -Wp,-MD,/tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/.os-
    interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.3/includ
    e -D__KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.28-3-rt/arch/x86/inc
    lude -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstr
    ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-impli
    cit-function-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kern
    el -funit-at-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-
    asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iarch/x86
    /include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-
    optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwra
    pv -I/tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv -Wall -Wimpl
    icit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoint
    er-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-com
    pare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STR
    ING=\"185.19\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KB
    UI
    LD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
    -c -o /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/.tmp_os-in
    terface.o /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-inte
    rface.c
    In file included from include/linux/bitops.h:17,
    from include/linux/kernel.h:15,
    from include/linux/sched.h:52,
    from include/linux/utsname.h:35,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:19,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-interface.c:26:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h: In functio
    n ‘set_bit’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h:60: warning
    : pointer of type ‘void *’ used in arithmetic
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h: In functio
    n ‘clear_bit’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/bitops.h:97: warning
    : pointer of type ‘void *’ used in arithmetic
    In file included from include/linux/utsname.h:35,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:19,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-interface.c:26:
    include/linux/sched.h: In function ‘object_is_on_stack’:
    include/linux/sched.h:2124: warning: pointer of type ‘void *’ used in ar
    ithmetic
    In file included from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/dma-mapping.h:9,
    from include/linux/dma-mapping.h:57,
    from include/asm-generic/pci-dma-compat.h:7,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/pci.h:94,
    from include/linux/pci.h:1002,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:86,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-interface.c:26:
    include/linux/scatterlist.h: In function ‘sg_virt’:
    include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
    in arithmetic
    In file included from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/hardirq_64.h:5,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/hardirq.h:4,
    from include/linux/hardirq.h:7,
    from include/linux/interrupt.h:12,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:87,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-interface.c:26:
    include/linux/irq.h: In function ‘irq_to_desc’:
    include/linux/irq.h:203: warning: comparison between signed and unsigned
    In file included from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:113,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-interface.c:26:
    include/linux/highmem.h: In function ‘zero_user_segments’:
    include/linux/highmem.h:136: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:139: warning: pointer of type ‘void *’ used in a
    rithmetic
    In file included from include/linux/compat.h:14,
    from /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/as
    m/mtrr.h:141,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/nv-linux.h:142,
    from /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv/os-interface.c:26:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/compat.h: In functio
    n ‘compat_alloc_user_space’:
    /usr/src/linux-headers-2.6.28-3-rt/arch/x86/include/asm/compat.h:210: warnin
    g: pointer of type ‘void *’ used in arithmetic
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c: I
    n function ‘os_alloc_sema’:
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:13
    0: error: incompatible types in assignment
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c: I
    n function ‘os_acquire_sema’:
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:17
    4: warning: passing argument 1 of ‘_spin_lock_irqsave’ from incompatible
    pointer type
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:17
    8: warning: passing argument 1 of ‘_spin_unlock_irqrestore’ from incompa
    tible pointer type
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:18
    5: warning: passing argument 1 of ‘_spin_unlock_irqrestore’ from incompa
    tible pointer type
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c: I
    n function ‘os_cond_acquire_sema’:
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:20
    8: warning: passing argument 1 of ‘_spin_lock_irqsave’ from incompatible
    pointer type
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:21
    1: warning: passing argument 1 of ‘_spin_unlock_irqrestore’ from incompa
    tible pointer type
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:21
    8: warning: passing argument 1 of ‘_spin_unlock_irqrestore’ from incompa
    tible pointer type
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c: I
    n function ‘os_release_sema’:
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:24
    2: warning: passing argument 1 of ‘_spin_lock_irqsave’ from incompatible
    pointer type
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:25
    3: warning: passing argument 1 of ‘_spin_unlock_irqrestore’ from incompa
    tible pointer type
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c: I
    n function ‘os_acquire_spinlock’:
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:13
    22: warning: passing argument 1 of ‘_spin_lock_irqsave’ from incompatibl
    e pointer type
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c: I
    n function ‘os_release_spinlock’:
    /tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-interface.c:13
    33: warning: passing argument 1 of ‘_spin_unlock_irqrestore’ from incomp
    atible pointer type
    make[3]: *** [/tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/src/nv/os-
    interface.o] Error 1
    make[2]: *** [_module_/tmp/selfgz6048/NVIDIA-Linux-x86_64-185.19-pkg2/usr/sr
    c/nv] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.

  3. #23
    Join Date
    Oct 2006
    Location
    Stamford, UK
    Beans
    247
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    I've been trying to solve an NVIDIA driver/monitor problem for several days now. The chronicle of what has been tried so far can be seen on this thread: http://ubuntuforums.org/showthread.p...=1#post7168178.

    Tinivole has looked in on the discussion once or twice, so will be aware of the problem. Having come to the end of the road as far as solutions are concerned, I'm wondering whether it's worth trying this beta driver. I'm not at all convinced that the problem actually lies with the driver, or with NVIDIA. It seems more likely that something more fundamental is preventing the system from properly acquiring the DDI information from the monitor. However, that statement may be complete nonsense, as I'm outside of my area of competence now.

    If someone could give me a steer as to whether this driver is worth trying, I'd be grateful. I just never expected to run into so much trouble with brand new kit. Apparently, it was tested with Vista before it was shipped to me, so I guess any hardware problems would have shown up then?
    Never stop learning.

  4. #24
    Join Date
    Apr 2006
    Beans
    323

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    Having not updated my own mental manpages in a while, I've been compiling the stable builds of 64-bit Nvidia drivers with only GDM stopped. Is it absolutely necessary to halt Xorg altogether for a compile/install of stable drivers, or does that apply only to BETA drivers? Everything seems to have turned out OK....but one never knows.

    (In case you are wondering, the latest stable build hasnt made it to the repositories yet; that's why I opted to compile.)
    <<The Ubuntu Mascot

  5. #25
    Join Date
    Jan 2008
    Beans
    4,757

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    Quote Originally Posted by aquanuke View Post
    Thanks Iain heres the output..
    @aquanuke
    Cheers, I've just got it working on my test machine. Initially I received the exact same error as you too.

    This is because the ubuntustudio kernel is compiled with the PREEMPT option set as 'full', and as such, uses some slightly different typedefs than the generic kernel, which ultimately resulted in the "incompatible pointer type" error.

    Alas, I have tracked it down and fixed the error, and have supplied my patch here: http://www.nvnews.net/vbulletin/show...75#post1993475
    Only time will tell if this actually makes it into the real nv driver source.

    To work around the problem for the moment follow the guide on the first post, then when you reach the Bye bye X section, stop, and carry out the following steps.
    Code:
    cd /usr/src
    sudo sh nvidia-driver -x
    sudo mv NVIDIA-*-pkg2 nvidia-extracted
    cd nvidia-extracted/usr/src/nv
    sudo gedit preempt.patch
    Paste in this:
    Code:
    diff -Naur nv/os-interface.c nv.new/os-interface.c
    --- nv/os-interface.c   2009-04-28 18:58:23.112878241 +0100
    +++ nv.new/os-interface.c       2009-04-28 18:55:05.000000000 +0100
    @@ -127,7 +127,11 @@
         os_sema = (os_sema_t *)*ppSema;
         os_sema->sp = sp;
         init_completion(&os_sema->completion);
    +#ifdef CONFIG_PREEMPT_RT
    +    rt_spin_lock_init(&os_sema->lock);
    +#else
         spin_lock_init(&os_sema->lock);
    +#endif
         os_sema->count = 1;
    
         return RM_OK;
    Save and Quit.
    Then run:
    Code:
    sudo patch -p1 < preempt.patch
    sudo rm /usr/src/nvidia-driver
    sudo gedit /usr/src/nvidia-driver
    Then paste in this file:
    Code:
    #!/bin/sh
    cd /usr/src/nvidia-extracted
    ./nvidia-installer $@
    and lastly
    Code:
    sudo chmod +x /usr/src/nvidia-driver
    Should provide a good enough workaround for the time being.

    Then close the terminal and logout/stop GDM. Then continue with the rest of the guide *as is*.

    Regards
    Iain
    Last edited by ibuclaw; April 29th, 2009 at 01:43 PM.

  6. #26
    Join Date
    Jan 2008
    Beans
    4,757

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    Quote Originally Posted by gewitty View Post
    I've been trying to solve an NVIDIA driver/monitor problem for several days now. The chronicle of what has been tried so far can be seen on this thread: http://ubuntuforums.org/showthread.p...=1#post7168178.

    Tinivole has looked in on the discussion once or twice, so will be aware of the problem. Having come to the end of the road as far as solutions are concerned, I'm wondering whether it's worth trying this beta driver. I'm not at all convinced that the problem actually lies with the driver, or with NVIDIA. It seems more likely that something more fundamental is preventing the system from properly acquiring the DDI information from the monitor. However, that statement may be complete nonsense, as I'm outside of my area of competence now.

    If someone could give me a steer as to whether this driver is worth trying, I'd be grateful. I just never expected to run into so much trouble with brand new kit. Apparently, it was tested with Vista before it was shipped to me, so I guess any hardware problems would have shown up then?
    In one sense or another, the beta driver should come with better support for the newer cards, if you are having issues with your current one.

    If you decide to give the beta drivers a go, run:
    Code:
    sudo nvidia-uninstall
    sudo aptitude purge $(dpkg -l | grep nvidia | awk '{print $2}')
    sudo dpkg-reconfigure -phigh xserver-xorg
    And restart X before you begin, as by the looks of the other thread, you have done quite a bit of tinkering here and there that may need reversing first.

    If after compiling/starting it still doesn't work, make a backup copy of your log files, then uninstall nvidia/restore the failsafe defaults:
    Code:
    sudo nvidia-uninstall
    sudo dpkg-reconfigure -phigh xserver-xorg
    sudo apt-get install xserver-xorg-video-all
    And post them here.

    Or, just to save the hassle of long posts, in a pastebin.

    Regards
    Iain

  7. #27
    Join Date
    Jan 2008
    Beans
    4,757

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    Quote Originally Posted by nudnik View Post
    Having not updated my own mental manpages in a while, I've been compiling the stable builds of 64-bit Nvidia drivers with only GDM stopped. Is it absolutely necessary to halt Xorg altogether for a compile/install of stable drivers, or does that apply only to BETA drivers? Everything seems to have turned out OK....but one never knows.

    (In case you are wondering, the latest stable build hasnt made it to the repositories yet; that's why I opted to compile.)
    Yes it is a requirement to stop gdm before compiling the NViDIA drivers from source, else the installer won't run!

    Regards
    Iain

  8. #28
    Join Date
    Apr 2006
    Beans
    323

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    Quote Originally Posted by tinivole View Post
    Yes it is a requirement to stop gdm before compiling the NViDIA drivers from source, else the installer won't run!

    Regards
    Iain
    I know.... that's one good reason I stop it. What I'm talking about is this line from your code:
    sudo /etc/init.d/gdm stop && sudo killall Xorg
    In particular, the "killall Xorg" bit. When performing a compile of a stable driver, is it necessary to "killall Xorg" in addition to stopping GDM?
    <<The Ubuntu Mascot

  9. #29
    Join Date
    Jan 2008
    Beans
    4,757

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    Quote Originally Posted by nudnik View Post
    I know.... that's one good reason I stop it. What I'm talking about is this line from your code:
    sudo /etc/init.d/gdm stop && sudo killall Xorg
    In particular, the "killall Xorg" bit. When performing a compile of a stable driver, is it necessary to "killall Xorg" in addition to stopping GDM?
    That is more of a sure kill.
    There have been times in the past (mostly after a failed X screen init, and Ubuntu goes into "Low Resolution" mode) when I have switched to a tty, stopped gdm, but Xorg is still running and has prevented the nvidia-installer from continuing.

    I'll alter the guide a bit and make it as an optional addon. As 95% of the time, you'll probably won't need to run it.

    Regards
    Iain

  10. #30
    Join Date
    Apr 2006
    Beans
    323

    Re: HowTo: NViDIA 185.19 Beta Drivers in Ubuntu

    Quote Originally Posted by tinivole View Post
    That is more of a sure kill.
    There have been times in the past (mostly after a failed X screen init, and Ubuntu goes into "Low Resolution" mode) when I have switched to a tty, stopped gdm, but Xorg is still running and has prevented the nvidia-installer from continuing.

    I'll alter the guide a bit and make it as an optional addon. As 95% of the time, you'll probably won't need to run it.

    Regards
    Iain
    Thanks. That clears it up. Rewards you with curly fries and a Guiness for your effort.
    <<The Ubuntu Mascot

Page 3 of 32 FirstFirst 1234513 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •