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


ADVERTISEMENT

General :: Patching File Ssh2.c Hunk #1 FAILED At 477 - 1 Out Of 1 Hunk FAILED - Saving Rejects To File Ssh2.c.rej

Feb 11, 2010

I was installing PECL extension. i have downloaded the setup. then whatever process is mension in this link i have done that. PHP: Installation - Manual. when i m doing patch <patchfile i m getting this patching file ssh2.c Hunk #1 FAILED at 477. 1 out of 1 hunk FAILED -- saving rejects to file ssh2.c.rej

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

Programming :: Patch Command: Hunk #1 Succeeded At 25 With Fuzz 1

Oct 21, 2010

I am beginning to start to work with compiling and I get some confusing output adding patches to sourcecode (xosview-1.8.3). (The patch is for suppressing warnings while running the make command : deprecated conversion from * char to ** char ) Xosview compiles without the patch. The patch itself contains 17 files to add mostly const char instead of char. It is one single file containing also files in one subdirectory.
While running `patch < PATCHFILE.patch I had to copy'n'paste the filenames of the subdirectory to the terminal to keep it going. To get it going without much manual input I split it up for the two directories. I got the original patch and both splitted patches succeeding but with confusing output like :

patch unexpectedly ends in middle of line Hunk #2 succeeded at 78 with fuzz 1.

or just

patching file nfsmeter.h patch unexpectedly ends in middle of line # I splitted the original patch to every 17 files and this kind of output I get now at almost every patchfile. I downloaded patch source from debian
and running `pfind` (Puppy-linux speciality .sh) for search text in files showed off patch.c

Quote:
if (verbosity != SILENT)
say ("Hunk #%d FAILED at %s.
", hunk,
format_linenum (numbuf, newwhere));
} else {
if (verbosity == VERBOSE
[Code]........

As you can see the patch is working but what would I have to add to the patch? I added more newlines , added all lines to close a "{" if the patched line was inside ( also added "}" ), adjusted the path at the diff -uraNd /PATH/ -line, even deleted the diff line.

View 8 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 :: 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 View Related

General :: Vim - Avoid Changing A File's Linux Permissions When Saving Over A Samba Connection?

May 28, 2011

I have an Ubuntu development server and a Windows 7 workstation. I use Windows Gvim to edit files on the linux server, over a samba connection.Saving files from Windows change the Linux permissions in weird way depending on the Windows app I'm using and also depending on whether there's a file extension or not.Here are some testsNo extension; Notepad2: 644 to 764

matt@mattserver ~ % ls -l testfile
-rw-r--r-- 1 matt matt 0 2011-05-28 07:09 testfile
--- Save from Windows Notepad2 over network ---

[code]....

View 1 Replies View Related

Fedora :: Install Diablo 1 Through Wine On 64-bit 12 - 'Hunk #1 Failed'

Jan 5, 2010

I am running 64-bit Fedora 12, and am trying to install Diablo 1 through Wine. I installed wine from Yum, installed Diablo fine, but when I try to run it I get this message: wine: '/home/obriem5/.wine' is a 32-bit prefix, it cannot be used with wow64 Wine. On a side note, I tried installing Diablo using the guide given here, but received errors when trying to use the patch. (i.e, instead of seeing 'Hunk #1 succeeded', etc, I see 'Hunk #1 failed', etc.)

View 2 Replies View Related

Ubuntu Installation :: Set The Kernel Parameters To Perform An Unattended Install Using Preseed File?

Oct 23, 2010

I would like to create an unattended install ubuntu 10.10 cd. I have followed the ubuntu [URL].. on creating the preseed file, however, I can't find any useful tutorial on how to set the kernel parameters to perform an unattended install using my preseed file.

View 1 Replies View Related

OpenSUSE Install :: New Kernel Speed Up Patch File From Mike Galbraith?

Nov 19, 2010

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

View 9 Replies View Related

Debian :: Centralize Linux Offline Documentation

Oct 2, 2015

I am using Debian 8, fully updated as of this writing.

I want to find a package or some way to get all my linux offline documentation in one place, be it through the web browser or an application, in the official reppos or not does not matter. I've already tried doc-central with apache2 but I get all sorts of error messages and something about no D-bus daemon started, i dont understand, because I;ve installed d-bus service latest version after the error. when I started doc-central correctly through almost blind luck (only once) I did not get any docs just the welcome message.

Is there an alternative to doc-central, a GUI type solution would be preferable. or at least some advice to properly configure doc-central and maybe that d-bus problem, because I clearly did something wrong, I have even tried to write the configuration through an example file for doc-central, but that did not do much, I've read that DocCentral is unstable so maybe I going at it the wrong way.

View 0 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

Red Hat :: Upgrading Athlon Kernel To I686 Kernel - Work Around For 4Gb Memory

Apr 29, 2009

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

View 3 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

General :: Find The Documentation For RHEL 5.4 Kernel 2.6.18?

Jul 6, 2010

Where can I find the documentation for RHEL 5.4 kernel 2.6.18?

View 1 Replies View Related

Ubuntu Installation :: 10.4 : How To Use I386 Instead Of I686 Kernel

Sep 15, 2010

I just upgraded my box to ubuntu 10.4 from 8.04, as usual fast and without complications.I want to use the i386 kernel instead of the i686 (2.6.32-24) with aptitude and synaptics I have downloaded and installed but when I restart it jumps directly to gdm, no grub to choose, I also try to unistall the i686 version trough synaptics, as I did in previous versions , but I couldnt find any linux-i686 entry

View 3 Replies View Related

Fedora :: Install "inkscape" \ Checking Build System Type... I686-pc-linux-gnu?

Jun 6, 2011

I tried to install "inkscape", but when I typed Code:makeit said:

Code:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu

[code]....

View 6 Replies View Related

Server :: Cannot Set Kernel Parameters / What To Do?

Feb 8, 2011

I have a strange problem with RHEL4.7, with kernel 2.6.9-78.

I cannot set any kernel parameters by editing sysctl.conf file and run sysctl -p, everytime the old value appears, while it was possible before.

I tried to edit files under /proc by using vi when trying to save it gives me: E667: Fsync failed!
While echo 1>/proc/sys/net/ipv4/ip_forward also cannot edit the file.

Also I mounted proc device on another mount point:

# mount -t proc proc /mnt

View 1 Replies View Related

Ubuntu Installation :: Kernel Parameters : How To Modify Them

Feb 4, 2010

Bottom line first: Is there a GUI or otherwise friendly tool to modify the kernel parameters? One that will give help on a highlighted parameters?

Now as to my reason for this question:

In preparing for an Informix installation, I may need to change some kernel parameters. I could follow the advice of G�rard BIGOT from a couple of years ago at this URL. However, messing with the kernel this way, by directly editing /etc/sysctl.conf, is a bit scary. I have already backed up the current one and started editing according the Informix machine notes. However, I have commented out my new settings. [:Chicken]

The scariest aspect of this is that the notes recommend settings to kernel parameters that I do not find in /proc/sys/kernel. for example, it recommends setting SHMMIN to 1 but when I can /proc/sys.kernel/shmmin, there is no such file. (I did find shmmax.) Similarly for the very logical shmseg (max number of shared memory segments) - not found. I am afraid to add these into sysctl.conf if the equivalent pseudo-files don't exist.

Additional question: Where [on-line] do I find all kernel parameters documented? This is so that I am more certain of what I am doing instead of relying on my memory. For example, I don't recall the names of the parameters that control Kernel-Asynchronous I/O (KAIO) events.

View 3 Replies View Related

Ubuntu :: How To Edit Kernel Boot Parameters

Jun 18, 2010

Ubuntu 10.04 Gnome IBM Thinkpad 600e.I am trying to get sound going in my 600e which has the wrong chips in the sound card. I found some notes from 2008 that said in one of the steps to add the following to my kernel boot parameters: noapci nolapci notsc acpi=off pnpbios=off pci=noacpi

It said to hit the Esc key when I see the Grub Count on boot up to get into the kernel boot parameter's editor. However, I am not seeing any Grub Count and pressing the Esc key every second during boot up doesn't seem to get me there either. I have been searching for how to edit the boot parameters but no luck so far.

View 3 Replies View Related

Ubuntu :: Cannot Save GRUB Kernel Parameters

Apr 27, 2011

We're using 10.10-server. We are trying to make grub boot changes permanent. I've already looked at thread [URL]. We updated /etc/default/grub, and update-grub propagates those changes into /boot/grub/grub.cfg, but not into menu.lst. It appears to use menu.lst as the source at boot, so our change doesn't show up as a linux parm.

View 3 Replies View Related

Configuration :: Compile Debian Kernel As I686?

Dec 25, 2010

Could someone give a step-by-step tutorial on how to do this, for someone with no more than a basic understanding of navigating the OS?

I'd like to include architecture specific flags instead of the generic i686 ones if possible.

So far, my tests have revealed that Arch Linux runs faster than Debian several media apps. I initially thought this was due to the i686 optimization of Arch, but other mentioned it could simply be a kernel timer issue.

I know for a fact the differences aren't due to bloat, and I've installed both OSes from minimal install means. Only the absolutely needed dependencies have been installed.

View 11 Replies View Related

Fedora :: Kernel Headers 2.6.30.8-64.fc11.i686.PAE?

Oct 7, 2009

Where do I obtain this? I have the i586 kernel and I need the i686 kernel to run VMware. I beleive this may be the pottential reason virtualbox wasn't working too.

View 13 Replies View Related

OpenSUSE :: Freezing 11.3 -kernel 2.6.34.4-0.1-default I686

Sep 15, 2010

I have Opensuse 11.3 with kernel 2.6.34.4-0.1-default i686 and use KDE4-4.5.1 from the new OpenSuse repo. My system sometimes freezes while using Firefox or Chrome and also sometimes playing with Kpatience or browsing images with Gwenview.

My video card is an old Sapphire Radeon working with radeon module and desktop effects are off. The only way to bring up the system is hard resetting. I tried also the desktop kernel with no difference.

View 9 Replies View Related

Installation :: Grub2 Not Passing Parameters To Kernel?

Sep 8, 2010

I have installed grub2 on a flash drive to boot some os's that I want to carry around. But in grub.cfg when i put this:

Code: menuentry "BackTrack Persistent" {
set gfxpayload=1024x768
linux/backtrack/boot/vmlinuz BOOT=casper boot=casper persistent rw quiet
initrd/backtrack/boot/initrd.gz
} it does exactaly the same thing as this

[Code]....

I'm thinking of filing a bug report but I want to make sure i'm not doing something wrong first.

View 4 Replies View Related

General :: How Increasing RAM Affects Kernel Parameters

Nov 16, 2010

We just doubled the RAM on our RHEL 4 production servers...Oracle from 16gb to 32gb and Apache/JBoss from 8 to 32 gb. I am trying to figure out how to get the biggest bang from the increased RAM. Should kernel.shmmax be upped to be 50% of the 32gb....from its current 8gb? I need to create the largest possible SGA and was unable to do so, apparently because the kernel.shmmax value had gone unchanged.

And for the JBoss web servers, also RHEL 4, and particular kernel changes which can take advantage of the increased RAM and provide an immediate performance improvement?

View 7 Replies View Related

Debian Configuration :: How To Compile Kernel With I686 Architecture

May 5, 2011

I compile kernel with i686 architecture but I get linux-image-2.6.33.9-libre12.6.33.9-rt31_2.6.33.9-libre12.6.33.9-rt31-10.00.Custom_i386.deb. How I can do it ?

View 6 Replies View Related

Fedora :: Can't Find Kernel Source 2.6.31.12-174.2.22.fc12.i686

Mar 14, 2010

I can't seem to find the kernel source for 2.6.31.12-174.2.22.fc12.i686. This should be a simple task, what am I missing?

View 5 Replies View Related

Fedora :: Nvidia.ko For Kernel 2.6.32.9-70.fc12.i686 Was Not Found?

Mar 29, 2010

Forgive me if I have posted this in the wrong forum, first time poster with Fedora. I have been using Linux for some time now, mostly Mint, but Fedora 12 @ work. Anyway, I receive the following error in my /var/log/boot.log:

Code:
nvidia.ko for kernel 2.6.32.9-70.fc12.i686 was not found
and the driver does not load (My xorg.conf file is not loaded), but once I am at a

[code]...

View 3 Replies View Related

Fedora Installation :: How To Get Kernel-devel-2.6.32.11-99.fc12.i686

May 21, 2010

Use 2.6.32.11-99.fc12.i686 kernel,

A package needs same kernel source to build.

Add/Remove Software show only: 2.6.32.12-115.fc12... & 2.6.31.5-127.fc12...

How to get kernel-devel-2.6.32.11-99.fc12.i686?

View 1 Replies View Related







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