Fedora Installation :: Making A Kernel Patch Work With F11 Kernel?
Jun 12, 2009
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.
Today I decided to try to install 2.6.31.1 on Fedora 11, x86_64.I did it differently from what appears to be the RPM way, I instead just compiled it from the source.Anywho, ndiswrapper with NetworkManager doesn't work in the new kernel
I 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:
With the recent upgrade kernel, my ATI driver can no longer work. After upgrading to the new kernel, upon reboot I would get stuck at the "checking battery status" and can't boot into kubuntu.
I'm running Kubuntu 10.10 64 on intel i5 with radeon hd 4870.
So I thought I messed something up since I was fooling around with conky script the day before. I did a clean install of kubuntu 10.10 64 and reset all my settings and my files. At this point, everything works smoothly and I can reboot multiple times without a problem.
I proceeded to install the Radeon catalyst driver following the documentation, which worked perfectly for me on the previous kernel. After rebooting, I can no longer get pass the "checking battery state" black screen. I had to boot into safe book, uninstall all fglrx and also delete xorg.conf to be able to boot back in normally.
I'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?
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.
This 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.
Trying to install virtualbox in F12 but fails when recompiling kernel module. Output of vbox-install log is:
Attempting to install using DKMS removing old DKMS module vboxdrv version 3.1.6 Deleting module version: 3.1.6 completely from the DKMS tree. Creating symlink /var/lib/dkms/vboxdrv/3.1.6/source -> /usr/src/vboxdrv-3.1.6
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.32.11-99.fc12.i686.PAE cannot be found at /lib/modules/2.6.32.11-99.fc12.i686.PAE/build or /lib/modules/2.6.32.11-99.fc12. code....
I use a pretty fresh installed RHEL 5.4, which should be very similar to Fedora. After the basic installation I installed xen and xen-kernel via yum with no errors. I can select the xen-kernel at boot time. But after booting the normal kernel shows up.
I have installed the fedora 14, but there is no kernel source tree.I read the doc "building a custom kernel".But I don't want to rebuild a new kernel.I just want to install the source tree of current kernel.Could someone tell me the way?
I'm fairly new to linux Red Hat. We are running Rhel 3 on our VM's. We ran into a issue, (Bug 121801 - athlon-smp kernel does not support >4GB of RAM. what the stepos are to upgrade the existing kernel to the new i686? .
I was trying to update the new nvidia drivers since they dont seem to work in the newer kernel, or to try to fix it but now when i run yum update I get a screen like this:
Downloading Packages: Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: kernel-uname-r = 2.6.38.3-18.fc15.i686.PAE is needed by (installed) kmod-nvidia-2.6.38.3-18.fc15.i686.PAE-1:270.41.06-1.fc15.i686
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.
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?
Chris 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
I 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
Got 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.
I 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)
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?
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?
I 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.
Very 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
[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??