Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71833 - nvidia module fails to load with 2.4.2x kernels (nvidia-kernel-1.0.6629.ebuild)
Summary: nvidia module fails to load with 2.4.2x kernels (nvidia-kernel-1.0.6629.ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 72857 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-20 05:43 UTC by Damjan
Modified: 2004-11-29 17:36 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 Damjan 2004-11-20 05:43:16 UTC
check Additional Information

Reproducible: Always
Steps to Reproduce:
1.emerge =nvidia-kernel-1.0.6629
2.modprobe nvidia
3.

Actual Results:  
/lib/modules/2.4.28/video/nvidia.o: /lib/modules/2.4.28/video/nvidia.o: unresolv
ed symbol preempt_disable
/lib/modules/2.4.28/video/nvidia.o: /lib/modules/2.4.28/video/nvidia.o: unresolv
ed symbol preempt_enable
/lib/modules/2.4.28/video/nvidia.o: 
Hint: You are trying to load a module without a GPL compatible license
      and it has unresolved symbols.  The module may be trying to access
      GPLONLY symbols but the problem is more likely to be a coding or
      user error.  Contact the module supplier for assistance, only they
      can help you.

/lib/modules/2.4.28/video/nvidia.o: insmod /lib/modules/2.4.28/video/nvidia.o fa
iled
/lib/modules/2.4.28/video/nvidia.o: insmod nvidia failed



2.4.2x users should just comment some epatch lines in ebuild, probably just the
 preempt one

        #epatch ${FILESDIR}/${PV}/conftest_koutput_includes.patch
        # Fix pgd_offset() -> pml4_pgd_offset() for >=2.6.10-rc1-mm3
        #epatch ${FILESDIR}/${PV}/nv-pgd_offset.patch
        # Speedup driver for 2.6 kernel to be on par with 2.4 kernel
        #epatch ${FILESDIR}/${PV}/nv-pgprot-speedup.patch
        # Fix the vm_flags to only have VM_IO, and not VM_LOCKED as well
        #epatch ${FILESDIR}/${PV}/nv-vm_flags-no-VM_LOCKED.patch
        # Fix calling of smp_processor_id() when preempt is enabled
        #epatch ${FILESDIR}/${PV}/nv-disable-preempt-on-smp_processor_id.patch
Comment 1 Damjan 2004-11-20 05:49:53 UTC
yes, just comment this out in nvidia-kernel-1.0.6629.ebuild

#epatch ${FILESDIR}/${PV}/nv-disable-preempt-on-smp_processor_id.patch
Comment 2 Andrew Bevitt 2004-11-29 16:27:23 UTC
*** Bug 72857 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Bevitt 2004-11-29 17:36:14 UTC
Fixed in cvs.