From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-yx0-f177.google.com ([209.85.213.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RQ1cN-00049a-9Q for kexec@lists.infradead.org; Mon, 14 Nov 2011 18:50:55 +0000 Received: by yenl9 with SMTP id l9so6553508yen.36 for ; Mon, 14 Nov 2011 10:50:53 -0800 (PST) Subject: Re: Crash during vmcore_init From: Tim Hartrick In-Reply-To: References: <1318376345.2050.20.camel@boudreau> Date: Mon, 14 Nov 2011 10:50:50 -0800 Message-ID: <1321296650.2066.17.camel@boudreau> Mime-Version: 1.0 Reply-To: tim@edgecast.com 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: WANG Cong Cc: kexec@lists.infradead.org Wang, Thanks for taking the time to look at this. Here is the result from a 2.6.38 kernel used as base kernel and crashkernel: [ 1.314762] WARNING: at /build/buildd/linux-2.6.38/arch/x86/mm/ioremap.c:83 __ioremap_caller +0x350/0x3d0() [ 1.324394] Hardware name: PowerEdge R710 [ 1.328390] Modules linked in: [ 1.331443] Pid: 1, comm: swapper Not tainted 2.6.38-8-server #42-Ubuntu [ 1.338128] Call Trace: [ 1.340572] [] ? warn_slowpath_common+0x7f/0xc0 [ 1.346741] [] ? warn_slowpath_null+0x1a/0x20 [ 1.352729] [] ? __ioremap_caller+0x350/0x3d0 [ 1.358726] [] ? call_rcu_sched+0x15/0x20 [ 1.364375] [] ? copy_oldmem_page+0x4e/0xc0 [ 1.370194] [] ? __purge_vmap_area_lazy+0xfe/0x1f0 [ 1.376622] [] ? ioremap_cache+0x14/0x20 [ 1.382176] [] ? copy_oldmem_page+0x4e/0xc0 [ 1.388002] [] ? read_from_oldmem+0x7a/0xb0 [ 1.393827] [] ? merge_note_headers_elf64.clone.3 +0x6c/0x214 [ 1.401115] [] ? copy_oldmem_page+0x8a/0xc0 [ 1.406936] [] ? read_from_oldmem+0x7a/0xb0 [ 1.412752] [] ? vmcore_init+0x0/0x73 [ 1.418051] [] ? parse_crash_elf64_headers +0x10a/0x211 [ 1.424825] [] ? copy_oldmem_page+0x8a/0xc0 [ 1.430640] [] ? vmcore_init+0x0/0x73 [ 1.435940] [] ? parse_crash_elf_headers +0x7b/0x120 [ 1.442450] [] ? vmcore_init+0x23/0x73 [ 1.447839] [] ? do_one_initcall+0x45/0x190 [ 1.453661] [] ? kernel_init+0x169/0x1f3 [ 1.459218] [] ? kernel_thread_helper+0x4/0x10 [ 1.465298] [] ? kernel_init+0x0/0x1f3 [ 1.470680] [] ? kernel_thread_helper+0x0/0x10 The command line for the crashkernel: [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-2.6.38-8-server root=UUID=ea7a5a27-d58f-469f-a19c-3e65b69587f6 ro console=ttyS0,115200n8 irqpoll maxcpus=1 nousb memmap=exactmap memmap=640K@0K memmap=261484K@623232K elfcorehdr=884716K memmap=252K#2087484K The contents of /proc/iomem while running the base kernel: 00000000-0000ffff : reserved 00010000-0009ffff : System RAM 000a0000-000bffff : PCI Bus 0000:00 00100000-7f678fff : System RAM 01000000-015e1d6c : Kernel code 015e1d6d-01aca17f : Kernel data 01bae000-01d03fff : Kernel bss 26000000-35ffffff : Crash kernel 7f679000-7f68efff : reserved 7f679000-7f679003 : APEI ERST 7f67900c-7f679016 : APEI ERST 7f679060-7f67906b : APEI ERST 7f68d000-7f68efff : APEI ERST 7f68f000-7f6cdfff : ACPI Tables 7f6ce000-7fffffff : reserved 80000000-fdffffff : PCI Bus 0000:00 d5800000-d5ffffff : PCI Bus 0000:08 d5800000-d5ffffff : 0000:08:03.0 d6000000-d9ffffff : PCI Bus 0000:01 d6000000-d7ffffff : 0000:01:00.0 d6000000-d7ffffff : bnx2 d8000000-d9ffffff : 0000:01:00.1 d8000000-d9ffffff : bnx2 da000000-ddffffff : PCI Bus 0000:02 da000000-dbffffff : 0000:02:00.0 da000000-dbffffff : bnx2 dc000000-ddffffff : 0000:02:00.1 dc000000-ddffffff : bnx2 de000000-deffffff : PCI Bus 0000:08 de000000-de00ffff : 0000:08:03.0 de7fc000-de7fffff : 0000:08:03.0 de800000-deffffff : 0000:08:03.0 df0ff800-df0ffbff : 0000:00:1a.7 df0ff800-df0ffbff : ehci_hcd df0ffc00-df0fffff : 0000:00:1d.7 df0ffc00-df0fffff : ehci_hcd df100000-df2fffff : PCI Bus 0000:03 df100000-df1fffff : 0000:03:00.0 df2ec000-df2effff : 0000:03:00.0 df2ec000-df2effff : mpt df2f0000-df2fffff : 0000:03:00.0 df2f0000-df2fffff : mpt e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff] e0000000-efffffff : reserved e0000000-efffffff : pnp 00:09 fe000000-ffffffff : reserved fec00000-fec003ff : IOAPIC 0 fec80000-fec803ff : IOAPIC 1 fed00000-fed003ff : HPET 0 fed40000-fed44fff : PCI Bus 0000:00 fed90000-fed91fff : pnp 00:0b fee00000-fee00fff : Local APIC 100000000-c7fffffff : System RAM tim On Mon, 2011-11-14 at 13:39 +0000, WANG Cong wrote: > On Tue, 11 Oct 2011 16:39:05 -0700, Tim Hartrick wrote: > > > Kexec, > > > > I have been experiencing the crash below on Ubuntu 10.04 running > > 2.6.32-34-server and 2.6.38-8-server as the crashkernel on X86_64. The > > tools are: > > > > kexec-tools 1:2.0.2-1ubuntu3 > > makedumpfile 1.3.7-2 > > kdump-tools 1.3.7-2 > > > > I would be interested to know if this is a known problem and if so > > whether or not there is a patch in the pipeline to correct the problem. > > > > I will be happy to provide any other details that are required including > > debug builds if necessary. > .... > > > > [ 1.322100] ioremap: invalid physical address db74000000000000 [ > > 1.327919] ------------[ cut here ]------------ [ 1.332530] WARNING: > > at /build/buildd/linux-2.6.32/arch/x86/mm/ioremap.c:120 __ioremap_caller > > +0x360/0x3d0() > > This probably means that kexec-tools passed some incorrect > kernel parameter to the second kernel. > > So, what is the cmdline of your second kernel? And what is your > /proc/iomem of your first kernel? > > Cheers. > > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec