LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-02-2004, 08:23 PM   #1
Ryknow215
Member
 
Registered: Dec 2003
Location: Connecticut
Distribution: Fedora Core 2
Posts: 55

Rep: Reputation: 15
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...
 
Old 02-03-2004, 09:57 AM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
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
 
Old 02-03-2004, 02:34 PM   #3
Ryknow215
Member
 
Registered: Dec 2003
Location: Connecticut
Distribution: Fedora Core 2
Posts: 55

Original Poster
Rep: Reputation: 15
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?
 
Old 02-03-2004, 02:54 PM   #4
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
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
 
Old 02-03-2004, 06:49 PM   #5
Ryknow215
Member
 
Registered: Dec 2003
Location: Connecticut
Distribution: Fedora Core 2
Posts: 55

Original Poster
Rep: Reputation: 15
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??
 
Old 02-03-2004, 08:53 PM   #6
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
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
 
Old 02-04-2004, 05:24 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Try downloading the nvidia installer and using that instead of the rpm's.
 
Old 02-04-2004, 03:48 PM   #8
Ryknow215
Member
 
Registered: Dec 2003
Location: Connecticut
Distribution: Fedora Core 2
Posts: 55

Original Poster
Rep: Reputation: 15
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 .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel-Source, NVIDIA- Drivers Sherpa Linux - Software 20 11-09-2004 01:58 PM
Kernel source location? (nVidia drivers) Neoslash Fedora 3 03-28-2004 12:10 AM
Nvidia drivers and kernel source trees anticitan Linux - Software 2 03-24-2004 11:33 PM
Install nVidia drivers? (Need Kernel source!) Jojo87 Linux - Newbie 6 02-15-2004 12:32 AM
nVidia Drivers needs kernel source eats85 Linux - Software 6 08-28-2003 12:56 PM


All times are GMT -5. The time now is 04:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration