 |
 |
 |
 |
| Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that. |

20th March 2006, 02:45 PM
|
 |
Registered User
|
|
Join Date: Jan 2004
Posts: 456

|
|
|
FC5 kernel nvidia/ati how-to
Just a short how-to/FYI
If the new kernel isn't in updates by the time you eager beavers install
Code:
$ su -
# cd /etc/yum.repos.d
# vi dave-kernels.repo
the file
cat /etc/yum.repos.d/dave-kernels.repo
Code:
[dave-kernels]
name=Fedora Core $releasever - $basearch - Dave's Kernels
baseurl=http://people.redhat.com/davej/kernels/Fedora/FC5/RPMS.kernel/
enabled=1
gpgcheck=0
Update the kernel and some other things you need
Code:
# yum update kernel
# yum install kernel-devel fedora-rpmdevtools subversion
# reboot
As your user
Code:
$ fedora-buildrpmtree
$ cd $HOME/rpmbuild
$ mkdir src.rpms && cd src.rpms
The nvidia driver:
$ wget -c http://rpm.livna.org/fedora/development/SRPMS/xorg-x11-drv-nvidia-1.0.8178-7.lvn5.src.rpm
$ rpm -ivh xorg-x11-drv-nvidia-1.0.8178-7.lvn5.src.rpm
$ cd ../SPECS
$ rpmbuild -ba xorg-x11-drv-nvidia.spec
The kernel module
$ cd $HOME/rpmbuild/src.rpms
$ svn co svn://svn.livna.org/rlo/packages/nvidia-kmod/
$ cd nvidia-kmod/devel
$ cp * $HOME/rpmbuild/SOURCES/
$ cp nvidia-kmod.spec $HOME/rpmbuild/SPECS
$ cd $HOME/rpmbuild/SOURCES
$ wget -c http://www.leemhuis.info/files/fedorarpms/KMODFILES.lvn/nvidia-glx-kmod-data-1.0.8178.tar.bz2
$ cd $HOME/rpmbuild/SPECS
$ vi nvidia-kmod.spec
change these two values
#%define kversion 2.6.15-1.20_FC5
%define kversion `uname -r`
#%define kvariants %{?buildup:""} %{?buildsmp:smp} %{?buildxen:xen0} %{?buildkdump:kdump}
%define kvariants ""
$ rpmbuild -ba nvidia-kmod.spec --target $(uname -m)
Finishing up
$ su -
# cd $USERS_HOME/rpmbuild/RPMS/${ARCH}/
# rpm -ivh kmod-nvidia* xorg-x11-drv-nvidia*
# /usr/sbin/nvidia-config-display enable
# init 3; init 5
Done, now go play games or setup twinview.....
THe same process should work for ati
__________________
aka "jlc" on irc.
Main Desktop:
Rawhide x86_64
MSI K8N NEO2 Platinum
AMD Athlon 64 3200+ Winchester @ 2350MHz
CORSAIR XMS TWINX1024-3200C2 2GB
BFG Nvidia GeForce 6800GT OC @ 370MHz 256MB GDDR3
2x80GB SATA 150 Segate Raid 0
Last edited by cybrjackle; 20th March 2006 at 05:24 PM.
|

20th March 2006, 02:52 PM
|
 |
Registered User
|
|
Join Date: Jan 2004
Posts: 456

|
|
Oh, edit the nvidia-kmod.spec and take out xen and kerneldump
Change 1 to 0
Code:
%define buildxen 0
%define buildkdump 0
__________________
aka "jlc" on irc.
Main Desktop:
Rawhide x86_64
MSI K8N NEO2 Platinum
AMD Athlon 64 3200+ Winchester @ 2350MHz
CORSAIR XMS TWINX1024-3200C2 2GB
BFG Nvidia GeForce 6800GT OC @ 370MHz 256MB GDDR3
2x80GB SATA 150 Segate Raid 0
|

20th March 2006, 03:01 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: Norway
Age: 27
Posts: 168

|
|
Thank you for info and for kernels, but isn't the first step too complicated?
I think it's easier just to visit
http://people.redhat.com/davej/kerne...5/RPMS.kernel/
and download what you need
|

20th March 2006, 03:09 PM
|
 |
Registered User
|
|
Join Date: Jan 2004
Posts: 456

|
|
|
Either way, yum install or go d/l and rpm -ivh them.
__________________
aka "jlc" on irc.
Main Desktop:
Rawhide x86_64
MSI K8N NEO2 Platinum
AMD Athlon 64 3200+ Winchester @ 2350MHz
CORSAIR XMS TWINX1024-3200C2 2GB
BFG Nvidia GeForce 6800GT OC @ 370MHz 256MB GDDR3
2x80GB SATA 150 Segate Raid 0
|

20th March 2006, 04:27 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: Norway
Age: 27
Posts: 168

|
|
|
hmmm, when I try to build kernel module for ati by command:
rpmbuild -ba fglrx-kmod.spec --target $(uname -m)
it tries to build it for
i686, xen0, kdump and smp kernels, it stops with error while building module for xen0, how can I build the module just for i686?
|

20th March 2006, 04:44 PM
|
 |
Registered User
|
|
Join Date: Jan 2004
Posts: 456

|
|
Quote:
|
Originally Posted by egr
hmmm, when I try to build kernel module for ati by command:
rpmbuild -ba fglrx-kmod.spec --target $(uname -m)
it tries to build it for
i686, xen0, kdump and smp kernels, it stops with error while building module for xen0, how can I build the module just for i686?
|
vi fglrx*
and change 1 to 0
%define buildsmp 0
%define buildxen 0
%define buildkdump 0
__________________
aka "jlc" on irc.
Main Desktop:
Rawhide x86_64
MSI K8N NEO2 Platinum
AMD Athlon 64 3200+ Winchester @ 2350MHz
CORSAIR XMS TWINX1024-3200C2 2GB
BFG Nvidia GeForce 6800GT OC @ 370MHz 256MB GDDR3
2x80GB SATA 150 Segate Raid 0
|

20th March 2006, 05:05 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: Norway
Age: 27
Posts: 168

|
|
thank you for your advice, but it didnt help me, I think something wrong with the script, but I figured out that I can just define kvariants to nothing
Quote:
|
%define kvariants %{?buildup:""} %{?buildsmp:smp} %{?buildxen:xen0} %{?buildkdump:kdump}
|
to
and it helped
|

20th March 2006, 05:12 PM
|
 |
Registered User
|
|
Join Date: Jan 2004
Posts: 456

|
|
Quote:
|
Originally Posted by egr
thank you for your advice, but it didnt help me, I think something wrong with the script, but I figured out that I can just define kvariants to nothing
to
and it helped
|
Yep, sorry I missed that portion when I was editing
Thx!
Code:
#%define kversion 2.6.15-1.20_FC5
%define kversion `uname -r`
#%define kvariants %{?buildup:""} %{?buildsmp:smp} %{?buildxen:xen0} %{?buildkdump:kdump}
%define kvariants ""
__________________
aka "jlc" on irc.
Main Desktop:
Rawhide x86_64
MSI K8N NEO2 Platinum
AMD Athlon 64 3200+ Winchester @ 2350MHz
CORSAIR XMS TWINX1024-3200C2 2GB
BFG Nvidia GeForce 6800GT OC @ 370MHz 256MB GDDR3
2x80GB SATA 150 Segate Raid 0
Last edited by cybrjackle; 20th March 2006 at 05:23 PM.
|

20th March 2006, 07:53 PM
|
|
Registered User
|
|
Join Date: Apr 2005
Location: Norway
Posts: 48

|
|
|
hmm I get:
[root@allyse i686]# rpm -ivh kmod-nvidia* xorg-x11-drv-nvidia*
error: File not found by glob: xorg-x11-drv-nvidia*
error: Failed dependencies:
nvidia-kmod-common = 1.0.8178 is needed by kmod-nvidia-1.0.8178-3.2.6.15_1.2059_FC5.i686
|

20th March 2006, 11:26 PM
|
 |
Registered User
|
|
Join Date: Jan 2004
Posts: 456

|
|
|
ls /home/allyse/rpmbuild/RPMS/i686
__________________
aka "jlc" on irc.
Main Desktop:
Rawhide x86_64
MSI K8N NEO2 Platinum
AMD Athlon 64 3200+ Winchester @ 2350MHz
CORSAIR XMS TWINX1024-3200C2 2GB
BFG Nvidia GeForce 6800GT OC @ 370MHz 256MB GDDR3
2x80GB SATA 150 Segate Raid 0
|

21st March 2006, 04:12 AM
|
|
Registered User
|
|
Join Date: Dec 2004
Location: Scotland
Posts: 14

|
|
Quote:
|
Originally Posted by allyse
hmm I get:
[root@allyse i686]# rpm -ivh kmod-nvidia* xorg-x11-drv-nvidia*
error: File not found by glob: xorg-x11-drv-nvidia*
error: Failed dependencies:
nvidia-kmod-common = 1.0.8178 is needed by kmod-nvidia-1.0.8178-3.2.6.15_1.2059_FC5.i686
|
me too
|

21st March 2006, 04:28 AM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
See My howto on the same subject for more info -- You have to install 2 rpms and build 2 more:
install -> kernel & kernel-devel
build -> xorg-drv-nvidia & nvidia-kmod
Firewing1
|

21st March 2006, 01:59 PM
|
|
Registered User
|
|
Join Date: Dec 2004
Location: Scotland
Posts: 14

|
|
Quote:
|
Originally Posted by Firewing1
See My howto on the same subject for more info -- You have to install 2 rpms and build 2 more:
install -> kernel & kernel-devel
build -> xorg-drv-nvidia & nvidia-kmod
Firewing1
|
cheers for that, worked a treat!
|

22nd March 2006, 06:59 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 1

|
|
Please help me,
when i do
Code:
# rpm -ivh kmod-nvidia* xorg-x11-drv-nvidia*
at the end
I always get this error msg:
Code:
[root@localhost i686]# rpm -ivh kmod-nvidia* xorg-x11-drv-nvidia*
error: Failed dependencies:
nvidia-kmod-common = 1.0.8178 is needed by kmod-nvidia-1.0.8178-5.2.6.16_1.2070_FC5.i686
following files are in this folder:
kmod-nvidia-1.0.8178-5.2.6.16_1.2070_FC5.i686.rpm
nvidia-kmod-debuginfo-1.0.8178-5.2.6.16_1.2070_FC5.i686.rpm
xorg-x11-drv-nvidia-1.0.8178-7.lvn5.src.rpm
|

22nd March 2006, 09:56 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
I dunno there -- Those are the instructions that worked for my computer... I guess we'll have to wait for Livna to release the offical RPMS.
Firewing1
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 02:13 (Sunday, 26-05-2013)
|
|
 |
 |
 |
 |
|
|