I have been struggling to get X to work with the nvidia driver. The video card is an EVGA 256-A8-N341-LX GeForce 6200 AGP. I thought things were odd when I could not get LinHES to install unless using vesa drivers. After I got it installed I installed the nvdia drivers and tried to get a basic X config working. When I boot the system does not respond so I start with nologin and remove the xorg.conf then reboot again. This at least allows the system to boot.
When I copy a new xorg.conf that uses the nvdia driver I get the following dump.
Code:
LinHES-BE ------------[ cut here ]------------
LinHES-BE invalid opcode: 0000 [#1] PREEMPT SMP
LinHES-BE last sysfs file: /sys/devices/pci0000:00/0000:00:1f.0/resource
LinHES-BE Process X (pid: 5314, ti=cedc2000 task=f3934c00 task.ti=cedc2000)
LinHES-BE Stack:
LinHES-BE 0007ffff fff80000 00000000 00000020 ce546f60 00080000 ce546f60 01001000
LinHES-BE c018232d ff7fe000 ffffffff 000000d0 f7ffe000 00000001 ff7fe000 00000573
LinHES-BE Call Trace:
LinHES-BE [<c018221f>] alloc_vmap_area+0x1bf/0x220
LinHES-BE [<c018232d>] __get_vm_area_node+0xad/0x180
LinHES-BE [<c0182496>] get_vm_area_caller+0x46/0x50
LinHES-BE [<faa75e72>] _nv005339rm+0x4a/0x51 [nvidia]
LinHES-BE [<c01211d3>] __ioremap_caller+0x153/0x2c0
LinHES-BE [<c0121454>] ioremap_nocache+0x14/0x20
LinHES-BE [<faa75e72>] _nv005339rm+0x4a/0x51 [nvidia]
LinHES-BE [<faa75e72>] _nv005339rm+0x4a/0x51 [nvidia]
LinHES-BE [<faa819a8>] _nv003766rm+0xf1/0x17d [nvidia]
LinHES-BE [<faa81d5c>] _nv003845rm+0x59/0x513 [nvidia]
LinHES-BE [<faa7d076>] rm_init_adapter+0x62/0xab [nvidia]
LinHES-BE [<fab4b912>] nv_kern_open+0x5e2/0x6b0 [nvidia]
LinHES-BE [<c019581e>] chrdev_open+0xee/0x1d0
LinHES-BE [<c0190dcb>] __dentry_open+0xdb/0x2a0
LinHES-BE [<c0191077>] nameidata_to_filp+0x47/0x60
LinHES-BE [<c0195730>] chrdev_open+0x0/0x1d0
LinHES-BE [<c019e19d>] do_filp_open+0x1ad/0x830
LinHES-BE [<c01a88d8>] mntput_no_expire+0x18/0x110
LinHES-BE [<c01a2922>] dput+0x82/0x130
LinHES-BE [<c040ead5>] _spin_unlock+0x5/0x20
LinHES-BE [<c0190ba1>] do_sys_open+0x61/0xf0
LinHES-BE [<c01a2922>] dput+0x82/0x130
LinHES-BE [<c0190cac>] sys_open+0x2c/0x40
LinHES-BE [<c0103f13>] sysenter_do_call+0x12/0x33
LinHES-BE [<c0400000>] tulip_parse_eeprom+0x29d/0x59d
LinHES-BE Code: 8b 5a 18 8d 4e 18 89 46 1c 89 5e 18 89 4a 18 89 4b 04 5b 5e c3 8d b6 00 00 00 00 8b 46 04 3b 42 f4 76 08 8d 42 04 89 d1 eb 9d 90 <0f> 0b eb fe a1 b8 f9 50 c0 8d 56 18 c7 46 1c b8 f9 50 c0 89 46
LinHES-BE EIP: [<c0182038>] __insert_vmap_area+0x88/0xb0 SS:ESP 0068:cedc3d0c
My xorg.conf is as follows. I seems pretty basic and its only slightly modified from the original "X -configure" output config file.
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "xtrap"
Load "dbe"
Load "glx"
Load "extmod"
Load "dri"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.0 - 61.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV44A [GeForce 6200]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection