package linux-headers-6.8.0-35-generic 6.8.0-35.35 failed to install/upgrade: installed linux-headers-6.8.0-35-generic package post-installation script subprocess returned error exit status 11

Bug #2069512 reported by Logan Hedin

This bug report will be marked for expiration in 41 days if no further activity occurs. (find out why)

8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

extensive issues compiling nvidia drivers trying to configure the system to build a tensorflow complaint cuda 11.2 and cudnn 8.1.1 machine. I have tried different GCC versions 9-13 and different driver (460-545) variants that provide compatibility with the required dependencies. current config during crash:
XXXXXXXXXXX:~$ cat /proc/version
Linux version 6.8.0-35-generic (buildd@lcy02-amd64-020) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #35-Ubuntu SMP PREEMPT_DYNAMIC Mon May 20 15:51:52 UTC 2024
XXXXXXXXXXX:~$ gcc --version
gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

output of sudo grep -i error /var/crash/nvidia-kernel-source-545.0.crash
suggest that the errors indicate a series of issues related to unrecognized command line options during the DKMS build process for the NVIDIA driver on my kernel. Specifically, the -mharden-sls=all, -ftrivial-auto-var-init=zero, and -fzero-call-used-regs=used-gpr'

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: linux-headers-6.8.0-35-generic 6.8.0-35.35
ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
Uname: Linux 6.8.0-35-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
AptOrdering:
 build-essential:amd64: Install
 linux-headers-6.8.0-35-generic:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: bfadmin 1984 F.... pipewire
 /dev/snd/controlC0: bfadmin 1988 F.... wireplumber
 /dev/snd/controlC1: bfadmin 1988 F.... wireplumber
CRDA: N/A
CasperMD5CheckResult: pass
Date: Sat Jun 15 12:08:30 2024
ErrorMessage: installed linux-headers-6.8.0-35-generic package post-installation script subprocess returned error exit status 11
InstallationDate: Installed on 2024-06-15 (0 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
MachineType: Dell Inc. Precision 7740
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-35-generic root=UUID=84127210-ab80-4109-b721-4c6d9e352c66 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions: grub-pc N/A
SourcePackage: linux
Title: package linux-headers-6.8.0-35-generic 6.8.0-35.35 failed to install/upgrade: installed linux-headers-6.8.0-35-generic package post-installation script subprocess returned error exit status 11
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/25/2024
dmi.bios.release: 1.31
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.31.0
dmi.board.name: 0FVNFK
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.asset.tag: D006237
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.31.0:bd01/25/2024:br1.31:svnDellInc.:pnPrecision7740:pvr:rvnDellInc.:rn0FVNFK:rvrA00:cvnDellInc.:ct10:cvr:sku0927:
dmi.product.family: Precision
dmi.product.name: Precision 7740
dmi.product.sku: 0927
dmi.sys.vendor: Dell Inc.

Revision history for this message
Logan Hedin (loganhedin) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Juerg Haefliger (juergh) wrote :

nvidia-kernel-source-545 is not an Ubuntu package or is it? Any reason for not using the -550 packages from the archive?
https://packages.ubuntu.com/source/noble/nvidia-graphics-drivers-550

Changed in linux (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.