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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-05-03, 08:37 PM   #1
nemeos
Registered User
 
Join Date: Feb 2003
Posts: 4
Unhappy help a linux newbie, XF86Config file

hi i just installed rh 8.0 and the linux 4191 drivers:

heres the installation log-----------------------------

# rpm -ivh NVIDIA_kernel-1.0-4191.rh80up.athlon.rpm
Preparing... ########################################### [100%]
1:NVIDIA_kernel ########################################### [100%]
depmod: *** Unresolved symbols in /lib/modules/2.4.18-14/kernel/drivers/char/sm56.o
Warning: loading /lib/modules/2.4.18-14/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings

nvidia.o installed successfully

[root@localhost linux_drvr]# rpm -ivh NVIDIA_GLX-1.0-4191.i386.rpm
Preparing... ########################################### [100%]
--- WARNING!!
libglx.a
libGLcore.a
libGL.so.1.2
--- The above file(s) possibly belong to a conflicting MESA rpm,
--- or to a previous stale NVIDIA distribution.
--- They have been renamed to xxx.<originalFile>.RPMSAVE to
--- avoid conflicting with the files contained within this
--- package.
--- Please see the FREQUENTLY ASKED QUESTIONS section of
--- /usr/share/doc/NVIDIA_GLX-1.0/README for more details.
1:NVIDIA_GLX ########################################### [100%


i ignored the errors edited XF86Config and rebooted.. then :

xfree86.0.log


XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-72) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-11smp i686 [ELF]
Build Host: daffy.perf.redhat.com

Module Loader present
OS Kernel: Linux version 2.4.18-14 (bhcompile@astest.test.redhat.com) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4 12:13:11 EDT 2002
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Feb 5 19:09:21 2003
(==) Using config file: "/etc/X11/XF86Config"
Parse error on line 8 of section ServerLayout in file /etc/X11/XF86Config
"EndSection
" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

seems that i have a space after "EndSection " in the ServerLayout tab,

this is my config file

------------------------------------------------------------
# File generated by xf86config.
Section "ServerLayout"
Identifier "custom_luis"
Screen "Screen 1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe" # Double buffer extension
Load "extmod"
Load "type1"
Load "freetype"# This loads the GLX module
Load "fbdevhw"
Load "glx"
Load "record"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "es"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "My Monitor"
ModelName "Unknown monitor"
HorizSync 31.5 - 88.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection

Section "Device"
Identifier "NVIDIA GeForce 2 MX (generic)"
Driver "nvidia"
VendorName "NVIDIA GeForce 2 MX (generic)"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "NVIDIA GeForce 2 MX (generic)"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
------------------------------------------------------

i dont know about text editing in linux so if anyone could help me out i would really appreciate it

thnks in adv
nemeos is offline   Reply With Quote
Old 02-05-03, 10:36 PM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Were you using a Linux text editor to do the editing? Copying files back and forth from a Windows partition, and using a Windows editor, can cause this type of thing. I trust vim, personally, so if you want to go with that, just vim the file, hit the 'i' key to get into insert mode (your arrow keys, delete, and whatever else should still work), get rid of any control characters (^M, especially), then hit Esc to exit out of insert mode, and type in :wq and hit enter to save and exit.

If you don't see any control characters, then that's probably not your problem, though...
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 02-06-03, 02:50 AM   #3
nemeos
Registered User
 
Join Date: Feb 2003
Posts: 4
Unhappy

hi, thanks for the fast reply, i now seem to get the hang of vim a bit, however i tried editing the file but xfree keeps telling me that the file cant be parsed,and i didnt find anything odd neither special chars on it...

ok, thanks for the help, if anyone has some more info plz share it with me, im going crazy over this...

will try moving around some lines in a new config file tho.. but dont know what really is causing the problem, check the file up there seems ok.. isnt it??.....

oh well thnks in adv. everyone

btw- yeap i copyed from a windows partition.. maybe doing the whole file again by hand would solve it...


well cya round

Last edited by nemeos; 02-06-03 at 02:58 AM.
nemeos is offline   Reply With Quote
Old 02-06-03, 10:47 AM   #4
nemeos
Registered User
 
Join Date: Feb 2003
Posts: 4
Default

ok i deleted my old config and made a new one in vim, saved and the log now has this after the other modules are loaded and checked
------------------------------------------------------------------------------------
.....

(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xC0000000
(--) NVIDIA(0): MMIO registers at 0xCE000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

------------------------------------------------------------------------------------


so now i seem to be using a wrong Screen config.. well heres my xf86config file:

. . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . .

#custom
Section "ServerLayout"
Identifier "luis"
Screen "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "fbdevhw"
Load "glx"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Alaska"
ModelName "Unknown model"
HorizSync 31.5 - 88.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection
Section "Device"
Identifier "NVIDIA GeForce 2 MX"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "NVIDIA GeForce 2 MX"
EndSection
Section "Screen"
Identifier "Screen1"
Device "NVIDIA GeForce 2 MX"
Monitor "Alaska"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
--------------------------------------------------------------------------------

n1 could ponit me to what setting should i change? thnks in adv.
nemeos is offline   Reply With Quote
Old 02-06-03, 02:08 PM   #5
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

"failed to initialize kernel module"

Was the kernel module loaded when you did a startx?

If so, then check dmesg (or /var/log/messages or similar) for why the kernel module wouldn't initialize itself.

If not, load it (with an "/sbin/modprobe nvidia") and try again.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 02-06-03, 10:53 PM   #6
nemeos
Registered User
 
Join Date: Feb 2003
Posts: 4
Talking

ok just did that, cjhecked dmsg and i saw that the module wasnt allocating a irq for the vidcard, had to turn off pnp aware os and turn on allocate irq pci to vga in the bios

all is good now

thanks everyone! yay!
nemeos is offline   Reply With Quote
Old 02-07-03, 08:32 AM   #7
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Good!
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 02-20-03, 03:46 PM   #8
Android8675
Registered User
 
Join Date: Feb 2003
Posts: 1
Send a message via ICQ to Android8675
Default Yo, Thank you...

Just wanted to send a thanks for this thread, I know I'm probably upsetting people by posting, but just wanted to say thanks, I would of never thought to check my BIOS settings otherwise.

Thanks Nemos for posting the fix.
Android8675 is offline   Reply With Quote

Old 02-20-03, 07:27 PM   #9
rbininger
Linux Evangelist
 
rbininger's Avatar
 
Join Date: Feb 2003
Location: Columbus, OH
Posts: 6
Send a message via ICQ to rbininger
Default unix/dos file formats

nemeos,

Glad to read you found a solution. Since you wrote in your first post that you didn't know much about text editing under linux, just wanted to throw out a simple trick. A response had mentioned the problems of copying text files between Linux and Windows machines. Rather than editing out the carriage return code (^M) of dos files with vi(m), try:

1. Verify it is a real dos-mode file. At a command prompt, run the 'file' command followed by the name of the questionable doc (i.e. file [somefile]). A unix text file (line-feed only) will result in "somefile: ASCII text" whereas a dos text file (line-feed & carriage return) will report "somefile: ASCII English text, with CRLF line terminators".

2. Then to strip or add the carriage returns - since you use RH8 - just use the commands "unix2dos [somefile]" or "dos2unix [somefile]".

- Rich B
__________________
% SELECT * FROM users WHERE clue > 0
% 0 rows returned
rbininger 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
nVidia Linux drivers with Linux on Mac, help? Thetargos NVIDIA Linux 0 05-13-12 01:52 PM
302.07 (beta) for Linux x86/x86_64 released AaronP NVIDIA Linux 0 05-02-12 10:55 AM
RPM Source problems LaoTzuTao NVIDIA Linux 10 01-19-03 06:15 AM
Can't install NVIDIA_kernel.XXXX.XXXX.src or regular rpm noeffort NVIDIA Linux 15 12-17-02 02:22 PM
Mandrake Linux 9.0 (Dolphin) now available | comments? volt General Linux 10 10-19-02 11:13 PM

All times are GMT -5. The time now is 01:33 AM.


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