LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2005, 09:23 AM   #1
MiccyNarc
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Rep: Reputation: 0
God hates me. (mandrake nvidia issues)



I'm now trying Linux for the 3rd time.
The 1st time I tried linux (Mandrake 8.1), I didn't know jack about what I was doing and really didn't care.
The 2nd time I tried Suse 9.1. I couldn't get the ATI drivers to work at all, eventually gave up after running into millions of issues.
Now I'm trying Mandrake 10, AMD64 bit edition.

My system specs:
AMD 64 2800+
1 GB DDR 2700 RAM
Geforce 6800 (here's the trouble :-\)
Chaintech VNF3-250 motherboard


My issue is that when I attempt to install the nVidia drivers, it fails when it tries to create the Kernel module.

First it gives me a Rivafb module error message, it continues to create the module and after that it tells me that creating the module failed.
I'm a real newbie at all of this, so if anyone could help me, I would really appreciate it.

Thanks folks
 
Old 02-02-2005, 09:42 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Supplying the exact error message is a lot more helpful :-)
 
Old 02-02-2005, 10:14 AM   #3
MiccyNarc
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by okmyx
Supplying the exact error message is a lot more helpful :-)
I'll see what I can do
I'll see if I can find the log.
Quote:
anyway i think you need to download the kernel source code package, then run the Nvidia binary.
I installed the package included with Mandrake 10.

Here it is:


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Feb 2 11:17:12 2005

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 : false
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 : /root/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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.3-11mdk/build'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> 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 -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.3-11mdk/bui
ld SYSOUT=/lib/modules/2.6.3-11mdk/build'...
Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!

*** Failed rivafb module sanity check, but continuing! ***


NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.3-11mdk/build SUBDIRS=/root
/tmp/selfgz2324/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv modules
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=scripts/genksyms
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
mkdir -p .tmp_versions
make -f scripts/Makefile.build obj=arch/x86_64/kernel arch/x86_64/kernel/asm
-offsets.s
make[3]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CHK include/asm-x86_64/offset.h
make -f scripts/Makefile.build obj=/root/tmp/selfgz2324/NVIDIA-Linux-x86_64-
1.0-6629-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz232
4/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz2324/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/
nv/.nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -D__KERNEL
__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-s
ign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -O2 -I/root/tm
p/selfgz2324/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv -Wall -Wimplicit -
Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ari
th -Wno-multichar -Werror -O -fno-common -mno-red-zone -MD -Wno-cast-qua
l -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -mcmodel=kernel -D
NTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_V
ERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -
DNV_INT64_OK -DNVCPU_X86_64 -DNV_64_BITS
-UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRES
ENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODU
LE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz2324/N
VIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_nv.o /root/tmp/selfgz2324/N
VIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c
In file included from include/asm/dma-mapping.h:4,
from include/linux/dma-mapping.h:13,
from include/asm/pci.h:305,
from include/linux/pci.h:724,
from /root/tmp/selfgz2324/NVIDIA-Linux-x86_64-1.0-6629-pkg2
/usr/src/nv/nv-linux.h:75,
from /root/tmp/selfgz2324/NVIDIA-Linux-x86_64-1.0-6629-pkg2
/usr/src/nv/nv.c:14:
include/asm-generic/dma-mapping.h: In function `dma_map_page':
include/asm-generic/dma-mapping.h:75: warning: pointer of type `void *' used
in arithmetic
In file included from /root/tmp/selfgz2324/NVIDIA-Linux-x86_64-1.0-6629-pkg2
/usr/src/nv/nv.c:14:
/root/tmp/selfgz2324/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv-linux.h
:86:75: linux/syscalls.h: No such file or directory
make[3]: *** [/root/tmp/selfgz2324/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src
/nv/nv.o] Error 1
make[2]: *** [/root/tmp/selfgz2324/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src
/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.

Last edited by MiccyNarc; 02-02-2005 at 10:24 AM.
 
Old 02-02-2005, 10:37 AM   #4
Niflheim
Member
 
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Rep: Reputation: 15
yeah i had some nvidia drivers and card problems too. and im not very good, an advanced newbie.

but try this : http://transgaming.org/forum/viewtopic.php?t=1543

and then try this : http://www.linuxquestions.org/questi...hreadid=282607



for me it worked, but i dont have the same card as you do.

oh and maybe you can find something on this : http://www.linuxquestions.org/questi...hreadid=284311

hope this helps
 
Old 02-02-2005, 10:54 AM   #5
MiccyNarc
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks, I'll give that a try. Unfortunately I don't think I have enough time now, but I will give it a shot. Thanks again

I'll be extremely happy if I can finally get a working linux distro :-\
 
Old 02-02-2005, 12:10 PM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
your missing linux/syscalls.h (see your error log) which is located in the kernel source directory. what kernel version is it? You might have a bad (or incomplete knowing Mandrake) kernel source package.

Last edited by __J; 02-02-2005 at 01:45 PM.
 
Old 02-02-2005, 04:13 PM   #7
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
For a start, start mandrake without framebuffer support - ie use the non fb start or take the vga lines out of lilo/grub... Then run the nvidia driver install... IF you still get the errors you are going to have to check you installed the kernael source correctly... This is usually not a big problem to do this...
 
Old 02-02-2005, 04:32 PM   #8
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
I had a problem along time ago when the installer couldn't find the sources it needs. I ran...

Code:
sh NVIDIA*.bin --kernel-name=2.6.10
you'll have to substitute your kernel name though..
 
Old 02-02-2005, 06:40 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The message
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)

means you will need to find the kernel source code or headers from the installation discs or from urpmi servers. Usually the kernel source code will be in /usr/src.

It does help to have the Xorg or XFree86 source code installed.
 
Old 02-03-2005, 06:39 AM   #10
MiccyNarc
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by __J
your missing linux/syscalls.h (see your error log) which is located in the kernel source directory. what kernel version is it? You might have a bad (or incomplete knowing Mandrake) kernel source package.
The kernel version that came with my distro is 2.6.3. I haven't updated or changed it.
Quote:
For a start, start mandrake without framebuffer support - ie use the non fb start or take the vga lines out of lilo/grub... Then run the nvidia driver install... IF you still get the errors you are going to have to check you installed the kernael source correctly... This is usually not a big problem to do this...
I'll give this a shot.
EDIT: No help
Quote:
you'll have to substitute your kernel name though..
This didn't help :-\
Quote:

means you will need to find the kernel source code or headers from the installation discs or from urpmi servers. Usually the kernel source code will be in /usr/src.
I have the source code installed, it's located in /usr/src.


Still giving me the same message after attempting to install.

Last edited by MiccyNarc; 02-03-2005 at 07:08 AM.
 
Old 02-03-2005, 10:04 AM   #11
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
in a console try:

Code:
ls /usr/src/linux-xxx/include/linux | grep syscalls
substitute xxx with the version you have in /usr/src and see if you get any output. if the file is not in there, then you probably have a bad kernel source package.

EDIT: also, make sure the following command:

Code:
ls --color -l /lib/modules/`uname -r`/build
has the above build directory pointing back to /usr/src/linux-<version> (you will see an arrow followed by a directory) if it shows up red in color then that would be your problem

Last edited by __J; 02-03-2005 at 10:07 AM.
 
Old 02-04-2005, 05:33 AM   #12
MiccyNarc
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Alright, I'll give that a try and post back the results.
EDIT: Alright, the build directory points back to /usr/src/linux, but the first part of your post, doing that doesn't get any results.
So I guess I have bad source code...could someone tell me where to get a good package?

Last edited by MiccyNarc; 02-04-2005 at 06:04 AM.
 
Old 02-05-2005, 06:05 AM   #13
MiccyNarc
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Original Poster
Rep: Reputation: 0
*bump*
Surely someone knows where to find a kernel source package!
 
Old 02-05-2005, 06:38 AM   #14
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I get mine from kernel.org and compile those... The mandrake kernels have been glitchy of late... In my case, tho, I compile the kernel, then have to reinstall the nvidia driver do it builds a module to suit that kernel...
 
Old 02-05-2005, 08:51 AM   #15
nazir
Member
 
Registered: Apr 2002
Location: Poland, Gliwice/Pszczyna
Distribution: Mandrake, Slackware
Posts: 41

Rep: Reputation: 15
are you shure that you have installed the kernel-source- package? Install kernel-source-(version of your kernel) and you shouldn't have any problems to compile nvidia driver...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE 10 + SAX2 + Nvidia = GOD DAMN IT!!! AvatarofVirgo SUSE / openSUSE 9 10-23-2005 04:53 PM
God hates mandrake ... Necronomicom General 46 02-03-2005 01:54 AM
NVIDIA fx 5200 (issues after Mandrake Linux Upgrade) Mr.Ampersand() Linux - Software 18 01-07-2005 12:24 AM
Mandrake 64 (10.0) urpmi and nvidia issues TravisOSF Mandriva 9 08-21-2004 11:58 AM
Synaptic hates my Mandrake Kujila Linux - Software 0 02-14-2004 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration