Re: 2.5/2.6 NVidia (was Re: 2.4 vs 2.6 ver#

From: Gene Heskett (gene.heskett_at_verizon.net)
Date: 08/06/03

  • Next message: Adam Belay: "Re: [PATCH] PnP Updates for 2.6.0-test2"
    To: Valdis.Kletnieks@vt.edu
    Date:	Tue, 5 Aug 2003 22:53:57 -0400
    
    

    On Tuesday 05 August 2003 22:08, Valdis.Kletnieks@vt.edu wrote:
    >On Tue, 05 Aug 2003 18:07:00 EDT, you said:
    >> Now, the factory nvidia drivers will not build for 2.6, so I don't
    >> have any X. Whats the status of the kernel versions vis-a-vis
    >> running a gforce2 MMX 32 megger?
    >
    >(Sorry for replying to the list, but let's get this into the
    > archives in case people actually search before asking... (yeah
    > right ;))
    >
    >I'm running the NVidia 4496 drivers right now on 2.6.0-test2-mm4.
    >
    >Do the following (can be done on a 2.4 kernel if needed)
    >
    >1) Get the 4496 drivers from NVidia

    check

    >2) './NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only'

    check

    >3) Go to www.minion.de and get the patch:
    > NVIDIA_kernel-1.0-4496-2.5.diff

    check
     
    >4) cd NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv

    check

    >5) patch -p1 < NVIDIA_kernel-1.0-4496-2.5.diff

    check

    >6) cp Makefile.kbuild Makefile

    check

    >Now *as root*, while running the 2.6 kernel you want support for:
    >(either single-user or runlevel 3 (No X) are OK here - reboot if
    > needed)
    >
    >7) cd NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv if you're not
    > there already.

    check, in the script

    > 8) make this will build the nvidia.ko, copy to
    > /lib/modules, and insmod it for you.

    check, in the script

    > 9) cd ../../.. back to
    > the 4496-pgk2 directory

    check, in the script

    >10) 'make install' to put the /usr/lib parts in place.

    check, its rather verbose, even complained about something but I
    didn't capture it :(

    >11) Start X in the usual manner - you've probably got an XFconfig
    > file with the right NVidia pieces in it already (or you'd not be
    > asking ;)

    check. Just one problem, went to black screen about the time the NV
    logo should have popped up, and locked the machine up tight, had to
    use the hardware reset button.

    Here is the script:
    --------
    #!/bin/bash
    cd usr/src/nv
    make
    cd ../../..
    make install
    --------
    which is executed from within that *4496-pkg2 directory

    Next time I'll redirect the output of the makes to a scratch file, but
    thats tommorrow now.
    >Hope this helps...
    >You should be ready to go at that point (note that you will need to
    > do (7) and (8) each time you do a 'make modules_install', but 9/10
    > only need doing if/when you upgrade from 4496 to a new version.

    -- 
    Cheers, Gene
    AMD K6-III@500mhz 320M
    Athlon1600XP@1400mhz  512M
    99.27% setiathome rank, not too shabby for a WV hillbilly
    Yahoo.com attornies please note, additions to this message
    by Gene Heskett are:
    Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Adam Belay: "Re: [PATCH] PnP Updates for 2.6.0-test2"