PDA

View Full Version : FC6, nVidia will be the death of me.


benjo
1st December 2006, 07:50 AM
I've recently fresh installed fc5. Everything worked fine. I installed nVidia just fine too.

I've now upgraded to FC6 and im having problems with nVidia. I've been following the prompts at this site "http://www.mjmwired.net/resources/mjm-fedora-fc6.html#nvidia".
When i do a yum install i get this
Transaction Check Error: package kernel-2.6.18-1.2849.fc6 is already installed
file /boot/System.map-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
file /boot/config-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
file /boot/symvers-2.6.18-1.2849.fc6.gz from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
file /boot/vmlinuz-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6I don't understand what this means. To me it looks like nVidia is already installed or something??? (can you tell how much of a noob i am at the moment?)
So next i did this
rpm -aq | grep nvidiaand i get nothing in my output. Does that mean it's not installed?

Next i tried the "manual" install by trying to match a "kmod-nvidia" driver with a "xorg-x11-drv-nvidia" driver with my kernel.
So 1st i do
uname -rm
and get
2.6.18-1.2849.fc6 i686Next i go to "http://rpm.livna.org/fedora/6/" and find:
1. kmod-nvidia-1.0.9629-1.2.6.18_1.2849.fc6.i686.rpm (seems to match the kernel????)
2. xorg-x11-drv-nvidia-1.0.9629-1.lvn6.i386.rpm (seems to match the kmod???)
Next, sudo rpm -ivh kmod-nvidia-1.0.9629-1.2.6.18_1.2849.fc6.i686.rpm \ xorg-x11-drv-nvidia-1.0.9629-1.lvn6.i386.rpmand i get thiserror: Failed dependencies: kernel-i686 = 2.6.18-1.2849.fc6 is needed by kmod-nvidia-1.0.9629-1.2.6.18_1.2849.fc6.i686So i guess i should have xorg-x11-drv-nvidia-1.0.9629-1.lvn6.i686.rpm? Problem is, there's no such thing! And to make matters worse, i cant find anything on http://rpm.livna.org/fedora/6/ that matches up!
I'm i totally barking up the wrong tree here?? Am i really missing some vital piece of obvious (to you) information?
So next i try sh NVIDIA-Linux-x86-1.0-9629-pkg1.run from the Ctrl+Alt+F1 command prompt at login. After turning off X-thingy with "init 3" it starts ok but then i get some rubbish about kernel this and kernel that. I'm really lost. I started walking into water that went over my head about 3 days ago.

I thought that maybe i should do this su -c "rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2798.fc6.i686.rpm" But all i get is package kernel-2.6.18-1.2849.fc6 (which is newer than kernel-2.6.18-1.2798.fc6) is already installed
I'm going postal here. Somebody please point me to a helpful site or tell me to go back to windows or tell me to give up computing all together, anything would be helpful.

jim
1st December 2006, 09:36 AM
run this...Whats the output

rpm -q --qf='%{name}-%{version}-%{release}.%{arch}\n' kernel

benjo
1st December 2006, 10:34 AM

And there it iskernel-2.6.18-1.2798.fc6.i586
kernel-2.6.18-1.2849.fc6.i586

This is the bug i've been reading about isn't it?
Can you point me in the right direction? Thanx for your interest by the way.

Jongi
1st December 2006, 11:20 AM
This site (http://fedoraproject.org/wiki/Bugs/FC6Common) recommends:

# su -c "yum install yum-utils"
# yumdownloader kernel-2.6.18-1.2798.fc6.i686
# su -c "rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2798.fc6.i686.rpm"

Copy and paste the 3 commands (not the # though)

benjo
1st December 2006, 12:05 PM
This site (http://fedoraproject.org/wiki/Bugs/FC6Common) recommends:

# su -c "yum install yum-utils"
# yumdownloader kernel-2.6.18-1.2798.fc6.i686
# su -c "rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2798.fc6.i686.rpm"

Copy and paste the 3 commands (not the # though)
Yeah i tried that before but i keep getting the same result package kernel-2.6.18-1.2849.fc6 (which is newer than kernel-2.6.18-1.2798.fc6) is already installedI've been working with this page too "Anaconda/Updates (http://fedoraproject.org/wiki/Anaconda/Updates)" but i don't understand this line Then, boot the installer with

linux updates

and you will be prompted to provide the location of your update disk. I've copied the img to disk, do i just restart? Is this the right thing to be doing?

Jongi
1st December 2006, 01:16 PM
have you tried changing the 2798 to 2849

# yumdownloader kernel-2.6.18-1.2849.fc6.i686

benjo
2nd December 2006, 12:26 AM
Alrighty, so here's the output forrpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort

kernel-2.6.18-1.2849.fc6.i686
kernel-devel-2.6.18-1.2849.fc6.i686
kernel-headers-2.6.18-1.2849.fc6.i386
kernel-PAE-2.6.18-1.2849.fc6.i686
Everything seems to be working fine with the kernel (thankyou greatly), but im still getting a n error on startup, what do you make of this-
[root@merc ~]# /sbin/modprobe acpi-cpufreq
WARNING: Error inserting freq_table (/lib/modules/2.6.18-1.2849.fc6/kernel/drivers/cpufreq/freq_table.ko): Operation not permitted
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.18-1.2849.fc6/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device

benjo
2nd December 2006, 12:33 AM
Oh, and the nVidia drivers are working fine now. (another thankyou).

Dies
2nd December 2006, 12:43 AM
Open a terminal and type su - hit enter then your pass and type system-config-services then go to edit run level and select all now uncheck cpuspeed and save. That should fix it. You don't need it unless you're on a laptop.
You might want to check here http://forums.fedoraforum.org/showthread.php?t=102853
and disable anything you don't need, it'll speed things up a little.

benjo
2nd December 2006, 01:16 AM
HEY HEY! All is fixed now. Thanx to everyone on this page, i really appreciate the input. And im sorry for my verbose posting, ill try to keep it a bit more concise in the future and maybe do a little more reading on the subject at hand.
Thanx once agian.