Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756827AbYAHCiN (ORCPT ); Mon, 7 Jan 2008 21:38:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756409AbYAHCh6 (ORCPT ); Mon, 7 Jan 2008 21:37:58 -0500 Received: from rv-out-0910.google.com ([209.85.198.184]:14442 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbYAHCh5 (ORCPT ); Mon, 7 Jan 2008 21:37:57 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=Bhhg2akSY34yXVdBMZlDQMxWXTZDR5hILl/kPjeIQzWHHTtLg69uPNk06zG5mT8A3yNyWu0n68ZAQYkhTW2vgdmCfoe4mHmHbmc3hckPuI0yO7d5yH/09acTnnK7hpwjORHH8vZtiK7l9DZ51ua4Zep53zL/dcmNEvN5wQeA7LI= Message-ID: <86802c440801071837q1d6d63ewf095c9b497b33785@mail.gmail.com> Date: Mon, 7 Jan 2008 18:37:56 -0800 From: "Yinghai Lu" To: "Christoph Lameter" , "Eric W. Biederman" Subject: kexec fail Cc: LKML MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2441 Lines: 69 just found that when kexec 2.6.24-rc7 from RHEL 5.1 kernel got Your BIOS doesn't leave a aperture memory hole Please enable the IOMMU option in the BIOS setup This costs you 64 MB of RAM Mapping aperture over 65536 KB of RAM @ 20000000 Bad page state in process 'swapper' page:ffffe20004000018 flags:0x0000000000000000 mapping:0000000000000000 mapcount:1 count:0 Trying to fix it up, but a reboot is needed Backtrace: Pid: 0, comm: swapper Not tainted 2.6.24-rc7-smp #1 Call Trace: [] bad_page+0x63/0x8d [] __free_pages_ok+0x7c/0x2a5 [] free_all_bootmem_core+0xd0/0x198 [] numa_free_all_bootmem+0x3b/0x76 [] mem_init+0x4e/0x165 [] start_kernel+0x236/0x2c2 [] _sinittext+0x123/0x12a Bad page state in process 'swapper' page:ffffe20004000050 flags:0x0000000000000000 mapping:0000000000000000 mapcount:1 count:0 Trying to fix it up, but a reboot is needed Backtrace: Pid: 0, comm: swapper Tainted: G B 2.6.24-rc7-smp #1 Call Trace: [] bad_page+0x63/0x8d [] __free_pages_ok+0x7c/0x2a5 [] free_all_bootmem_core+0xd0/0x198 [] numa_free_all_bootmem+0x3b/0x76 [] mem_init+0x4e/0x165 [] start_kernel+0x236/0x2c2 [] _sinittext+0x123/0x12a ... somewhere from 64M start_kernel ==> mem_init ==> numa_free_all_bootmem ==> free_all_bootmem_node (NODE_DATA(i)) ==> free_all_bootmem_core () ==> __free_pages_boot_mem ==> __free_pages(page, oder) ==> __free_pages_ok(page, order) ==> free_pages_check ==> bad_pages... try to kexec 2.6.23 from RHEL 5.1, will get Your BIOS doesn't leave a aperture memory hole Please enable the IOMMU option in the BIOS setup This costs you 64 MB of RAM ======> reboot but 2.6.24-rc7 kexec 2.6.24-rc7 is ok. YH -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/