nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Problem with driver/kernel... (http://www.nvnews.net/vbulletin/showthread.php?t=44724)

naad 01-26-05 01:39 PM

Problem with driver/kernel...
 
I was about to install ET but remebered that i need to install the graphics driver before, since i havent done that. so i downloaded and ran NVIDIA-Linux-x86-1.0-6629-pkg1.run but i got this error:

Code:

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
  ke the installer to attempt to download a kernel interface for your kernel f
  rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
  this means that the installer will need to compile a kernel interface for
  your kernel.
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; on Red Hat Linux systems, for example, be sure you have the
      'kernel-source' rpm installed.  If you know the correct kernel source
      files are installed, you may specify the kernel source path with the
      '--kernel-source-path' commandline option.
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

so, i need to install the source to my kernel? where can i find that? maybe i should install a new 2.6.x kerneler instead?.. im using a 2.4 one now...

thanks, naad :)

eblis 01-27-05 08:09 AM

Re: Problem with driver/kernel...
 
What distribution are you using ?

If you're using Fedora Core then you need to go to SRPMS (sorce rpms) directory (any mirror should have that directory) and get the sources for your current kernel.

If you're using Debian/Ubuntu you could use synaptic to download the sources for your kernel.


If the installed doens't find a precompiled kernel interface for you on the internet then it needs to compile one and that's why you need the sources.

marcchausse 02-09-05 09:36 PM

Re: Problem with driver/kernel...
 
Hello,

I have the same problem, but I am using Mandrake 10.1 distrib.
What do I have to do and how. I am a beginner and of course totaly lost.
I need your lights....

Thanks ++++,
Marc :beer2:

Kirdec 02-11-05 03:50 PM

Re: Problem with driver/kernel...
 
I found this page to install kernel and driver from nVidia.

http://lea-linux.org/trucs/item.575.html

I install it on my Mandrake 10.1 et now I have two screens but I can't drag windox and software from one to the other screen.

under, this my XF86Config file, if somebody have some solution to have one desktop on two screen and not two desktops on two screens.

Code:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "wacom"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Eraser1"
    Driver "wacom"
    Option "Device" "/dev/input/event0"
    Option "Type" "eraser"
    Option "Mode" "Absolute"
    Option "USB"
EndSection

Section "InputDevice"
    Identifier "Cursor1"
    Driver "wacom"
    Option "Device" "/dev/input/event0"
    Option "Type" "cursor"
    Option "Mode" "Relative"
    Option "USB"
EndSection

Section "InputDevice"
    Identifier "Stylus1"
    Driver "wacom"
    Option "Device" "/dev/input/event0"
    Option "Type" "stylus"
    Option "Mode" "Absolute"
    Option "USB"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier "monitor0"
    VendorName "Generic"
    ModelName "1280x1024 @ 74 Hz"
    HorizSync 31.5-79.0
    VertRefresh 50-90
   
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344  480  488  494  563 -hsync -vsync
   
    # Dell D800 and few Inspiron (16/10) 1280x800
    ModeLine "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848
   
    # Dell D800 and few Inspiron (16/10) 1680x1050
    ModeLine "1680x1050"  214.51  1680 1800 1984 2288  1050 1051 1054 1103
   
    # Dell D800 and few Inspiron (16/10) 1920x1200
    ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"    50.00  768  832  846 1000  576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"    63.07  768  800  960 1024  576  578  590  616
EndSection

Section "Monitor"
        Identifier "Monitor1"
        ModelName "1280x1024 @ 60 Hz"
        VendorName "Medion"
        VertRefresh 30-72
        HorizSync 55-120
EndSection

Section "Device"
    Identifier "GF4200Ti"
    VendorName "nVidia"
    BoardName "NVIDIA GeForce4 Ti4200"
    #Driver "nv"
    Driver "nvidia"
    BusID      "PCI:1:0:0"
    Option "DPMS"
    Option "TwinView" #"true"
    Option "CursorShadow" "on"
    Option "NvAgp" "2"
    Option "TwinViewOrientation" "RightOf"
    Option "MetaModes" "1280x1024,1280x1024; 1280x1024,1280x1024; 800x600,800x600; 640x480,640x480"
    Option "MetaModes" "1280x1024,1280x1024; 1280x1024,1280x1024; 800x600,800x600; 640x480,640x480"
    #Option  "ConnectedMonitor" "DFP" #;TV"
    #Option  "ConnectedMonitors" "DFP;TV"
    Option  "ConnectedMonitors" "DFP;CRT"
    #Option  "TVStandard" "PAL-B"
    #Option  "TVOutFormat" "Composite"
    #Option "VideoOverlay" "on"
    #Option "VideoGLOverlay" "on"
    Option  "SecondMonitorHorizSync" "30-72"
    Option  "SecondMonitorVertRefresh" "55-120"
EndSection

Section "Device"
    Identifier  "Device1"
    Screen 1
    Driver "nvidia"
    BusID  "PCI:1:0:0"
    Option "DPMS"
    #Option  "TVOutFormat" "Composite"
    #Option  "TVStandard" "PAL-B" #or NTSC etc
    #Option  "ConnectedMonitor" "TV-Monitor"
EndSection


Section "Screen"
    Identifier "screen0"
    Device "GF4200Ti"
    Monitor "monitor0"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 8
        Virtual 1280 1024
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Virtual 1280 1024
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Virtual 1280 1024
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Virtual 1280 1024
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen1"
    Device "Device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 8
        Virtual 1280 1024
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Virtual 1280 1024
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Virtual 1280 1024
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Virtual 1280 1024
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Eraser1" "AlwaysCore"
    InputDevice "Cursor1" "AlwaysCore"
    InputDevice "Stylus1" "AlwaysCore"
    InputDevice "Mouse1" "CorePointer"
    #Screen "screen1"
    Screen      0 "screen0"
    Screen      1 "screen1" rightof "screen0"
EndSection


BillN 02-11-05 06:58 PM

Re: Problem with driver/kernel...
 
Quote:

Originally Posted by marcchausse
Hello,

I have the same problem, but I am using Mandrake 10.1 distrib.
What do I have to do and how. I am a beginner and of course totaly lost.
I need your lights....

Thanks ++++,
Marc :beer2:


Marc have you had any luck yet? If not, you need to either install the sources off of one of the cds. There is a post here http://mandrakeusers.org/lofiversion...hp/t20052.html
that says that the kernel sources are on cd 2. Most likely your kernel version is 2.6.8.1-10mdk, and in that case the RPM you will need will be named something like kernel-source-2.6.8.1-10mdk. Install that, then try installing the NVIDIA drivers again.

marcchausse 02-15-05 11:18 AM

Re: Problem with driver/kernel...
 
Thanks BillN,
I did what you told me. And it was successfull for the installation.
Now I have another problem, but I will try to fix it with the other threads.
Thanks again
Marc

CrimsonShroud 08-25-05 11:56 AM

Re: Problem with driver/kernel...
 
Questions about responces in this thread--
I am still new to Linux and just installed Core 4 over Core 2. When I did so I lost Video for Neverwinter Nights (rpg game from Bioware). While trying to install the NVidia driver NVIDIA-Linux-x86-1.0-7676-pkg1.run, I got the came messages as those posted by naad.

With that said I am at a loss as to the response from eblis.
Where is this SRPMS directory? I can grab disc imagaes (iso) from Fedora called FC4-i386-SRPMS-disc1.iso etc. Is this what you are talking about?
Once I have the disc images do I need to load them into a dir on the PC I am trying to load the drivers onto?

Sorry but as I said this is still pretty new to me. Step by steps would be really helpful.

Thanx in advance for any help anyone can provide.

netllama 08-25-05 12:47 PM

Re: Problem with driver/kernel...
 
CrimsonShroud,
In Fedora Core 4, all you need to install is the kernel & kernel-devel RPMs. No SRPMS are needed. If you're unsure what you need, please run this command and post the output:
rpm -qa | grep kernel

Thanks,
Lonni

CrimsonShroud 08-26-05 07:25 AM

Re: Problem with driver/kernel...
 
Here is the output from the command you gave me.

kernel-2.6.11-1.1369_FC4

netllama 08-26-05 10:28 AM

Re: Problem with driver/kernel...
 
CrimsonShroud,
You need to install the kernel-devel RPM for that kernel. A better idea might be to update to the most recent FC4 kernel, and then install the kernel-devel RPM. The following commands should accomplish both for you:
yum update
yum install kernel-devel

Thanks,
Lonni J Friedman
NVIDIA Corporation

chrislholland 08-26-05 11:55 AM

Re: Problem with driver/kernel...
 
Well I seem to be having the same problem with my FC4.

I've got the most resent kernel

[root@nts]# uname -r
2.6.12-1.1398_FC4

I have also resently installed kernel-devel through yum
after doing this the install still gave an error similar to the first post.
So I downloaded the 2.6.12-1.1398_FC4-ppc.src.rpm from download.fedora.redhat.com

In order for the installer to find my source I ran it with the --kernel-source-path

sh NVIDIA-Linux-x86-1.0-7676-pkg1.run --kernel-source-path /usr/src/kernels/2.6.12-1.1398_FC4-ppc/

The has gotten me past the errors that naad was getting but just simply given me the error

ERROR: Unable to build the NVIDIA kernel module.
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 www.nvidia.com.

netllama 08-26-05 12:03 PM

Re: Problem with driver/kernel...
 
chrislholland,
I'm afraid that there are not currently NVIDIA driver's available for the PPC architecture running on Linux.

-Lonni


All times are GMT -5. The time now is 11:55 PM.

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