Author Topic: Manjaro LTS kernel with ck1(BFS)+BFQ patchsets (64bit/32bit/32bit-PAE)  (Read 28981 times)

0 Members and 2 Guests are viewing this topic.

Offline masolit

  • Vollwertiges Mitglied
  • ***
  • Posts: 192
  • Branch: stable
  • Desktop: KDE
  • GPU Card: intel-nVidia
  • GPU driver: non-free
  • Kernel: 3.14.20-1-MANJARO
  • Skill: Novice
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #15 on: 26. August 2013, 20:38:56 »
what about virtualbox-host-modules ?

Code: [Select]
sudo pacman -S virtualbox virtualbox-host-dkms
sudo dkms install vboxhost/4.2.16
sudo usermod -a -G vboxusers <username>

add a new line for each module to /etc/modules-load.d/virtualbox.conf

Code: [Select]
vboxdrv
vboxnetadp
vboxnetflt

and reboot


love this kernel :)
« Last Edit: 26. August 2013, 20:46:06 by masolit »

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #16 on: 27. August 2013, 03:57:40 »
I am an occasional virtualbox user, i just haven't needed a VM yet since installing Manjaro, sometime soon i'll be sure to put pre-built module package in the repo too... but until then anyone can build it (or any module) themselves so long as they have the -headers package is installed, as shown above by masolit. :) Thanks for posting the instructions here. :)

Offline masolit

  • Vollwertiges Mitglied
  • ***
  • Posts: 192
  • Branch: stable
  • Desktop: KDE
  • GPU Card: intel-nVidia
  • GPU driver: non-free
  • Kernel: 3.14.20-1-MANJARO
  • Skill: Novice
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #17 on: 28. August 2013, 20:04:02 »
I receive an error message

Code: [Select]
┌─[masolit]─[masolit-alienware]─[~/Desktop]
└──╼ sudo journalctl | grep cgroup
...
Aug 28 21:20:33 masolit-alienware systemd[1]: Failed to create cgroup cpu:/: No such file or directory

Is it safe to comment out that line?
Code: [Select]
ControlGroup=cpu:/
in /usr/lib/systemd/system/rtkit-daemon.service

Offline masolit

  • Vollwertiges Mitglied
  • ***
  • Posts: 192
  • Branch: stable
  • Desktop: KDE
  • GPU Card: intel-nVidia
  • GPU driver: non-free
  • Kernel: 3.14.20-1-MANJARO
  • Skill: Novice
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #18 on: 29. August 2013, 00:30:55 »
and how to install bbswitch

Code: [Select]
yaourt -S bbswitch-dkms ;)

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #19 on: 29. August 2013, 05:41:01 »
I receive an error message

Code: [Select]
┌─[masolit]─[masolit-alienware]─[~/Desktop]
└──╼ sudo journalctl | grep cgroup
...
Aug 28 21:20:33 masolit-alienware systemd[1]: Failed to create cgroup cpu:/: No such file or directory

Is it safe to comment out that line?
Code: [Select]
ControlGroup=cpu:/
in /usr/lib/systemd/system/rtkit-daemon.service

I'm afraid I cannot give you a reliable answer on whether you can safely comment out that line as I don't know exactly the effect it would have on rtkit.

I can tell you that this issue is known about:
https://bugs.freedesktop.org/show_bug.cgi?id=56971

I can tell you that any assertions that it is because something cgroups related is not enabled in the kernel config is not what causes the error, as this kernel has everything enabled that the official Manjaro kernel does.

On a sidenote, I don't actually get this error personally as when I gutted pulse out of my system it included the removal of rtkit, since pulse was the only thing requiring it.

Personally, if i did still have rtkit installed and was getting this error, so long as it's not causing any actual problems with the system, i'd just ignore it for now expecting it will get fixed upstream soon.
« Last Edit: 29. August 2013, 05:43:18 by Korrode »

Offline masolit

  • Vollwertiges Mitglied
  • ***
  • Posts: 192
  • Branch: stable
  • Desktop: KDE
  • GPU Card: intel-nVidia
  • GPU driver: non-free
  • Kernel: 3.14.20-1-MANJARO
  • Skill: Novice
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #20 on: 29. August 2013, 10:31:44 »
Ok, thx!  :)

Offline dsngjoe

  • Jr. Mitglied
  • **
  • Posts: 69
  • Branch: stable
  • Desktop: Cinnamon
  • GPU Card: 780 GHZ
  • GPU driver: non-free
  • Kernel: Linux311-x64
  • Skill: Intermediate
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #21 on: 31. August 2013, 03:51:29 »
Korrode will this have the patch on the kernel for bbswitch to be working on my nvidia laptop?  Thanks and we appreciate everything you do.

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #22 on: 31. August 2013, 05:56:02 »
Korrode will this have the patch on the kernel for bbswitch to be working on my nvidia laptop?
It doesn't.
Also the commit patch we revert for the 3.9 kernel fails to revert the 3.10 code.
Like how you pointed me to the relevant kernel commit originally, if you find similar information for the 3.10 kernel let me know... but otherwise, you're stuck on the 3.9.11 kernel for now. Lucky it's a good kernel ;p

EDIT: Did Linux 3.4.x bbswitch work for you?
You could always just use the official Manjaro linux34 if it works for you, then you still get continued security updates and bugfixes.
« Last Edit: 31. August 2013, 06:09:54 by Korrode »

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #23 on: 31. August 2013, 12:48:56 »
Another idea is to put it to Phil to include the patch with the 3.8.x kernel, which he plans to keep around a bit longer.

EDIT: For that, the modifications to the linux38 PKGBUILD are:
Code: [Select]
--- a/PKGBUILD 2013-08-31 07:10:26.000000000 +1000
+++ b/PKGBUILD 2013-08-31 21:03:57.014343000 +1000
@@ -48,6 +48,7 @@
         "3.8.13.5.patch"
         "3.8.13.6.patch"
         "3.8.13.7.patch"
+        "http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/patch/?id=b842701f3d800a0fba3cee5ec4163a2356f3aaa5"
 )
 sha256sums=('e070d1bdfbded5676a4f374721c63565f1c969466c5a3e214004a136b583184b'
             'abc523f59e4c7a4c8ccadd7fd3cd03b7ae8788b399040a1c949c4232601cfd5b'
@@ -76,6 +77,7 @@
             '5bf544c716d05fb50dbce2f6705d23e5f46a4afcbda7039781d5d631ed9b89dd'
             'ff6f4e3612e7293ddb11b0693488dbcad1256161e89cdefc445211d0753e1fb2'
             '5bc0d17d70a12a8d535c5e464744e56801a8345625e89650dd3da65941fc2241'
+            '65292cc6568c80b603cefd0c401e24258805f2daf3081eb794c3f4e7aa2195cc'
 )
 
 ## modules.symboles md5sums
@@ -132,6 +134,9 @@
   patch -Np1 -i "${srcdir}/aufs3-loopback.patch"
   patch -Np1 -i "${srcdir}/aufs3-proc_map.patch"
   patch -Np1 -i "${srcdir}/aufs3-standalone.patch"

+  # ACPI related patch reversion to fix bbswitch for some users
+  patch -Rp1 -i "${srcdir}/?id=b842701f3d800a0fba3cee5ec4163a2356f3aaa5"
 
   if [ "${CARCH}" = "x86_64" ]; then
     cat "${srcdir}/config.x86_64" > ./.config
« Last Edit: 31. August 2013, 13:07:39 by Korrode »

Offline dsngjoe

  • Jr. Mitglied
  • **
  • Posts: 69
  • Branch: stable
  • Desktop: Cinnamon
  • GPU Card: 780 GHZ
  • GPU driver: non-free
  • Kernel: Linux311-x64
  • Skill: Intermediate
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #24 on: 31. August 2013, 17:04:26 »
It doesn't.
Also the commit patch we revert for the 3.9 kernel fails to revert the 3.10 code.
Like how you pointed me to the relevant kernel commit originally, if you find similar information for the 3.10 kernel let me know... but otherwise, you're stuck on the 3.9.11 kernel for now. Lucky it's a good kernel ;p

EDIT: Did Linux 3.4.x bbswitch work for you?
You could always just use the official Manjaro linux34 if it works for you, then you still get continued security updates and bugfixes.

3.4 won't even load. I think its due to Haswell. 

Let me do some research for 3.10 and let you know if I find anything useful.

Thanks

Offline kremator

  • Vollwertiges Mitglied
  • ***
  • Posts: 147
  • meh...
  • Branch: unstable
  • Desktop: KDE5
  • GPU Card: m8600GT
  • GPU driver: Nvidia nonfree
  • Kernel: 4.xx
  • Skill: Intermediate
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #25 on: 02. September 2013, 17:50:46 »
any chance to somehow make it more official and be able to use mhwd-kernel command?

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #26 on: 05. September 2013, 15:37:33 »
Update: 3.10.10-1-MANJARO-ck1bfq


any chance to somehow make it more official and be able to use mhwd-kernel command?
Not for now, maybe later.

Offline were4994

  • Neuling
  • *
  • Posts: 11
  • Branch: stable
  • Desktop: Cinnamon
  • GPU Card: Geforce 8500GT
  • GPU driver: Nvidia
  • Kernel: linux34, linux39
  • Skill: Intermediate
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #27 on: 07. September 2013, 16:00:33 »
The ck1 and BFQ patchsets combined provide optimisations, including a CPU load scheduler (BFS) and an I/O scheduler (BFQ), each designed with desktop system performance and responsiveness in mind.

Any chance adding the PAE extensions also?

Thanks.

Offline Warez

  • Mirror Support Team
  • ***
  • Posts: 177
  • Branch: Stable
  • Desktop: Cinnamon
  • GPU Card: GeForce GT 740M / Intel® HD Graphics 4000
  • GPU driver: non-free
  • Kernel: 4.1.6-3-MANJARO x86_64
  • Skill: Intermediate
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #28 on: 07. September 2013, 23:40:43 »
This will be nice to be added to manjaro repo and you mantain it. Contact Phil.

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: Manjaro Kernel with ck1(BFS)+BFQ patchsets (incl. binary repo)
« Reply #29 on: 10. September 2013, 08:38:16 »
The ck1 and BFQ patchsets combined provide optimisations, including a CPU load scheduler (BFS) and an I/O scheduler (BFQ), each designed with desktop system performance and responsiveness in mind.

Any chance adding the PAE extensions also?
I'll add another i686 kernel that has PAE enabled soon.

This will be nice to be added to manjaro repo and you mantain it. Contact Phil.
Yeah I've been meaning to contact Phil since he mentioned working with custom kernel packagers, but i've been busy with work recently. Once it settles down I will.