Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-09-05, 12:32 PM   #1
m4rtin
Registered User
 
Join Date: Apr 2005
Posts: 11
Default how to install driver on FC4 AMD64?

Hello,

I got an AMD64 machine with FC4.

i cant get the livna FC3 rpm's installed because of the kernel (2.6.11-1.1177_FC4)

And with the installer i have also troubles, first it want's to download the kernel interface, but their isn't one for my system. Compiling the kernel with the source also fails because its complaining about missing libc, but i have the gnu lib c installed.

What to do?
m4rtin is offline   Reply With Quote
Old 04-10-05, 12:25 AM   #2
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: how to install driver on FC4 AMD64?

I'd suggest you download the installer from nvidia.com (http://download.nvidia.com/XFree86/L...-7174-pkg2.run) and execute it.
This version, unlike the RPM, will build the kernel module using the FC4 kernel.
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote
Old 04-10-05, 04:21 AM   #3
m4rtin
Registered User
 
Join Date: Apr 2005
Posts: 11
Default Re: how to install driver on FC4 AMD64?

Hello,

I have tried it, first i installed the kernel.src.rpm for my distro.

Then it complained it didnt find my kernel source!

I tried extracting the source from rpm, and put it in /home/user/install/kernel, and tried start the installer with --kernel-source-path=/home/user/install/kernel, then it complained about missing libc

Then i installed all the glibc rpm's i could find. and now it has again some strange error, i could not understand.
m4rtin is offline   Reply With Quote
Old 04-10-05, 04:27 AM   #4
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: how to install driver on FC4 AMD64?

Did you rpmbuild the kernel source after you downloaded it?

If not:
Install the source RPM. (I'm using apt-get install kernel-source#version)
$ cd usr/src/redhat/SPECS/
$ rpmbuild -bp --target=<arch> kernel.spec
$ ln -sf /usr/src/redhat/BUILD/kernel-2.x.x/linux-2.x.x /usr/src/linux
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote
Old 04-10-05, 04:43 AM   #5
m4rtin
Registered User
 
Join Date: Apr 2005
Posts: 11
Default Re: how to install driver on FC4 AMD64?

tnx gilboa,

I was not aware about rpmbuild etc, i just tought everythings okay when i install the source rpm.

However when i try to make the spec file, the script fails

$ rpmbuild -bp --target=<arch> kernel.spec

PHP Code:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from
/usr/include/sys/socket.h:35,
                 
from /usr/include/netinet/in.h:24,
                 
from /usr/include/arpa/inet.h:23,
                 
from scripts/basic/fixdep.c:115:
/
usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
scripts
/basic/fixdep.c: In function 'use_config':
scripts/basic/fixdep.c:201: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:201: error: (Each undeclared identifier is reported only once
scripts
/basic/fixdep.c:201: error: for each function it appears in.)
scripts/basic/fixdep.c:201: warning: unused variable 's'
scripts/basic/fixdep.c: In function 'parse_config_file':
scripts/basic/fixdep.c:245: warning: pointer targets in passing argument 1 of 'use_config' differ in signedness
scripts
/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:297: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:299: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness
scripts
/basic/fixdep.c:299: warning: pointer targets in assignment differ in signedness
scripts
/basic/fixdep.c:297: warning: unused variable 's'
make[1]: *** [scripts/basic/fixdep] Error 1
make
: *** [scripts_basic] Error 2
error
: Bad exit status from /var/tmp/rpm-tmp.28617 (%prep)
But now i know at least how it works...
m4rtin is offline   Reply With Quote
Old 04-10-05, 05:52 AM   #6
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: how to install driver on FC4 AMD64?

Did you install the kernel-headers rpm?
$ rpm -qa glibc-kernheaders ?


Gilboa
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote
Old 04-10-05, 06:01 AM   #7
m4rtin
Registered User
 
Join Date: Apr 2005
Posts: 11
Default Re: how to install driver on FC4 AMD64?

yes i installed them, but they are 2.4-9, is that correct, since my kernel is 2.6-x maybe its not compatible...?

PHP Code:
rpm -qa glibc-kernheaders
glibc
-kernheaders-2.4-9.1.90
m4rtin is offline   Reply With Quote
Old 04-10-05, 06:10 AM   #8
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: how to install driver on FC4 AMD64?

2.4.9 is OK.
Please post the output of the following commands:
ls /usr/src/include/linux
ls /usr/src/linux

Gilboa
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote

Old 04-10-05, 06:15 AM   #9
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: how to install driver on FC4 AMD64?

do
yum install kernel-devel
Dragoran is offline   Reply With Quote
Old 04-10-05, 06:59 AM   #10
m4rtin
Registered User
 
Join Date: Apr 2005
Posts: 11
Default Re: how to install driver on FC4 AMD64?

ah that may the the problem:

PHP Code:
[martin@m4rtin ~]$ ls /usr/src/include/linux
ls
: /usr/src/include/linux: Onbekend bestand of map
[martin@m4rtin ~]$ ls /usr/src/linux
ls
: /usr/src/linux: Onbekend bestand of map
its dutch, and means it dont exists.

PHP Code:
cd /usr/src
[martin@m4rtin src]$ ls
redhat
m4rtin is offline   Reply With Quote
Old 04-10-05, 07:31 AM   #11
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: how to install driver on FC4 AMD64?

Opps.

If I recall the rpmbuild command should be:
$ rpmbuild -bp --target=x86-64 kernel.spec
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote
Old 04-10-05, 07:47 AM   #12
m4rtin
Registered User
 
Join Date: Apr 2005
Posts: 11
Default Re: how to install driver on FC4 AMD64?

PHP Code:
[root@m4rtin SPECS]# rpmbuild -bp --target=x86-64 kernel-2.6.spec
Building target platforms: x86-64
Building
for target x86-64
error
: Architecture is not included: x86

[root@m4rtin SPECS]# rpmbuild -bp --target=x86_64 kernel-2.6.spec

(that last one works)
but i still got that error
m4rtin is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 kbulgrien NVIDIA Linux 3 06-29-12 08:27 AM
PC deadlock when running X for ~2 min after Debian/wheezy driver install TpmKranz NVIDIA Linux 0 05-31-12 04:53 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
How to install my nvdia driver... danyal_r NVIDIA Linux 2 10-11-02 12:06 PM
Getting bizarre errors with driver install clutch NVIDIA Linux 1 09-14-02 09:53 PM

All times are GMT -5. The time now is 09:18 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.