Mailinglist Archive: opensuse-factory (761 mails)

< Previous Next >
Re: [opensuse-factory] installing proprietary NVIDIA-Linux-x86_64-295.33.run kernel 3.3.1-18-desktop
On 04/05/2012 10:50 PM, Patrick Shanahan wrote:
* Larry Finger<Larry.Finger@xxxxxxxxxxxx> [04-05-12 21:08]:

Nvidia got some of the necessary patches needed to build under kernel 3.3,
but not all. You can get what you need from
http://www.lwfinger.com/nvidia_patches. Those patches are designed to be
applied to the extracted Nvidia material from a 'sn ./NVIDIA.....run -x". If
you want to use Nvidia's mechanism to patch the .run file, then you need to
remove the first directory entry in the patch control lines. For example,
"NVIDIA-Linux-x86-295.33.orig/kernel/conftest.sh" goes to
"kernel.orig/conftest.sh", etc.

changed nvidia_295_33_for_3.3_err

Index: NVIDIA-Linux-x86-295.33/kernel/conftest.sh
===================================================================
--- NVIDIA-Linux-x86-295.33.orig/kernel/conftest.sh
+++ NVIDIA-Linux-x86-295.33/kernel/conftest.sh


to:

Index: kernel/conftest.sh
===================================================================
--- kernel.orig/conftest.sh
+++ kernel/conftest.sh


got:

# patch ./NVIDIA-Linux-x86_64-295.33.run ./nvidia_295_33_for_3.3_err
patching file ./NVIDIA-Linux-x86_64-295.33.run
Hunk #1 FAILED at 95.
Hunk #2 FAILED at 126.
Hunk #3 FAILED at 965.
Hunk #4 FAILED at 980.
Hunk #5 FAILED at 996.
Hunk #6 FAILED at 1604.
6 out of 6 hunks FAILED -- saving rejects to file
./NVIDIA-Linux-x86_64-295.33.run.rej


remember, I am *not* a programmer
and "man patch" does not provide a hint I recognize.

After you edited the file, then you needed to

sh ./NVIDIA....run --apply-patch nvidia_295_33_for_3.3_err

That command patches the .run file. In the original form, the patch file modifies conftest.sh AFTER it is extracted.

Larry
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >