Skip to content

Add LTS Linux 6.1.39 #2929

Merged
merged 5 commits into from
Jul 24, 2023
Merged

Add LTS Linux 6.1.39 #2929

merged 5 commits into from
Jul 24, 2023

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Jul 20, 2023

Hopefully newer Linux kernel series fixes problems with AMD graphics device on Dell OptiPlex 5055 (walle).

[    0.000000] Linux version 5.10.82.mx64.414 (root@invidia.molgen.mpg.de) (gcc (GCC) 7.5.0, GNU ld (GNU Binutils) 2.37) #1 SMP Mon Nov 29 14:15:19 CET 2021
[779425.033444] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=6872994, emitted seq=6872996
[779425.046621] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process Xorg pid 24953 thread Xorg:cs0 pid 24954

Tested on maleficent, machdoch and walle.

Tested on sigusr2:

$ dmesg | grep -e "Linux version" -e "DMI:" ; dmesg --level=crit,alert,err,warn    
[    0.000000] Linux version 6.1.39.mx64.450 (root@holidayincambodia.molgen.mpg.de) (gcc (GCC) 10.4.0, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT_DYNAMIC Wed Jul 19 20:07:19 CEST 2023    
[    0.000000] DMI: Dell Inc. OptiPlex 7071/097YXY, BIOS 1.1.2 08/29/2019    
[    1.428282] Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!    
[    1.468459] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'    
[    2.645812] hpet_acpi_add: no address or irqs in _CRS    
[    2.894418] usb: port power management may be unreliable    
[    4.099489] wmi_bus wmi_bus-PNP0C14:04: WQBC data block query control method not found    
[   14.880380] nvidia: loading out-of-tree module taints kernel.    
[   14.886176] nvidia: module license 'NVIDIA' taints kernel.    
[   14.891713] Disabling lock debugging due to kernel taint    
[   15.273921] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  510.108.03  Thu Oct 20 05:10:45 UTC 2022    
[   15.302831] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.    
$ glxinfo | grep info    
server glx version string: 1.4    
client glx version string: 1.4    
GLX version: 1.4    
OpenGL core profile version string: 4.6.0 NVIDIA 510.108.03    
OpenGL core profile shading language version string: 4.60 NVIDIA    
OpenGL version string: 4.6.0 NVIDIA 510.108.03    
OpenGL shading language version string: 4.60 NVIDIA    
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 510.108.03    
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20    
    GL_EXT_shader_group_vote, GL_EXT_shader_implicit_conversions,

@donald
Copy link
Collaborator

donald commented Jul 20, 2023

I've seen "not ready for merge" and I guess you want to clean that up anyway: I think, one commit to add 6.1.39-450 (and one commit to add the nvidia driver for it if available) should be enough in the end.

@pmenzel pmenzel force-pushed the add-linux-6.1.39 branch 2 times, most recently from d66013d to 8fd5cf1 Compare July 21, 2023 15:36
Configuration changes:

*   e4b7ea61ed17 config-mpi: Disable frame buffer drivers
*   7a512c779620 config-mpi: Build DRM driver for simple platform-provided framebuffers (DRM_SIMPLE=y)
*   852cdf42c063 config-mpi: Build coreboot framebuffer into Linux (GOOGLE_FRAMEBUFFER_COREBOOT=y)
*   cb243590078a config-mpi: Switch HID devices from Y to M
*   fc1d3133d7ff scsi: mpt3sas: Rate-limit scsi_dma_map() error messages
*   6d44c56d3ca6 Revert "scsi: mpt3sas: Remove scsi_dma_map() error messages"
*   415b450cb0a9 config-mpi: Built host kernel accelerator for virtio net as module (VHOST_NET=m)
    $ cp -a nvidia_linux-5.15.112-449-510.60.02-0.bee nvidia_linux-6.1.39-450-510.60.02-0.bee
510.60.02 fails to build:

     CONFTEST: ib_peer_memory_symbols
      CC [M]  /dev/shm/bee-pmenzel/nvidia/nvidia_linux-6.1.39-450-510.60.02-0/source/kernel/nvidia/nv.o
    /dev/shm/bee-pmenzel/nvidia/nvidia_linux-6.1.39-450-510.60.02-0/source/kernel/nvidia/nv.c: In function ‘nv_set_dma_address_size’:
    /dev/shm/bee-pmenzel/nvidia/nvidia_linux-6.1.39-450-510.60.02-0/source/kernel/nvidia/nv.c:2768:9: error: implicit declaration of function ‘pci_set_dma_mask’; did you mean ‘ipi_send_mask’? [-Werror=implicit-function-declaration]
     2768 |         pci_set_dma_mask(nvl->pci_dev, new_mask);
          |         ^~~~~~~~~~~~~~~~
          |         ipi_send_mask
    /dev/shm/bee-pmenzel/nvidia/nvidia_linux-6.1.39-450-510.60.02-0/source/kernel/nvidia/nv.c:2774:9: error: implicit declaration of function ‘pci_set_consistent_dma_mask’ [-Werror=implicit-function-declaration]
     2774 |         pci_set_consistent_dma_mask(nvl->pci_dev, new_mask);
          |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:250: /dev/shm/bee-pmenzel/nvidia/nvidia_linux-6.1.39-450-510.60.02-0/source/kernel/nvidia/nv.o] Error 1

https://docs.nvidia.com/datacenter/tesla/tesla-release-notes-510-108-03/index.html
Add the userspace part for driver version 510.108.03.

Created with the command below and adapting the source URL:

    $ cp -a nvidia_current-510.60.02-1.bee nvidia_current-510.108.03-0.bee

Tested on *sigusr2*:

    $ dmesg | grep -e "Linux version" -e "DMI:" ; dmesg --level=crit,alert,err,warn
    [    0.000000] Linux version 6.1.39.mx64.450 (root@holidayincambodia.molgen.mpg.de) (gcc (GCC) 10.4.0, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT_DYNAMIC Wed Jul 19 20:07:19 CEST 2023
    [    0.000000] DMI: Dell Inc. OptiPlex 7071/097YXY, BIOS 1.1.2 08/29/2019
    [    1.428282] Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
    [    1.468459] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
    [    2.645812] hpet_acpi_add: no address or irqs in _CRS
    [    2.894418] usb: port power management may be unreliable
    [    4.099489] wmi_bus wmi_bus-PNP0C14:04: WQBC data block query control method not found
    [   14.880380] nvidia: loading out-of-tree module taints kernel.
    [   14.886176] nvidia: module license 'NVIDIA' taints kernel.
    [   14.891713] Disabling lock debugging due to kernel taint
    [   15.273921] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  510.108.03  Thu Oct 20 05:10:45 UTC 2022
    [   15.302831] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
    $ glxinfo | grep info
    server glx version string: 1.4
    client glx version string: 1.4
    GLX version: 1.4
    OpenGL core profile version string: 4.6.0 NVIDIA 510.108.03
    OpenGL core profile shading language version string: 4.60 NVIDIA
    OpenGL version string: 4.6.0 NVIDIA 510.108.03
    OpenGL shading language version string: 4.60 NVIDIA
    OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 510.108.03
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
        GL_EXT_shader_group_vote, GL_EXT_shader_implicit_conversions,
@pmenzel
Copy link
Collaborator Author

pmenzel commented Jul 21, 2023

Built Nvidia drivers 510.108.03, and updated description. Please test.

@pmenzel pmenzel merged commit 6aabc2b into master Jul 24, 2023
@pmenzel pmenzel deleted the add-linux-6.1.39 branch July 25, 2023 05:08
pmenzel added a commit that referenced this pull request Aug 25, 2023
It looks like, I used `mv` and not `git mv`. So add the missing file
fixing merge/pull request
#2929.

Reported-by: Peter
Fixes: 3602519 ("linux: Update version from 6.1.7-446 to 6.1.39-450")
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants