Ubuntu :: 200-line Kernel Patch
Jan 14, 2011Is it already in the latest Ubuntu kernel or, if not, should I employ it or it's wonderful alternative or just wait for it get into the kernel?
View 9 RepliesIs it already in the latest Ubuntu kernel or, if not, should I employ it or it's wonderful alternative or just wait for it get into the kernel?
View 9 RepliesI am currently using Ubuntu 10.04. How would I install the 200 line kernel patch? The one that is supposed to make your computer so much faster.
View 4 Replies View RelatedVery cool news on a small patch that apparently works wonders with the linux scheduler. Click here to see Phoronix testing of new 200 line Linux Kernel Patch shows it does wonders for performance
View 5 Replies View RelatedI just want to upgrade my Slackware 13.1 kernel (2.6.33.4) to the latest stable kernel from kernel.org (2.6.38.2). I have never done anything like this and I am a Linux newbie, so I would appreciate a "Kernel Patching for Dummies" version if possible. I did do a search on this forum and most of what I read was over my head. I found an FAQ on kernelnewbies.org on "How To Apply A Patch" but when I attempted what they suggested, it said it couldn't find the file to patch at line 5 and asked me which file to patch. So I CTRL-Z'd out of there and came here. Here's what I tried:
[code]...
is there a way to remove a patch from a kernel?
I need to apply a squashfs-lzma patch (squashfs 4.1cvs) to the liquorix kernel source which is already patched with squashfs 4.0.
how would I do that?I tried googling got this. url
but I dont know the command used to apply the patch the patch is called
35.4-3.patch.gz
url
but that patch includes more than squashfs,etc
there is an issue with the way the Linux Kernel addresses memory by default and the graphic drivers for my Asus G1Sn. I have a patch that I had compiled against a custom kernel for 2.6.27.xx how ever it does not work with the latest kernel in Fedora 11. It is beyond me to rewrite the patch to work with a different kernel.
View 1 Replies View RelatedI am trying to compile the iscsi-target software SCST. It wants me to apply a patch to my Linux kernel in order to allow for certain performance gains. The problem is I still new to Linux development. Where do I begin? How do I apply the patch? Do I need to recompile the kernel? I am running Ubuntu 10.04.3 amd64
Kernel version 2.6.32-28-server
I did the latest patch/update to lucid this morning and it would appear that my Volume control has gone missing from the task bar. There doesn't seem to be a volume control in Applications > Sounds & Video either. I am sure this has to do with the patch upgrade that I installed as everything was working fine before. For that matter, I had no system sounds either and it took a power off reboot for that to come back. My Music program (atunes) is not working properly either and keeps locking up. How do I reverse this patch or get my system back to a functional state?
View 1 Replies View RelatedI need to install mainline kernel to make my notebook working and I have downloaded the kernel and patches from this link url
The kernel is in deb format so that is no problem on installing. But how to apply the patches? I need assistance because this is my first time meet kernel patch.
Ok here's the problem : I tried to patch the kernel of my Debian server with GrSecurity but when I rebooted I couldn't SSH the server anymore, but my host has a rescue system that lets me SSH the server so I can fix things.
So maybe the kernel patching failed, maybe it's a only a problem with Grub.
I don't really know what to do to fix this. If I messed up the kernel what can I do ? Can I just fix the problem by modifying the grub entries to only boot on the old kernel (I don't even know if it's here anymore, I'm quite the n00b) ?
Well for now I'll just try to mount the partitions (won't let me do "mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab" )
edit : to be clearer my main question is : how can I determine if it's because the kernel is messed up or because the system wouldn't boot properly ?
edit 2 : is there a way to create a log of what happens at boot so I can have an idea about what's wrong ?
IMO it really is the big thing! The patch being talked about is designed to automatically create task groups per TTY in an effort to improve the desktop interactivity under system strain. Mike Galbraith wrote the patch, which is currently in its third version in recent weeks, after Linus Torvalds inspired this idea. In its third form, this patch only adds 224 lines of code to the kernel's scheduler while stripping away nine lines of code, thus only 233 lines of code are in play. Tests done by Mike show the maximum latency dropping by over ten times and the average latency of the desktop by about 60 times.
[Code]...
I'm having no luck trying to apply this Kernel patch to Meego 1.2 (Running Linux Kernel version 2.6.37) I want to apply the first patch featured here on this page:
url
How do I go about patching this file into the Kernel?
I;m installing RTAI and I get this message. I can't seem to find the solution, because I really don't know exactly what the main problem is. There are a list of error,s and warnings that I 'm not sure from where should I tackle the problem: Here is what I get when I boot my 2.6.31.8 kernel with GRUB. (I used the RTAI x86 compatible patch):
[code]...
After that system does NOT boot.
I'm trying to make a 2.6.37.3 kernel using kernelcheck. I have custom compiled two previous kernels for maverick alone, so my .config it will load is optimized as I built with the localmodconfig option, and I have been using the 200 lines patch on my 2.6.35 kernels. I want to find the patch file that works on the 2.6.37 kernel for the 200 lines patch so I can optimize my speed, but the patch i found galbraith-patch is only for 2.6.36.
View 1 Replies View RelatedThis morning I ran the automatic upgrade provided on the repositories, updating my kernel from 2.6.38-8 to 2.6.38-10.Unfortunately, upon reboot I discovered that a series of patches I'd applied in order to get my wireless card on my desktop working had been undone (see I had to run a modified version of the instruction set in order to get my wireless back on.My question: is there a way to trigger this every time the kernel upgrades? I'd hate to have to run this cumbersome set of commands manually every time.
View 2 Replies View RelatedDoes anyone know if this kernel patch has been applied to any 11.04 kernels? [URL]
View 5 Replies View RelatedChris Wilson 2011-07-29 02:08:19 PDT wrote:Out of curiosity, we found a widespread bug affecting modesetting. Just on the off-chance that this is a timing issue and a incorrect clock setting
View 7 Replies View RelatedI'm having problems to install SCST in Fedora 11.I'm not able to apply the kernel patch because there isn't a file called drivers/scsi/scsi_lib.c in the /usr/src/kernels/2.6.29.4-167.fc11.i868.PAE.Does anybody have an idea on how to proceed?
View 3 Replies View RelatedGot a few multiuser systems for which scheduling an occasional reboot is a major PITA. Wondering if the ksplice solution is as painless as it sounds or there are tradeoffs.
View 9 Replies View RelatedI have got a Ubuntu 11.04 (Codename natty) Kernel Version : 2.6.38-8-generic-pae. I want enable PoPToP PPTP + MPPE 128bit Encryption + MPPC Compression VPN Server on that. I am looking for patch for MPPE/MPPC support of the kernel 2.6.38-8 (Ubuntu 11.04 natty)
View 1 Replies View RelatedI was going through init/calibrate.c.url
I am not clear with use of + sign before function names. If any one here is aware of this syntax let me know.
They have used + and - signs before some lines I am not sure of what they are?
When a real kernel version is upgraded, like say 2.6.32 to 2.6.38, the old kernel is left intact and is ready to be used in case of a problem with a new one, but when only a debian patch version is updated, like 2.6.32-30 to 2.6.32-35, the old kernel is replaced with a new one. More then this, aptitude shows that older version is not in repository either, so how do you supposed to revert back? Well, i did found -30 in apt cache when i got hit by a nasty regression in -35 yesterday, but what if i had cleaned apt cache?
View 1 Replies View Related[URL]... Anyone got this going on slackware? I've a single cpu and twincore here and the videos of the original patch were impressive. I tried it and I don't have /sys/fs/cgroup anything. So I added the cgroup scheduler in 2.6.35, but no dice. Do I have to go to git or 2.6.37??
View 2 Replies View RelatedI am trying to compile a patch for HDMI audio, reference this thread [URL]
Code:
Instructions:
- download alsa-driver-1.0.21 from alsa homepage
- unpack downloaded alsa:
$ tar jxvf alsa-driver-1.0.21.tar.bz2
- download and apply my patch
$ wget http: [URL]
$ cd alsa-driver-1.0.21
$ patch -p 1 < ../alsa-driver-1.0.21-nvidia-ion2-hdmi.patch
- compile alsa
$ ./configure
$ make
$ make install
when I do ./configure it outputs this
Code:
The file /lib/modules/2.6.33.7-pclos6.bfs/source/include/linux/autoconf.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.33.7-pclos6.bfs/source). How can I direct it to install with the 'full kernel sources' ?
I tried this : [URL].. Compiled my kernel with all cgroups options, but /sys/fs/cgroup/cpu, and i can't mkdir it.
View 14 Replies View RelatedI' d like to apply this patch into my squeeze: [URL] Can someone pls explain howto apply driver diff patch into a custom kernel?
View 9 Replies View Relatedstuff about a kernel speed up patch? Here is one Article The Linux desktop may soon be a lot faster - Computerworld Blogs And Yet another even stranger kernel speed up here:
Alternative To The "200 Lines Kernel Patch That Does Wonders" Which You Can Use Right Away ~ Web Upd8: Ubuntu / Linux blog I have no idea if any of this stuff is true, but lets see some of our high power guys check it out and let us know what is true or not.
I am impressed with 11.4 and am happy that for the first time ever I don't need to install a kernel patch to support my on-board nVidia graphics. However, the on-board sound no longer works now. I don't know how to set it up in phonon. My device number 0 in phonon is MCP72XE/MCP72P/MCP78U/MCP78S high definition audio, and I assume this is my nVidia on-board sound card. The driver information states snd-hda-intel.
How can I check what is wrong with it? It did work fine on 11.2 right up to the 11.4 installation. I do get system sounds (like the start-up and shut-down sounds), but nothing from any application, e.g., firefox playing a video. Based on the advice from another thread I tried: speaker-test -c2 -l5 -twav This does not produce any sound, but gives the following information: speaker-test 1.0.24.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
[Code]...
I saw this forum post and I want to try it out so I went here and copied and pasted the following text into a file called test.patch.
Code:
---
Documentation/kernel-parameters.txt | 2
drivers/tty/tty_io.c | 1
include/linux/sched.h | 19 ++++
init/Kconfig | 12 +++
kernel/fork.c | 5 +
kernel/sched.c | 25 ++++--
kernel/sched_autogroup.c | 140 ++++++++++++++++++++++++++++++++++++
[Code]....
1 out of 1 hunk FAILED -- saving rejects to file linux-2.6/Documentation/kernel-parameters.txt.rej I'm not so good with patching so I am sure it is probably something easy.
Has anyone tried compiling a custom kernel (from git source), with the "sched_autogroup_enabled" patch on the current (fully updated) maverick meerkat?
If so, will the brave soul please share their experience and how they did it.
The reason I am interested in it is due to the fantastic desktop responsiveness gains.