Page 1 of 1

Fedora Core 5 woes

Posted: Mon Sep 04, 2006 10:50 pm
by Kills On Site
Well I have left Fedora Core 5 alone for a while now, but decided to give it another try. I want to install an nVIDIA driver so the screen will be on center. I have downloaded and installed every package it said I needed and have set the kernel source path to where the kernel source is, but I still run into error, here is the last portion of the installer log
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
-> Kernel messages:
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Adding 1048568k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1
across:1048568k
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses
genfs_contexts
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (4095 buckets, 32760 max) - 224 bytes per conntrack
eth0: link up, 10Mbps, half-duplex, lpa 0x0000
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.7
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
eth0: no IPv6 routers present
atkbd.c: Unknown key pressed (translated set 2, code 0xbb on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e03b <keycode>' to make it known.
atkbd.c: Unknown key released (translated set 2, code 0xbb on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e03b <keycode>' to make it known.
nvidia: version magic '2.6.17-1.2174_FC5 mod_unload 586 REGPARM 4KSTACKS
gcc-4.1' should be '2.6.17-1.2174_FC5 mod_unload 686 REGPARM 4KSTACKS
gcc-4.1'
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at http://www.nvidia.com.


can anoyone tell me what is wrong with it?

Posted: Tue Sep 05, 2006 12:27 am
by +JuggerNaut+
misantropia will be along shortly. kthx.

Posted: Tue Sep 05, 2006 9:45 am
by ^misantropia^
Reporting for duty.
nvidia: version magic '2.6.17-1.2174_FC5 mod_unload 586 REGPARM 4KSTACKS
gcc-4.1' should be '2.6.17-1.2174_FC5 mod_unload 686 REGPARM 4KSTACKS
gcc-4.1'
Apparently the module isn't build / linked correctly.

1) Are you using the NVIDIA installer (and if so, which build) or the RPM / tarball?
2) What's the version of your kernel (`uname -r`)?

EDIT: and for completeness sake, were the kernel and the module built with the same version of gcc? If not, you're bound to run into trouble. `CC=gcc-3.3 sh NVIDIA-Linux-x86-1.0-8762-pkg1.run` should fix it.

Posted: Tue Sep 05, 2006 9:06 pm
by Kills On Site
the nvidia file is NVIDIA-Linux-x86-1.0-8774-pkg1.run my kernel is 2.6.17-1.2174_FC5

I tried the command you gave at the end ^misantropia^, along with --kernel-source-path /urs/src/kernels/2.6.17-1.2174_FC5-i586 and it did not work.

Posted: Tue Sep 05, 2006 11:15 pm
by ^misantropia^
You've installed the wrong kernel source. The version magic error indicates you're running an i686 kernel but you're compiling the driver against the i586 source.

Posted: Wed Sep 06, 2006 4:41 am
by Deathshroud
Don't worry KoS, once you get Linux setup its solid. That's if that ever happens.

What I'm really trying to say is, is it really worth it?