Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262180AbUKVQgB (ORCPT ); Mon, 22 Nov 2004 11:36:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262162AbUKVQeX (ORCPT ); Mon, 22 Nov 2004 11:34:23 -0500 Received: from e3.ny.us.ibm.com ([32.97.182.103]:15588 "EHLO e3.ny.us.ibm.com") by vger.kernel.org with ESMTP id S262139AbUKVQDG (ORCPT ); Mon, 22 Nov 2004 11:03:06 -0500 Message-ID: <41A20DB5.2050302@in.ibm.com> Date: Mon, 22 Nov 2004 21:33:01 +0530 From: Hariprasad Nellitheertha User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Akinobu Mita CC: Badari Pulavarty , Andrew Morton , Linux Kernel Mailing List , varap@us.ibm.com Subject: Re: [PATCH] kdump: Fix for boot problems on SMP References: <419CACE2.7060408@in.ibm.com> <20041119153052.21b387ca.akpm@osdl.org> <1100912759.4987.207.camel@dyn318077bld.beaverton.ibm.com> <200411201204.37750.amgta@yacht.ocn.ne.jp> In-Reply-To: <200411201204.37750.amgta@yacht.ocn.ne.jp> Content-Type: multipart/mixed; boundary="------------000006040206090300070401" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4727 Lines: 90 This is a multi-part message in MIME format. --------------000006040206090300070401 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Akinobu Mita wrote: > I've forgotten CC-ing. > > On Saturday 20 November 2004 10:05, Badari Pulavarty wrote: > > >>4) Load the second kernel to be booted using >> >> kexec -p --args-linux --append="root= dump >> init 1 memmap=exactmap memmap=640k@0 memmap=32M@16M" >> >>But kexec doesn't seem to like option "-p". >>Even when I removed "-p", its complaining about "--args-linux" There is a kexec-tools patch that is required to get the "-p" option working. I had sent it out only to the fastboot mailing list without updating kdump documentation. I will send out an updated documentation patch indicating this requirement (I will host the patch on some site and point to it in the document). Meanwhile, I am attaching the patch with this note. Kindly try kdump with this. Thanks! Regards, Hari --------------000006040206090300070401 Content-Type: text/plain; name="kexec-tools-panic.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="kexec-tools-panic.patch" ClNpZ25lZC1vZmYtYnk6IEhhcmlwcmFzYWQgTmVsbGl0aGVlcnRoYSA8aGFyaUBpbi5pYm0u Y29tPgoKCi0tLQoKIGtleGVjLXRvb2xzLTEuOTUtaGFyaS9rZXhlYy9rZXhlYy5jIHwgICAx MCArKysrKysrKystCiBrZXhlYy10b29scy0xLjk1LWhhcmkva2V4ZWMva2V4ZWMuaCB8ICAg IDYgKysrKy0tCiAyIGZpbGVzIGNoYW5nZWQsIDEzIGluc2VydGlvbnMoKyksIDMgZGVsZXRp b25zKC0pCgpkaWZmIC1wdU4ga2V4ZWMva2V4ZWMuY35rZXhlYy10b29scy1wYW5pYyBrZXhl Yy9rZXhlYy5jCi0tLSBrZXhlYy10b29scy0xLjk1L2tleGVjL2tleGVjLmN+a2V4ZWMtdG9v bHMtcGFuaWMJMjAwNC0xMC0xOCAxNDoyNzoyNy4wMDAwMDAwMDAgKzA1MzAKKysrIGtleGVj LXRvb2xzLTEuOTUtaGFyaS9rZXhlYy9rZXhlYy5jCTIwMDQtMTAtMTkgMjE6MDA6MjMuMDAw MDAwMDAwICswNTMwCkBAIC0zMCw2ICszMCw3IEBACiAvKiBsb2NhbCB2YXJpYWJsZXMgKi8K IHN0YXRpYyBzdHJ1Y3QgbWVtb3J5X3JhbmdlICptZW1vcnlfcmFuZ2U7CiBzdGF0aWMgaW50 IG1lbW9yeV9yYW5nZXM7CitzdGF0aWMgdW5zaWduZWQgbG9uZyBsb2FkX2ZsYWdzOwogCiBp bnQgdmFsaWRfbWVtb3J5X3JhbmdlKHN0cnVjdCBrZXhlY19zZWdtZW50ICpzZWdtZW50KQog ewpAQCAtMjQzLDcgKzI0NCw3IEBAIHN0YXRpYyBpbnQgbXlfbG9hZChjb25zdCBjaGF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JeyAicGFuaWMiLAkJMCwg MCwgT1BUX1BBTklDIH0sCisjZGVmaW5lIEtFWEVDX09QVF9TVFIgImh2ZGZ4bHVldDpwIgog CiAjZW5kaWYgLyogS0VYRUNfSCAqLwoKXwo= --------------000006040206090300070401-- - 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/