Page 2 of 8 FirstFirst 1234 ... LastLast
Results 11 to 20 of 73

Thread: HOWTO: NVIDIA driver with Breezy kernels in Hoary

  1. #11
    Join Date
    Sep 2005
    Beans
    22

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    when i enter sudo /etc/init.d/gdm stop it says something about it not being a valid command...but i'm going reinstall ubuntu(again) and try following your guide step by step. how do i found what gcc version i used, cuz i have no idea?

  2. #12
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    Quote Originally Posted by h0tpants
    when i enter sudo /etc/init.d/gdm stop it says something about it not being a valid command...but i'm going reinstall ubuntu(again) and try following your guide step by step. how do i found what gcc version i used, cuz i have no idea?
    You have to try to install the drivers, then if the installer gives you an error you have to go and see the nvidia log file under /var/log. If you look at the end of the file you will see the error.

    For instance:

    This is a quotation from my other guide (I suggest you to have a look at it)

    If the installer complains in this way (this is an example of part of the error):
    ...
    nvidia: version magic '2.6.10-5-386 preempt 386 gcc-3.4' should be
    '2.6.10-5-386 preempt 386 gcc-3.3'
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details.
    ...

    This means the installer tries to use gcc-3.4 instead of gcc-3.3(the right one).Type this before launching NVIDIA installer:

    CC=gcc-3.3
    export CC

    The number of the version of gcc has to be the same as the 2nd one reported in the error by nvidia installer (i.e. the word I put in red instead of the one I put in blue)

    then run nvidia installer again.
    Last edited by tseliot; September 13th, 2005 at 07:00 PM.

  3. #13
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    By the way, why are you using a Breezy kernel?

  4. #14
    Join Date
    Sep 2005
    Beans
    22

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Tue Sep 13 20:51:01 2005

    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    no precompiled interface: false
    no ncurses color : false
    query latest driver ver : false
    OpenGL header files : true
    no questions : false
    silent : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    force tls : (not specified)
    force compat32 tls : (not specified)
    X install prefix : /usr/X11R6
    OpenGL install prefix : /usr
    compat32 install prefix : (not specified)
    installer install prefix: /usr
    utility install prefix : /usr
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)

    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 development tool `cc` in your path; please make sure
    that you have the package 'gcc' installed. If gcc is installed on your
    system, then please check that `cc` is in your PATH.
    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.
    ok so that is what i got when i followed your guide, i didnt see it complaining about a specific gcc, just that i cant find the cc dev. tool. what should i do now??

    also, is breezy not good or what?
    Last edited by h0tpants; September 13th, 2005 at 09:08 PM.

  5. #15
    Join Date
    Sep 2005
    Beans
    22

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    i was reading the nvidia driver readme and it was saying that prerelease versions of kernel are NOT supported.

    OS Kernel: Linux version 2.6.12-8-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Tue Aug 30 22:41:30 BST 2005
    this is my current kernel version, right? and if so where do i go to get a supported version of kernel/and how do i install it?? or would it be easier to download the hoary release and install that?
    Last edited by h0tpants; September 13th, 2005 at 09:22 PM.

  6. #16
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    Quote Originally Posted by h0tpants
    i was reading the nvidia driver readme and it was saying that prerelease versions of kernel are NOT supported.



    this is my current kernel version, right? and if so where do i go to get a supported version of kernel/and how do i install it?? or would it be easier to download the hoary release and install that?
    Breezy is still unstable BUT as you've notice my guide is about "NVIDIA driver with Breezy kernels" and this means it is possible to install them on your current kernel.

    Open synaptic, press the search button and type "gcc" in the search field. You will see a list: select all the gcc version you can see in there and then press Apply to install them all.

    Then try the installer again and tell me if it complains again (and post the log file again)

  7. #17
    Join Date
    Sep 2005
    Beans
    22

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    PHP Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation timeTue Sep 13 23:53:38 2005

    option status
    :
      
    license pre-accepted    false
      update                  
    false
      force update            
    false
      expert                  
    false
      uninstall               
    false
      driver info             
    false
      no precompiled 
    interface: false
      no ncurses color        
    false
      query latest driver ver 
    false
      OpenGL header files     
    true
      no questions            
    false
      silent                  
    false
      no backup               
    false
      kernel module only      
    false
      sanity                  
    false
      add this kernel         
    false
      no runlevel check       
    false
      no network              
    false
      no ABI note             
    false
      no RPMs                 
    false
      force tls               
    : (not specified)
      
    force compat32 tls      : (not specified)
      
    X install prefix        : /usr/X11R6
      OpenGL install prefix   
    : /usr
      compat32 install prefix 
    : (not specified)
      
    installer install prefix: /usr
      utility install prefix  
    : /usr
      kernel name             
    : (not specified)
      
    kernel include path     : (not specified)
      
    kernel source path      : (not specified)
      
    kernel output path      : (not specified)
      
    kernel install path     : (not specified)
      
    proc mount point        : /proc
      ui                      
    : (not specified)
      
    tmpdir                  : /tmp
      ftp mirror              
    : [url]ftp://download.nvidia.com[/url]
      
    RPM file list           : (not specified)

    Usingnvidia-installer ncurses user interface
    -> 
    License accepted.
    -> 
    No precompiled kernel interface was found to match your kernelwould you li
       ke the installer to attempt to download a kernel 
    interface for your kernel f
       rom the NVIDIA ftp site 
    ([url]ftp://download.nvidia.com)?[/url] (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.
    ERRORUnable 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 examplebe 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.
    ERRORInstallation 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 
    [url]www.nvidia.com[/url]. 
    so by the time i read your above post i already had Hoary installed. i installed the upgrades. then i tried installing the drivers, no good. then i did your synaptic stuff and applied them all and the above is what i got.

    PHP Code:
    X Window System Version 6.8.2 (Ubuntu 6.8.2-10.1 20050831033957 root@)
    Release Date9 February 2005
    X Protocol Version 11
    Revision 0Release 6.8.2
    Build Operating System
    Linux 2.6.10 i686 [ELF
    Current Operating SystemLinux ubuntu 2.6.10-5-386 #1 Thu Sep 8 06:18:41 UTC 2005 i686
    Build Date31 August 2005
        Before reporting problems
    check http://wiki.X.Org
        
    to make sure that you have the latest version.
    Module Loader present
    OS Kernel
    Linux version 2.6.10-5-386 (buildd@terranova) (gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)) #1 Thu Sep 8 06:18:41 UTC 2005 
    Last edited by h0tpants; September 14th, 2005 at 12:01 AM.

  8. #18
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    install "linux tree" in synaptic and try again

  9. #19
    Join Date
    Sep 2005
    Beans
    22

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    okay i did that and it still gave me the same error messages

  10. #20
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: NVIDIA driver with Breezy kernels in Hoary

    did you install kernel headers?
    -------------------------------------------------------------------------------------------------------------------------------
    You can do it in this way

    uname -r (this will tell you the name and version of the kernel you are using)

    Open either Synaptic or Kynaptic

    press the "Search" button and put "header" in the search field

    you will see a list of files, find "linux-headers-the name you got from uname -r"

    for example if your kernel is "2.6.10-5-386", the headers will be "linux-headers-2.6.10-5-386"

    click on the files and select "Mark for installation"

    Press the "Apply" button.

    You can close Synaptic (or Kynaptic) after it has finished installing the headers.
    -------------------------------------------------------------------------------------------------------------------------------

    And try the nvidia installer again.

    IF IT DOESN'T WORK YET:

    1) Make sure you have all the repositories enabled (see Ubuntu starter's guide)

    2) Open Synaptic and install kernel 2.6.11 (image, headers and source)

    3) restart your computer (it will boot automatically in the new kernel)

    uname -r (just to see if you are using kernel 2.6.11)

    4) follow the guide again

    Install the nvidia drivers

    Tell me if it works

Page 2 of 8 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •