Bug#1034303: nvidia-cuda-toolkit breaks nvidia-cuda-samples autopkgtest on amd64: bad exit status: 2

Paul Gevers elbrus at debian.org
Wed Apr 12 19:17:49 BST 2023


Source: nvidia-cuda-toolkit, nvidia-cuda-samples
Control: found -1 nvidia-cuda-toolkit/11.8.0-3
Control: found -1 nvidia-cuda-samples/11.8~dfsg-2
Severity: serious
Tags: sid bookworm bookworm-ignore
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of nvidia-cuda-toolkit the autopkgtest of 
nvidia-cuda-samples fails on amd64 in testing when that autopkgtest is 
run with the binary packages of nvidia-cuda-toolkit from unstable. It 
passes when run with only packages from testing. In tabular form:

                        pass            fail
nvidia-cuda-toolkit    from testing    11.8.0-3
nvidia-cuda-samples    from testing    11.8~dfsg-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of 
nvidia-cuda-toolkit to testing [1]. Due to the nature of this issue, I 
filed this bug report against both packages. Can you please investigate 
the situation and reassign the bug to the right package?

[Release Team member hat on] Because we're currently in the hard freeze 
for bookworm, I have marked this bug as bookworm-ignore.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=nvidia-cuda-toolkit

https://ci.debian.net/data/autopkgtest/testing/amd64/n/nvidia-cuda-samples/32796174/log.gz

Building module:
Cleaning build area...
'make' -j2 KVER=6.1.0-7-amd64 IGNORE_CC_MISMATCH='1'..........(bad exit 
status: 2)
Error! Bad return status for module build on kernel: 6.1.0-7-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-fs/2.13/build/make.log for more information.
E: nvidia-fs/2.13 failed to build for 6.1.0-7-amd64
========== /var/lib/dkms/nvidia-fs/2.13/build/make.log ==========
DKMS make.log for nvidia-fs-2.13 for kernel 6.1.0-7-amd64 (x86_64)
Tue Apr 11 23:11:31 UTC 2023
./configure 6.1.0-7-amd64
Picking NVIDIA driver sources from 
NVIDIA_SRC_DIR=/usr/src/nvidia-current-525.89.02/nvidia. If that does 
not meet your expectation, you might have a stale driver still around 
and that might cause problems.
chmod +x ./create_nv.symvers.sh
./create_nv.symvers.sh 6.1.0-7-amd64
-E- Cannot locate nvidia modules!
CUDA driver must be installed before installing this package!
make: *** [Makefile:103: nv_symbols] Error 1
make: *** Waiting for unfinished jobs....
checking if uaccess.h access_ok has 3 parameters... no
checking if uaccess.h access_ok has 2 parameters... yes
Checking if blkdev.h has blk_rq_payload_bytes... yes
Checking if fs.h has call_read_iter and call_write_iter... yes
Checking if fs.h has filemap_range_has_page... no
Checking if kiocb structue has ki_complete field... yes
Checking if KI_COMPLETE has 3 parameters ... no
Checking if vm_fault_t exist in mm_types.h... yes
Checking if IOCB_HIPRI flag exists in fs.h... yes
Checking if enum PCIE_SPEED_32_0GT exists in pci.h... yes
Checking if atomic64_t counter is of type long... no
Checking if RQF_COPY_USER is present or not... no
Checking if dma_drain_size and dma_drain_needed are present in struct 
request_queue... no
Checking if struct proc_ops is present or not ... yes
Checking if split is present in vm_operations_struct or not ... no
Checking if mremap in vm_operations_struct has one parameter... yes
Checking if mremap in vm_operations_struct has two parameters... no
Checking if symbol module_mutex is present... no
Checking if blk-integrity.h is present... yes
====================
I: Trying to build nvidia-fs/2.13 for 6.1.0-7-cloud-amd64
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j2 KVER=6.1.0-7-cloud-amd64 IGNORE_CC_MISMATCH='1'..........(bad 
exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-7-cloud-amd64 
(x86_64)
Consult /var/lib/dkms/nvidia-fs/2.13/build/make.log for more information.
E: nvidia-fs/2.13 failed to build for 6.1.0-7-cloud-amd64
========== /var/lib/dkms/nvidia-fs/2.13/build/make.log ==========
DKMS make.log for nvidia-fs-2.13 for kernel 6.1.0-7-cloud-amd64 (x86_64)
Tue Apr 11 23:11:53 UTC 2023
./configure 6.1.0-7-cloud-amd64
Picking NVIDIA driver sources from 
NVIDIA_SRC_DIR=/usr/src/nvidia-current-525.89.02/nvidia. If that does 
not meet your expectation, you might have a stale driver still around 
and that might cause problems.
chmod +x ./create_nv.symvers.sh
./create_nv.symvers.sh 6.1.0-7-cloud-amd64
-E- Cannot locate nvidia modules!
CUDA driver must be installed before installing this package!
make: *** [Makefile:103: nv_symbols] Error 1
make: *** Waiting for unfinished jobs....
checking if uaccess.h access_ok has 3 parameters... no
checking if uaccess.h access_ok has 2 parameters... yes
Checking if blkdev.h has blk_rq_payload_bytes... yes
Checking if fs.h has call_read_iter and call_write_iter... yes
Checking if fs.h has filemap_range_has_page... no
Checking if kiocb structue has ki_complete field... yes
Checking if KI_COMPLETE has 3 parameters ... no
Checking if vm_fault_t exist in mm_types.h... yes
Checking if IOCB_HIPRI flag exists in fs.h... yes
Checking if enum PCIE_SPEED_32_0GT exists in pci.h... yes
Checking if atomic64_t counter is of type long... no
Checking if RQF_COPY_USER is present or not... no
Checking if dma_drain_size and dma_drain_needed are present in struct 
request_queue... no
Checking if struct proc_ops is present or not ... yes
Checking if split is present in vm_operations_struct or not ... no
Checking if mremap in vm_operations_struct has one parameter... yes
Checking if mremap in vm_operations_struct has two parameters... no
Checking if symbol module_mutex is present... no
Checking if blk-integrity.h is present... yes
====================
I: Trying to build nvidia-fs/2.13 for 6.1.0-7-rt-amd64
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Error! The 
/var/lib/dkms/nvidia-fs/2.13/6.1.0-7-rt-amd64/x86_64/dkms.conf for 
module nvidia-fs includes a BUILD_EXCLUSIVE directive which does not 
match this kernel/arch/config.
This indicates that it should not be built.
I: nvidia-fs/2.13 is not supported on 6.1.0-7-rt-amd64 (BUILD_EXCLUSIVE 
directive), skipping.
nvidia-fs/2.13/build/make.log
I: Summary:
I: FAIL 6.1.0-7-amd64
I: FAIL 6.1.0-7-cloud-amd64
I: SKIP 6.1.0-7-rt-amd64
autopkgtest [23:12:14]: test dkms-autopkgtest-nvidia-fs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20230412/8f9b9902/attachment.sig>


More information about the pkg-nvidia-devel mailing list