LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Cant install NVIDIA Drivers on FedoraCore 5 (https://www.linuxquestions.org/questions/fedora-35/cant-install-nvidia-drivers-on-fedoracore-5-a-509101/)

freddy2000 12-10-2006 10:25 AM

Cant install NVIDIA Drivers on FedoraCore 5
 
Hi

i am trying to install NVIDIA-Linux-x86-1.0-9629-pkg1.run drivers on Fedora Core 5.

Code:

[freddy@fredhat linux]$ uname -am
Linux fredhat 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux

i have successfully installed the following rpms

kernel-2.6.15-1.2054_FC5.src.rpm
kernel-devel-2.6.15-1.2054_FC5.i686.rpm

this is what i have done to try and install them without any luck.

1. Ctrl + Alt + Backspace
2. sudo sh NVIDIA-Linux-x86-1.0-9629-pkg1.run

then i get this error:

Code:

WARNING: The path to the `modprobe` utility reported by
'/proc/sys/kernel/modprobe', `/sbin/modprobe`, differs from the path
determined by `nvidia-installer`, `/sbin//modprobe`. Please verify
that `/sbin/modprobe` works correctly and correct the path in
'/proc/sys/kernel/modprobe' if it does not.

then this error:

Code:

ERROR: Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
command line option.

so i tryed to do this:

1. Ctrl + Alt + Backspace
2. sudo sh NVIDIA-Linux-x86-1.0-9629-pkg1.run --kernel-source-path=/usr/src/kernels/2.6.15-1.2054_FC5-i686/

and i got the following errors:


Code:

WARNING: The path to the `modprobe` utility reported by
'/proc/sys/kernel/modprobe', `/sbin/modprobe`, differs from the path
determined by `nvidia-installer`, `/sbin//modprobe`. Please verify
that `/sbin/modprobe` works correctly and correct the path in
'/proc/sys/kernel/modprobe' if it does not.

and

Code:

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.

here is a link to the 2 nvidia-installer.log files:

Method 1 nvidia-installer.log

Method 2 nvidia-installer.log (with the source path included)

I have been at this for weeks and read 1000000000 tutorials on this topic but none have seemed to work
any help would be greatly appreciated.

reddazz 12-10-2006 10:34 AM

I think the problem here is that you seem to be running an smp kernel but installed the kernel-devel for the i686. Do you really need an SMP kernel? If not, try using the i686 kernel and try installing the nvidia drivers.

freddy2000 12-10-2006 10:39 AM

im confused about the whole SMP thing , apparently smp is for dual core / multi processor. i just have a p4 3.0 Ghz cpu :S

How exactly do i change the i686 kernel ?
linux noob right here

reddazz 12-10-2006 10:58 AM

When your system boots and the grub screen shows up, press enter. You will see a menu with the kernels listed, select the one that does not have "smp" in the label and press enter. Your system will boot from that kernel. After that do,
Code:

rpm -qa | grep -i kernel
A list of installed kernels will be listed. Uninstall the smp kernel by doing something like
Code:

$rpm -e kernel-version
e.g.
Code:

$rpm -e kernel-2.6.15-1.2054_FC5smp

freddy2000 12-11-2006 03:55 AM

i tryed using the non-smp kernel and it still didnt work :S

any other ideas ?

reddazz 12-11-2006 05:57 AM

Can you post the output of doing the following
Code:

rpm -qa | grep -i kernel

freddy2000 12-14-2006 04:01 AM

Here is the output:

Code:

[freddy@fredhat ~]$ rpm -qa | grep -i kernel
kernel-smp-2.6.15-1.2054_FC5
kernel-module-ntfs-2.6.15-1.2054_FC5-2.1.26-0.rr.10.0
kernel-2.6.15-1.2054_FC5
kernel-devel-2.6.15-1.2054_FC5
kernel-module-ntfs-2.6.15-1.2054_FC5smp-2.1.26-0.rr.10.0


freddy2000 12-17-2006 05:53 AM

Anyone got any ideas ?

reddazz 12-18-2006 03:56 AM

Quote:

Originally Posted by freddy2000
Anyone got any ideas ?

Have you tried uninstalling the smp kernel so that you only have the generic i686 kernel.

freddy2000 12-18-2006 04:56 AM

YES !!!! finally got it working

i upgraded to a newer kernel and it worked fine

now i have another problem, i think im supposed to change something in my xorg.conf but i have no idea what, and also i have dual monitors. any idea what i have to change to get my second monitor to work ?

my second monitor is a Viewsonic VA1912w 19" widescreen with 1400x900 res.
and my video card is a NVIDIA Gefore 6800 GS 256mb

Here is my current xorg.conf
Code:

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier    "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
        FontPath    "unix/:7100"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:swapcaps"
# Or if you just want both to be control, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Samsung SyncMaster 730B (Digital)"
        DisplaySize  340        270
 ### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "vesa"
        VendorName  "Videocard vendor"
        BoardName  "nVidia Corporation Unknown device 00f6"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1280x1024"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode        0666
EndSection


reddazz 12-18-2006 10:14 AM

Maybe you should start a new thread since your question seems to be quite different from the original one.


All times are GMT -5. The time now is 01:57 PM.