LQ Newbie
Registered: Nov 2003
Location: GDL
Distribution: Mandrake 9.0
Posts: 2
Rep:
|
NVIDIA...Parse error on line 13 of section Mandrake 9.0
Hi Friends,
I hope you can help me with this, because I really like Linux and want to learn more about it but, at this momment Iīm stuck.
Well i installed a BIOSTARGeFORCE 4mx 64MB graphic card in my pc wich is a
P4 1.6Ghz, 256RAM, 40Ghz, MOBO ECS M925
and I have installed Linux Mandrake 9.0 and WindowsME
I didnīt have any problems in WinME but in Linux I installed the driver:
NVIDIA-Linux-x86-1.0-4496-pkg2.run (with the ./ command before the file name)it seemed that everything went ok because there was the message:
Driver is now complete. Please update your XF86Config File as appropiate; se the file /user/share/doc/NVIDIA_GLX-1.0/Readme
After installing the driver i tried to run startx but, it just showed an error file so i tried reading the NVIDIA readme file; it said something like this:
If you already have an XF86Config file working with a different driver
(such as the 'nv' or 'vesa' driver), then all you need to do is 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"
So i tried editing this file but, since i didnīt know about any command line editor like vi at that time, what i did was copying the XF86Config-4 file to mnt/windows folder and then i edited the file with wordpad then i renamed the original XF86Config-4 file and copied the one i had edited.
But I continue recieving errors
This is the log file before editing the XF86Config-4 file:
Build Operating System: Linux 2.4.18-23mdkenterprise i686 [ELF]
Module Loader present
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: Tue Nov 4 19:05:19 2003
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) | |-->Monitor "monitor1"
(**) | |-->Device "device1"
(**) |-->Input Device "Keyboard1"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "es"
(**) XKB: layout: "es"
(WW) Option "XkbOptions" requires an string value
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Mouse1"
(**) FontPath set to "unix/:-1"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "AllowMouseOpenFail"
Using vt 7
(--) using VT number 7
(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3148 card 1106,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b091 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:0b:0: chip 109e,036e card 0000,0000 rev 11 class 04,00,00 hdr 80
(II) PCI: 00:0b:1: chip 109e,0878 card 0000,0000 rev 11 class 04,80,00 hdr 80
(II) PCI: 00:11:0: chip 1106,3074 card 1106,0000 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:11:2: chip 1106,3038 card 0925,1234 rev 1b class 0c,03,00 hdr 00
(II) PCI: 00:11:3: chip 1106,3038 card 0925,1234 rev 1b class 0c,03,00 hdr 00
(II) PCI: 00:11:4: chip 1106,3038 card 0925,1234 rev 1b class 0c,03,00 hdr 00
(II) PCI: 00:11:5: chip 1106,3059 card 1106,4511 rev 30 class 04,01,00 hdr 00
(II) PCI: 00:11:6: chip 1106,3068 card 1543,4c21 rev 70 class 07,80,00 hdr 00
(II) PCI: 00:12:0: chip 1106,3065 card 1106,0102 rev 70 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 10de,0171 card 0000,0000 rev a3 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0c (VGA_EN is set)
(II) Bus 1 I/O range:
(II) Bus 1 non-prefetchable memory range:
[0] -1 0xdde00000 - 0xdfefffff (0x2100000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0xcdb00000 - 0xddcfffff (0x10200000) MX[B]
(II) Bus -1: bridge is at (0:17:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI: (0:11:0) BrookTree unknown chipset (0x036e) rev 17, Mem @ 0xdddfe000/12
(--) PCI:*(1:0:0) NVidia 0x0171 rev 163, Mem @ 0xde000000/24, 0xd0000000/27, 0xddc80000/19, BIOS @ 0xdfee0000/17
(II) Addressable bus resource ranges are
[0] -1 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
[0] -1 0xdfffff00 - 0xdfffffff (0x100) MX[B]
[1] -1 0xdddff000 - 0xdddfffff (0x1000) MX[B]
[2] -1 0xe8000000 - 0xebffffff (0x4000000) MX[B]
[3] -1 0xdfee0000 - 0xdfefffff (0x20000) MX[B](B)
[4] -1 0xddc80000 - 0xddcfffff (0x80000) MX[B](B)
[5] -1 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[6] -1 0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
[7] -1 0xdddfe000 - 0xdddfefff (0x1000) MX[B](B)
[8] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[9] -1 0x0000ec00 - 0x0000ecff (0x100) IX[B]
[10] -1 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[11] -1 0x0000e400 - 0x0000e41f (0x20) IX[B]
[12] -1 0x0000e000 - 0x0000e01f (0x20) IX[B]
[13] -1 0x0000dc00 - 0x0000dc1f (0x20) IX[B]
[14] -1 0x0000fc00 - 0x0000fc0f (0x10) IX[B]
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0xdfffff00 - 0xdfffffff (0x100) MX[B]
[1] -1 0xdddff000 - 0xdddfffff (0x1000) MX[B]
[2] -1 0xe8000000 - 0xebffffff (0x4000000) MX[B]
[3] -1 0xdfee0000 - 0xdfefffff (0x20000) MX[B](B)
[4] -1 0xddc80000 - 0xddcfffff (0x80000) MX[B](B)
[5] -1 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[6] -1 0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
[7] -1 0xdddfe000 - 0xdddfefff (0x1000) MX[B](B)
[8] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[9] -1 0x0000ec00 - 0x0000ecff (0x100) IX[B]
[10] -1 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[11] -1 0x0000e400 - 0x0000e41f (0x20) IX[B]
[12] -1 0x0000e000 - 0x0000e01f (0x20) IX[B]
[13] -1 0x0000dc00 - 0x0000dc1f (0x20) IX[B]
[14] -1 0x0000fc00 - 0x0000fc0f (0x10) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0xdfffff00 - 0xdfffffff (0x100) MX[B]
[6] -1 0xdddff000 - 0xdddfffff (0x1000) MX[B]
[7] -1 0xe8000000 - 0xebffffff (0x4000000) MX[B]
[8] -1 0xdfee0000 - 0xdfefffff (0x20000) MX[B](B)
[9] -1 0xddc80000 - 0xddcfffff (0x80000) MX[B](B)
[10] -1 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[11] -1 0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
[12] -1 0xdddfe000 - 0xdddfefff (0x1000) MX[B](B)
[13] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[14] -1 0x00000000 - 0x000000ff (0x100) IX[B]
[15] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[16] -1 0x0000ec00 - 0x0000ecff (0x100) IX[B]
[17] -1 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[18] -1 0x0000e400 - 0x0000e41f (0x20) IX[B]
[19] -1 0x0000e000 - 0x0000e01f (0x20) IX[B]
[20] -1 0x0000dc00 - 0x0000dc1f (0x20) IX[B]
[21] -1 0x0000fc00 - 0x0000fc0f (0x10) IX[B]
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "v4l"
(II) Loading /usr/X11R6/lib/modules/drivers/linux/v4l_drv.o
(II) Module v4l: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 0.0.1
ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.1
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.1.10
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font FreeType
(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.4496
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "savage"
(II) Loading /usr/X11R6/lib/modules/drivers/savage_drv.o
(II) Module savage: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.1.23
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.3
(II) v4l driver for Video4Linux
(II) SAVAGE: driver (version 1.1.23t) for S3 Savage chipsets: Savage4,
Savage3D, Savage3D-MV, Savage2000, Savage/MX-MV, Savage/MX,
Savage/IX-MV, Savage/IX, ProSavage PM133, ProSavage KM133,
ProSavage PN133, ProSavage KN133, SuperSavage/MX 128,
SuperSavage/MX 64, SuperSavage/MX 64C, SuperSavage/IX 128,
SuperSavage/IX 128, SuperSavage/IX 64, SuperSavage/IX 64,
SuperSavage/IXC 64, SuperSavage/IXC 64, ProSavage DDR,
ProSavage DDR-K
(II) Primary Device is: PCI 01:00:0
(EE) No devices detected.
Fatal server error:
no screens found
------------------------------------------------------------------------------
And after editing the XF86Config-4 the error Iīm recieving is:
XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 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 ht.Org/)
Build Operating System: Linux 2.4.18-23mdkenterprise i686 [ELF]
Module Loader present
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: Tue Nov 4 19:37:30 2003
(==) Using config file: "/etc/X11/XF86Config-4"
Parse error on line 13 of section Files in file /etc/X11/XF86Config-4
"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
----------------------------------------------------------------------------
My current XF86Config-4 is:
# 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 (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable / (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "NetMousePS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "monitor1"
HorizSync 30-70
VertRefresh 50-160
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
Driver "nvidia" (*nota aqui tenia "savage")
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
-------------------------------
Best Regards
|