Page 1 of 1

4.8 kernels in repos

Posted: Sun Oct 09, 2016 6:58 am
by anticapitalista
I have made available the latest and greatest kernel version - 4.8.

Install manually via apt-get or synaptic.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 9:15 am
by Jerry3904
What's the difference between ...antix and ...gnu-antix, or should I know that already?

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 9:48 am
by anticapitalista
gnu is libre version.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 9:56 am
by Richard
Thank you.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 10:14 am
by kmathern
Seems to work here

Code: Select all

$ inxi -SGxxx
System:    Host: mx1 Kernel: 4.8.0-antix.1-amd64-smp x86_64 (64 bit gcc: 4.9.3)
           Desktop: Xfce 4.12.2 (Gtk 2.24.25) info: xfce4-panel dm: lightdm
           Distro: MX-15_x64 Fusion 24 December 2015
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Kabini [Radeon HD 8240 / R3 Series]
           bus-ID: 00:01.0 chip-ID: 1002:9838
           Display Server: X.Org 1.16.4 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1600x900@60.00hz
           GLX Renderer: Gallium 0.4 on AMD KABINI (DRM 2.46.0 / 4.8.0-antix.1-amd64-smp, LLVM 3.8.1)
           GLX Version: 3.0 Mesa 12.0.3 Direct Rendering: Yes
And broadcom-sta-dkms & ndiswrapper-dkms appear to support the 4.8 kernel, but dkms displayed an error message for virtualbox-guest during the install (vbox 5.1.6 might support the 4.8 kernel).

Code: Select all

$ sudo dkms status
broadcom-sta, 6.30.223.271, 4.7.0-0.bpo.1-amd64, x86_64: installed
broadcom-sta, 6.30.223.271, 4.8.0-antix.1-amd64-smp, x86_64: installed
ndiswrapper, 1.60, 4.7.0-0.bpo.1-amd64, x86_64: installed
ndiswrapper, 1.60, 4.8.0-antix.1-amd64-smp, x86_64: installed
virtualbox-guest, 5.0.24, 4.7.0-0.bpo.1-amd64, x86_64: installed
Don't know if fglrx supports the 4.8 kernel.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 10:31 am
by Adrian
How is antix version compiled? Is it the debian 4.8 kernel or something else?

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 11:43 am
by anticapitalista
vanilla kernel from kernel.org plus a couple of patches used by siduction plus fbcondecor patch for splash

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 2:50 pm
by kmathern
kmathern wrote:... but dkms displayed an error message for virtualbox-guest during the install (vbox 5.1.6 might support the 4.8 kernel) ...
Added Stevo's OBS virtualbox repo which has vbox 5.1.6, it does support the 4.8 kernel.

Here's the last part of the install where dkms builds & installs the vbox* modules:

Code: Select all

Setting up virtualbox-guest-dkms (5.1.6.dfsg-1) ...
Loading new virtualbox-guest-5.1.6.dfsg DKMS files...
Building only for 4.8.0-antix.1-amd64-smp
Building initial module for 4.8.0-antix.1-amd64-smp
Done.

vboxguest:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.8.0-antix.1-amd64-smp/updates/

vboxsf.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.8.0-antix.1-amd64-smp/updates/

vboxvideo.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.8.0-antix.1-amd64-smp/updates/

depmod........

DKMS: install completed.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 2:56 pm
by Stevo
Does anyone want to build Vbox 5.1.6 for the MX repo? It will also need that newer kbuild first. My machine is still tied up building that openjdk-8 from jessie-backports, a bigger build than VB. (the self tests take longer than the build, though)

I'll test the fglrx from the test repo with the 4.8 kernel--if it hasn't been moved to main yet, it should be.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 3:00 pm
by v3g4n
Stevo wrote:Does anyone want to build Vbox 5.1.6 for the MX repo?
I'm at work right now, but can try and get er done tonight. If someone else isn't too busy though have at it.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 3:09 pm
by kmathern
Should we maybe add/create a patch to change the "notify-send" command here: https://sources.debian.net/src/virtualb ... lient/#L26 to an "echo"?
We made that change manually to the 98vboxadd-xclient file that MX-15 came with.

I think the patch might look something like this:

Code: Select all

--- virtualbox.orig/src/VBox/Additions/x11/Installer/98vboxadd-xclient	2016-10-09 15:05:17.797269263 -0400
+++ virtualbox/src/VBox/Additions/x11/Installer/98vboxadd-xclient	2016-10-06 12:51:39.067035876 -0400
@@ -23,7 +23,7 @@
 
 if ! test -c /dev/vboxguest 2>/dev/null; then
    # Do not start if the kernel module is not present.
-   notify-send "VBoxClient: the VirtualBox kernel service is not running.  Exiting."
+   echo "VBoxClient: the VirtualBox kernel service is not running.  Exiting."
 elif test -z "${SSH_CONNECTION}"; then
    # This script can also be triggered by a connection over SSH, which is not
    # what we had in mind, so we do not start VBoxClient in that case.  We do
@@ -34,3 +34,4 @@
   /usr/bin/VBoxClient --seamless || true
   /usr/bin/VBoxClient --draganddrop || true
 fi
+

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 4:01 pm
by Stevo
The patched fglrx-15.12 builds correctly on the 4.8 kernel, so we're good there.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 4:11 pm
by Adrian
With standard repos I get this:
Error! Bad return status for module build on kernel: 4.8.0-antix.1-amd64-smp (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
Error! Bad return status for module build on kernel: 4.8.0-antix.1-amd64-smp (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.3.36/build/make.log for more information.
Error! Bad return status for module build on kernel: 4.8.0-antix.1-amd64-smp (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 4:56 pm
by anticapitalista
You can (on antiX - don't know about MX) upgrade from Debian stretch repos broadcom-sta-dkms, ndiswrapper-dkms and virtualbox-guest-dkms to get rid of those errors (bar ndiswrapper).
I need to check if installing those 3 packages without upgrading the kernel causes any issue.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 5:14 pm
by Stevo
Compatible versions of ndiswrapper and broadcom-sta are still in the MX 15 test repository, we can move them to main.

As noted before, virtual box will have to be upgraded to be compatible with the newer kernel.

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 5:23 pm
by anticapitalista
Stevo wrote:Compatible versions of ndiswrapper and broadcom-sta are still in the MX 15 test repository, we can move them to main.
Will moving them over to main have any negative effects?

Re: 4.8 kernels in repos

Posted: Sun Oct 09, 2016 6:48 pm
by Stevo
I can't see how--the patches add a conditional to build in a different way if it sees newer kernels. They'll still build the old way for older kernels. They'll have to be tested, since I don't have most of the hardware. I can say that fglrx works fine with the patches for 4.6+ kernels; that's a patch I found on Arch or something--we'll have to move fglrx to main also if we go with a 4.6+ kernel.

Re: 4.8 kernels in repos

Posted: Mon Oct 10, 2016 8:09 am
by Adrian
I'm not that worried for my machine, I don't actually use ndiswrapper, I had it installed probably from a test, I just want to make sure that people can update the kernel without issues, without having to tell them, update this from stretch, update that from test...

Re: 4.8 kernels in repos

Posted: Mon Oct 10, 2016 1:07 pm
by Stevo
Well, some obscure drivers won't build on newer kernels, like that MT7610u one that nmadia needed. It remains to be discovered if there's any patch for it out there. I'll ask Tim to mainstream the testing ones if he hasn't already seen this.

Re: 4.8 kernels in repos

Posted: Wed Oct 12, 2016 10:28 am
by Richard
Running the 4.8 antiX kernel without problems (or any new ones) on MX-15_x64.
Seems fine.
This setup also runs fine with kernel 4.7.x or 3.16.x
Curiosity, I suppose.

Re: 4.8 kernels in repos

Posted: Wed Oct 12, 2016 10:57 am
by Adrian
Do we have the 4.7 kernel (the one that we are going to use in MX-16) in the repos?

Re: 4.8 kernels in repos

Posted: Wed Oct 12, 2016 11:09 am
by anticapitalista
Adrian wrote:Do we have the 4.7 kernel (the one that we are going to use in MX-16) in the repos?
No. It is in Debian backports. Have we agreed to use the 4.7 backports kernel?

Re: 4.8 kernels in repos

Posted: Wed Oct 12, 2016 11:29 am
by Jerry3904
My take: we should use 4.7.x as default in MX-16, b/c it will be recent, well tested and populated with drivers.

For people wanting easy access to something more recent, we will have the Package Installer and m_pav's respin.

Re: 4.8 kernels in repos

Posted: Wed Oct 12, 2016 3:57 pm
by richb
Jerry3904 wrote:My take: we should use 4.7.x as default in MX-16, b/c it will be recent, well tested and populated with drivers.

For people wanting easy access to something more recent, we will have the Package Installer and m_pav's respin.
Agree

Re: 4.8 kernels in repos

Posted: Wed Oct 12, 2016 4:16 pm
by Stevo
If Debian pulls it out of backports like they did the 4.6 kernel, we'll have to rebuild them or at least just host the packages in our repo. There's something that keeps them from building on a MX 15 platform--probably some code in the rules file that doesn't allow for "MX" and "Fusion" coming out of lsb_release. We could try and hack it, rebuild them on straight Jessie virtual machines, or in an OBS Jessie virtual machine.

Just a side note, my particular laptop throws kernel oops with the fglrx driver and the 4.6+ Liquorix kernels, and also the 4.8 antiX one I tested. It hasn't with the Debian backports kernels, so I use those and can't eat my own Liquorix dog food kernels (yum). I'd guess it's something going on with a scheduler, but exactly what...¯\_(ツ)_/¯

Edit: maybe just installing Debian's lsb packages would allow it to build, at the cost of losing a bit of our customization.

Re: 4.8 kernels in repos

Posted: Wed Oct 12, 2016 4:44 pm
by Adrian
We probably needs the kernel in our repo anyway if we want to do a rolling release. At least initially in the mx16-test repo.

Re: 4.8 kernels in repos

Posted: Sun Oct 16, 2016 11:19 am
by Uncle Slacky
I just tried it, and it gave me similar results to when I experimented with booting using the systemd option with earlier kernels- verrry slow boot and login, no compositor running (XFCE and Debian stable), no responsiveness, had to power cycle it to recover. I've reverted to 4.6 for now.

Re: 4.8 kernels in repos

Posted: Sun Oct 16, 2016 11:49 am
by v3g4n
Been running it for the last week and everything is running smoothly here.

Re: 4.8 kernels in repos

Posted: Sun Oct 16, 2016 5:59 pm
by Richard
The Debian 4.7.0-0.bpo.1-amd64 and the 4.7.0-0.bpo.1-686 both work fine for me.
I plan to leave them at least until MX-16 since it has been mentioned as the probable default
and I haven't seen any benefit on my boxes with either 4.8-antiX or the 4.7-Liquorix.

Probably because I haven't run any benchmarks, just semi-useful subjective observation.

4.8 TRNG

Posted: Mon Oct 17, 2016 5:23 am
by yop
Richard wrote: I haven't seen any benefit on my boxes with either 4.8-antiX or the 4.7-Liquorix.

Probably because I haven't run any benchmarks, just semi-useful subjective observation.
indeed. 4.8 does some crypto stuff right for a change.

Re: 4.8 kernels in repos

Posted: Wed Oct 19, 2016 7:31 pm
by rokytnji.1

Code: Select all

Linux biker 4.8.1-antix.1-686-smp-pae #2 SMP PREEMPT Tue Oct 11 15:09:29 EEST 2016 i686 GNU/Linux
 17:35:59 up  2:00,  3 users,  load average: 0.92, 0.38, 0.24
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
harry    pts/0    :0.0             17:35    3.00s  0.08s  0.00s w

Re: 4.8 kernels in repos

Posted: Fri Oct 21, 2016 1:51 am
by monsieurzik
Can we install them safely ? Do we need to use the test repos software ?

Edit: After launch, Test Repo installer doesn't stop to update but never finish. I had to log out to kill the application.
Any problems there ?