Ubuntu / Linux news and application reviews.

WebUpd8 reader Mahdi has created Ubuntu 10.10 Maverick Meerkat 32bit .deb packages for Linux Kernel 2.6.36 compiled with the 200 lines patch which he says it works great so he wanted to share it with our readers (download links below). The patched Kernel will be available as an optional install in his Ubuntu remaster called AriOS (previously known as mFatOS) which is due to be released this week.


Download patched 2.6.36 Kernel for Ubuntu 10.10 Maverick Meerkat 32bit (both packages are required):
Warning: use it at your own risk!

To check if the "Automatic process group scheduling" (200-line patch) feature has been enabled on your system open a terminal and type:
cat /proc/sys/kernel/sched_autogroup_enabled

The output of this command must be "1".


For 64bit, you can find download links in our initial Alternative To The "200 Lines Kernel Patch That Does Wonders" Which You Can Use Right Away post (look at the end of the post).


If you have applied the 200 lines Kernel patch alternative, you may want to remove it before installing the above debs:

1. Remove the changes made to the ~/.bashrc file - open a terminal and type:
gedit ~/.bashrc

Then scroll down and remove this code (or similar code if you've used some older instructions):

if [ "$PS1" ] ; then  
   mkdir -p -m 0700 /dev/cgroup/cpu/user/$$ > /dev/null 2>&1
   echo $$ > /dev/cgroup/cpu/user/$$/tasks
   echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
fi

2. Remove the cgroup_clean file:
sudo rm /usr/local/sbin/cgroup_clean

3. Remove the changes made to the rc.local file:
sudo gedit /etc/rc.local

And remove the following lines (or similar code if you've used some older instructions):

mkdir -p /dev/cgroup/cpu
mount -t cgroup cgroup /dev/cgroup/cpu -o cpu
mkdir -m 0777 /dev/cgroup/cpu/user
echo "/usr/local/sbin/cgroup_clean" > /dev/cgroup/cpu/release_agent

Do not remove the "exit 0" line.


Then install the patched kernel .deb files and reboot.


Thanks to Mahdi for the patched Kernel!