Re: sarge: kernel & gcc version confusion

From: David Burgess (david_at_cjsr.com)
Date: 07/30/04

  • Next message: disciple_at_exis.net: "screen goes black"
    To: Debian user list <debian-user@lists.debian.org>
    Date: Fri, 30 Jul 2004 10:25:58 -0600
    
    

    On Fri, 2004-07-30 at 07:28, cam wrote:
    > Hello all,
    >
    > I've just moved to debian in the last few days after several years of RH -
    > usual reasons. Enjoying it very much so far. I installed woody with bf24 kernel
    > from dl'd CD and just put on the most basic system. I used apt-get to install
    > x, xfce, mozilla and a few other things.. I then decided to upgrade to sarge
    > and did a dist-upgrade.
    >
    > I now want to compile the nvidia drivers for my GeForce3 and have found it
    > slightly confusing from here. Here are some questions:
    >
    > - I installed gcc3.3 because this seemed to be appropriate for sarge from
    > discussions I found on the net but I wasn't sure how to tell. Isn't it safer
    > that I compile the driver with the same compiler that was used for X and the
    > kernel? How do I find this out?
    >
    > - When I used aptitude to get gcc, it also installed a set of kernel headers.
    > Why is this a dependency for the compiler?
    >
    > - Not surprisingly, the nvidia installer wants me to download the kernel
    > headers to match my system - why can't I find headers for the bf24 kernel that
    > I used initially - presumably becasue I moved up to sarge?
    >
    > - I assume it would be easier to just grab a new kernel, headers and everything
    > and rebuild the kernel and then the nvidia driver. Is this likely to be
    > problematic for other stuff on the system (e.g. X?)
    >

    Here's a link to a great howto on building the nvidia drivers along with
    your kernel from source.

    http://home.comcast.net/~andrex/Debian-nVidia/index.html

    I've used this method many times on my "sarge" i386 system. I've never
    compiled X, or much at all besides nvidia & the kernel, for that matter.
    The only real problem I've had with this method is that the latest
    "sarge/testing" nvidia drivers (6106) have never worked for me, so I'm
    still using the 5336 version driver.

    > - Under aptitude there is a wide range of header packages available (not at my
    > machine now so I can't remember them, sorry) for a given kernel - what is the
    > difference between these? What is the minimum set to do what I want - some
    > customisation of the kernel and building of other modules like nvidia?
    >

    I've built and used the nvidia drivers with many custom 2.4 and 2.6
    kernels, although I've never got it to work with a precompiled binary
    kernel. I've used the nvidia-provided installer, but as mentioned in the
    above-linked howto, if you have to install more than a couple times ;)
    you'll learn to appreciate the debian method, as I have.

    I can't speak much to your other questions, but have a look at the howto
    and let us know how it goes.

    FWIW:
    Athlon XP 2500+
    MSI GF4 MX440 AGP4x 64MB
    Mitsubishi Diamond Pro 710s
    Debian testing
    custom 2.6.6 kernel
    nvidia-kernel-common 1.0.6106-1
    nvidia-kernel-source 1.0.5336-6
    gcc-3.3 1:3.3.4-3
    X, Gnome

    DB

    > Any other advice, pointers etc gratefully received...
    > c

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: disciple_at_exis.net: "screen goes black"

    Relevant Pages

    • Re: Kernel 2.6.16 Problems FC4 and FC5
      ... Regardless of what I tried Star Office 6.0 would not start or could it be ... , as well as NVIDIA drivers (Could not get it to ... Once again I did a total restore of FC4 w kernel 2.6.15-1.1833. ... links were being broken when I tried to "install" FC5. ...
      (Fedora)
    • HAL Crashes on Ubuntu 6.10
      ... I have a fresh install of Ubuntu 6.10 on a Dell Optiplex GX270. ... The kernel is 2.6.17-10-generic. ... nvidia: ...
      (Ubuntu)
    • Yum upgrade from F8 to F9 with KDE desktop - installation notes
      ... nVidia drivers from Freshrpms, and I had to install the latest nVidia driver ... kernel in step 5; once I did that, the dkms package (which gets installed from ... Use your preferred method to install the above file: ...
      (Fedora)
    • Yum upgrade from F8 to F8 with KDE desktop - installation notes
      ... nVidia drivers from Freshrpms, and I had to install the latest nVidia driver ... kernel in step 5; once I did that, the dkms package (which gets installed from ... relevant info to do a yum upgrade a bit daunting. ... Use your preferred method to install the above file: ...
      (Fedora)
    • NVIDIA driver on Suse 9.1
      ... I've got a NVIDIA FX 5600 and I'm trying to install the driver from the ... the kernel module is build 100%. ...
      (alt.os.linux)