Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to build the nvidia bootc containers. #728

Open
raravind007 opened this issue Aug 5, 2024 · 0 comments
Open

Error when trying to build the nvidia bootc containers. #728

raravind007 opened this issue Aug 5, 2024 · 0 comments

Comments

@raravind007
Copy link

I got the following kernel errors when I tried to build nvidia bootc container on my Fedora 40 Workstation.
make nvidia-bootc

STEP 8/10: RUN if test -z "${KERNEL_VERSION}" ; then       echo "The KERNEL_VERSION argument is mandatory. Exiting" ;       exit 1 ;     fi     && echo "Kernel version: ${KERNEL_VERSION}"     && mv /etc/selinux /etc/selinux.tmp     && dnf -y install dnf-plugin-config-manager     && cp -a /etc/dnf/dnf.conf{,.tmp} && mv /etc/dnf/dnf.conf{.tmp,}     && dnf config-manager --best --nodocs --setopt=install_weak_deps=False --save     && dnf -y update --exclude kernel*     && dnf -y install         kernel-${KERNEL_VERSION}         kernel-devel-${KERNEL_VERSION}         kernel-modules-${KERNEL_VERSION}         kernel-modules-extra-${KERNEL_VERSION}     && if [ "${ENABLE_RT}" ] && [ $(arch) == "x86_64" ]; then         dnf -y --enablerepo=rt install             kernel-rt-${KERNEL_VERSION}             kernel-rt-devel-${KERNEL_VERSION}             kernel-rt-modules-${KERNEL_VERSION}             kernel-rt-modules-extra-${KERNEL_VERSION};     fi     && export INSTALLED_KERNEL=$(rpm -q --qf "%{VERSION}-%{RELEASE}.%{ARCH}" kernel-core-${KERNEL_VERSION})     && export GCC_VERSION=$(cat /lib/modules/${INSTALLED_KERNEL}/config | grep -Eo "gcc \(GCC\) ([0-9\.]+)" | grep -Eo "([0-9\.]+)")     && dnf -y install         binutils         diffutils         elfutils-libelf-devel         jq         kabi-dw kernel-abi-stablelists         keyutils         kmod         gcc-${GCC_VERSION}         git         make         mokutil         openssl         pinentry         rpm-build         xz     && dnf clean all     && mv /etc/selinux.tmp /etc/selinux     && useradd -u 1001 -m -s /bin/bash builder
The KERNEL_VERSION argument is mandatory. Exiting
Error: building at STEP "RUN if test -z "${KERNEL_VERSION}" ; then       echo "The KERNEL_VERSION argument is mandatory. Exiting" ;       exit 1 ;     fi     && echo "Kernel version: ${KERNEL_VERSION}"     && mv /etc/selinux /etc/selinux.tmp     && dnf -y install dnf-plugin-config-manager     && cp -a /etc/dnf/dnf.conf{,.tmp} && mv /etc/dnf/dnf.conf{.tmp,}     && dnf config-manager --best --nodocs --setopt=install_weak_deps=False --save     && dnf -y update --exclude kernel*     && dnf -y install         kernel-${KERNEL_VERSION}         kernel-devel-${KERNEL_VERSION}         kernel-modules-${KERNEL_VERSION}         kernel-modules-extra-${KERNEL_VERSION}     && if [ "${ENABLE_RT}" ] && [ $(arch) == "x86_64" ]; then         dnf -y --enablerepo=rt install             kernel-rt-${KERNEL_VERSION}             kernel-rt-devel-${KERNEL_VERSION}             kernel-rt-modules-${KERNEL_VERSION}             kernel-rt-modules-extra-${KERNEL_VERSION};     fi     && export INSTALLED_KERNEL=$(rpm -q --qf "%{VERSION}-%{RELEASE}.%{ARCH}" kernel-core-${KERNEL_VERSION})     && export GCC_VERSION=$(cat /lib/modules/${INSTALLED_KERNEL}/config | grep -Eo "gcc \(GCC\) ([0-9\.]+)" | grep -Eo "([0-9\.]+)")     && dnf -y install         binutils         diffutils         elfutils-libelf-devel         jq         kabi-dw kernel-abi-stablelists         keyutils         kmod         gcc-${GCC_VERSION}         git         make         mokutil         openssl         pinentry         rpm-build         xz     && dnf clean all     && mv /etc/selinux.tmp /etc/selinux     && useradd -u 1001 -m -s /bin/bash builder": while running runtime: exit status 1
make[1]: *** [../common/Makefile.common:112: driver-toolkit] Error 1
make[1]: Leaving directory '/home/test-ai/ai-lab-recipes/training/nvidia-bootc'
make: *** [Makefile:73: nvidia-bootc] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant