Bug#701690: nvidia: disagrees about version of symbol efi_enabled

Andreas Beckmann anbe at debian.org
Tue Feb 26 23:05:06 UTC 2013


On 2013-02-26 23:42, Ben Hutchings wrote:
>>>> I'll see what I can do to fix this.  (And unfortunately if the change is
>>>> reverted then you'll need to rebuild the module again.)
>>
>> Ben, Should I upload nvidia-graphics-modules rebuilt against 3.2.39-1?
>  
> No, I believe I can fix this.
> 
> Also, if you rebuild without changing the nvidia source you'll
> introduce a bug, because the test of efi_enabled will always return
> true now that it's the name of a function...

nvidia-kernel-{source,dkms} don't use upstream's conftest.sh to test for
availability of features, instead we ship (probably for historic reasons
where conftest.sh was not working properly) a manually generated
conftest.h that says

/* Implement conftest.sh function efi_enabled */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,1)
 #define NV_EFI_ENABLED_PRESENT
#else
 #undef NV_EFI_ENABLED_PRESENT
#endif

Anyway, checks for efi.h and efi_enabled were only introduced in 310.14
and have not been backported to the 304.xx series by Nvidia so far. So
this only affects the Nvidia driver in experimental.


Andreas



More information about the pkg-nvidia-devel mailing list