Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux


                    

Sponsored Ad

Reply
 
Thread Tools
Old 05-06-06, 02:14 AM   #1
lmacka
Registered User
 
Join Date: Apr 2006
Posts: 3
Question Asus A8N-VM CSM - Slamd64 - Linux 2.6.16.14

Figured I'd best start a new thread for this one...

I've been patiently waiting for Asus to fix their mobo, and they've finally done just that - nearly...
This page has been a godsend, I've followed his directions to the word and I have everything working fine - except my Video!

Prior to upgrading my kernel, I was using x86_64-1.0-8178 which was working semi-ok. (It was fine as long as I didn't want to use any OpenGL stuff, it all looked like crap)
With my new kernel, I can't even compile x86_64-1.0-8178, and x86_64-1.0-8756 works, but shortly after booting up X, everything grinds to a halt. The only way I can fix it is to shell into the machine from another and `killall -9 X`.

Here's a dump of the nvidia log after trying to compile 8178:

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun May  7 01:05:00 2006

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : true
  no questions            : false
  silent                  : 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
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : (not specified)
  installer install prefix: /usr
  utility install prefix  : /usr
  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.
-> 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 test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.16.14/source'
-> Kernel output path: '/lib/modules/2.6.16.14/build'
-> Performing rivafb check.
-> Performing nvidiafb 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.o nv-vm.o os-
   agp.o os-interface.o os-registry.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
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.16.14/sourc
   e SYSOUT=/lib/modules/2.6.16.14/build'...

   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.16.14/build KBUILD_VERBOSE=1 -C /l
   ib/modules/2.6.16.14/source SUBDIRS=/tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-
   8178-pkg2/usr/src/nv modules
   make -C /lib/modules/2.6.16.14/build \
   KBUILD_SRC=/usr/src/linux-2.6.16.14 \
   KBUILD_EXTMOD="/tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv"
   -f /usr/src/linux-2.6.16.14/Makefile modules
   mkdir -p /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/.tmp_v
   ersions
   make -f /usr/src/linux-2.6.16.14/scripts/Makefile.build obj=/tmp/selfgz4247/
   NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4247/NVI
   DIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/.n
   v.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-slackware-linux/3.4.4/include
   -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16.14/include -includ
   e include/linux/autoconf.h  -I/tmp/selfgz4247/NVIDI
   A-Linux-x86_64-1.0-8178-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -W
   no-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-fram
   e-pointer -march=k8 -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-bl
   ocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno
   -sse -mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement  -I/tmp/sel
   fgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv -Wall -Wimplicit -Wretu
   rn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -W
   no-multichar -Werror -O -fno-common -mno-red-zone -minline-all-stringops -MD
   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__
   -DMODULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -D
   NV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTI
   PLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_
   STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(
   nvidia)" -c -o /tmp/selfgz4247/NVID
   IA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.o /tmp/selfgz4247/NVIDIA-Linux-x
   86_64-1.0-8178-pkg2/usr/src/nv/nv.c
   In file included from include/linux/sched.h:15,
                    from include/linux/module.h:10,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv-linux.h:47,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv.c:14:
   include/linux/cpumask.h: In function `__first_cpu':
   include/linux/cpumask.h:218: warning: signed and unsigned type in conditiona
   l expression
   include/linux/cpumask.h: In function `__next_cpu':
   include/linux/cpumask.h:224: warning: signed and unsigned type in conditiona
   l expression
   In file included from include/linux/sched.h:17,
                    from include/linux/module.h:10,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv-linux.h:47,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv.c:14:
   include/linux/nodemask.h: In function `__first_node':
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function `__next_node':
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function `__first_unset_node':
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:42,
                    from include/linux/sched.h:20,
                    from include/linux/module.h:10,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv-linux.h:47,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv.c:14:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
   metic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:522,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv-linux.h:71,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv.c:14:
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:308: warning: wrong type argument to increment
   In file included from include/asm/pci.h:93,
                    from include/linux/pci.h:648,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv-linux.h:71,
                    from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv.c:14:
   include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u
   sed in arithmetic
   In file included from /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv/nv.c:14:
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv-linux.h:535:
   2: #error "vmap() appears to be unavailable in this kernel!"
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv-linux.h:677:
   2: warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: At top le
   vel:
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:296: warni
   ng: initialization from incompatible pointer type
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In functi
   on `nvos_get_agp_device_by_class':
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:502: warni
   ng: implicit declaration of function `pci_find_class'
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:502: warni
   ng: assignment makes pointer from integer without a cast
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:516: warni
   ng: assignment makes pointer from integer without a cast
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In functi
   on `nv_kern_mmap':
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:1979: warn
   ing: implicit declaration of function `remap_page_range'
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In functi
   on `nvos_count_devices':
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:3641: warn
   ing: assignment makes pointer from integer without a cast
   /tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:3647: warn
   ing: assignment makes pointer from integer without a cast
   make[4]: *** [/tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/n
   v.o] Error 1
   make[3]: *** [_module_/tmp/selfgz4247/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
   src/nv] Error 2
   make[2]: *** [modules] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [mdl] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
My question is:
How can I get my onboard card working with the NVidia drivers? What must I do?


Thanks in advance! :-)
lmacka is offline   Reply With Quote
Old 05-06-06, 02:37 AM   #2
lmacka
Registered User
 
Join Date: Apr 2006
Posts: 3
Default Re: Asus A8N-VM CSM - Slamd64 - Linux 2.6.16.14

Who's the moron now? :-)

I did this and it's all good now!

However, I'm still getting crappy images with OpenGL stuff. I couldn't work out how to take a screenshot without killing the screensaver, so I cracked out the camera - don't laugh!
Attached Thumbnails
Click image for larger version

Name:	IMG_0671 (Large).JPG
Views:	120
Size:	63.4 KB
ID:	17956  
lmacka is offline   Reply With Quote

Sponsored Ads - Guests Only

Old 05-06-06, 11:38 AM   #3
kenyee
Registered User
 
Join Date: Jan 2006
Posts: 150
Default Re: Asus A8N-VM CSM - Slamd64 - Linux 2.6.16.14

That does look pretty screwed up. Can't help you much on why unfortunately. All I can say is I'm running the same motherboard w/ a 64-bit version of the Kanotix distro and I can run OpenGL apps like Tremulous (Q3A engine based), the billiards game, and the amoeba demo (the latter two are in the Debian repositories).

Kanotix also comes in a liveCD form, so you might want to give that a try. That would at least isolate it down to something being wacky in your setup. If Kanotix has a problem as well, it might be bad hardware..
kenyee is offline   Reply With Quote
Old 05-07-06, 03:33 AM   #4
lmacka
Registered User
 
Join Date: Apr 2006
Posts: 3
Default Re: Asus A8N-VM CSM - Slamd64 - Linux 2.6.16.14

Thanks for your reply. I downloaded the live CD and had a quick play, but didn't want to have this machine off for too long - it's a mail/web server as well as my media centre. hehe

I did, however, manage to get a decent screenshot of the Euphoria screensaver. Have a look - that's a better example of my problem!

Also, I figured my xorg.conf might be useful, here it is:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Wed Dec 14 17:16:10 PST 2005

Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen         "Screen 1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
    FontPath        "/usr/X11R6/lib/X11/fonts/local/"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

Section "Module"

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
# This loads the GLX module
    Load           "dbe"        # Double buffer extension
    SubSection     "extmod"
        Option         "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load           "type1"
    Load           "freetype"
    Load        "speedo"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "auto"     # In case of problems, use "IMPS/2", because the PS/2 protocol doesn't seem to support a scroll wheel
    Option         "Device" "/dev/mouse"
    Option         "ZAxisMapping" "4 5"        # adding this enables the scroll wheel
    Option         "Buttons" "5"          # you may need to force the number of buttons on the mouse
EndSection

Section "Monitor"
    Identifier     "My Monitor"
    HorizSync       31.5 - 50.0
    VertRefresh     40.0 - 90.0
EndSection

Section "Device"

    #VideoRam    4096
    # Insert Clocks lines here if appropriate
    #Driver         "vesa"
    Identifier     "VESA Framebuffer"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Screen 1"
    Device         "VESA Framebuffer"
    Monitor        "My Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
I'm open to suggestions that might better my system.
Cheers!
Attached Thumbnails
Click image for larger version

Name:	snapshot1.jpg
Views:	103
Size:	22.4 KB
ID:	17968  
lmacka is offline   Reply With Quote
Reply




Shop Online


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




All times are GMT -4. The time now is 12:30 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
nV News - Copyright ©1998-2010. All rights reserved.