Ubuntu Installation :: Running A Patch Every Time A Kernel Upgrades?
Jul 13, 2011
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.
[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??
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.
I have three system on Ubuntu 9.10. Two of them are at kernel level 22.214.171.124 and one seems to be stuck at 126.96.36.199. All three have about the same software sources. The only difference I can see is that the .17 system is on Grub2 and the other are Grub1 systems. I have tried updating via Synaptic but nothing can get the one system to get a kernal upgrade.
The .17 system seems to go through updates of packages but no kernel updates.
I just want to upgrade my Slackware 13.1 kernel (188.8.131.52) to the latest stable kernel from kernel.org (184.108.40.206). 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:
this is a new problem with issues that started when I upgraded to 10.10. Originally, GRUB wouldn't load after that upgrade, but that was fixed here. Once GRUB was working properly, there was a problem with the 2.6.35-28 generic kernel. When I tried to boot through it, I would only get an ubuntu command line.
Luckily the older 2.6.32-22 generic kernel worked just fine and I could log in and load my ubuntu desktop with no issues. I decided to upgrade to 11.04 to see if that would correct whatever was going on. The installation was completed without any apparent issues, GRUB works, XP Pro works, and the older 2.6.32-22 generic kernel allows me to boot into 11.04.
Unfortunately, another new kernel, 2.6.38-8 generic, is not working properly. I snaped some pictures of what happens when I try to use this kernel:
The first is GRUB/ The selection The second is the loading graphic The third is a command line where it freezes (note: this is not the same command line screen/environment that I was referring to with the 10.10 new kernel)
I have just suscribed into this forum. I have a problem: my notebook (NOTEBOOK SATELLITE L300-SP5917A - INTEL CORE 2 DUO T6400 (2.00 GHZ - 2 MB L2 - 800MHZ FSB) - 15.4 WIDESCREEN TRUBRITE TFT LCD - 400 GB SATA 2 .5 5400 RPM - 3GB PC2-6400 DDR2) doesn't boot ubuntu after the last security upgrade. I have wubi installed.I have Windows Vista and Ubuntu in the boot menu. I select "Ubuntu" and that leads me to the GRUB shell. I'm new in linux. It seems that GRUB doesn't detect the kernel. Maybe the file menu.lst has been deleted, or something similar, but I can't make my ubuntu to boot.
I'm trying to make a 220.127.116.11 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.
I have the latest release of Lucid Lynx installed. I want to try out audio recording on Linux so I want to know if it's possible to use a real time kernel with Lucid. So I installed the 2.6.31 real time kernel. It shows up in GRUB, but when I boot it gives me the message:
mounting none on /dev failed No such device
It then takes me to the login screen, and once I enter my password it just takes me back to the login.
I am currently struggling with one of my tasks.I was asked to find a way how to determine how much time an _already running_ process is spending in user and kernel space.E.G. <some tool> <pid>[Control] + [c]<pid> spent 12.1 seconds in user and 1.52 seconds in kernel space.Does something like this exist? Basically I guess I am looking for something similar to time, except that the process is already running.So..a) Is there a tool which fulfills this task?b) Is there a way to write your own software which does the job? Is it even possible to code something I am looking for?I recently found strace -c -p <pid>, but well, this is not exactly what I was looking for.
I am using Meerkat w/ the 18.104.22.168 kernel. I am extremely satisfied w/ the direction of Ubuntu and Canonical and am amazed at the focus and dedication of all involved, including the contributors and moderators here.
But I have a question regarding continually upgrading the distribution kernels while awaiting the next iteration (11.04). Is it advisable to upgrade every kernel when my system seems to run well without them? For instance, each kernel upgrade necessitates that I reinstall the NVIDIA driver, among a couple other minor problems. This is not that big a deal, but I would like to avoid it--it's just an irritation when I reboot to a black screen. But another irritation is continually ignoring the update notices.
Just installed the latest kernel upgrades, rebooted, fired up KDE and got this message: "KDE detected that one or more internal sound devices were removed. Do you want KDE to permanently forget about these devices? The list of the devices KDE thinks can be removed: Capture: HDA Intel (AD198x Analog) Output: HDA Intel (AD198x Analog) Output: HDA Intel (AD198x Digital)"
It then asked, "yes, cancel, manage devices." When I clicked on "manage" it showed Esound as the only device, but it didn't work. So, was something was left out when the packages were compiled?
I have some pending upgrades, one of which includes kernel 2.6.32-22 but whenever the upgrade gets to running the update-grub command, it gets stuck on "Found memtest86+..." Here's the actual output...
It's been hanging like this for hours today, preventing me from getting any of the pending upgrades. I've cancelled it several times, deleted the dpkg lock files and tried it again only to have it hang all over again.
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
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?
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 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 22.214.171.124 kernel with GRUB. (I used the RTAI x86 compatible patch):
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/126.96.36.199-167.fc11.i868.PAE.Does anybody have an idea on how to proceed?
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)