Skip to content

Instantly share code, notes, and snippets.

@ensonic
Created December 10, 2019 10:59
Show Gist options
  • Save ensonic/e23518399f040307597aac1f84aa7d47 to your computer and use it in GitHub Desktop.
Save ensonic/e23518399f040307597aac1f84aa7d47 to your computer and use it in GitHub Desktop.
log-output from the init container of kubectl-driver-installer
$ kubectl logs nvidia-driver-installer-7d264 -c nvidia-driver-installer -n kube-system --follow
+ NVIDIA_DRIVER_VERSION=390.67
+ NVIDIA_DRIVER_DOWNLOAD_URL_DEFAULT=https://us.download.nvidia.com/XFree86/Linux-x86_64/390.67/NVIDIA-Linux-x86_64-390.67.run
+ NVIDIA_DRIVER_DOWNLOAD_URL=https://us.download.nvidia.com/XFree86/Linux-x86_64/390.67/NVIDIA-Linux-x86_64-390.67.run
+ NVIDIA_INSTALL_DIR_HOST=/home/kubernetes/bin/nvidia
+ NVIDIA_INSTALL_DIR_CONTAINER=/usr/local/nvidia
++ basename https://us.download.nvidia.com/XFree86/Linux-x86_64/390.67/NVIDIA-Linux-x86_64-390.67.run
+ NVIDIA_INSTALLER_RUNFILE=NVIDIA-Linux-x86_64-390.67.run
+ ROOT_MOUNT_DIR=/root
+ CACHE_FILE=/usr/local/nvidia/.cache
++ uname -r
+ KERNEL_VERSION=4.19.76
++ cut -d . -f 1
+++ uname -r
++ echo 4.19.76
+ MAJOR_KERNEL_VERSION=4
+ set +x
KERNEL_VERSION: 4.19.76
Checking cached version
Cache file /usr/local/nvidia/.cache not found.
Downloading kernel sources...
/usr/src /
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 98.5M 100 98.5M 0 0 36.4M 0 0:00:02 0:00:02 --:--:-- 36.4M
/
Downloading kernel sources... DONE.
Configuring installation directories...
/usr/local/nvidia /
Updating container's ld cache...
Updating container's ld cache... DONE.
/
Configuring installation directories... DONE.
Downloading Nvidia installer...
/usr/local/nvidia /
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 78.4M 100 78.4M 0 0 22.2M 0 0:00:03 0:00:03 --:--:-- 22.2M
/
Downloading Nvidia installer... DONE.
Configuring kernel sources...
/usr/src/linux-4.19.76 /
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --olddefconfig Kconfig
#
# configuration written to .config
#
SYSTBL arch/x86/include/generated/asm/syscalls_32.h
SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h
SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h
SYSTBL arch/x86/include/generated/asm/syscalls_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
UPD include/config/kernel.release
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/poll.h
WRAP arch/x86/include/generated/asm/dma-contiguous.h
WRAP arch/x86/include/generated/asm/early_ioremap.h
WRAP arch/x86/include/generated/asm/export.h
WRAP arch/x86/include/generated/asm/mcs_spinlock.h
WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
UPD include/generated/uapi/linux/version.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
UPD include/generated/bounds.h
UPD include/generated/timeconst.h
CC arch/x86/kernel/asm-offsets.s
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
DESCEND objtool
HOSTCC /usr/src/linux-4.19.76/tools/objtool/fixdep.o
HOSTLD /usr/src/linux-4.19.76/tools/objtool/fixdep-in.o
LINK /usr/src/linux-4.19.76/tools/objtool/fixdep
CC /usr/src/linux-4.19.76/tools/objtool/exec-cmd.o
CC /usr/src/linux-4.19.76/tools/objtool/help.o
CC /usr/src/linux-4.19.76/tools/objtool/pager.o
CC /usr/src/linux-4.19.76/tools/objtool/parse-options.o
CC /usr/src/linux-4.19.76/tools/objtool/run-command.o
CC /usr/src/linux-4.19.76/tools/objtool/sigchain.o
CC /usr/src/linux-4.19.76/tools/objtool/subcmd-config.o
LD /usr/src/linux-4.19.76/tools/objtool/libsubcmd-in.o
AR /usr/src/linux-4.19.76/tools/objtool/libsubcmd.a
GEN /usr/src/linux-4.19.76/tools/objtool/arch/x86/lib/inat-tables.c
CC /usr/src/linux-4.19.76/tools/objtool/arch/x86/decode.o
LD /usr/src/linux-4.19.76/tools/objtool/arch/x86/objtool-in.o
CC /usr/src/linux-4.19.76/tools/objtool/builtin-check.o
CC /usr/src/linux-4.19.76/tools/objtool/builtin-orc.o
CC /usr/src/linux-4.19.76/tools/objtool/check.o
CC /usr/src/linux-4.19.76/tools/objtool/orc_gen.o
CC /usr/src/linux-4.19.76/tools/objtool/orc_dump.o
CC /usr/src/linux-4.19.76/tools/objtool/elf.o
CC /usr/src/linux-4.19.76/tools/objtool/special.o
CC /usr/src/linux-4.19.76/tools/objtool/objtool.o
CC /usr/src/linux-4.19.76/tools/objtool/libstring.o
CC /usr/src/linux-4.19.76/tools/objtool/str_error_r.o
LD /usr/src/linux-4.19.76/tools/objtool/objtool-in.o
LINK /usr/src/linux-4.19.76/tools/objtool/objtool
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
CC scripts/mod/devicetable-offsets.s
UPD scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/bin2c
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/sortextable
HOSTCC scripts/asn1_compiler
HOSTCC scripts/extract-cert
/
Configuring kernel sources... DONE
Running Nvidia installer...
/usr/local/nvidia /
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.67.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ERROR: An error occurred while performing the step: "Building kernel
modules". See /var/log/nvidia-installer.log for details.
ERROR: An error occurred while performing the step: "Checking to see
whether the nvidia-drm kernel module was successfully built". See
/var/log/nvidia-installer.log for details.
ERROR: The nvidia-drm kernel module was not created.
ERROR: The nvidia-drm kernel module failed to build. This kernel module is
required for the proper operation of DRM-KMS. If you do not need to
use DRM-KMS, you can try to install this driver package again with
the '--no-drm' option.
ERROR: Installation has failed. Please see the file
'/usr/local/nvidia/nvidia-installer.log' for details. You may find
suggestions on fixing installation problems in the README available
on the Linux driver download page at www.nvidia.com.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment