From mboxrd@z Thu Jan 1 00:00:00 1970 From: Atom2 Subject: Re: Powerdown problem on XEN | ACPI S5 Date: Thu, 15 Aug 2013 21:28:24 +0200 Message-ID: <520D2BD8.6050606@web2web.at> References: <520B8D63.6040903@citrix.com> <520BB7B7.1000108@web2web.at> <520BBEC3.6060004@citrix.com> <520BCF0B.4010106@web2web.at> <520BD621.1040701@web2web.at> <520BD80B.4060101@citrix.com> <520BDCE4.3040803@web2web.at> <520BE5FA.8040306@citrix.com> <520BE76A.9010905@web2web.at> <20130814203751.GA7959@phenom.dumpdata.com> <520BFCFA.4050902@web2web.at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VA3Dq-0002Bu-RX for xen-devel@lists.xenproject.org; Thu, 15 Aug 2013 19:28:39 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ben Guthro Cc: Andrew Cooper , Ian Campbell , xen-devel , Jan Beulich List-Id: xen-devel@lists.xenproject.org Hi guys, thanks for your further input. Following through Ben's mail below and Konrad's later mail suggesting the same, I tried to get these patches in. I'd however require your help before I feel I can safely proceed. Please see below: Am 15.08.13 03:58, schrieb Ben Guthro: [...] > I admit, I don't know how the gentoo build system works, but the general > idea here is that you want to revert those 2 commits, and apply the third. > > If you don't have a git tree, you can download the two commits from > these two links > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=c79c49826270b8b0061b2fca840fc3f013c8a78a > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=8eaffa67b43e99ae581622c5133e20b0f48bcef1 > > You'll want to apply them in reverse After consultation with the manual I decided to give it a dry-run before and check with you guys first. First of all, I assume I'm righht that this is a patch to the *linux kernel* and not the xen-sources as I could not find the referenced files in the xen tree. > patch -p1 -R < c79c498.patch vm-host # patch --dry-run -p1 -R < c79c498.patch patching file arch/x86/xen/enlighten.c Hunk #2 succeeded at 1431 (offset 14 lines). I am slightly worried about the last message, not so much about the offset, but rather only the "Hunk #2" success. Why is there no "Hunk #1" when there's a "Hunk #2"? > patch -p1 -R < 8eaffa67.patch vm-host # patch --dry-run -p1 -R < 8eaffa67.patch patching file arch/x86/xen/enlighten.c Hunk #1 succeeded at 1367 (offset 226 lines). patching file arch/x86/xen/mmu.c Hunk #1 succeeded at 434 (offset 19 lines). Hunk #2 succeeded at 482 (offset 19 lines). Hunk #3 succeeded at 495 (offset 19 lines). That seems to be o.k. from my understanding? > > Then apply the patch from > https://lkml.org/lkml/2012/2/10/229 For this patch I copied the complete text from the https address above and copied it to a file named 229.patch. Then I issued the following command: vm-host # patch --dry-run -p1 -R < 229.patch patching file arch/x86/include/asm/pgtable.h Unreversed patch detected! Ignore -R? [n] I am not sure what to make out of this? Could you please provide some input. Thanks and sorry for those probably dumb questions. I'm new to this (automated) patching thing, and with a little help, the first time usually works out well.