Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11701 - patches for nvidia drivers and kernel 2.5.50 plus some extras
Summary: patches for nvidia drivers and kernel 2.5.50 plus some extras
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-06 18:19 UTC by Brad Cowan (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Cowan (RETIRED) gentoo-dev 2002-12-06 18:19:46 UTC
I have a link from the topic on the #nvidia channel of freenode that has patches
for the nvidia-kernel module to work on 2.5.50 plus some other fixes :)
here's the link

http://www.minion.de/nvidia.html

THX
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-12-06 18:34:52 UTC
seems that #11191 would be resolved :)
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-06 22:16:37 UTC
Ok, so what is this in -r1 of nvidia-kernel:

---------------------------------------
        # Next section applies patches for linux-2.5 kernel, or if
        # linux-2.4, the page_alloc.c patch courtesy of NVIDIA Corporation.
        # All these are from:
        #
        #   http://www.minion.de/nvidia/
        #
        # Many thanks to Christian Zander <zander@minion.de> for bringing
        # these to us, and being so helpful to select which to use.
        # This should close bug #9704.
        
        local KV_major="`uname -r | cut -d. -f1`"
        local KV_minor="`uname -r | cut -d. -f2`"

        cd ${S}
        if [ "${KV_major}" -eq 2 -a "${KV_minor}" -eq 5 ]
        then
                einfo "Applying patches for kernel 2.5..."
                patch -p1 < ${FILESDIR}/${NV_PACKAGE}-2.5.diff >/dev/null || die
                einfo "Applying page_alloc.c patch..."
                patch -p1 < ${FILESDIR}/${NV_PACKAGE}-2.5-pa.diff >/dev/null || die
        else
                einfo "Applying page_alloc.c patch..."
                patch -p1 < ${FILESDIR}/${NV_PACKAGE}-pa.diff >/dev/null || die
        fi
---------------------------------------

Or did they change since then ?
Comment 3 Brad Cowan (RETIRED) gentoo-dev 2002-12-06 22:27:27 UTC
Things changed alot in the 2.5 tree after 2.5.47, particularly to a new modules
format and the VM breaking the old patches (which worked fine) and new patches
have now been updated and properly work with 2.5.50. I've just had lots of
requests and people wondering whats wrong in #gentoo. I would have went ahead
and updated, but didn't want to end up screwing up your hard work.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-08 13:48:05 UTC
Ok, updated patches.