Mailinglist Archive: opensuse-factory (389 mails)

< Previous Next >
Re: [opensuse-factory] Tumbleweed 3.3.0-16.1 kernel does not allow install of nvidia driver
On 22/03/12 13:24, Basil Chupin wrote:
On 22/03/12 13:22, Larry Finger wrote:
On 03/21/2012 09:07 PM, Basil Chupin wrote:
On 22/03/12 12:19, Larry Finger wrote:
On 03/21/2012 07:21 PM, Patrick Shanahan wrote:

12.1 tumbleweed x86_64
kernel-desktop-3.3.0-16.1.x86_64

trying to update nvidia driver with new kernel fails

sh ./NVIDIA-Linux-x86_64-295.20.run -a -K

fails, log below

: ~ # rpm -qa *kernel* |grep 3.3
kernel-desktop-3.3.0-16.1.x86_64
kernel-devel-3.3.0-16.1.noarch
kernel-source-3.3.0-16.1.noarch
kernel-desktop-devel-3.3.0-16.1.x86_64

nvidia-installer.log:
http://wahoo.no-ip.org/~pat/nvidia-installer.log

A patch file to allow 295.20 to build with kernel 3.3 can be obtained from
http://www.lwfinger.net/nvidia_patches/nvidia_295_20_for_3.3_err.

To use it, do

sh ./NVIDIA-Linux-x86_64-295.20.run -x
cd NVIDIA-Linux-x86_64-295.20
patch -p1 < nvidia_295_20_for_3.3_err
./nvidia-installer

There is a way to patch the files from the 'sh ./NV...', but I have not tested
it.

Larry


Larry

A question Larry: with the appropriate wording changes, will your patch also
work on the 32-bit version of the nVidia driver? I have applied other patches
for the driver and the driver just will not compile in the stock-standard
installation of MS #2 from the KDE LIVE 'CD' on my 32-bit system.

The patch should work on both 32- and 64-bit systems. I must admit that I only used with x86_64, but it only patches the shell script that gets the configuration. If it does not apply, then let me know.

Larry

Thanks, shall do.

Nope, didn't appear to work. Here is the output from the process:

--- kernel/conftest.sh
+++ kernel/conftest.sh
@@ -95,7 +95,7 @@
fi
fi

- CFLAGS="$CFLAGS $OUTPUT_CFLAGS -I$HEADERS $AUTOCONF_CFLAGS"
+ CFLAGS="$CFLAGS $OUTPUT_CFLAGS -I$HEADERS -I$SOURCES/arch/x86/include/generated $AUTOCONF_CFLAGS"

test_xen

@@ -126,7 +126,7 @@
CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS $AUTOCONF_CFLAGS"

if [ "$ARCH" = "i386" -o "$ARCH" = "x86" ]; then
- CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include"
+ CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated"
elif [ "$ARCH" = "ARMv7" ]; then
CFLAGS="$CFLAGS -I$SOURCES/arch/arm/include"
fi



The other thing, when applying the patch it keeps coming up with something about Reverse and then asks for response to Assume -R [n] - whatever that means. So I tried both ways and during one of them the above was created.

In any case, the conftest.sh file did have today's date and time so I ran the NVIDIA*.run anyway and got the usual failure to compile driver.

BC

--
Wife sent me to the doctor to get the pills for me to have an erection.
When I came back I gave her the packet of slimming pills.
I am still looking for somewhere to live.

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

< Previous Next >
This Thread
Follow Ups