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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-31-03, 09:46 AM   #13
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Quote:
Originally posted by ohrock
(EE) LoadModule:Module nvidia does not have a nvidiaModuleData data object
(EE) Failed to load module "nvidia" (invalid module, 0)
(EE) no device detected
Your XF86Config-4 file should NOT have a Load "nvidia" line in it, anywhere. Does it? If so, get RID of it. The only place that "nvidia" should be mentioned in there is in a Driver line.

Are you confused between the nvidia.o kernel module, and the nvidia_drv.o XFree86 driver? Those are two separate things -- you load the kernel module using modprobe (or /etc/modules, or /etc/modules.conf, depending on your distro), whereas you load nvidia_drv.o (the file that the NVIDIA_GLX package puts into /usr/X11R6/lib/modules/drivers) with a Driver line in XF86Config-4.

If you use a Load line rather than a Driver line, it'll look for a <modulename>ModuleData symbol in the file it loads, which isn't there for drivers (or kernel modules).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 03-31-03, 10:42 AM   #14
ohrock
Registered User
 
Join Date: Dec 2002
Posts: 8
Default

Quote:
Originally posted by bwkaz
Are you confused between the nvidia.o kernel module, and the nvidia_drv.o XFree86 driver?
If you use a Load line rather than a Driver line, it'll look for a <modulename>ModuleData symbol in the file it loads, which isn't there for drivers (or kernel modules). [/b]
No I'm not confuse...I only have a Load "glx" and later on a Driver "nvidia" (in a different sub section)

I posting my XF86 file and attaching my log file....I just don't get it...check them out, maybe you can see something I don't see.

XF86Config-4 file:



# File generated by XFdrake.

# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us_intl"
Option "XkbCompat" ""
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"

Identifier "monitor1"
VendorName "Monitor Vendor"
ModelName "Generic Laptop Display Panel 1280x1024"
Option "DPMS"
Modeline "1280x854" 85.26 1280 1296 1552 1792 854 854 861 892

EndSection

Section "Device"
Identifier "device1"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4"
Option "intern_disp"
Option "extern_disp"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

SubSection "Display"
Depth 8
Modes "1280x854" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x854" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x854" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection



Thanks a lot for your help...
Attached Files
File Type: txt xfree86.0.log.txt (11.6 KB, 117 views)
ohrock is offline   Reply With Quote
Old 03-31-03, 11:37 AM   #15
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Hmm... this is confusing.

You obviously don't have a Load "nvidia" line (as you were saying). However, your log file clearly states:

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.4191
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
-- this is all fine. But then,

Quote:
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia.o
(EE) LoadModule: Module nvidia does not have a nvidiaModuleData data object.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/X11R6/lib/modules/drivers/nvidia.o
(EE) Failed to load module "nvidia" (invalid module, 0)
Which implies that something is telling the X server to load that bold file -- nvidia.o rather than nvidia_drv.o.

Couple of sanity checks, I guess. Was this your XF86Config-4 in the /etc/X11 directory? Because that's the file that the log says it used.

You may not know this, but did Mandrake patch their version of X to not look for _drv.o on their Driver files anymore?

Is there even a /usr/X11R6/lib/modules/drivers/nvidia.o file? Or is there only an nvidia_drv.o in that directory? If there's only an nvidia_drv.o, then you might try renaming it nvidia.o, or changing the Driver line in XF86Config-4 to be the full path to the nvidia_drv.o file.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 03-31-03, 12:30 PM   #16
ohrock
Registered User
 
Join Date: Dec 2002
Posts: 8
Default

Quote:
Originally posted by bwkaz
Hmm... this is confusing.

You obviously don't have a Load "nvidia" line (as you were saying). However, your log file clearly states:

-- this is all fine. But then,

Which implies that something is telling the X server to load that bold file -- nvidia.o rather than nvidia_drv.o.


Agree...and that's what I'm totally missing and not getting.

Quote:
Couple of sanity checks, I guess. Was this your XF86Config-4 in the /etc/X11 directory? Because that's the file that the log says it used.
Yes it is and it is located at my /etc/X11

Quote:
You may not know this, but did Mandrake patch their version of X to not look for _drv.o on their Driver files anymore?

Is there even a /usr/X11R6/lib/modules/drivers/nvidia.o file? Or is there only an nvidia_drv.o in that directory? If there's only an nvidia_drv.o, then you might try renaming it nvidia.o, or changing the Driver line in XF86Config-4 to be the full path to the nvidia_drv.o file.
I tried directly accesing the driver (I have both nvidia.o and nvidia_drv.o). I did the following Driver "/usr/X11R6/lib/modules/drivers/nvidia_drv.o"

And now I get a wierder error:

(EE) No devices detected.

Fatal server error:
no screens found

I attached the log file....thanks again for your help.

Roberto
Attached Files
File Type: txt xfree86.0.log.txt (11.7 KB, 105 views)
ohrock is offline   Reply With Quote
Old 03-31-03, 02:19 PM   #17
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Umm... I don't know... It almost sounds like your version of nvidia_drv.o isn't modprobe'ing the right module?

Does 4349 (or whatever the newest version is) work?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 03-31-03, 10:14 PM   #18
ohrock
Registered User
 
Join Date: Dec 2002
Posts: 8
Default

I tried installing MDK all over...and I fell right away into the same problem.

Before this, I had MDK 9.1 RC2 in this machine with those drivers working. So It has to be some issue with Bamboo.

What should I do from here? Should I take this to MDK Support? Any recomendations at all?

Thanks for all your advice "bwkaz".

Roberto
ohrock is offline   Reply With Quote
Old 03-31-03, 11:31 PM   #19
ka-klick
Registered User
 
Join Date: Mar 2003
Location: Central Iowa
Posts: 7
Unhappy

Hope this isn't too much for the forum to handle, I've sent this out via email as well:

Just upgraded a box w/ a K6-2/500, 384MB RAM and TNT2/32mb card to Mandrake 9.1 the other day. This box ran Mandrake 8.0 and a fairly old set of nVidia drivers fine. I've mostly moved on to gaming on my 17" iMac w/GForce4mx, but my wife would occcaisionally like to take out her frustrations by fragging me using this box, so in the interest of marital harmony I hope you can help. javascript:smilie('')

Had the same trouble w/ the previous drivers (4191), but heard new ones were on the way, so tried those. Same trouble either way, I get the nVidia logo splash, X and kde seem to load fine until kde gets to the end of it's boot process and then fairly hard hang. I CAN get in via ssh from my iMac and from there I can kill X, but the actual keyboard on the k62 is now dead as a doornail until I reboot. Hope I didn't include too much kruft. I'd really like to get this machine back up w/3D. Let me know if you need any more info.

TOC:
Installer Log
XF86Config-4
.xsession-errors
A top taken while things were hung
output of lsmod
/proc/pci
XFree86 Log


See attachment
Attached Files
File Type: txt issue-info.txt (36.9 KB, 91 views)
__________________
There's a time and a place for everything...
Its called college.
-- Chef, South Park
ka-klick is offline   Reply With Quote
Old 04-01-03, 09:32 AM   #20
ohrock
Registered User
 
Join Date: Dec 2002
Posts: 8
Smile

I got it!

Finally I was able to make it run...I just used XFree86 -configure to generate a working XF86 configuration file...I just had to adjust the resolutions and some details and I was up and running with my beatifull NVidia logo for starters....

Again thanks for your help or like we say in spain: a thousand thanks!

I was really surprise that I couldn't get it to what I had before...but heck now works.


Roberto
ohrock is offline   Reply With Quote

Old 04-01-03, 09:39 AM   #21
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Glad to hear it!

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 04-02-03, 01:42 AM   #22
Qwaz
Registered User
 
Join Date: Jan 2003
Posts: 15
Default Even easier than 9.0

Ok...

1st & for most, I am a full pledged new Linux user, Been in for about maybe a total of 8 months use so far.

That being said, I posted a thread for Mandrake 9.0 that had a very good explaination of the driver install for nvisdia & linux...

last post


This time nVidia has made it even easier for Linux

Go DOWNLOAD the IA32 drivers & sinply run the file by clicking on it just like in windows if thats where you just come from.....

Then log in as a root user & do the following...


Go open a text editor, then open up, etc/X11/ XF86Config-4

The following should be applied here:

find
the relevant Device section and replace the line:

Driver "nv"
(or Driver "vesa")

with

Driver "nvidia"

In the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"
Load "GLcore"




If You want to read the entire sheet that the above mentions, GO here




Again I hope I helped another person get their games running on Linux!!

Qwaz is offline   Reply With Quote
Old 04-02-03, 05:35 AM   #23
trevorj
Registered User
 
Join Date: Apr 2003
Posts: 5
Send a message via ICQ to trevorj Send a message via AIM to trevorj Send a message via Yahoo to trevorj
Default

mandrake has a seperate nvidia.o file located in drivers/pci or something like that. try a locate nvidia.o and see where it is... just rename it, then load X, it will then work fine.

-- trevorj
trevorj is offline   Reply With Quote
Old 04-02-03, 09:11 PM   #24
joncalvinmoore
Registered User
 
Join Date: Mar 2003
Posts: 6
Send a message via AIM to joncalvinmoore
Default Cool stuff.

I'm so glad that Nvidia release a new version when I complained about it, just when I got the 41 drivers working using the source RPM to build it, Nvidia releases the run file, lol, that's so funny I think, totally out there, I swear.
__________________
I dual boot Linux and Windows XP, why can't I only use Linux, what's stopping me?
joncalvinmoore is offline   Reply With Quote
Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake 9 and nVidia drivers HunterA3 NVIDIA Linux 9 10-09-02 02:54 AM
Mandrake 9.0 and Nvidia 1.0-3123 FINALLY!!!! Now for a question. jthompson7051 NVIDIA Linux 1 10-07-02 02:17 PM
Mandrake 9.0 and drivers KramitDfrog NVIDIA Linux 2 10-06-02 05:14 PM
Mandrake 8.2 + Nvidia ti4400 - Issues endothermal NVIDIA Linux 3 09-20-02 02:33 PM
Problems with Mandrake and NVidia drivers..... xMonoxide187x NVIDIA Linux 2 08-22-02 01:55 PM

All times are GMT -5. The time now is 01:13 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.