After upgrade fc28 to fc29 no nvidia driver with kernel-5.0*
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2012
    Location
    California
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    After upgrade fc28 to fc29 no nvidia driver with kernel-5.0*

    I am using the nvidia + cuda drivers from negativo17 which have been great for years but now the modules for kernel-5.0* will not build.
    I haven't seen any other complaints about this so I wonder if I screwed something up during the upgrade to fedora 29.

    dkms is setup to build the modules and it completes on kernel-4* but it fails on the new kernel-5.0*.

    Here is what dkms says:

    # dkms install -m nvidia/418.56 -k 5.0.5-200.fc29.x86_64

    Kernel preparation unnecessary for this kernel. Skipping...

    Building module:
    cleaning build area...
    'make' -j2 module SYSSRC=/lib/modules/5.0.5-200.fc29.x86_64/build IGNORE_XEN_PRESENCE=1 IGNORE_PREEMPT_RT_PRESENCE=1 IGNORE_CC_MISMATCH=1....(bad exit status: 2)
    Error! Bad return status for module build on kernel: 5.0.5-200.fc29.x86_64 (x86_64)
    Consult /var/lib/dkms/nvidia/418.56/build/make.log for more information.

    Here is the error from make.log:

    # cat /var/lib/dkms/nvidia/418.56/build/make.log
    DKMS make.log for nvidia-418.56 for kernel 5.0.5-200.fc29.x86_64 (x86_64)
    Thu Apr 11 09:18:18 PDT 2019
    make[1]: Entering directory '/usr/src/kernels/5.0.5-200.fc29.x86_64'
    SYMLINK /var/lib/dkms/nvidia/418.56/build/nvidia/nv-kernel.o
    SYMLINK /var/lib/dkms/nvidia/418.56/build/nvidia-modeset/nv-modeset-kernel.o
    CC [M] /var/lib/dkms/nvidia/418.56/build/nvidia/nv-frontend.o
    CC [M] /var/lib/dkms/nvidia/418.56/build/nvidia/nv-instance.o
    In file included from /var/lib/dkms/nvidia/418.56/build/nvidia/nv-instance.c:13:
    /var/lib/dkms/nvidia/418.56/build/common/inc/nv-linux.h: In function ‘nv_dma_maps_swiotlb’:
    /var/lib/dkms/nvidia/418.56/build/common/inc/nv-linux.h:1287:31: error: ‘swiotlb_dma_ops’ undeclared (first use in this function); did you mean ‘swiotlb_map’?
    swiotlb_in_use = (ops == &swiotlb_dma_ops);
    ^~~~~~~~~~~~~~~
    swiotlb_map
    /var/lib/dkms/nvidia/418.56/build/common/inc/nv-linux.h:1287:31: note: each undeclared identifier is reported only once for each function it appears in
    In file included from /var/lib/dkms/nvidia/418.56/build/nvidia/nv-frontend.c:13:
    /var/lib/dkms/nvidia/418.56/build/common/inc/nv-linux.h: In function ‘nv_dma_maps_swiotlb’:
    /var/lib/dkms/nvidia/418.56/build/common/inc/nv-linux.h:1287:31: error: ‘swiotlb_dma_ops’ undeclared (first use in this function); did you mean ‘swiotlb_map’?
    swiotlb_in_use = (ops == &swiotlb_dma_ops);
    ^~~~~~~~~~~~~~~
    swiotlb_map
    /var/lib/dkms/nvidia/418.56/build/common/inc/nv-linux.h:1287:31: note: each undeclared identifier is reported only once for each function it appears in
    make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/418.56/build/nvidia/nv-instance.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/418.56/build/nvidia/nv-frontend.o] Error 1
    make[1]: *** [Makefile:1557: _module_/var/lib/dkms/nvidia/418.56/build] Error 2
    make[1]: Leaving directory '/usr/src/kernels/5.0.5-200.fc29.x86_64'
    make: *** [Makefile:79: modules] Error 2

    Thank you for any help

  2. #2
    Join Date
    May 2005
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: After upgrade fc28 to fc29 no nvidia driver with kernel-5.0*

    Try this instead of negativo17, install the rpmfusion repositories, rpmfusion.org. Then open a terminal and type, sudo dnf install nvidia-driver ( or akmod-nvidia).
    It has worked here without problems for over 10 years. I'm currently using fedora 30 beta with kernel 5.0.7 and it still runs flawlessly.

    (It's a hobby, but I like it)

  3. #3
    Join Date
    Feb 2012
    Location
    California
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: After upgrade fc28 to fc29 no nvidia driver with kernel-5.0*

    Thanks for the input. I use negativo17 because of the cuda GPU drivers.
    I posted an issue on negativo17 github. I'll post a follow up here when or if I get some response.

  4. #4
    Join Date
    Feb 2012
    Location
    California
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: After upgrade fc28 to fc29 no nvidia driver with kernel-5.0*

    I never received any response from negativo17.
    On a chance I installed negativo17 akmod nvidia packages and it builds modules for kernel- 5.0.8-200.fc29.x86_64 so the problem must be in the dkms nvidia source.

Similar Threads

  1. odd stuff , FC28 + dnf upgrade --refresh ==> crippled FC29
    By bobx001 in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 21st February 2019, 06:41 PM
  2. [SOLVED]
    [FC29] Upgrade 28 -> 29 SELinux alrert
    By Ex_Soft in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 7th November 2018, 06:49 AM
  3. [SOLVED]
    Fedora 26->Fedora 28 Upgrade Doesn't Install fc28 Kernel?
    By SteveT in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 31st October 2018, 08:40 AM
  4. fc22 -> fc28 upgrade: "The operation would result in removing the booted kernel"
    By lavajuice in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 16th September 2018, 01:16 AM
  5. [SOLVED]
    FC28 - latest dnf upgrade to 4.17.12-200.fc28.x86_64 breaks boot /boot/efi vfat issue
    By bobx001 in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 18th August 2018, 04:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •