← Back to team overview

graphics-drivers-testers team mailing list archive

Re: nvidia-550.54.14 seems to be broken

 

nvidia-kernel-source-550-open=550.54.14-0ubuntu0~gpu23.10.1 still cannot be
installed.

ProblemType: Package
DKMSKernelVersion: 6.5.0-25-generic
Date: Wed Mar  6 20:49:54 2024
Package: nvidia-kernel-source-550-open 550.54.14-0ubuntu0~gpu23.10.1
PackageVersion: 550.54.14-0ubuntu0~gpu23.10.1
SourcePackage: nvidia-graphics-drivers-550
Title: nvidia-kernel-source-550-open 550.54.14-0ubuntu0~gpu23.10.1: nvidia
kernel module failed to build


Error! Application of patch re-add-crypto_tfm_ctx_aligned.patch failed.




❯ cat /var/lib/dkms/nvidia/550.54.14/build/nvidia/libspdm_shash.c.rej
--- nvidia/libspdm_shash.c      2023-10-19 18:54:10.000000000 +0000
+++ nvidia/libspdm_shash.c      2024-01-09 08:53:41.595195390 +0000
@@ -21,8 +21,18 @@
 * DEALINGS IN THE SOFTWARE.
 */

+#include <linux/version.h>
+#include <linux/utsname.h>
+
 #include "internal_crypt_lib.h"

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0)
+static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm)
+{
+       return crypto_tfm_ctx_align(tfm, crypto_tfm_alg_alignmask(tfm) + 1);
+}
+#endif
+
 void *lkca_hash_new(const char* alg_name)
 {
 #ifndef USE_LKCA



On Wed, Feb 28, 2024 at 9:57 PM Tais P. Hansen <tais.hansen@xxxxxxxxx>
wrote:

> Hi,
>
> Can't install the new nvidia-550.54.14-open package due to a patching
> error apparently.
>
> Output:
>
> Loading new nvidia-550.54.14 DKMS files...
> Building for 6.5.0-21-generic
> Building for architecture x86_64
> Building initial module for 6.5.0-21-generic
> Error! Application of patch re-add-crypto_tfm_ctx_aligned.patch failed.
> Check /var/lib/dkms/nvidia/550.54.14/build for more information.
> dpkg: error processing package nvidia-dkms-550-open (--configure):
>  installed nvidia-dkms-550-open package post-installation script
> subprocess returned error exit status 6
>
>
> --
> Mvh. Tais P. Hansen
>


-- 
Mvh. Tais P. Hansen

References