Debian :: Tried To Patch Kernel And Failed?

Jun 1, 2011

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 ?

View 7 Replies


ADVERTISEMENT

Ubuntu :: Trying To Patch 10.10 I686 - 1 Out Of 1 Hunk FAILED -- Saving Rejects To File Linux-2.6/Documentation/kernel-parameters.txt.rej

Nov 16, 2010

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.

View 7 Replies View Related

General :: Apply Kernel Patch - Couldn't Find File To Patch

Apr 8, 2011

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:

[code]...

View 14 Replies View Related

Debian :: Download Suggested Kernel Patch

Jul 30, 2011

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

View 7 Replies View Related

Debian Configuration :: Downgrade The Kernel Patch Version?

Aug 31, 2011

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

Debian Configuration :: Apply Driver Diff Patch Into A Custom Kernel

May 21, 2011

I' 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 Related

General :: Remove Patch From Kernel / Apply A Squashfs-lzma Patch (squashfs 4.1cvs)?

Sep 11, 2010

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

View 1 Replies View Related

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.

View 1 Replies View Related

Ubuntu :: Adding Patch To Wine: Hunk #1 FAILED At 94

Jul 7, 2010

So I'm trying to get Worms Armageddon working on linux via wine and following the instructions here. Downloaded source of Wine 1.1.39 from sourceforge, and using this patch. I try to patch by running this command:

Code:
patch -p0 < ../worms.patch
But I get this error in return:

Code:
patching file b/dlls/wined3d/swapchain_gdi.c
Hunk #1 FAILED at 94.
1 out of 1 hunk FAILED -- saving rejects to file b/dlls/wined3d/swapchain_gdi.c.rej
patching file b/server/window.c
Hunk #1 FAILED at 2310.

1 out of 1 hunk FAILED -- saving rejects to file b/server/window.c.rej I'm not to familiar with this patching and compiling from source business.

View 7 Replies View Related

OpenSUSE :: YAST Online Update Failed Patch Installs?

Feb 4, 2010

I am whittling down my list of available YAST Online Updates for OpenSUSE 10.3. Most of the few remaining updates will not install because of an endless error list like this (xmessage on cancel):(gtk:4929): GLib-GObject-WARNING **: invalid cast from `GtkTextView' to `YGtkRichText'** (gtk:4929): WARNING **: Unknown tag 'p'

View 1 Replies View Related

Debian :: Failed To Load Kernel Module

Jun 23, 2015

I'vd a problem with loading modules. Booting gives the this error:

Code: Select alllucas@debian8-1:~$ systemctl --failed
  UNIT                         LOAD   ACTIVE SUB    DESCRIPTION
● systemd-modules-load.service loaded failed failed Load Kernel Modules

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

[Code] ....

Always the same error when booting. After a period of time, (Graphical User Interface) the mouse click no longer operates, also text input isn't possible.

I had no access to the system at all, even crt alt F1 stopped working, also text input was no't possible. so reinstall was the only option. Maybe there is a connection with this two errors.

I've reinstalled Debian 8 several times. Still, both errors stay.

The same happend again (in the GUI) is nothing possible, no txt input, no mouse click), but now I have access to the system, ctr/alt F1 is working.

View 12 Replies View Related

Ubuntu :: 200-line Kernel Patch

Jan 14, 2011

Is 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 Replies View Related

General :: Kernel Patch That Does Wonders?

Nov 16, 2010

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]...

View 1 Replies View Related

General :: Trying To Patch The Meego Kernel?

Apr 5, 2011

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?

View 4 Replies View Related

Fedora :: Unable To Apply Kernel Patch

Dec 10, 2009

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?

View 3 Replies View Related

General :: Ubuntu 10.04 - Apply A Patch To Kernel?

Aug 18, 2011

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

Kernel version 2.6.32-28-server

View 1 Replies View Related

Ubuntu Installation :: 200 Line Kernel Patch?

Jan 1, 2011

I 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 Related

General :: Using Ksplice To Patch Kernel Without Reboot?

Feb 22, 2011

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.

View 9 Replies View Related

Networking :: Patch For MPPE / MPPC For Kernel 2.6.38

Jun 30, 2011

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)

View 1 Replies View Related

Programming :: Syntax Not Clear In A Kernel Patch?

Apr 2, 2010

I 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?

View 2 Replies View Related

Debian Installation :: Failed To Load Kernel Modules On Startup

Sep 15, 2015

I have this kind of error:

Code: Select allr@prime:~$ systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
   Active: failed (Result: exit-code) since Чтв 2015-08-20 08:07:38 EEST; 13min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 150 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)

[Code] .....

View 0 Replies View Related

Debian Configuration :: Failed To Update After Install 2.6.38 Kernel In Squeeze

May 11, 2011

I'm using Squeeze amd64, installed latest kernel 2.6.38 from backport yesterday. Just now try to check for any update but failed, these messages show.

View 2 Replies View Related

Ubuntu :: Volume Control Missing - Kernel Patch

Jun 4, 2010

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 Related

Ubuntu :: Install Kernel Patch / Apply The Patches?

Oct 13, 2010

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.

View 9 Replies View Related

Ubuntu Servers :: New 200 Line Kernel Patch Does Wonders

Nov 17, 2010

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

View 5 Replies View Related

Slackware :: Performance Tweak /Kernel Patch Running Anyone?

Nov 19, 2010

[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 Related

Debian Configuration :: Failed To Load Firmware Iwlwifi With Kernel 4.1.0-trunk

Jul 14, 2015

I installed linux-image-4.1.0-trunk, when I boot into the kernel there's no wireless available. Dmesg indicates seems like the firmware is loaded, although firmware-iwlwifi is installed:
...
[ 11.047031] iwlwifi 0000:04:00.0: firmware: failed to load iwlwifi-7265D-13.ucode (-2)
[ 11.047039] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-13.ucode failed with error -2

View 5 Replies View Related

Ubuntu :: RTAI Patch On 2.6.31.8 Kernel - System Doesn't Boot

Oct 19, 2010

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.

View 3 Replies View Related

Ubuntu Installation :: Make Kernel Using Kernelcheck And 200 Lines Patch

Mar 8, 2011

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 Related

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.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved