From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 9 Jan 2001 16:25:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 9 Jan 2001 16:25:04 -0500 Received: from obelix.plusnet.ch ([194.158.230.8]:33297 "EHLO obelix.spectraweb.ch") by vger.kernel.org with ESMTP id ; Tue, 9 Jan 2001 16:24:51 -0500 Message-Id: <200101092118.WAA01032@pingu.hargarten> Subject: Re: Did anybody have compiled nvidia driver with 2.4.0. (final) kernel ? From: Marcel Weber To: linux-kernel@vger.kernel.org Content-Type: multipart/alternative; boundary="=-Cu/fB4899IxmscDgWMr3" X-Mailer: Evolution 0.8 (Developer Preview) Date: 09 Jan 2001 22:19:59 +0100 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --=-Cu/fB4899IxmscDgWMr3 Content-Type: text/plain Yes I did It's not that difficult: I've got SuSE 7.0 with xfree86 4.0.2 (SuSE packages) and Kernel 2.4.0 final. Take the nvidia 0.9-5 tarballs. Unpack them. Apply this patch (attached patch < patch... from within the NVIDIA_kernel directory): Okay, if you try to compile it complains about some unmap stuff. Open nv.c Go to line 860. Remove all the lines from and including the else expression. Go some lines up and remove the if expression looking for the right kernel version. Now, you have the declaration for the 2.4.0 kernel, right. Save and exit Now do a make. For beeing sure copy the NVdriver to /lib/modules/2.4.0/video/NVdriver Try a modprobe NVdriver. With a lsmod it should appear now. Okay no configure X and glx as before. Works perfectly on my system Enjoy Marcel ________________________________________________________________________ Marcel Weber mmweber@ncpro.com http://www.ncpro.com Made and sent with Linux ________________________________________________________________________ Marcel Weber mmweber@ncpro.com http://www.ncpro.com Made and sent with Linux --=-Cu/fB4899IxmscDgWMr3 Content-Type: text/html; charset=utf-8


Yes I did

It's not that difficult: I've got SuSE 7.0 with xfree86 4.0.2 (SuSE
packages) and Kernel 2.4.0 final. Take the nvidia 0.9-5 tarballs. Unpack
them. Apply this patch (attached patch < patch... from within the
NVIDIA_kernel directory):

Okay, if you try to compile it complains about some unmap stuff.

Open nv.c

Go to line 860. Remove all the lines from and including the else
expression. Go some lines up and remove the if expression looking for
the right kernel version. Now, you have the declaration for the 2.4.0
kernel, right.

Save and exit

Now do a make.

For beeing sure copy the NVdriver to /lib/modules/2.4.0/video/NVdriver

Try a modprobe NVdriver. With a lsmod it should appear now. Okay no
configure X and glx as before.

Works perfectly on my system

Enjoy

Marcel




________________________________________________________________________

Marcel Weber
mmweber@ncpro.com
http://www.ncpro.com


Made and sent with Linux


Marcel Weber
mmweber@ncpro.com
http://www.ncpro.com

Made and sent with Linux
--=-Cu/fB4899IxmscDgWMr3-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/