nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   SuSE 8.2, won't install driver, need kernel help (http://www.nvnews.net/vbulletin/showthread.php?t=12248)

haut 05-23-03 12:27 AM

SuSE 8.2, won't install driver, need kernel help
 
System:
Athlon 1333
MSI Starforce 831 (?) GeForce2 GTS 64MB DDR
SuSE 8.2

Apparently my kernel sources arent installed (looked in /usr/src/ and the only folder is packages, no linux) and I can't install the nVidia driver. What's the best way to go about doing this? I'm pretty new to linux, but I'm catching on. I've looked through the YaST2 packages for one with the kernel source but couldn't find one that said it was the source for the athlon kernel. HELP!!

Thanks,
Ryan

feeyo 05-23-03 03:37 AM

Hi,

Well you really dont need the kernel sources to install the nvidia/kernel/glx drivers.

You could download the precompiled rpm packages.

But the kernel sources are on the suse 8.2 cd's. Just go to YaST2 and then choose install software do a search "kernel"
And if you look good the at kernel-source :: The source of the SuSE kernel.
Just click it on and install it.

Your Athlon Kernel is already installed, the kernel source hasnt anything to do with Athlon. because its just a source so the nvidia drivers will only use some source's to make the drivers for your athlon kernel.

jeanpain 05-23-03 06:45 AM

hi there, i have the same problem...

installed the kernel (suse 8.2 download version on a athlon 1600XP, kernel installed from ftp://ftp.mirror.ac.uk/sites/ftp.sus...SE-62.i586.rpm), then compiled the patch using the --kernel-name=2.4.20-4GB-athlon flag... and there it ended.

"On SuSE Linux/United Linux please use
SaX2 now to enable the NVIDIA driver." says the logfile of the installer, but with Sax2 i do not succeed in installing the driver :-(

then manually, in XF86Config, i changed "nv" to "nvidia", loaded "glx" and made sure neither dri or GLcore were loaded... and again: nothing :-((

the log file says that there is a compatibility problem between the 2.4.20-4GB source and the 2.4.20-4GB-athlon kernel that are installed on my system. but the original athlon-kernel-sources are nowhere to be found on the internet...

(same happens when i try to load module manually...)

so what can be done to make the nvidia driver run on a suse8.2 athlon machine?

cheers

jeanpain:afro:

willhse 05-23-03 09:26 AM

Suse 8.2
 
tryed down load ver of suse 8.2 , no go. tryed what nv site said to do with new kerels, almost worked, yest2 said it would work, x would not start up, got no screans found. Down loaded Suse install tree to a hard drive and installed suse form there, nv install built and comiled, works great. I can't figure whats different, but I hope Nvidia makes a smarter install program, this one needs to mature a bit more and suse needs to quit being jerks about their download stuff (no iso's).

haut 05-23-03 01:24 PM

OK I got closer this time. I installed the kernel source (although its not specific to my athlon source) and i used "sh ./NVIDIA.....run --kernel-name=2.4.20-4GB-athlon"
It went through the install but afterwards gave me an error message like this:
"failed to execute /sbin/depmod -aq" "bad symbol index"
It then asked if I wanted to continue anyways, I said no. What happened? Thanks all for your great help so far!
--Ryan

vnpenguin 05-24-03 07:46 AM

Quote:

Originally posted by jeanpain
hi there, i have the same problem...

installed the kernel (suse 8.2 download version on a athlon 1600XP, kernel installed from ftp://ftp.mirror.ac.uk/sites/ftp.sus...SE-62.i586.rpm), then compiled the patch using the --kernel-name=2.4.20-4GB-athlon flag... and there it ended.

"On SuSE Linux/United Linux please use
SaX2 now to enable the NVIDIA driver." says the logfile of the installer, but with Sax2 i do not succeed in installing the driver :-(

then manually, in XF86Config, i changed "nv" to "nvidia", loaded "glx" and made sure neither dri or GLcore were loaded... and again: nothing :-((

the log file says that there is a compatibility problem between the 2.4.20-4GB source and the 2.4.20-4GB-athlon kernel that are installed on my system. but the original athlon-kernel-sources are nowhere to be found on the internet...

(same happens when i try to load module manually...)

so what can be done to make the nvidia driver run on a suse8.2 athlon machine?

cheers

jeanpain:afro:

Hi,
I have the same error after updating my SuSE-8.2. The original SuSE-8.2 kernel works well with Nvidia. But the updated kernel "2.4.20-4GB-athlon" not!

In log file, I see:
-> Kernel module load error: ./usr/src/nv/nvidia.o: kernel-module version
mismatch
./usr/src/nv/nvidia.o was compiled for kernel version 2.4.20-4GB
while this kernel is version 2.4.20-4GB-athlon.

The package "kernel-source-2.4.20.SuSE-62" is already install in my system.

Anyone could help me ???
TIA,
VP

leibold 05-24-03 05:36 PM

Quote:

Originally posted by vnpenguin
The package "kernel-source-2.4.20.SuSE-62" is already install in my system.
I still don't understand why so many have problems with the installation of the nvidia driver on SuSE 8.2 while I have done it on two different systems without any problems at all. I'm installing SuSE 8.2 from DVD1 and the kernel-sources that do get installed are kernel-source-2.4.20.SuSE-30, so there is at least one difference.

When I look into /usr/src/linux/.kversion and /usr/src/linux/include/linux/version.h there is already the correct -athlon suffix. Therefore if the nvidia installer chooses to recompile the module it will have the correct version.
However this shouldn't even be necessary. When I installed the nvidia driver it merely chose the correct precompiled module and installed it. No compilation took place and there was no version mismatch.

kZahradnik 05-27-03 04:05 PM

OK, I played around a bit with it. Here is what I found out.

Whenever you install the kernel source during your first installation, it will work just fine. When you install the kernel source afterwards via yast or manually, it won't work work without a little editing. Which files you would have to edit, I am not quite sure as of now.

Another bet would be to install the regular kernel, install nvidia drivers and then reinstall the athlon kernel.

best regards
Klaus:afro:

haut 05-30-03 11:05 PM

1 Attachment(s)
OK I've had no internet for the last few days :( due to moving, but now I'm back up and have tried a few more things. First of all, about the kernel sources thing, I used the instructions found here.
I still had to use the --kernel-name=2.4.20-4GB-athlon flag because it wanted to compile a new one, but anyways the installer works fine except one thing: I keep getting this error:
depmod: /lib/modules/2.4.20-4GB-athlon/kernel/drivers/char/drm/i830.o: Bad symbol index: 000100cd >= 00000129
depmod: Bad symbol index: 000100cd >= 00000129

I attached my XFree86.0.log and here is my XF86config:

# /.../
# SaX generated XFree86 config file
# Created on: 2003-05-30.
#
# Version: 4.7
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.7)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "Module"
Load "glx"
Load "dbe"
Load "extmod"
Load "freetype"
Load "v4l"
Load "type1"
Load "speedo"
EndSection

Section "InputDevice"
Driver "Keyboard"
Identifier "Keyboard[0]"
Option "MapName" "Standard Keyboard [ pc104 ]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "ButtonNumber" "5"
Option "Device" "/dev/mouse"
Option "Name" "Autodetection"
Option "Protocol" "ExplorerPS/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
DisplaySize 330 240
HorizSync 30-70
Identifier "Monitor[0]"
ModelName "A70F"
Option "DPMS"
VendorName "VIEWSONIC"
VertRefresh 50-180
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1280x1024" 116.48 1280 1296 1552 1736 1024 1024 1034 1070
Modeline "1152x864" 90.48 1152 1168 1384 1568 864 864 874 902
Modeline "1152x864" 104.72 1152 1168 1384 1568 864 864 874 902
Modeline "1024x768" 71.39 1024 1040 1216 1400 768 768 778 802
Modeline "1024x768" 81.59 1024 1040 1216 1400 768 768 778 802
Modeline "1024x768" 92.96 1024 1040 1216 1400 768 768 778 802
Modeline "800x600" 43.68 800 816 928 1072 600 600 610 626
Modeline "800x600" 49.92 800 816 928 1072 600 600 610 626
Modeline "800x600" 56.16 800 816 928 1072 600 600 610 626
Modeline "800x600" 62.40 800 816 928 1112 600 600 610 626
Modeline "800x600" 68.64 800 816 928 1112 600 600 610 626
Modeline "800x600" 72.80 800 816 928 1112 600 600 610 626
Modeline "640x480" 27.96 640 656 720 864 480 480 490 501
Modeline "640x480" 31.95 640 656 720 864 480 480 490 501
Modeline "640x480" 35.94 640 656 720 864 480 480 490 501
Modeline "640x480" 39.94 640 656 720 864 480 480 490 501
Modeline "640x480" 43.93 640 656 720 864 480 480 490 501
Modeline "640x480" 47.92 640 656 720 864 480 480 490 501
Modeline "640x480" 51.92 640 656 720 864 480 480 490 501
Modeline "640x480" 58.24 640 656 720 904 480 480 490 501
Modeline "1024x768" 71.39 1024 1040 1216 1400 768 768 778 802
Modeline "1024x768" 81.59 1024 1040 1216 1400 768 768 778 802
Modeline "1024x768" 92.96 1024 1040 1216 1400 768 768 778 802
Modeline "800x600" 43.68 800 816 928 1072 600 600 610 626
Modeline "800x600" 49.92 800 816 928 1072 600 600 610 626
Modeline "800x600" 56.16 800 816 928 1072 600 600 610 626
Modeline "800x600" 62.40 800 816 928 1112 600 600 610 626
Modeline "800x600" 68.64 800 816 928 1112 600 600 610 626
Modeline "800x600" 72.80 800 816 928 1112 600 600 610 626
Modeline "640x480" 27.96 640 656 720 864 480 480 490 501
Modeline "640x480" 31.95 640 656 720 864 480 480 490 501
Modeline "640x480" 35.94 640 656 720 864 480 480 490 501
Modeline "640x480" 39.94 640 656 720 864 480 480 490 501
Modeline "640x480" 43.93 640 656 720 864 480 480 490 501
Modeline "640x480" 47.92 640 656 720 864 480 480 490 501
Modeline "640x480" 51.92 640 656 720 864 480 480 490 501
Modeline "640x480" 58.24 640 656 720 904 480 480 490 501
EndSection

Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "GeForce2 GTS"
BusID "1:5:0"
Driver "nv"
Identifier "Device[0]"
Screen 0
VendorName "NVidia"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

gerous 05-31-03 06:29 AM

Hi Folks again,
The problem is that you, if you have any linux system with non-standart kernel you have to install the kernel sources! So if it's then suse 8.2 the yast installer makes faulty work. For the Yast installer it doesen't matter if it's the "-pre" or "-athlon" kernel or a completely self written one ;) he just tells the .kversion and version.h file that you have the standart kernel! so if now the module loader try's it's work on the nvidia module he checks the kernel-version of both models (-> really have a look @ the nvidia_logfile, especially the last lines! ). So if these both kernel-versions differ the module (even if it was compiled right for your kernel ) couldn't be loaded (again have a look @ the log file ). The only way ( and the much easyes one ) to install the nvidia drivers is to try out the installer, if he fails, look @ the log file and check your kernel version-files.


All times are GMT -5. The time now is 08:29 PM.

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