Kernel 2.6.23.1 and nvidia drivers - Suse

This is a discussion on Kernel 2.6.23.1 and nvidia drivers - Suse ; Hi all, I'm using openSuSE 10.3 x86_64 on an Athlon FX-74 system with 4GB RAM and a Geforce 7800 graphics card. Today I used Smart to update the kernel from 2.6.22.5 to 2.6.23.1 and rebooted, aware that I would need ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Kernel 2.6.23.1 and nvidia drivers

  1. Kernel 2.6.23.1 and nvidia drivers

    Hi all,

    I'm using openSuSE 10.3 x86_64 on an Athlon FX-74 system with 4GB RAM and
    a Geforce 7800 graphics card.

    Today I used Smart to update the kernel from 2.6.22.5 to 2.6.23.1 and
    rebooted, aware that I would need to reinstall the binary Nvidia drivers
    from the Nvidia website.

    However, all did not go well and I tried installing two older drivers
    (9631 and 9755) just to see if I got the same result. The result of my
    most recent effort is shown below.

    I've now rolled back to the 2.6.22.9 kernel from the openSuSE repository
    which ironically comes with a driver module for Nvidia!

    Can anyone suggest what the problem might be? I'd like to upgrade to the
    newer kernel at some point and don't mind installing the binary Nvidia
    driver.


    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Wed Oct 31 19:30:21 2007

    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 : true
    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
    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.
    -> There appears to already be a driver installed on your system
    (version: 1.0-
    9755). As part of installing this driver (version: 1.0-9755), the
    existing
    driver will be uninstalled. Are you sure you want to continue? ('no'
    will a
    bort installation) (Answer: Yes)
    -> 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.23.1-900.ccj58-default/source'
    -> Kernel output path: '/lib/modules/2.6.23.1-900.ccj58-default/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Performing Xen check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o
    nv.o nv
    -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    rm -f -f stprof stprof.o symtab.h Modules.symvers
    rm -f -rf .tmp_versions
    rm -f Makefile
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/
    modules/2.6.23.1-900.cc
    j58-default/source SYSOUT=/lib/modules/2.6.23.1-900.ccj58-default/
    build'...
    sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23.1-900.ccj58-default/
    source /l
    ib/modules/2.6.23.1-900.ccj58-default/build cc_sanity_check full_output
    sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23.1-900.ccj58-default/
    source /l
    ib/modules/2.6.23.1-900.ccj58-default/build select_makefile full_output
    make --no-print-directory -f Makefile module

    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.23.1-900.ccj58-default/build
    KBUIL
    D_VERBOSE=1 -C /lib/modules/2.6.23.1-900.ccj58-default/source SUBDIRS=/
    tmp/s
    elfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv modules
    make -C /lib/modules/2.6.23.1-900.ccj58-default/build \
    KBUILD_SRC=/usr/src/linux-2.6.23.1-900.ccj58 \
    KBUILD_EXTMOD="/tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/
    usr/src/nv
    " -f /usr/src/linux-2.6.23.1-900.ccj58/Makefile 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/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/
    nv/.tmp_v
    ersions
    rm -f /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/
    nv/.tmp_vers
    ions/*
    make -f /usr/src/linux-2.6.23.1-900.ccj58/scripts/Makefile.build obj=/
    tmp/se
    lfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv
    echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/
    selfgz5479/NVI
    DIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv_compiler.h
    cc -Wp,-MD,/tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/
    nv/.n
    v.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.2.1/
    include -D_
    _KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.23.1-900.ccj58/
    include -
    include include/linux/autoconf.h -I/tmp/selfgz5479/NVIDIA-Linux-
    x86_64-1.0
    -9755-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
    -fno-
    strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -
    mtune
    =gen
    eric -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-
    asynchr
    onous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -
    mno-3dnow
    -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -
    DCONFIG_AS_CFI_SIGNAL_FRAME=1
    -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-
    statement -Wno
    -pointer-sign -I/tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/
    src/n
    v -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -
    Wparen
    theses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-
    float -m
    cmodel=kernel -mno-red-zone -minline-all-stringops -MD -Wsign-compare -
    Wno-c
    ast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM
    -DNV_
    MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -
    U_DEBUG -
    DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -
    DNV_PC
    I_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -
    DNV_PM_MESSAGE_T_PRES
    ENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -
    DNV_OLD_MM_KG
    DB_BREAKPOINT_PRESENT -DNV_REMAP_PFN
    _RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -
    DMODULE -D
    "KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -
    D"KBUILD_MODNAME=KBU
    ILD_STR(nvidia)" -c -o /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr
    /src/nv/.tmp_nv.o /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/
    usr/src/
    nv/nv.c
    In file included from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    list.h
    :8,
    from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    preemp
    t.h:11,
    from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    spinlo
    ck.h:49,
    from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    seqloc
    k.h:29,
    from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    time.h
    :8,
    from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    timex.
    h:57,
    from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    sched.
    h:52,
    from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    utsnam
    e.h:35,
    from /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr/
    src/nv/nv-linux.h:19,
    from /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr/
    src/nv/nv.c:14:
    /usr/src/linux-2.6.23.1-900.ccj58/include/linux/prefetch.h: In
    function ‘p
    refetch_range’:
    /usr/src/linux-2.6.23.1-900.ccj58/include/linux/prefetch.h:62:
    warning: poin
    ter of type ‘void *’ used in arithmetic
    In file included from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    sched.
    h:58,
    from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    utsnam
    e.h:35,
    from /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr/
    src/nv/nv-linux.h:19,
    from /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr/
    src/nv/nv.c:14:
    /usr/src/linux-2.6.23.1-900.ccj58/include/linux/nodemask.h: In
    function ‘_
    _first_node’:
    /usr/src/linux-2.6.23.1-900.ccj58/include/linux/nodemask.h:229:
    warning: sig
    ned and unsigned type in conditional expression
    /usr/src/linux-2.6.23.1-900.ccj58/include/linux/nodemask.h: In
    function ‘_
    _next_node’:
    /usr/src/linux-2.6.23.1-900.ccj58/include/linux/nodemask.h:235:
    warning: sig
    ned and unsigned type in conditional expression
    /usr/src/linux-2.6.23.1-900.ccj58/include/linux/nodemask.h: In
    function ‘_
    _first_unset_node’:
    /usr/src/linux-2.6.23.1-900.ccj58/include/linux/nodemask.h:253:
    warning: sig
    ned and unsigned type in conditional expression
    In file included from include2/asm/pci.h:103,
    from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    pci.h:
    781,
    from /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr/
    src/nv/nv-linux.h:77,
    from /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr/
    src/nv/nv.c:14:
    /usr/src/linux-2.6.23.1-900.ccj58/include/asm-generic/pci-dma-
    compat.h: In f
    unction ‘pci_map_page’:
    /usr/src/linux-2.6.23.1-900.ccj58/include/asm-generic/pci-dma-
    compat.h:49: w
    arning: pointer of type ‘void *’ used in arithmetic
    In file included from /usr/src/linux-2.6.23.1-900.ccj58/include/linux/
    compat
    .h:14,
    from include2/asm/mtrr.h:106,
    from /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr/
    src/nv/nv-linux.h:106,
    from /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr/
    src/nv/nv.c:14:
    include2/asm/compat.h: In function ‘compat_alloc_user_space’:
    include2/asm/compat.h:204: warning: pointer of type ‘void *’ used in
    ari
    thmetic
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c: At
    top le
    vel:
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c:110:
    error
    : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ befor
    e ‘*’ token
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c: In
    functi
    on ‘nvos_create_alloc’:
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c:460:
    error
    : ‘nv_pte_t_cache’ undeclared (first use in this function)
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c:460:
    error
    : (Each undeclared identifier is reported only once
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c:460:
    error
    : for each function it appears in.)
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c: In
    functi
    on ‘nvos_free_alloc’:
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c:492:
    error
    : ‘nv_pte_t_cache’ undeclared (first use in this function)
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c: In
    functi
    on ‘__nv_setup_pat_entries’:
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c:955:
    warni
    ng: comparison between signed and unsigned
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c: In
    functi
    on ‘__nv_restore_pat_entries’:
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c:981:
    warni
    ng: comparison between signed and unsigned
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c: In
    functi
    on ‘nv_kern_cpu_callback’:
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/
    nv.c:1287: warn
    ing: comparison between signed and unsigned
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/
    nv.c:1294: warn
    ing: comparison between signed and unsigned
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c: In
    functi
    on ‘nvidia_init_module’:
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/
    nv.c:1420: erro
    r: ‘nv_pte_t_cache’ undeclared (first use in this function)
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/
    nv.c:1420: erro
    r: too many arguments to function ‘kmem_cache_create’
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/
    nv.c:1554: erro
    r: void value not ignored as it ought to be
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/nv.c: In
    functi
    on ‘nvidia_exit_module’:
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/
    nv.c:1581: erro
    r: void value not ignored as it ought to be
    /tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/src/nv/
    nv.c:1685: erro
    r: ‘nv_pte_t_cache’ undeclared (first use in this function)
    make[4]: *** [/tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-pkg2/usr/
    src/nv/n
    v.o] Error 1
    make[3]: *** [_module_/tmp/selfgz5479/NVIDIA-Linux-x86_64-1.0-9755-
    pkg2/usr/
    src/nv] Error 2
    make[2]: *** [modules] 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.

    --
    Rob
    http://www.uicstock.org.uk/
    To reply, remove zudo

  2. Re: Kernel 2.6.23.1 and nvidia drivers

    The Doctor wrote:

    > Hi all,
    >
    > I'm using openSuSE 10.3 x86_64 on an Athlon FX-74 system with 4GB RAM and
    > a Geforce 7800 graphics card.
    >
    > Today I used Smart to update the kernel from 2.6.22.5 to 2.6.23.1 and
    > rebooted, aware that I would need to reinstall the binary Nvidia drivers
    > from the Nvidia website.
    >
    > However, all did not go well and I tried installing two older drivers
    > (9631 and 9755) just to see if I got the same result. The result of my
    > most recent effort is shown below.
    >
    > I've now rolled back to the 2.6.22.9 kernel from the openSuSE repository
    > which ironically comes with a driver module for Nvidia!
    >
    > Can anyone suggest what the problem might be? I'd like to upgrade to the
    > newer kernel at some point and don't mind installing the binary Nvidia
    > driver.


    did you upgrade the kernel source?
    also, there is an issue with the Nvidia older drivers and the newest kernels
    and a parameter (can't remember what) need to be passed to use them
    >


    --
    Suse 10.3 x64, Kde 3.5.8, Gnome 2.20.0, Opera 9.x weekly

  3. Re: Kernel 2.6.23.1 and nvidia drivers

    On Wed, 31 Oct 2007 21:50:39 +0000, Bill P wrote:

    > did you upgrade the kernel source?


    Yes.

    > also, there is an issue with the Nvidia older drivers and the newest
    > kernels and a parameter (can't remember what) need to be passed to use
    > them


    Looks like I might have to do some digging then, cheers.

    --
    Rob
    http://www.uicstock.org.uk/
    To reply, remove zudo

  4. Re: Kernel 2.6.23.1 and nvidia drivers

    The Doctor wrote:

    > On Wed, 31 Oct 2007 21:50:39 +0000, Bill P wrote:
    >
    >> did you upgrade the kernel source?

    >
    > Yes.
    >
    >> also, there is an issue with the Nvidia older drivers and the newest
    >> kernels and a parameter (can't remember what) need to be passed to use
    >> them

    >
    > Looks like I might have to do some digging then, cheers.
    >

    tried remembering what I forgot and I'm now thinking that the problem was
    xorg73 and a new abi which called for compiling nvidia with some sort
    of "abi" parameter but all I could find using Google was to startx
    with "--ignoreABI" http://www.groupsrv.com/linux/post-794639.html

    sorry,

    Suse 10.3 x64, Kde 3.5.8, Gnome 2.20.0, Opera 9.x weekly

  5. Re: Kernel 2.6.23.1 and nvidia drivers

    On Wed, 31 Oct 2007 21:50:39 GMT, Bill P wrote:

    >The Doctor wrote:
    >
    >> Hi all,
    >>
    >> I'm using openSuSE 10.3 x86_64 on an Athlon FX-74 system with 4GB RAM and
    >> a Geforce 7800 graphics card.
    >>
    >> Today I used Smart to update the kernel from 2.6.22.5 to 2.6.23.1 and
    >> rebooted, aware that I would need to reinstall the binary Nvidia drivers
    >> from the Nvidia website.
    >>
    >> However, all did not go well and I tried installing two older drivers
    >> (9631 and 9755) just to see if I got the same result. The result of my
    >> most recent effort is shown below.
    >>
    >> I've now rolled back to the 2.6.22.9 kernel from the openSuSE repository
    >> which ironically comes with a driver module for Nvidia!
    >>
    >> Can anyone suggest what the problem might be? I'd like to upgrade to the
    >> newer kernel at some point and don't mind installing the binary Nvidia
    >> driver.

    >
    >did you upgrade the kernel source?
    >also, there is an issue with the Nvidia older drivers and the newest kernels
    >and a parameter (can't remember what) need to be passed to use them
    >>


    The "How to install on SuSE" read me on the nvidia site might help.

    There are command line switches for the nvidia installer, and for sax2
    afterward.

+ Reply to Thread