nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   NVIDIA Installer and SuSE 8.2 YaST2 Kernel Update Problem (http://www.nvnews.net/vbulletin/showthread.php?t=18761)

[JJ] 09-28-03 03:11 PM

NVIDIA Installer and SuSE 8.2 YaST2 Kernel Update Problem
 
This is a problem which has me baffled. I installed the 4496 drivers into SuSE 8.2 without any problems whatsoever, infact it was too easy :) anyway, I came to update my kernel with YaST2 and updated succesfully. So I then rebooted into failsafe mode and sh'd the 4496.run installer once again but it gave me an error to do with kernel header missing or something or other - I can't remember the exact error message. Any ideas? Cheers in advance...

mtrr 09-28-03 03:45 PM

the installed kernel isn't mathicn the sources anymore,
so.... update kernel sources (or only headers, depending on
the distribution) and install again.


cheers

wv6u 09-28-03 06:03 PM

installer problem posted a few below
 
I also have SuSE 8.2 and this sounds like the exact same problem I posted earlier this morning with the subject line "installer problems"

If I ftp the source rpm and install it that will fix the problem??

mtrr 09-28-03 06:14 PM

dunno, haven't used SuSE for quite a time now.
but in general:

if you install a new kernel, your "off-kernel" drivers
are away. period.

if you'd like to build a driver module (like nvidia.o) you need
sources matching the kernel the driver'll be inserted into.

if the correct sources (read: kernel sources with the
"right" configuration) are on the system, then installation
should work without a hitch

on some distributions it's sufficient to install the matching
kernel headers.


cheers

louis-nl 09-29-03 04:38 AM

Re: installer problem posted a few below
 
Quote:

Originally posted by wv6u
I also have SuSE 8.2 and this sounds like the exact same problem I posted earlier this morning with the subject line "installer problems"

If I ftp the source rpm and install it that will fix the problem??

Taken from the suse site .. bare with me, long text :D

Nvidia Installer HOWTO for SuSE Linux users
-------------------------------------------


This document describes how to use the new nvidia installer on SuSE
Linux to install the latest nvidia driver (1.0-4496).

NOTE: Replace the occurences of "1.0-4496" below with the appropriate
number for later relases.

NOTE: The nvidia installer does not work as long as a Xserver is still
running. Therefore please boot into runlevel 3 by specifying "3" as
kernel boot option before running the nvidia installer.

A. SuSE Linux 9.0 (Preview/Beta)
I. SuSE Linux 8.2 with original kernel from CD/DVD
II. SuSE Linux Desktop (SLD)
SuSE Linux 8.2 with update kernel or self-compiled kernel
III. SuSE Linux 7.3/8.0/8.1 with original kernel from CD/DVD
IV. United Linux 1.0 (UL1)
SuSE Linux Enterprise Server 8 (SLES8)
SuSE Linux 7.3/8.0/8.1 with update kernel or self-compiled kernel
V. SuSE Linux 7.2
SuSE Linux Enterprise Server 7 (SLES7)
VI. SuSE Linux 7.1
VII. SuSE Linux 7.0 or earlier
VIII. References
IX. Feedback


A. SuSE Linux 9.0
-----------------

1) Kernel sources must be installed and configured. Usually this means
installing the 'kernel-source' package with YaST2.

2) Use the nvidia installer.

sh NVIDIA-Linux-x86-1.0-4496-pkg2.run

3) Save the binary-part of nvidia kernel module, so the nvidia kernel
module can be re-linked during a kernel update and therefore the
nvidia driver installation will survive a future kernel update as
well.

sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only
cp NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv-kernel.o \
/lib/modules/scripts/nvidia/nv-kernel.o-1.0-4496

4) Enable 3D support with SaX2.


I. SuSE Linux 8.2 with original kernel from CD/DVD
--------------------------------------------------

1) Use the nvidia installer.

sh NVIDIA-Linux-x86-1.0-4496-pkg2.run

2) Enable 3D support with SaX2.


II. SuSE Linux Desktop (SLD)
SuSE Linux 8.2 with update kernel or self-compiled kernel
-------------------------------------------------------------

1) Kernel sources must be installed and configured. Usually this means
installing the 'kernel-source' package with YaST2, update it - if not
already done - via YaST2 Online Update (YOU) and configure it then
with the following commands:

cd /usr/src/linux
make cloneconfig && make dep

2) Use the nvidia installer.

export IGNORE_CC_MISMATCH=yes
sh NVIDIA-Linux-x86-1.0-4496-pkg2.run

3) Enable 3D support with SaX2.


III. SuSE Linux 7.3/8.0/8.1 with original kernel from CD/DVD
------------------------------------------------------------

1) Download the according 'NVIDIA_GLX' and 'NVIDIA_kernel' RPMs from
nvidia ftp server and install these with YaST2.

2) Verify that 3D support is enabled with SaX2.


IV. United Linux 1.0 (UL1)
SuSE Linux Enterprise Server 8 (SLES8)
SuSE Linux 7.3/8.0/8.1 with update kernel or self-compiled kernel
---------------------------------------------------------------------

1) Download the according 'NVIDIA_GLX' and 'NVIDIA_kernel' RPMs from
nvidia ftp server and install these with the following commands:

rpm --justdb -Uhv NVIDIA_kernel*.rpm
rpm -Uhv NVIDIA_GLX*.rpm

Use "ul1" packages for UL1/SLES8.

2) Kernel sources must be installed and configured. Usually this means
installing the 'kernel-source' package with YaST2, update it - if not
already done - via YaST2 Online Update (YOU) and configure it then
with the following commands:

cd /usr/src/linux
make cloneconfig && make dep

3) Download nvidia installer and extract it with the following command

sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only

4) Compile and install the nvidia kernel module with the following
commands:

cd NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv
make install
depmod -a

5) Enable 3D support with SaX2.


V. SuSE Linux 7.2
SuSE Linux Enterprise Server 7 (SLES7)
-----------------------------------------

1) Download 'NVIDIA_GLX' and 'NVIDIA_kernel' RPMs for SuSE 7.3 from
nvidia ftp server and install these with the following commands:

rpm --justdb -Uhv NVIDIA_kernel*.rpm --force
rpm -Uhv NVIDIA_GLX*.rpm --force

2) Kernel sources must be installed and configured. Usually this means
installing the 'kernel-source' package with YaST2, update it - if not
already done - via YaST2 Online Update (YOU) and configure it then
with the following commands:

cd /usr/src/linux
make cloneconfig && make dep

3) Download nvidia installer and extract it with the following command

sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only

4) Compile and install the nvidia kernel module with the following
commands:

cd NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv
make install
depmod -a

5) Enable 3D support with SaX2.


VI. SuSE Linux 7.1
------------------

1) Kernel sources must be installed and configured. Usually this means
installing the 'linux' package with YaST2, update it - if not already
done - via YaST2 Online Update (YOU) and configure it then with the
following commands:

cd /usr/src/linux
make cloneconfig && make dep

2) Try to use the nvidia installer.

sh NVIDIA-Linux-x86-1.0-4496-pkg2.run

3) Enable 3D support with SaX2.


VII. SuSE Linux 7.0 or earlier
------------------------------

The nvidia driver does not work on SuSE 7.0 or earlier as the driver
needs XFree86 4.0.1 and SuSE 7.0 comes with XFree86 4.0.


VIII. References
----------------

* nVidia driver website
http://www.nvidia.com/view.asp?IO=li..._ia32_1.0-4496

* nvidia installer
http://download.nvidia.com/XFree86/L...-4496-pkg2.run

* nvidia driver RPMs for SuSE Linux
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496


IX. Feedback
------------

Please use "http://www.suse.de/feedback" for any feedback about this
document.

SuLinUX 09-29-03 11:04 AM

The simple solution in Suse 8.2 is not to update the Kernel but use the original Kernel that came with suse.

I just stick to that and 3D works fine.

wv6u 09-29-03 03:09 PM

Quote:

Originally posted by SuLinUX
The simple solution in Suse 8.2 is not to update the Kernel but use the original Kernel that came with suse.

I just stick to that and 3D works fine.

I started YaST2 a while back and believed I only selected one update to one small package. I did something on another computer and when I looked back the new kernel had just finished installing. I was not too up set at the time until I discoverd that the nvidia installer would not work. I am having a difficult time getting back to where I was.

I see the SuSE 9.0 beta is mentioned in this thread. Any idea when it will be on the market?

SuLinUX 09-29-03 04:13 PM

Quote:

Originally posted by wv6u
I started YaST2 a while back and believed I only selected one update to one small package. I did something on another computer and when I looked back the new kernel had just finished installing. I was not too up set at the time until I discoverd that the nvidia installer would not work. I am having a difficult time getting back to where I was.

I see the SuSE 9.0 beta is mentioned in this thread. Any idea when it will be on the market?

Use the original kernel from the CD, 2.4.20-38 is the one from Suse 8.2.

Just use software update in YaST2 to install the original kernel. and then reinstall the Nvidia drivers.

wv6u 09-30-03 08:03 AM

It's changed now
 
I reinstalled the old kernel source from the 8.2
CD and did
cd /usr/src/linux
make cloneconfig && make dep

Then
export IGNORE_CC_MISMATCH=YES
SH NVIDIA-Linux...etc

It did install the drivers this time.
Then I used SaX2 to enable 3d support but things still do not work right. When I bring up a
3D program such as Tux Racer it acts like it is doing it for a long time then stops without any error message. It just won't start the program.

In the earlier step after installed the old kernel source, when I went to YsST2 to update it as the instructions say to, it tried to install a new kernel which is what got me into this mess in the first place. I am at a point now where I am not crashing xterm every 5 minutes but things are still not right. Back to the drawing board. Suggestions are welcome.

The odd thing about YaST2 installing a new kernel is that a new kernel does not appear to be one of the choices. I don't get a chance to say NO.

louis-nl 10-01-03 04:26 AM

Re: It's changed now
 
Quote:

Originally posted by wv6u
I reinstalled the old kernel source from the 8.2
CD and did
cd /usr/src/linux
make cloneconfig && make dep

Then
export IGNORE_CC_MISMATCH=YES
SH NVIDIA-Linux...etc

It did install the drivers this time.
Then I used SaX2 to enable 3d support but things still do not work right. When I bring up a
3D program such as Tux Racer it acts like it is doing it for a long time then stops without any error message. It just won't start the program.

In the earlier step after installed the old kernel source, when I went to YsST2 to update it as the instructions say to, it tried to install a new kernel which is what got me into this mess in the first place. I am at a point now where I am not crashing xterm every 5 minutes but things are still not right. Back to the drawing board. Suggestions are welcome.

The odd thing about YaST2 installing a new kernel is that a new kernel does not appear to be one of the choices. I don't get a chance to say NO.

I started sax2 with the "-s" option and this works for me. When you do and sax2 starts, it will show you a default setting. Dont accept that, but go to configure and check the settings for yourself. If am not mistaken, and the driver installed correctly, you should NOT be able to disable 3d. Corrrect me if am wrong ...

In yast2 online-update, check the box that says: "Include installed patches" and you should be able to see them.
If you need any help installing the vid drivers with a new kernel or a self compiled one, let me know and I'll tell you how I installed it here on a self compiled kernel.


All times are GMT -5. The time now is 03:30 AM.

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