Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-laptop
Navigation:
Lists: gentoo-laptop: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-laptop@g.o
From: Leandro Castanheira <lleandro@...>
Subject: Re: can't patch the kernel to swsusp2
Date: Thu, 19 May 2005 23:24:00 -0300
Thanks, now it works....

Leandro

Ryan Viljoen wrote:

>I also asked this awhile back, the only way to get it to work is to
>hack it, its quite dirty. Open up the apply script in an editor and
>look for the following section:
>
>APPLIED_PATCHES=""
>bugger=
>for i in $PATCH_DIR/[0-9]* ; do
>        name=${i##$PATCH_DIR/}
>
>        echo "Applying $name ..."
>        apply_patch $i
>        ret=$?
>        if [ $ret -eq 10 ] ; then
>                prompt_yes "$name will not apply cleanly. Reverse
>applied patches" || exit 1
>                bugger=1
>                break
>        elif [ $ret -eq 20 ] ; then
>                echo "Eeep! Patch $name was supposed to apply cleanly
>but didn't!"
>                echo "Stopping right now. The patches that did
>successfully apply were:"
>                for i in $APPLIED_PATCHES ; do echo $i ; done
>                exit 2
>        fi
>        APPLIED_PATCHES="$name $APPLIED_PATCHES"
>done
>
>If you look at your if statements they should be 1 and 2 change them
>to 10 and 20. It will than apply all the patches to the kernel. Than
>make menucconfig and continue.
>
>I cant remember who told me about this but thanks to who ever it was.
>
>Hope it helps 
>Cheers
>Rav
>
>
>
>On 5/19/05, Leandro Castanheira <lleandro@...> wrote:
>  
>
>>Hi..
>>I'm trying to patch my kernel but when I run
>>/root/software-suspend-2.1.8-for-2.6.11/apply
>>I get:
>>
>>Applying 101-kdb-v4.4-2.6.11-rc3-common-1 ...
>>101-kdb-v4.4-2.6.11-rc3-common-1 will not apply cleanly. Reverse applied
>>patches [Yn]?
>>
>>If I put Y,
>>Reversing patches...
>>Done.
>>
>>but nothing happens..
>>
>>I already try to del the 101-kdb-v4.4-2.6.11-rc3-common-1 file in the
>>/root/software-suspend-2.1.8-for-2.6.11/ put the appears another one
>>102********* will not apply cleanly. Reverse applied patches [Yn]?
>>
>>So, what can i do?
>>
>>I did the
>>emerge kernel-sources
>>and get the
>>http://www.suspend2.net/downloads/all/software-suspend-2.1.8-for-2.6.11.tar.bz2
>>
>>Thanks,
>>Leandro
>>--
>>gentoo-laptop@g.o mailing list
>>
>>
>>    
>>
>
>  
>

-- 
gentoo-laptop@g.o mailing list

References:
can't patch the kernel to swsusp2
-- Leandro Castanheira
Re: can't patch the kernel to swsusp2
-- Ryan Viljoen
Navigation:
Lists: gentoo-laptop: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: can't patch the kernel to swsusp2
Next by thread:
Re: can't patch the kernel to swsusp2
Previous by date:
Re: can't patch the kernel to swsusp2
Next by date:
Unable to boot Linux 2.4 on iBook G4


Updated Jun 17, 2009

Summary: Archive of the gentoo-laptop mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.