Re: [Cooker] How to rebuild nvidia-kernel for rc1: solved
On Thursday 20 February 2003 23:38, Francisco wrote: > Thanks to Buchan Mine help i did it: > > 1) Of course you need the nvidia-kernel and nvidia-glx src.rpm packages > downloaded from www.nvidia.com. > > 2) You need also to have installed the kernel-sources rpm from the third > cdrom of Mandrake 9.1 rc1 > > 3) You need to set an environmental variable: > > "export IGNORE_CC_MISMATCH=1" > Whilst this works, it was crahsing X when running the Euphoria screen saver with 2.4.210pre4-6mdk (compiled with gcc 3.2.1), but switching to 2.4.210pre4-6mdk (compiled with gcc 3.2.2) X is now fine. So the moral of the story is, do your best to ensure that the NVidia driver IS compiled with the same compiler as the kernel it is being compiled against. > 4) Now rpm --rebuild nvidia-kernel.src.rpm > rpm --rebuild nvidia-GLX. src.rpm > > 5) After the rebuild succes ou will have the rpms on /usr/src/RPM/RPMs/i586 > > > Francisco Alcaraz > Murcia (Spain) -- John Allen, Email: mailto:[EMAIL PROTECTED] MandrakeClub Silver Member.
Re: [Cooker] How to rebuild nvidia-kernel for rc1
On Thursday 20 February 2003 11:30 pm, [EMAIL PROTECTED] wrote: > I have tryed to rebuild the nvidia-kernel source file, but I have several > error messages. Using a fairly recent Cooker kernel on a 9.0 system worked fine for me, after I had hand-added the symlink between /lib/modules/$(uname -r)/build and /usr/src/linux-$(uname -r) Cheers; Leon
Re: [Cooker] How to rebuild nvidia-kernel for rc1
Paul As I say in other message, I finally get it. Thanks so much for your interest Francisco Alcaraz Murcia (Spain)
Re: [Cooker] How to rebuild nvidia-kernel for rc1
On Thu, 20 Feb 2003 14:46:15 -0800 (PST), andre wrote: > > On Thursday 20 February 2003 17:58, [EMAIL PROTECTED] wrote: > > On Thu, 20 Feb 2003 08:44:15 -0800 (PST), [EMAIL PROTECTED] wrote: > > > In fact the drivers was build and installed, but when you try to install > > > nvidia-glx there is an error about "failed dependencies, nvidia-kernel" > > > is needed"). I have not the package nvidia-kernel rebuilt and I thought > > > that the crashes could be due to that.Just the nvidia.o is present in > > > /usr/src/RPM/BUILD/NVIDIA-KERNEL/ and doing from this directory a make > > > install it runs, but with the mentioned crashes. > > > > > > Francisco Alcaraz > > > Murcia (Spain) > > > > As root you can build the Nvidia driver from the source rpm as follows: > > rpm --rebuild NVIDIA_kernel-1.0-4191.src.rpm > > Which resulted in a build error, at leats with the 3123, > strangely i don't get that error anymore with that version. I get a working Nvidia kernel RPM, with lots of messages, but no fatal errors. What error(s) do you get? The only problem I've ever had was the kernel sources not being installed by default, which was easy to fix. I keep up to date with cooker, so I have probably rebuilt the Nvidia driver around 8 or 10 times in the past few months. It builds fine, and works fine. Have you looked at the instructions on the Nvidia web site? Paul
Re: [Cooker] How to rebuild nvidia-kernel for rc1
On Thursday 20 February 2003 17:58, [EMAIL PROTECTED] wrote: > On Thu, 20 Feb 2003 08:44:15 -0800 (PST), [EMAIL PROTECTED] wrote: > > In fact the drivers was build and installed, but when you try to install > > nvidia-glx there is an error about "failed dependencies, nvidia-kernel" > > is needed"). I have not the package nvidia-kernel rebuilt and I thought > > that the crashes could be due to that.Just the nvidia.o is present in > > /usr/src/RPM/BUILD/NVIDIA-KERNEL/ and doing from this directory a make > > install it runs, but with the mentioned crashes. > > > > Francisco Alcaraz > > Murcia (Spain) > > As root you can build the Nvidia driver from the source rpm as follows: > rpm --rebuild NVIDIA_kernel-1.0-4191.src.rpm Which resulted in a build error, at leats with the 3123, strangely i don't get that error anymore with that version.
Re: [Cooker] How to rebuild nvidia-kernel for rc1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > I means that changing a line in the makefile created in > /usr/src/RPM/BUILD/NVIDIA-KERNEl/ directory and typing make install the > modules (nvidia.o) was created and installed, so games as Chromium or > Tuxracer now can be played, but it is a non real nvidia-kernel package > so it gives me some problems. > Do not believe everything you read on pclinuxonline.com. Set the environment variable before building the RPM, it should work ... and produce an rpm. Crashes are for NVidia to worry about. Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+VTCirJK6UGDSBKcRAjzfAJ9tLUREPakBsmoKWcjYnxHh5ahP8gCgsUdV BlqY3guHuLc0VkEDbUOl0xk= =yaOI -END PGP SIGNATURE-
RE: Re: [Cooker] How to rebuild nvidia-kernel for rc1
On Thu, 20 Feb 2003 08:44:15 -0800 (PST), [EMAIL PROTECTED] wrote: > > In fact the drivers was build and installed, but when you try to install > nvidia-glx there is an error about "failed dependencies, nvidia-kernel" > is needed"). I have not the package nvidia-kernel rebuilt and I thought > that the crashes could be due to that.Just the nvidia.o is present in > /usr/src/RPM/BUILD/NVIDIA-KERNEL/ and doing from this directory a make > install it runs, but with the mentioned crashes. > > Francisco Alcaraz > Murcia (Spain) You need to install the driver before you install the glx. Is it possible you have different versions of the kernel and glx? The last version I downloaded was 4191. As root you can build the Nvidia driver from the source rpm as follows: rpm --rebuild NVIDIA_kernel-1.0-4191.src.rpm rpm --rebuild NVIDIA-GLX-1.0-4191.src.rpm then you install them by executing the following lines: rpm -ivh /usr/src/RPM/RPMS/i586/NVIDIA_kernel-1.0-4191.i586.rpm rpm -ivh /usr/src/RPM/RPMS/i586/NVIDIA_GLX-1.0-4191.i586.rpm If you are re-installing the driver you would use rpm -Uvh, perhaps with --force if you just rebuilt the driver because you upgraded the Linux kernel. If you need the --force and don't enter it, you will get an error message. I'm not at my Linux machine right now, so this was done from memory, but I think it is pretty accurate. You may also need to edit /etc/X11/XF86Config-4 to change the driver name from "nv" to "nvidia". Not also, because of the way they set up the kernel source rpm, I believe you have to build it as root. I hope this helps. Paul Misner Resuilding from the source rpms is really easy.
RE: Re: [Cooker] How to rebuild nvidia-kernel for rc1
In fact the drivers was build and installed, but when you try to install nvidia-glx there is an error about "failed dependencies, nvidia-kernel" is needed"). I have not the package nvidia-kernel rebuilt and I thought that the crashes could be due to that.Just the nvidia.o is present in /usr/src/RPM/BUILD/NVIDIA-KERNEL/ and doing from this directory a make install it runs, but with the mentioned crashes. Francisco Alcaraz Murcia (Spain) - Mensaje Original - Remitente: [EMAIL PROTECTED] Fecha: Jueves, Febrero 20, 2003 5:08 pm Asunto: Re: [Cooker] How to rebuild nvidia-kernel for rc1 > On Thu, 20 Feb 2003 08:00:50 -0800 (PST), [EMAIL PROTECTED] wrote: > > > > > On Thu, 20 Feb 2003 [EMAIL PROTECTED] wrote: > > > > > I have tryed to rebuild the nvidia-kernel source file, but I > have several > > > error messages. > > what kind of messages? It works for me (except that you have to > set some > > environment var. for ignoring the gcc mismatch, but you can read > I assume) > > > > > > Has anyone been able to rebuild it? I have dri enabled thanks > to a comment > > > post for a person in the pclinuxonline about this subject, but > some> > programes > > > still crashes (I think the solution is not perfect). > > > > hmm...dri?? AFAIK nvidia does not use DRI? And I thought you were > not able > > to compile? > > > > d. > > Like you said, was the question about being able to build the > driver, or > getting your system to work with the driver? > > It is not uncommon for some messages to appear because the version > of GCC in > 9.1 is newer than the code was written for. These are warnings, > not errors, > and the driver builds perfectly. As long as you have the kernel > source RPM > installed, there should be no issues. The error messages that > occur without > the kernel source RPM present are not very clear, and could be what > he is > talking about. > > Paul Misner > >
RE: Re: [Cooker] How to rebuild nvidia-kernel for rc1
I means that changing a line in the makefile created in /usr/src/RPM/BUILD/NVIDIA-KERNEl/ directory and typing make install the modules (nvidia.o) was created and installed, so games as Chromium or Tuxracer now can be played, but it is a non real nvidia-kernel package so it gives me some problems. So I have 3d acceleration enabled after that, even the nvidia screen appears when I start X, but some crashes means that this is not a perfect solution. I would like to rebuild the nvidia-kernel file from the rpm source under rc1. Anyone could help me? Thanks so much in advance Francisco Alcaraz - Mensaje Original - Remitente: [EMAIL PROTECTED] Fecha: Jueves, Febrero 20, 2003 4:43 pm Asunto: Re: [Cooker] How to rebuild nvidia-kernel for rc1 > On Thu, 20 Feb 2003 [EMAIL PROTECTED] wrote: > > > I have tryed to rebuild the nvidia-kernel source file, but I have > several > > error messages. > what kind of messages? It works for me (except that you have to set > some > environment var. for ignoring the gcc mismatch, but you can read I > assume)> > > Has anyone been able to rebuild it? I have dri enabled thanks to > a comment > > post for a person in the pclinuxonline about this subject, but some > > programes > > still crashes (I think the solution is not perfect). > > hmm...dri?? AFAIK nvidia does not use DRI? And I thought you were > not able > to compile? > > d. > > > >
Re: [Cooker] How to rebuild nvidia-kernel for rc1
Hola, yo uso la cooker, y el kernel source de Nvidia se compila sin problemas. Sólo tuve que poner una variable de entorno, la que te dice cuando tratas de compilar. Qué errores te daba? -- Pedro [EMAIL PROTECTED] On Thu, 2003-02-20 at 16:30, [EMAIL PROTECTED] wrote: > I have tryed to rebuild the nvidia-kernel source file, but I have several > error messages. > > Has anyone been able to rebuild it? I have dri enabled thanks to a comment > post for a person in the pclinuxonline about this subject, but some > programes > still crashes (I think the solution is not perfect). > > Thanks so much in advance.
Re: [Cooker] How to rebuild nvidia-kernel for rc1
On Thu, 20 Feb 2003 08:00:50 -0800 (PST), [EMAIL PROTECTED] wrote: > > On Thu, 20 Feb 2003 [EMAIL PROTECTED] wrote: > > > I have tryed to rebuild the nvidia-kernel source file, but I have several > > error messages. > what kind of messages? It works for me (except that you have to set some > environment var. for ignoring the gcc mismatch, but you can read I assume) > > > > Has anyone been able to rebuild it? I have dri enabled thanks to a comment > > post for a person in the pclinuxonline about this subject, but some > > programes > > still crashes (I think the solution is not perfect). > > hmm...dri?? AFAIK nvidia does not use DRI? And I thought you were not able > to compile? > > d. Like you said, was the question about being able to build the driver, or getting your system to work with the driver? It is not uncommon for some messages to appear because the version of GCC in 9.1 is newer than the code was written for. These are warnings, not errors, and the driver builds perfectly. As long as you have the kernel source RPM installed, there should be no issues. The error messages that occur without the kernel source RPM present are not very clear, and could be what he is talking about. Paul Misner
Re: [Cooker] How to rebuild nvidia-kernel for rc1
Yup, did a rsync fresh install last night, then I rebuilt both nvidia src rpms with out a problem. Darren [EMAIL PROTECTED] How far is it from time to time ?
Re: [Cooker] How to rebuild nvidia-kernel for rc1
On Thu, 20 Feb 2003 [EMAIL PROTECTED] wrote: > I have tryed to rebuild the nvidia-kernel source file, but I have several > error messages. what kind of messages? It works for me (except that you have to set some environment var. for ignoring the gcc mismatch, but you can read I assume) > > Has anyone been able to rebuild it? I have dri enabled thanks to a comment > post for a person in the pclinuxonline about this subject, but some > programes > still crashes (I think the solution is not perfect). hmm...dri?? AFAIK nvidia does not use DRI? And I thought you were not able to compile? d.