Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: NVIDIA driver installed by fails to load

  1. #11
    Join Date
    Jan 2013
    Beans
    10

    Re: NVIDIA driver installed by fails to load

    Quote Originally Posted by jeremy31 View Post
    Exec format error, post results for
    Code:
    modinfo nvidia

    Code:
    22:54:08 ~$ sudo modinfo nvidia
    modinfo: ERROR: Module nvidia not found.

  2. #12
    Join Date
    May 2014
    Location
    /home
    Beans
    7,267
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: NVIDIA driver installed by fails to load

    Lets try
    Code:
    modinfo nvidia_340

  3. #13
    Join Date
    Jan 2013
    Beans
    10

    Re: NVIDIA driver installed by fails to load

    Quote Originally Posted by jeremy31 View Post
    Lets try
    Code:
    modinfo nvidia_340
    Code:
    23:03:11 ~$ sudo modinfo nvidia_340
    filename:       /lib/modules/3.13.0-161-generic/updates/dkms/nvidia_340.ko
    alias:          char-major-195-*
    version:        340.107
    supported:      external
    license:        NVIDIA
    alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
    alias:          pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
    depends:        drm
    vermagic:       3.13.0-161-generic SMP mod_unload modversions 
    parm:           NVreg_Mobile:int
    parm:           NVreg_ResmanDebugLevel:int
    parm:           NVreg_RmLogonRC:int
    parm:           NVreg_ModifyDeviceFiles:int
    parm:           NVreg_DeviceFileUID:int
    parm:           NVreg_DeviceFileGID:int
    parm:           NVreg_DeviceFileMode:int
    parm:           NVreg_RemapLimit:int
    parm:           NVreg_UpdateMemoryTypes:int
    parm:           NVreg_InitializeSystemMemoryAllocations:int
    parm:           NVreg_UsePageAttributeTable:int
    parm:           NVreg_MapRegistersEarly:int
    parm:           NVreg_RegisterForACPIEvents:int
    parm:           NVreg_CheckPCIConfigSpace:int
    parm:           NVreg_EnablePCIeGen3:int
    parm:           NVreg_EnableMSI:int
    parm:           NVreg_MemoryPoolSize:int
    parm:           NVreg_RegistryDwords:charp
    parm:           NVreg_RmMsg:charp
    parm:           NVreg_AssignGpus:charp

  4. #14
    Join Date
    May 2014
    Location
    /home
    Beans
    7,267
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: NVIDIA driver installed by fails to load

    Check
    Code:
    dmesg | grep nvidia
    Hopefully it will show the reason for exec format error

  5. #15
    Join Date
    Jan 2013
    Beans
    10

    Re: NVIDIA driver installed by fails to load

    Quote Originally Posted by jeremy31 View Post
    Check
    Code:
    dmesg | grep nvidia
    Hopefully it will show the reason for exec format error
    Code:
    23:13:13 ~$ sudo dmesg | grep nvidia
    [    2.923582] nvidia: version magic '3.13.0-161-generic SMP mod_unload modversions ' should be '3.13.0-161-generic SMP mod_unload modversions retpoline '
    [    5.057740] nvidia: version magic '3.13.0-161-generic SMP mod_unload modversions ' should be '3.13.0-161-generic SMP mod_unload modversions retpoline '
    [ 3908.171413] nvidia: version magic '3.13.0-161-generic SMP mod_unload modversions ' should be '3.13.0-161-generic SMP mod_unload modversions retpoline '
    [ 3927.282364] nvidia: version magic '3.13.0-161-generic SMP mod_unload modversions ' should be '3.13.0-161-generic SMP mod_unload modversions retpoline '

  6. #16
    Join Date
    May 2014
    Location
    /home
    Beans
    7,267
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: NVIDIA driver installed by fails to load

    Do you have all updates installed?

  7. #17
    Join Date
    Jan 2013
    Beans
    10

    Re: NVIDIA driver installed by fails to load

    Quote Originally Posted by jeremy31 View Post
    Do you have all updates installed?
    I ran:

    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get dist-upgrade
    which caused me the problem.

    After that I downgraded the kernel to 3.13.0-161 and ran after all the installs and reinstalls:

    Code:
    sudo apt-get update
    sudo apt-get upgrade

  8. #18
    Join Date
    Jan 2013
    Beans
    10

    Re: NVIDIA driver installed by fails to load

    it seems to be related to the outdated gcc compiler issue identified by this thread

    https://bugs.launchpad.net/ubuntu/+s...8/+bug/1750937

    The key to understanding this was running:

    Code:
    23:13:13 ~$ sudo dmesg | grep nvidia
    [    2.923582] nvidia: version magic '3.13.0-161-generic SMP mod_unload modversions ' should be '3.13.0-161-generic SMP mod_unload modversions retpoline '
    [    5.057740] nvidia: version magic '3.13.0-161-generic SMP mod_unload modversions ' should be '3.13.0-161-generic SMP mod_unload modversions retpoline '
    [ 3908.171413] nvidia: version magic '3.13.0-161-generic SMP mod_unload modversions ' should be '3.13.0-161-generic SMP mod_unload modversions retpoline '
    [ 3927.282364] nvidia: version magic '3.13.0-161-generic SMP mod_unload modversions ' should be '3.13.0-161-generic SMP mod_unload modversions retpoline '

    The solution was upgrading gcc to version 5 and reinstalling NVIDIA drivers after that.

    Thanks all for giving a helping hand!!!
    Last edited by utah777; February 16th, 2019 at 10:15 PM.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

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