Hi All,
here some data on my sistem just updated to fedora 30 from 29:
nvidia-installer -v |grep version
nvidia-installer: version 390.116 (buildmeister@swio-display-x64-rhel04-14) Sun Jan 27 07:48:10 PST 2019
uname -a
Linux fc-home-romanos-lan 5.1.5-300.fc30.x86_64 #1 SMP Sat May 25 18:00:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GF116 [GeForce GTX 550 Ti] (rev a1)
I’m not a great developer but i think we need to patch this driver because of following errors during the build:
ERROR: Failed to run /usr/sbin/dkms build -m nvidia -v 390.116 -k 5.1.5-300.fc30.x86_64
:
Kernel preparation unnecessary for this kernel. Skipping…
Building module:
cleaning build area…
‘make’ -j8 NV_EXCLUDE_BUILD_MODULES=” KERNEL_UNAME=5.1.5-300.fc30.x86_64 modules……(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.1.5-300.fc30.x86_64 (x86_64)
Consult /var/lib/dkms/nvidia/390.116/build/make.log for more information.
Here is the make.log:
CC [M] /var/lib/dkms/nvidia/390.116/build/nvidia/nv-dma.o
In file included from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:136,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv.c:13:
/var/lib/dkms/nvidia/390.116/build/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:136,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-gpu-numa.c:24:
/var/lib/dkms/nvidia/390.116/build/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/preempt.h:11,
from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/spinlock.h:51,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-lock.h:16,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:19,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv.c:13:
/usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/list.h:214:19: note: previous definition of ‘list_is_first’ was here
214 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/preempt.h:11,
from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/spinlock.h:51,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-lock.h:16,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:19,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-gpu-numa.c:24:
/usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/list.h:214:19: note: previous definition of ‘list_is_first’ was here
214 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:136,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-dma.c:15:
/var/lib/dkms/nvidia/390.116/build/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:136,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-chrdev.c:15:
/var/lib/dkms/nvidia/390.116/build/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/preempt.h:11,
from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/spinlock.h:51,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-lock.h:16,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:19,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-chrdev.c:15:
/usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/list.h:214:19: note: previous definition of ‘list_is_first’ was here
214 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/preempt.h:11,
from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/spinlock.h:51,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-lock.h:16,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:19,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-dma.c:15:
/usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/list.h:214:19: note: previous definition of ‘list_is_first’ was here
214 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:136,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia/390.116/build/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/preempt.h:11,
from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/spinlock.h:51,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-lock.h:16,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:19,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-frontend.c:13:
/usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/list.h:214:19: note: previous definition of ‘list_is_first’ was here
214 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:136,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-instance.c:13:
/var/lib/dkms/nvidia/390.116/build/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/preempt.h:11,
from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/spinlock.h:51,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-lock.h:16,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:19,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-instance.c:13:
/usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/list.h:214:19: note: previous definition of ‘list_is_first’ was here
214 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:136,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-cray.c:15:
/var/lib/dkms/nvidia/390.116/build/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/preempt.h:11,
from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/spinlock.h:51,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-lock.h:16,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:19,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-cray.c:15:
/usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/list.h:214:19: note: previous definition of ‘list_is_first’ was here
214 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:136,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-acpi.c:15:
/var/lib/dkms/nvidia/390.116/build/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/preempt.h:11,
from /usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/spinlock.h:51,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-lock.h:16,
from /var/lib/dkms/nvidia/390.116/build/common/inc/nv-linux.h:19,
from /var/lib/dkms/nvidia/390.116/build/nvidia/nv-acpi.c:15:
/usr/src/kernels/5.1.5-300.fc30.x86_64/include/linux/list.h:214:19: note: previous definition of ‘list_is_first’ was here
214 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
make[3]: *** [/usr/src/kernels/5.1.5-300.fc30.x86_64/scripts/Makefile.build:276: /var/lib/dkms/nvidia/390.116/build/nvidia/nv-gpu-numa.o] Error 1
make[3]: *** Waiting for unfinished jobs….
make[3]: *** [/usr/src/kernels/5.1.5-300.fc30.x86_64/scripts/Makefile.build:276: /var/lib/dkms/nvidia/390.116/build/nvidia/nv-chrdev.o] Error 1
make[3]: *** [/usr/src/kernels/5.1.5-300.fc30.x86_64/scripts/Makefile.build:276: /var/lib/dkms/nvidia/390.116/build/nvidia/nv-instance.o] Error 1
make[3]: *** [/usr/src/kernels/5.1.5-300.fc30.x86_64/scripts/Makefile.build:276: /var/lib/dkms/nvidia/390.116/build/nvidia/nv-dma.o] Error 1
make[3]: *** [/usr/src/kernels/5.1.5-300.fc30.x86_64/scripts/Makefile.build:276: /var/lib/dkms/nvidia/390.116/build/nvidia/nv-cray.o] Error 1
make[3]: *** [/usr/src/kernels/5.1.5-300.fc30.x86_64/scripts/Makefile.build:276: /var/lib/dkms/nvidia/390.116/build/nvidia/nv-frontend.o] Error 1
make[3]: *** [/usr/src/kernels/5.1.5-300.fc30.x86_64/scripts/Makefile.build:276: /var/lib/dkms/nvidia/390.116/build/nvidia/nv-acpi.o] Error 1
make[3]: *** [/usr/src/kernels/5.1.5-300.fc30.x86_64/scripts/Makefile.build:276: /var/lib/dkms/nvidia/390.116/build/nvidia/nv.o] Error 1
make[2]: *** [/usr/src/kernels/5.1.5-300.fc30.x86_64/Makefile:1575: module/var/lib/dkms/nvidia/390.116/build] Error 2
make[2]: Leaving directory ‘/usr/src/kernels/5.1.5-300.fc30.x86_64’
make[1]: *** [Makefile:169: sub-make] Error 2
make[1]: Leaving directory ‘/usr/src/kernels/5.1.5-300.fc30.x86_64’
make: *** [Makefile:79: modules] Error 2
As stated here (http://rglinuxtech.com/?p=2527) it is a duplicate variable name.
I’ll try to patch by myself, but any expert developer should be welcome.
SR