LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2004, 10:34 AM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
XFree86.0.log question


I have been banging my head trying to get my nvidia drivers working. I am getting this error, "Failed to initialize the NVIDIA kernel module" . I have been looking thru my XFree86.0.log file. I found this part that seems odd
Code:
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.5336
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.5336
	Module class: XFree86 Video Driver
Why does it say compiled for 4.0.2 and not 4.3.* (my version of xfree86)?

If I want to use my old glx module, do I need to recompile xfree86?
 
Old 04-14-2004, 11:14 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
This is not the route of your problem my log says
Quote:
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.5336
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.5336
Module class: XFree86 Video Driver
The probable cause of this failure, is the kernle module, not being the right version for your kernel, or its not being added to the kernel at startup.

Try
Code:
modinfo nvidia
To check it exists, then try
Code:
insmod nvidia
To insert the module into your running kernel.
 
Old 04-14-2004, 11:29 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
your Nvidia-installer.log should have all the error messages reported
when installing the driver..........

/var/log/ is the usual place I can find mine............
 
Old 04-14-2004, 11:45 AM   #4
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
.It is working now. The problem was I needed to modprobe the nvidia module before doing startx. I do not remeber anything in the nvidia driver README file that says I have to load the module myself.

Looking at my logfile, doens't it say it loads the module for me?
 
Old 04-14-2004, 11:56 AM   #5
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
u can add this to /etc/modprobe.conf (for 2.6.xx kernel) or /etc/modules.conf (for 2.4.xx kernel)
Code:
alias char-major-195* nvidia
i think this will make the module load automatically when required
 
Old 04-14-2004, 12:13 PM   #6
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
In gentoo their is a file called /etc/modules.autoload.d/kernel-2.6 that you can add modules that you need to load at start.

What does the alias char-major-195* part do? I just have the module listed as nvidia.
 
Old 04-14-2004, 12:49 PM   #7
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
i think it creates aliases to devies and nvidia. so that nvidia refers to the devices.
Btw, i dont know mych on gentoo. heh i am a slacker.
but i'm sure that the nvidia installer added that line to /etc/modules.conf .
the /etc/modules.conf is checked by the linux kernel, so it cant be different in different systems.
the file must be present/utilised in every linux distro. (i dont mean that ur system wont work without that file, but just that that file will be seen by the kernel.
 
  


Reply



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
/var/log/XFree86.0.log gone!!! OC_eobard Linux - Newbie 13 09-07-2004 11:16 AM
IGP320 Xfree86 log and GLXinfo adamis Linux - Laptop and Netbook 4 06-17-2004 08:13 AM
XFree86 Log. Help me velan Debian 11 05-08-2004 02:29 AM
XFree86.0.log vladilinsky Linux - Newbie 5 03-26-2004 12:52 PM
xstart: Cannot move old "/var/log/XFree86.0.log.old" linuxgamer09483 Linux - Newbie 2 02-18-2004 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 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