Siduction Forum

Siduction Forum => Announcements / Ankündigungen (DE / EN) => Topic started by: towo on 2020/04/08, 10:34:53

Title: Linux 5.6.3
Post by: towo on 2020/04/08, 10:34:53
Heute gibt es Kernel 5.6.3 im Update. Damit geht dann weder Nvidia noch Virtualbox. Für beides gibt es einen Patch, welcher auf die entsprechenden Sourcen angewendet werden muss.




Today there is kernel 5.6.3 in the update. So neither Nvidia nor Virtualbox will work. There is a patch for both, which must be applied to the corresponding sources.
Title: Re: Linux 5.6.3
Post by: whistler_mb on 2020/04/08, 13:17:50
Vielen Dank towo für den neuen Kernel und die Patches!

Hier ist noch der Patch für bbswitch. Der ist von Arch

https://git.archlinux.org/svntogit/community.git/tree/trunk/0001-proc_ops-struct.patch?h=packages/bbswitch (https://git.archlinux.org/svntogit/community.git/tree/trunk/0001-proc_ops-struct.patch?h=packages/bbswitch)
Title: Re: Linux 5.6.3
Post by: vilde on 2020/04/08, 20:41:08
This seams to complicated, I have no idea how to use a kernel patch (yes probably It's to be found how to do) so my question is how long will this last? I rather wait with the d-u:s as I'm dependent to use VB every day.
Title: Re: Linux 5.6.3
Post by: hendrikL on 2020/04/08, 21:44:45
This seams to complicated, I have no idea how to use a kernel patch (yes probably It's to be found how to do) so my question is how long will this last? I rather wait with the d-u:s as I'm dependent to use VB every day.

Code: [Select]
cp vbox-kernel-5.6.patch.txt /usr/src/vbox-kernel-5.6.patch
cd /usr/src/virtualbox-6.1.4/
patch -p1 < ../vbox-kernel-5.6.patch
(last step, don't know if needed but ...)
/etc/kernel/header_postinst.d/dkms 5.6.3-towo.1-siduction-amd64
Vbox works for me

Title: Re: Linux 5.6.3
Post by: seasons on 2020/04/08, 22:06:27
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956035
Title: Re: Linux 5.6.3
Post by: Carnophage on 2020/04/08, 22:10:34
Looks like acpi-call-dkms is also affected
Code: [Select]
# cat /var/lib/dkms/acpi-call/1.1.0/build/make.log
DKMS make.log for acpi-call-1.1.0 for kernel 5.6.3-towo.1-siduction-amd64 (x86_64)
Wed 08 Apr 2020 09:53:45 PM CEST
make: Entering directory '/usr/src/linux-headers-5.6.3-towo.1-siduction-amd64'
  AR      /var/lib/dkms/acpi-call/1.1.0/build/built-in.a
  CC [M]  /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.o
/var/lib/dkms/acpi-call/1.1.0/build/acpi_call.c: In function ‘init_acpi_call’:
/var/lib/dkms/acpi-call/1.1.0/build/acpi_call.c:356:53: error: passing argument 4 of ‘proc_create’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  356 |                                                     &proc_acpi_operations);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~
      |                                                     |
      |                                                     struct file_operations *
In file included from /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.c:6:
./include/linux/proc_fs.h:64:24: note: expected ‘const struct proc_ops *’ but argument is of type ‘struct file_operations *’
   64 | struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops);
      |                        ^~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:273: /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.o] Error 1
make: *** [Makefile:1696: /var/lib/dkms/acpi-call/1.1.0/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.6.3-towo.1-siduction-amd64'
Title: Re: Linux 5.6.3
Post by: vilde on 2020/04/09, 10:19:45
This seams to complicated, I have no idea how to use a kernel patch (yes probably It's to be found how to do) so my question is how long will this last? I rather wait with the d-u:s as I'm dependent to use VB every day.

Code: [Select]
cp vbox-kernel-5.6.patch.txt /usr/src/vbox-kernel-5.6.patch
cd /usr/src/virtualbox-6.1.4/
patch -p1 < ../vbox-kernel-5.6.patch
(last step, don't know if needed but ...)
/etc/kernel/header_postinst.d/dkms 5.6.3-towo.1-siduction-amd64
Vbox works for me


Thank you for that hendrikL
Title: Re: Linux 5.6.3
Post by: NochEinNeuer on 2020/04/11, 10:01:23
Blöde Frage: Wie installiere ich den nvidia patch?
Title: Re: Linux 5.6.3
Post by: axt on 2020/04/11, 10:59:54
Ihr könntet auch einfach das aktuelle Testbuild (https://www.virtualbox.org/wiki/Testbuilds) 6.1.5-136807 installieren. Mit Kernel 5.6.3 sowohl in Host als auch Guest kein Problem (na, jedenfalls arch-basiert).

Vorher .deb-Version purgen! Um Aktualisierungen natürlich selbst kümmern! Wenn VBox 6.1.6 'raus ist, könnt Ihr auch .run wieder deinstallieren und auf .deb zurück gehen.
Title: Re: Linux 5.6.3
Post by: hendrikL on 2020/04/11, 11:27:20
Blöde Frage: Wie installiere ich den nvidia patch?
Quote
19:00:01 | 08.04.2020 <towo`> das ding ohne .txt nach /usr/src kopieren, nach /usr/src/nvidia-foo gehen und dann 'patch -p1 < ../nvidia-kernel-5.6.patch'

Ach ja, VBox funzt wieder ohne Patch

Virtualbox works again, without the patch

Code: [Select]
apt policy virtualbox
virtualbox:
  Installiert:           6.1.4-dfsg-4
  Installationskandidat: 6.1.4-dfsg-4

Title: Re: Linux 5.6.3
Post by: NochEinNeuer on 2020/04/11, 16:36:49
Danke.Den Patch installierte ich jetzt, aber beim Neustart bleibts unter Kernel 5.6.3 hängen. Anbei ein Bild vom hängenden Bildschirm.....

Title: Re: Linux 5.6.3
Post by: axt on 2020/04/11, 16:39:28
Quote from: NochEinNeuer
Anbei ein Bild vom hängenden Bildschirm

Was überhaupt nichts bringt, da man dort nur durchgelaufenes sehen kann.

Btw., nutzt Du denn überhaupt einen nvidia 440.66, um den es hier geht, oder in Abhängigkeit zu Deiner GPU eine völlig andere nvidia-Version (304.x, 340.x, 418.x)?
Title: Re: Linux 5.6.3
Post by: NochEinNeuer on 2020/04/11, 18:31:29
Installiert ist 440.64-2
Allerdings funzte der 5.6.3er Kernel auch ohne Patch nicht bei mir....
Title: Re: Linux 5.6.3
Post by: NochEinNeuer on 2020/04/12, 10:36:49
Letzte Nacht gabs ein Update zu nvidia und es funzt
Title: Re: Linux 5.6.3
Post by: devil on 2020/04/16, 08:28:40
https://9to5linux.com/oracle-releases-virtualbox-6-1-6-with-support-for-linux-kernel-5-6
Title: Re: Linux 5.6.3
Post by: vilde on 2020/04/16, 09:34:15
https://9to5linux.com/oracle-releases-virtualbox-6-1-6-with-support-for-linux-kernel-5-6 (https://9to5linux.com/oracle-releases-virtualbox-6-1-6-with-support-for-linux-kernel-5-6)
Quote
vilde@vilde-T420:~$ apt-show-versions virtualbox
virtualbox:amd64/unstable 6.1.6-dfsg-1 uptodate
Thank's devil, works on newest kernel  :)