Hello there! It is unable to compile modules for old NVIDIA card like my: 01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [NVS 5400M] (rev ff) Issue started with kernel 5.14+ /var/tmp/portage/x11-drivers/nvidia-drivers-390.144/work/kernel/nvidia/os-interface.c: In function ‘os_delay’: /var/tmp/portage/x11-drivers/nvidia-drivers-390.144/work/kernel/nvidia/os-interface.c:583:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’? 583 | current->state = TASK_INTERRUPTIBLE; | ^~~~~ | __state make[2]: *** [scripts/Makefile.build:271: /var/tmp/portage/x11-drivers/nvidia-drivers-390.144/work/kernel/nvidia/os-interface.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Please, release patch for old drives line as nvidia-drivers-390.144 Thanks!
Can you please attach the full build.log and emerge --info?
Created attachment 744537 [details] Build.log
Created attachment 744540 [details] Emerge_Info
Sure please see attached
At the start of your log file the message states: * Kernel 5.14 is either known to break this version of nvidia-drivers * or was not tested with it. It is recommended to use one of: * <=sys-kernel/gentoo-kernel-5.13 * <=sys-kernel/gentoo-sources-5.13 * You are free to try or use /etc/portage/patches, but support will * not be given and issues wait until NVIDIA releases a fixed version. * * Do _not_ file a bug report if run into issues.
^