Welcome, Guest. Please login or register.
Did you miss your activation email?

Recent Posts

Pages: 1 ... 8 9 [10]
91
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by Teriarch on 2025/06/23, 22:02:11 »
Hi Pip,

Don't give up so easily, and besides: The nouveau driver offers only restricted functionality.

Proceed a follows:

$ sudo apt-get update
$ sudo apt-get install nvidia-tesla-470-driver

The last command fails on nvidia-tesla-470-kernel-dkms (unless towo applied the patch in the meantime,
hence check for version nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4).

Get the patched version from

https://wormhole.app/08x65v#teV4IvWkirPB-eXLrijzPA
md5sum                                                 filename
6acbeb508691f14d481cc44798e748ff  nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4c_amd64.deb
(Don't worry about the 4c, it simply contains the latest patch and will reinstall the 4 version, btw: the link is
only valid for the next 24 hours)

Install it:
$ sudo dpkg -i nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4c_amd64.deb

If it fails, please attach the output of the last command in your next message.
Good luck!

PS.: I'd like to see an output like the following with all the gory details:
-----------------------------------------------------
After the error I did a
sudo dpkg -i nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4c_amd64.deb
with the following result:

(Lese Datenbank ... 312816 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4c_amd64.deb ...
Deleting module nvidia-tesla-470/470.256.02 completely from the DKMS tree.
Entpacken von nvidia-tesla-470-kernel-dkms (470.256.02-7.siduction.4b) über (470.256.02-7.siduction.4) ...
nvidia-tesla-470-kernel-dkms (470.256.02-7.siduction.4b) wird eingerichtet ...
Loading new nvidia-tesla-470/470.256.02 DKMS files...
Building for 6.15.3-1-siduction-amd64

Building initial module nvidia-tesla-470/470.256.02 for 6.15.3-1-siduction-amd64
The kernel is built without module signing facility, modules won't be signed

Applying patch cc_version_check-gcc5.patch... done.
Applying patch bashisms.patch... done.
Applying patch 0001-some-power-management-features-were-not-yet-in-Linux.patch... done.
Applying patch 0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch... done.
Applying patch 0034-fix-typos.patch... done.
Applying patch 0037-import-pfn_valid-w-o-GPL-rcu_read_lock-unlock-from-v.patch... done.
Applying patch 0042-Log-an-error-message-when-nv_mem_client_init-fails-d.patch... done.
Applying patch 0043-backport-follow_pfn-changes-from-550.90.07.patch... done.
Applying patch 0045-let-the-virt_addr_valid-macro-use-nv_pfn_valid-on-pp.patch... done.
Applying patch 0046-virt_addr_valid-wants-a-void-argument.patch... done.
Applying patch kernel-6.12.patch... done.
Applying patch kernel-6.13.patch... done.
Applying patch nvidia-470xx-fix-linux-6.14.patch... done.
Applying patch nvidia-470xx-fix-linux-6.15.patch... done.
Applying patch fragile-ARCH.patch... done.
Applying patch conftest-verbose.patch... done.
Applying patch use-kbuild-compiler.patch... done.
Applying patch conftest-prefer-arch-headers.patch... done.
Applying patch use-kbuild-flags.patch... done.
Building module(s)........................ done.
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470.ko
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470-modeset.ko
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470-drm.ko
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470-uvm.ko
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470-peermem.ko
Running depmod... done.
------------------------------------------------------------------------------------------

If the patches succeed, it has nothing to do with the deb file, but rather with a somehow broken build
system. We have to know, otherwise we are digging forever...
92
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by Pip on 2025/06/23, 21:07:33 »
Sorry for the delay in replying, I'd lost my GUI. Very careless of me.
I did try the latest update and put in place the suggested line 19 change, but it still came back with the error I mentioned in my last post. It's now taken me a while to strip out nvidia and set up/etc/X11/xorg.conf.d/20-nouveau.conf but now I have my GUI back.
Thank you for all the attempts. If nouveau handles things for me, maybe I won't need to worry about this any more.
93
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by Teriarch on 2025/06/23, 15:17:45 »
@towo:
Got it!
Simply replace line 19 in "use-kbuild-flags.patch"
(of your current nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4_amd64.deb, 15:00h):
       NV_CONFTEST_CFLAGS = $(NV_CFLAGS_FROM_CONFTEST) $(EXTRA_CFLAGS) -fno-pie
by
       NV_CONFTEST_CFLAGS = $(NV_CFLAGS_FROM_CONFTEST) $(ccflags-y) -fno-pie
and it should work fine!
94
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by Teriarch on 2025/06/23, 14:04:21 »
That's strange. Did you check the 4b version, because last time I checked,
it worked, but let's try again... hang on...

-----------------------------------------------------
Regular 'sudo apt-get sudo apt-get install nvidia-tesla-470-driver' install with
nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4_amd64.deb:

Loading new nvidia-tesla-470/470.256.02 DKMS files...
Building for 6.15.3-1-siduction-amd64

Building initial module nvidia-tesla-470/470.256.02 for 6.15.3-1-siduction-amd64
The kernel is built without module signing facility, modules won't be signed

Applying patch cc_version_check-gcc5.patch... done.
Applying patch bashisms.patch... done.
Applying patch 0001-some-power-management-features-were-not-yet-in-Linux.patch... done.
Applying patch 0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch... done.
Applying patch 0034-fix-typos.patch... done.
Applying patch 0037-import-pfn_valid-w-o-GPL-rcu_read_lock-unlock-from-v.patch... done.
Applying patch 0042-Log-an-error-message-when-nv_mem_client_init-fails-d.patch... done.
Applying patch 0043-backport-follow_pfn-changes-from-550.90.07.patch... done.
Applying patch 0045-let-the-virt_addr_valid-macro-use-nv_pfn_valid-on-pp.patch... done.
Applying patch 0046-virt_addr_valid-wants-a-void-argument.patch... done.
Applying patch kernel-6.12.patch... done.
Applying patch kernel-6.13.patch... done.
Applying patch nvidia-470xx-fix-linux-6.14.patch... done.
Applying patch nvidia-470xx-fix-linux-6.15.patch... done.
Applying patch fragile-ARCH.patch... done.
Applying patch conftest-verbose.patch... done.
Applying patch use-kbuild-compiler.patch... done.
Applying patch use-kbuild-flags.patch...(bad exit status: 1)
Failed command:
patch -p1 < ./patches/use-kbuild-flags.patch

Error! Application of patch use-kbuild-flags.patch failed.
-----------------------------------------------------
After the error I did a
sudo dpkg -i nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4b_amd64.deb
with the following result:

(Lese Datenbank ... 312816 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4b_amd64.deb ...
Deleting module nvidia-tesla-470/470.256.02 completely from the DKMS tree.
Entpacken von nvidia-tesla-470-kernel-dkms (470.256.02-7.siduction.4b) über (470.256.02-7.siduction.4) ...
nvidia-tesla-470-kernel-dkms (470.256.02-7.siduction.4b) wird eingerichtet ...
Loading new nvidia-tesla-470/470.256.02 DKMS files...
Building for 6.15.3-1-siduction-amd64

Building initial module nvidia-tesla-470/470.256.02 for 6.15.3-1-siduction-amd64
The kernel is built without module signing facility, modules won't be signed

Applying patch cc_version_check-gcc5.patch... done.
Applying patch bashisms.patch... done.
Applying patch 0001-some-power-management-features-were-not-yet-in-Linux.patch... done.
Applying patch 0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch... done.
Applying patch 0034-fix-typos.patch... done.
Applying patch 0037-import-pfn_valid-w-o-GPL-rcu_read_lock-unlock-from-v.patch... done.
Applying patch 0042-Log-an-error-message-when-nv_mem_client_init-fails-d.patch... done.
Applying patch 0043-backport-follow_pfn-changes-from-550.90.07.patch... done.
Applying patch 0045-let-the-virt_addr_valid-macro-use-nv_pfn_valid-on-pp.patch... done.
Applying patch 0046-virt_addr_valid-wants-a-void-argument.patch... done.
Applying patch kernel-6.12.patch... done.
Applying patch kernel-6.13.patch... done.
Applying patch nvidia-470xx-fix-linux-6.14.patch... done.
Applying patch nvidia-470xx-fix-linux-6.15.patch... done.
Applying patch fragile-ARCH.patch... done.
Applying patch conftest-verbose.patch... done.
Applying patch use-kbuild-compiler.patch... done.
Applying patch conftest-prefer-arch-headers.patch... done.
Applying patch use-kbuild-flags.patch... done.
Building module(s)........................ done.
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470.ko
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470-modeset.ko
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470-drm.ko
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470-uvm.ko
Installing /lib/modules/6.15.3-1-siduction-amd64/updates/dkms/nvidia-tesla-470-peermem.ko
Running depmod... done.
------------------------------------------------------------------------------------------
The 5b file is identical to 4b except for the version information in the debian control file.

If I remember correctly I ran into the same error as you did, so I not only corrected
the order of the patches in dkms.conf, but also the content of "use-kbuild-flags.patch" to
account for the context change of the 470xx 6.15 patch (which also was adapted) and make
the hunk succeed.

All the installation was done on a virtualized latest siduction iso image with the latest
changes from debian and siduction. I suggest you unpack the 4b file and have a closer look at
the 6.15 and kbuild patch. They could be different from yours.
95
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by towo on 2025/06/23, 09:25:07 »
with your 5b version, i get:

Code: [Select]
towo:Defiant> patch -p1 < ./patches/use-kbuild-flags.patch
patching file Kbuild
Hunk #1 FAILED at 108.
1 out of 1 hunk FAILED -- saving rejects to file Kbuild.rej
patching file nvidia/nvidia.Kbuild
Hunk #1 succeeded at 94 (offset 2 lines).
patching file Makefile
patching file nvidia-modeset/nvidia-modeset.Kbuild
Hunk #1 succeeded at 79 (offset 2 lines).

if i apply

cc_version_check-gcc5.patch
bashisms.patch
0001-some-power-management-features-were-not-yet-in-Linux.patch
0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch
0034-fix-typos.patch
0037-import-pfn_valid-w-o-GPL-rcu_read_lock-unlock-from-v.patch
0042-Log-an-error-message-when-nv_mem_client_init-fails-d.patch
0043-backport-follow_pfn-changes-from-550.90.07.patch
0045-let-the-virt_addr_valid-macro-use-nv_pfn_valid-on-pp.patch
0046-virt_addr_valid-wants-a-void-argument.patch
kernel-6.12.patch
kernel-6.13.patch
nvidia-470xx-fix-linux-6.14.patch
fragile-ARCH.patch
conftest-verbose.patch
use-kbuild-compiler.patch

before.
96
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by Teriarch on 2025/06/23, 00:29:29 »
@towo (or so I guess)

the final patch has still problems (4 vs.4b:

  Applying patch use-kbuild-flags.patch...(bad exit status: 1)
  Failed command:
  patch -p1 < ./patches/use-kbuild-flags.patch

But you are closing in  (hint: EXTRA_CCFLAGS in wrong context after 6.15 patch, I guess)
I still have a working 5b version to offer...
97
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by Teriarch on 2025/06/22, 23:38:17 »
...and here we go:
<https://wormhole.app/vbNaAk#XPEJPPIdE2Qb3mN2eayW1Q>

md5sum:                                                   filename:
592eca374baacce37bd2e9ac4e3a82b9 nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.3b_amd64.deb

@Pip:
I had no problems installing the 3b version neither with kernel 6.15 nor with 6.14 (and all the other tesla-470 packages).
If it still fails for you, report back with some details...

and just in case (I'm getting ahead of myself...):

https://wormhole.app/5KWzrP#0ojWtHwfQ0MgJbCkzuCU-g
320ef59ed0825db1978c7c221a5b607b  nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.4b_amd64.deb

https://wormhole.app/nA6apD#Vx3We1pMBLJgDrCFg53CKw
d1f58d1e79f53b9935958bc90ecd3c5d  nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.5b_amd64.deb

98
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by Teriarch on 2025/06/22, 23:10:27 »
Well, someone is obviously working on it in the meantime
(maybe towo, and hopefully incorporates the patch):

$ apt-get download nvidia-tesla-470-kernel-dkms (now, 23:03h):
nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.3_amd64.deb

$ apt-get download nvidia-tesla-470-kernel-dkms (then, 17:00h):
nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.1_amd64.deb

But it's not working yet:
  Applying patch nvidia-470xx-fix-linux-6.14.patch...(bad exit status: 1)
  Failed command:
  patch -p1 < ./patches/nvidia-470xx-fix-linux-6.14.patch

But I'm sure, he will figure it out. Maybe I'll fix it in the meantime,
make it a race...




99
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by Pip on 2025/06/22, 21:12:40 »
Thanks for that. It came up with an error
Code: [Select]
/var/lib/dkms/nvidia-tesla-470/470.256.02/build/nvidia-modeset/nvidia-modeset-linux.c: In function ‘nvkms_kthread_q_callback’:
/var/lib/dkms/nvidia-tesla-470/470.256.02/build/nvidia-modeset/nvidia-modeset-linux.c:721:9: error: implicit declaration of function ‘timer_delete_sync’ [-Werror=implicit-function-declaration]
  721 |         timer_delete_sync(&timer->kernel_timer);
I tried changing the nvidia-modeset-linux.c source so that it had
Code: [Select]
#include <linux/timer.h> in it just in case, but the same error turned up. After poking around for a bit, it looks like it is somewhat out of my league. Or would be if I'd every reached a league.
100
Upgrade Warnings / Re: Problem with kernel 6.15.3-1-siduction-amd64
« Last post by Teriarch on 2025/06/22, 16:28:48 »
I built a beta version

nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.1b_amd64.deb

compatible with all the other packages from the maintainer. Simply do a

$ sudo apt-get install nvidia-tesla-470-driver

and when the original package nvidia-tesla-470-kernel-dkms fails, simply replace it by

$ sudo dpkg -i  nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.1b_amd64.deb

If someone is still interested to try it out, here is the link:

<https://wormhole.app/kz5ax2#6gCJh98boqZFh9_tQpjnhA>
md5sum                                                    name
da34517c6278756bd358a90c3a04dfa5  nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.1b_amd64.deb

Pages: 1 ... 8 9 [10]