Author Topic: [linux45] state of extramodules  (Read 1026 times)

0 Members and 1 Guest are viewing this topic.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
[linux45] state of extramodules
« on: 25. January 2016, 20:30:57 »
In this thread I'll inform you on how the progress is with linux45 and what the state on extra modules is.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [linux45] state of extramodules
« Reply #1 on: 25. January 2016, 20:35:39 »
So far aufs4 fails due follow_link() replacement. ZFS however has already patches for it. So I've still to compile the kernel for i686 and start compiling all extramodules to get possible errors.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [linux45] state of extramodules
« Reply #2 on: 25. January 2016, 21:58:58 »
Followed packages I was able to build:

Code: [Select]
linux44-nvidia-1:352.63-0
linux44-nvidia-304xx-304.131-0
linux44-nvidia-340xx-340.96-0
linux45-acpi_call-1.1.0-0
linux45-bbswitch-0.8-0
linux45-broadcom-wl-6.30.223.248-0
linux45-ndiswrapper-1.59-0
linux45-nvidiabl-0.88-0
linux45-open-vm-tools-modules-2:2013.09.16-0
linux45-rt3562sta-2.4.1.1_r2-0
linux45-tp_smapi-0.41-0
linux45-vhba-module-20140629-0
linux45-virtualbox-host-modules-5.0.12-0

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [linux45] state of extramodules
« Reply #3 on: 25. January 2016, 22:14:49 »
Catalyst

Code: [Select]
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/kcl_acpi.c:839:20: warning: 'KCL_ACPI_Slot_No_Hotplug' defined but not used [-Wunused-function]
 static acpi_status KCL_ACPI_Slot_No_Hotplug(KCL_ACPI_DevHandle handle, u32 lvl, void *data, void **rv)
                    ^
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c: In function '_copy_xregs_to_kernel':
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:6494:22: error: expected ':' or ')' before 'xstate_fault'
                      xstate_fault(err)
                      ^
  CC [M]  /home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/kcl_str.o
scripts/Makefile.build:258: recipe for target '/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.o' failed
make[1]: *** [/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1391: recipe for target '_module_/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod' failed
make: *** [_module_/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod] Error 2
make: Leaving directory '/usr/lib/modules/4.5.0-1-MANJARO/build'
==> ERROR: A failure occurred in build().

r8168
Code: [Select]
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/r8168/src/r8168-8.040.00/src/r8168_n.c:4203:30: error: 'NETIF_F_ALL_CSUM' undeclared (first use in this function)
                 features &= ~NETIF_F_ALL_CSUM;
                              ^
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/r8168/src/r8168-8.040.00/src/r8168_n.c:4203:30: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:258: recipe for target '/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/r8168/src/r8168-8.040.00/src/r8168_n.o' failed
make[1]: *** [/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/r8168/src/r8168-8.040.00/src/r8168_n.o] Error 1
Makefile:1391: recipe for target '_module_/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/r8168/src/r8168-8.040.00/src' failed
make: *** [_module_/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/r8168/src/r8168-8.040.00/src] Error 2
make: Leaving directory '/usr/lib/modules/4.5.0-1-MANJARO/build'
==> ERROR: A failure occurred in build().

virtualbox-guest-modules

Code: [Select]
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxsf/lnkops.c:67:5: error: unknown field 'follow_link' specified in initializer
     .follow_link    = sf_follow_link,
     ^
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxsf/lnkops.c:67:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
     .follow_link    = sf_follow_link,
                       ^
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxsf/lnkops.c:67:23: note: (near initialization for 'sf_lnk_iops.create')
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxsf/lnkops.c:69:5: error: unknown field 'put_link' specified in initializer
     .put_link       = free_page_put_link,
     ^
/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxsf/lnkops.c:69:23: error: 'free_page_put_link' undeclared here (not in a function)
     .put_link       = free_page_put_link,
                       ^
scripts/Makefile.build:258: recipe for target '/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxsf/lnkops.o' failed
make[2]: *** [/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxsf/lnkops.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxguest/r0drv/initterm-r0drv.o
  CC [M]  /home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxguest/r0drv/memobj-r0drv.o
  CC [M]  /home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxguest/r0drv/mpnotification-r0drv.o
  CC [M]  /home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxguest/r0drv/powernotification-r0drv.o
  CC [M]  /home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxguest/r0drv/linux/alloc-r0drv-linux.o
scripts/Makefile.build:407: recipe for target '/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxsf' failed
make[1]: *** [/home/phil/dev/git/manjaro/repositories/extra/linux45-extramodules/virtualbox-modules/src/dkms/vboxguest/5.0.12/build/vboxsf] Error 2

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [linux45] state of extramodules
« Reply #4 on: 25. January 2016, 22:51:40 »
r8168 is fixed with:

Code: [Select]
# https://github.com/torvalds/linux/commit/a188222b6ed29404ac2d4232d35d1fe0e77af370
sed -i 's|NETIF_F_ALL_CSUM|NETIF_F_CSUM_MASK|g' "$_pkgname-$pkgver"/src/r8168_n.c

Offline Strit

  • Maintainer
  • ***
  • Posts: 746
  • Manjaro Torrent Maintainer
    • Strits.dk
  • Branch: Stable
  • Desktop: XFCE
  • GPU Card: GTX 760 OC
  • GPU driver: Non-free nvidia 361
  • Kernel: 4.4.8-1-MANJARO
  • Skill: Intermediate
Re: [linux45] state of extramodules
« Reply #5 on: 26. January 2016, 08:05:14 »
No surprise that Catalyst failed. :P
They always fail for new kernels it seems.
Desktop PC: Manjaro XFCE 15.12 (stable, kernel 4.4)
Private Laptop: Manjaro Strit 16.03 (unstable, kernel 4.6)
Work Laptop: Manjaro Strit 16.03 (stable, kernel 4.4)
Netbook: Arch Linux XFCE/LXqt (i686, kernel 4.0)

Offline jonathon

  • Core Team
  • *****
  • Posts: 2104
  • Technologist - Teacher - Tea drinker
  • Branch: Unstable
  • Desktop: MATE 1.14
  • GPU Card: Nvidia GTX680M
  • GPU driver: Bumblebee nvidia+intel
  • Kernel: 4.6.0-*-MANJARO x86_64
  • Skill: Advanced
Re: [linux45] state of extramodules
« Reply #6 on: 26. January 2016, 20:07:21 »
For the next set of builds can we get ZFS+SPL updated to 0.6.5.4 ppls? :)
--
MSI GT70: Core i7-3630QM, 16GB, Nvidia GTX680M, Intel 2230, Manjaro-MATE-amd64-EFI
Lenovo X230: Core i5-3320M, 4GB, Intel HD4000, Intel 6205, Manjaro-MATE-amd64
Dell Studio 1749: Core i5 540, 8GB, ATi HD5650, Intel WLAN, Manjaro-Xfce-amd64
Let's go in the garden; you'll find something waiting.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [linux45] state of extramodules
« Reply #7 on: 28. January 2016, 22:07:34 »
Catalyst fails due ... and fixed with:

Code: [Select]
diff --git a/firegl_public.c b/firegl_public.c
index 2fcbc10..9e4e588 100755
--- a/firegl_public.c
+++ b/firegl_public.c
@@ -6467,6 +6437,14 @@ static void _copy_xregs_to_kernel(struct
         u64 mask = -1;
         u32 lmask = mask;
         u32 hmask = mask >> 32;
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,5,0)
+        int err;
+
+        /*WARN_ON(!alternatives_patched);*/
+
+        XSTATE_XSAVE(xstate, lmask, hmask, err);
+#else
         int err = 0;
 
         /*WARN_ON(!alternatives_patched);*/
@@ -6494,6 +6472,7 @@ static void _copy_xregs_to_kernel(struct
                      xstate_fault(err)
                      : "0" (err)
                      : "memory");
+#endif
 
         /* We should never fault when copying to a kernel buffer: */
         WARN_ON_FPU(err);
« Last Edit: 28. January 2016, 22:24:36 by philm »

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [linux45] state of extramodules
« Reply #8 on: 28. January 2016, 22:28:28 »
Virtualbox was fixed by Oracle. So all is fine now.