From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4K2Q5bG012287 for ; Fri, 20 May 2005 02:26:06 GMT Received: by wproxy.gmail.com with SMTP id 68so1020984wri for ; Thu, 19 May 2005 19:26:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=piK1eXblE5WstOyPZN48QuqIT0GeTG1zzFJIPGCGpFvmMowLIlK5XQ0yUH0X64MB6xO8OuHAhiC2GpeDc/hhGY+2g2/BX/wdT1DtJey0tV6Sucea3STdQa28ZDjpPHKTdHtB4F8PRz3mBiOLeoMTN1vhmdm7rG/Ith+nngk27D0= Received: by 10.54.15.15 with SMTP id 15mr1378737wro; Thu, 19 May 2005 19:26:07 -0700 (PDT) Received: from ?10.0.0.10? ([201.19.66.139]) by mx.gmail.com with ESMTP id 28sm484941wrl.2005.05.19.19.26.06; Thu, 19 May 2005 19:26:07 -0700 (PDT) Message-ID: <428D4A40.7070704@gmail.com> Date: Thu, 19 May 2005 23:24:00 -0300 From: Leandro Castanheira User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050515) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-laptop@gentoo.org Reply-to: gentoo-laptop@lists.gentoo.org MIME-Version: 1.0 To: gentoo-laptop@lists.gentoo.org Subject: Re: [gentoo-laptop] can't patch the kernel to swsusp2 References: <428BFC29.3020007@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8e4c68a0-8307-4ae8-86d5-73d31479bacd X-Archives-Hash: 79de5b42bf679b22ce93bb45074cfc8d 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 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@gentoo.org mailing list >> >> >> >> > > > -- gentoo-laptop@gentoo.org mailing list