Bug 1631020 - Can't build kernel module nvidia akmod-nvidia-390.48-1.fc28 @rpmfusion-nonfree for kernel 4.18.7-200.fc28
Summary: Can't build kernel module nvidia akmod-nvidia-390.48-1.fc28 @rpmfusion-nonfr...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-19 18:33 UTC by cedbor
Modified: 2018-09-20 00:55 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-20 00:55:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
akmods failed build log (406.22 KB, text/plain)
2018-09-19 18:33 UTC, cedbor
no flags Details

Description cedbor 2018-09-19 18:33:41 UTC
Created attachment 1484901 [details]
akmods failed build log

Description of problem:
When trying to compile nvidia kernel module version 390.48, compilation fails with kernel 4.18.7, not with 4.17.19

Version-Release number of selected component (if applicable): 
kernel 4.18.7-200.fc28 
Nvidia 390.48 (from rpmfusion non-free)


How reproducible:
Steps to Reproduce:
1.Install akmod-nvidia.3:390.48 under kernel 4.18
2.compile kernel module (in my case with akmods)
3.

Actual results : fails to build with error
In file included from ./include/drm/drmP.h:82,
from /tmp/akmodsbuild.mM98e5ER/BUILD/nvidia-kmod-390.48/_kmod_build_4.18.7-200.fc28.x86_64/nvidia-drm/nvidia-drm-priv.h:30,
from /tmp/akmodsbuild.mM98e5ER/BUILD/nvidia-kmod-390.48/_kmod_build_4.18.7-200.fc28.x86_64/nvidia-drm/nvidia-drm-drv.c:25:
/tmp/akmodsbuild.mM98e5ER/BUILD/nvidia-kmod-390.48/_kmod_build_4.18.7-200.fc28.x86_64/nvidia-drm/nvidia-drm-drv.c:637:23: error: 'DRM_CONTROL_ALLOW' undeclared here (not in a function); did you mean 'DRM_RENDER_ALLOW'?
DRM_CONTROL_ALLOW|DRM_UNLOCKED),

Expected results:
a kernel module! 

Additional info:
https://devtalk.nvidia.com/default/topic/1036869/linux/driver-390-67-not-compiling-in-kernel-4-18-rc2/

My workaround is to use kernel 4.17.19-200.fc28. Build works with it, although it seems to be a nvidia problem.

Comment 1 Laura Abbott 2018-09-20 00:55:18 UTC
Fedora can't support or fix the nVidia module, this needs to be fixed by the nVidia developers.


Note You need to log in before you can comment on or make changes to this bug.