From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RQse9-0007gy-J9 for kexec@lists.infradead.org; Thu, 17 Nov 2011 03:28:19 +0000 Message-ID: <4EC47FCA.5090908@redhat.com> Date: Thu, 17 Nov 2011 11:30:18 +0800 From: Dave Young MIME-Version: 1.0 Subject: Re: Crash during vmcore_init References: <1318376345.2050.20.camel@boudreau> <1321296650.2066.17.camel@boudreau> <4EC21F67.10905@redhat.com> <1321396371.4198.5.camel@boudreau> <4EC31E55.6040809@redhat.com> <1321467647.2137.4.camel@boudreau> In-Reply-To: <1321467647.2137.4.camel@boudreau> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: tim@edgecast.com Cc: tj@kernel.org, WANG Cong , kexec@lists.infradead.org, linux-kernel@vger.kernel.org On 11/17/2011 02:20 AM, Tim Hartrick wrote: > > Dave, > > On Wed, 2011-11-16 at 10:22 +0800, Dave Young wrote: >> On 11/16/2011 06:32 AM, Tim Hartrick wrote: >> >>> >>> Dave, >>> >>> I tested with >>> >>> linux-image-3.1.1-030101-generic_3.1.1-030101.201111111651_amd64.deb >>> >>> which, as far as I know, is the Ubuntu build of the latest stable. >>> Below are the results. >>> >>> [ 1.427457] ioremap: invalid physical address 5800000000000 >> >> >> Hi, thanks for the testing >> >> Can you applied the debug patch to see if it's per cpu problem? >> >> Don't need test kdump, just >> cd /sys/devices/system/cpu >> cat cpu[x]/crash_notes >> >> probably cat crash notes of cpu number other than 0 will get the invalid >> address >> > > Using 3.1.1 stable with your patch. See below. > > > tim > > # for i in /sys/devices/system/cpu/cpu[0-9]*/crash_notes; do cat $i; done > 5800000000000 > 5800000000000 > 5800000000000 > 5800000000000 > 5800000000000 > 5800000000000 > 5800000000000 > 5800000000000 > > dmesg: > > [ 277.276349] per cpu addr ffff880c7fc19ad0 > [ 277.276352] addr is not in vmalloc area This addr is converted to an invalid phys address, looking the code below: if (in_first_chunk) { if (!is_vmalloc_addr(addr)) return __pa(addr); else return page_to_phys(vmalloc_to_page(addr)); } else return page_to_phys(pcpu_addr_to_page(addr)); I dont understand per cpu allocation well, if addr is not in first chunk then it should be in vmalloc area? Tejun, do you have any idea about this? > [ 277.277545] per cpu addr ffff880667c19ad0 > [ 277.277548] addr is not in vmalloc area > [ 277.278832] per cpu addr ffff880c7fc39ad0 > [ 277.278835] addr is not in vmalloc area > [ 277.280175] per cpu addr ffff880667c39ad0 > [ 277.280178] addr is not in vmalloc area > [ 277.281406] per cpu addr ffff880c7fc59ad0 > [ 277.281409] addr is not in vmalloc area > [ 277.282592] per cpu addr ffff880667c59ad0 > [ 277.282594] addr is not in vmalloc area > [ 277.284019] per cpu addr ffff880c7fc79ad0 > [ 277.284022] addr is not in vmalloc area > [ 277.285251] per cpu addr ffff880667c79ad0 > [ 277.285254] addr is not in vmalloc area > > > > > > > > -- Thanks Dave _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec