LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   kernel source and nvidia drivers (https://www.linuxquestions.org/questions/linux-hardware-18/kernel-source-and-nvidia-drivers-141606/)

Ryknow215 02-02-2004 08:23 PM

kernel source and nvidia drivers
 
So i've been trying to install the latest drivers for my geforce 4 mx440 8x agp but i haven't had much luck. i thought i was really close today, the only problem is that now i don't know exactly where the kernel-source for fedora core 1 is. i downloaded gcc32-3.2.3-6.src.rpm and that installed without any errors. Then I downloaded kernel-source-2.4.22-1.2149.nptl.rpm but when i try to run it i get:

error: kernel-source-2.4.22-1.2149.nptl.i386.rpm: V3 DSA signature: BAD, key ID 4f2a6fd2
error: kernel-source-2.4.22-1.2149.nptl.i386.rpm cannot be installed

how can i install this and locate the kernel source so that i can proceed w/ the nvidia installation? there has really got to be an easier way to do this...

Rounan 02-03-2004 09:57 AM

Official kernel packages are usually signed to make sure you're getting what you think you're getting - in this case, you're not. :)

Make sure that the kernel source package is the one for the kernel you're running, download it from an official Fedora site, and once you're REALLY sure it's the package you want you can force it to install - do a man rpm to figure out the syntax.

--Rounan

Ryknow215 02-03-2004 02:34 PM

i'm still pretty lost. i downloaded the exact kernel source for my kernel version and even a force install won't work.

[root@d139h128 ryan]# uname -r
2.4.22-1.2149.nptl

and i'm installing kernel-source-2.4.22-1.2149.nptl.i386.rpm. what is going on?

[root@d139h128 ryan]# rpm -ivh kernel-source-2.4.22-1.2149.nptl.i386.rpm --force
error: kernel-source-2.4.22-1.2149.nptl.i386.rpm: V3 DSA signature: BAD, key ID 4f2a6fd2
error: kernel-source-2.4.22-1.2149.nptl.i386.rpm cannot be installed

Or am i screwing up the command line?

Rounan 02-03-2004 02:54 PM

A bad DSA signature means that the package you're trying to install was improperly certified. (I think)
It's a security thing, so people don't insert their own (malicious) code into a kernel and masquerade it as official.
Where did you download the package from? try to find one from an official site.

--Rounan

Ryknow215 02-03-2004 06:49 PM

Aight Rounan you seem knowledgeable so i've got some more questions for you. You were right about the dsa signature, so i found kernel-source-2.4.22-1.2149.nptl.i386.rpm on another ftp site that installed without a hitch. Great! I finally made some progress. Next, i edited my XF86Config, then my /etc/inittab, exited X and logged in as root.

I went to my home folder and did: # rpmbuild --rebuild NVIDIA_kernel-1.0-2313.src.rpm. A bunch of stuff went by and i got some errors at the end. I tryed it again, except i did # export CC=gcc32 before i did the rpmbuild and it did more than it had previously, but at the end i got an error saying:

/usr/src/redhat/BUILD/${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}-${RPM_PACKAGE_RELEASE}/debugfiles.list
no file or directory exists

It strikes me as strange that it's looking into the redhat folder when i'm not running redhat. Any ideas as to what to do next??

Rounan 02-03-2004 08:53 PM

Eeeeekkkk.....
Funny part is I'm not knowledgeable. ;)

That problem sounds very redhat-specific... and I've only ever worked with Debian. So I'm afraid I have very little idea. All that means to me is that it's looking for a file, and hasn't found it where it expects it to be.

try:
locate debugfiles.list

What are you trying to do with rpmbuild? Can't you just download and run the binary driver install from Nvidia?

--Rounan

Aussie 02-04-2004 05:24 AM

Try downloading the nvidia installer and using that instead of the rpm's.

Ryknow215 02-04-2004 03:48 PM

Success! After tooling around with a couple rpms and the nvidia installer, i finally got it to work. Now i just have to find Unreal Tournament 2003 for Linux somewhere, when i run the windows version w/ WINE it doesn't have sound and there's a cursor in the middle of the screen. Thanks for all the help guys, it's appreciated :D.


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