Results 1 to 2 of 2

Thread: Nvidia DKMS module is not being built into newer kernel

  1. #1
    Join Date
    Jun 2012
    Beans
    45

    Nvidia DKMS module is not being built into newer kernel

    Hello. I am using Ubuntu 12.10, Nvidia driver 313.09, and am trying to build kernel 3.7.3.

    I am using the old config. During the make modules_install install phase the Nvidia driver DKMS module is not being found.
    Code:
    sh /usr/src/kernel/linux-3.7.3/arch/x86/boot/install.sh 3.7.3 arch/x86/boot/bzImage \
            System.map "/boot"
    run-parts: executing /etc/kernel/postinst.d/dkms 3.7.3 /boot/vmlinuz-3.7.3
    ERROR (dkms apport): binary package for nvidia: 313.09 not found
    Error! Bad return status for module build on kernel: 3.7.3 (x86_64)
    Consult /var/lib/dkms/nvidia/313.09/build/make.log for more information.
    That last log file says
    Code:
    KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"  -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/x86/kernel/asm-offsets.s arch/x86/kernel/asm-offsets.c
    mv: cannot stat `arch/x86/kernel/.asm-offsets.s.tmp': No such file or directory
    make[5]: *** [arch/x86/kernel/asm-offsets.s] Error 1
    make[4]: *** [prepare0] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[3]: *** [module] Error 1
    make[2]: *** [module] Error 2
    Does anyone have any suggestions?

  2. #2
    Join Date
    Nov 2009
    Location
    Lake Wales Florida
    Beans
    607
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nvidia DKMS module is not being built into newer kernel

    Quote Originally Posted by ryanvade View Post
    Hello. I am using Ubuntu 12.10, Nvidia driver 313.09, and am trying to build kernel 3.7.3.

    I am using the old config. During the make modules_install install phase the Nvidia driver DKMS module is not being found.
    Code:
    sh /usr/src/kernel/linux-3.7.3/arch/x86/boot/install.sh 3.7.3 arch/x86/boot/bzImage \
            System.map "/boot"
    run-parts: executing /etc/kernel/postinst.d/dkms 3.7.3 /boot/vmlinuz-3.7.3
    ERROR (dkms apport): binary package for nvidia: 313.09 not found
    Error! Bad return status for module build on kernel: 3.7.3 (x86_64)
    Consult /var/lib/dkms/nvidia/313.09/build/make.log for more information.
    That last log file says
    Code:
    KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"  -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/x86/kernel/asm-offsets.s arch/x86/kernel/asm-offsets.c
    mv: cannot stat `arch/x86/kernel/.asm-offsets.s.tmp': No such file or directory
    make[5]: *** [arch/x86/kernel/asm-offsets.s] Error 1
    make[4]: *** [prepare0] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[3]: *** [module] Error 1
    make[2]: *** [module] Error 2
    Does anyone have any suggestions?
    Try installing the newest 313.18 drivers ( ftp://download.nvidia.com/XFree86/Linux-x86_64/ ) before building the new kernel. I just installed them on the 3.7.3 kernel with no problems and no patches necessary. I am however running 12.04 .
    AMD FX-6200 - MSI 4.1Ghz- Nvidia GTX550Ti -12/GIG - 60GB-SSD/500 Sata - 12.04 - Gnome 3

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
  •