You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ubuntu kernel 7.0.0-42-generic fails to compile. 7.0.0-38-generic works. #49
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
I am running on a stable kernel release.
Build Command
sudo ./install.sh
Terminal output/Build Log
././common/inc/nv-linux.h:1280:34: error: field ‘cxlds’ has incomplete type
1280 | struct cxl_dev_state cxlds;
| ^~~~~
In file included from ././common/inc/nv-dmabuf.h:27,
from nvidia/nv-dmabuf.c:24:
././common/inc/nv-linux.h:1280:34: error: field ‘cxlds’ has incomplete type
1280 | struct cxl_dev_state cxlds;
| ^~~~~
make[5]: *** [/usr/src/linux-headers-7.0.0-42-generic/scripts/Makefile.build:289: nvidia/nv-vtophys.o] Error 1
In file included from nvidia/nv-mmap.c:27:
././common/inc/nv-linux.h:1280:34: error: field ‘cxlds’ has incomplete type
1280 | struct cxl_dev_state cxlds;
| ^~~~~```
### More Info
After updating to the latest kernel 7.0.0-42 on ubuntu 26.04 the compile fails.
error: field 'cxlds' has incomplete type
It looks to be a bug in the NVIDIA Open GPU Kernel Modules: https://github.com/NVIDIA/open-gpu-kernel-modules/issues/1433
They also have a related upcoming change:
We have an equivalent fix in our tree already, and it should be included in our upcoming 620.xx releases.
https://github.com/NVIDIA/open-gpu-kernel-modules/pull/1438
Activity