From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966124AbXJPVlX (ORCPT ); Tue, 16 Oct 2007 17:41:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965859AbXJPVlF (ORCPT ); Tue, 16 Oct 2007 17:41:05 -0400 Received: from www17.your-server.de ([213.133.104.17]:36955 "EHLO www17.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965853AbXJPVlD (ORCPT ); Tue, 16 Oct 2007 17:41:03 -0400 Message-ID: <47152FE6.3050204@m3y3r.de> Date: Tue, 16 Oct 2007 23:40:54 +0200 From: Thomas Meyer User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: sam@ravnborg.org CC: Randy Dunlap , Linux Kernel Mailing List , kexec@lists.infradead.org Subject: Re: kexec: Cannot determine the file type of arch/x86/boot/bzImage References: <47151631.9000307@m3y3r.de> <20071016130657.8cc17011.randy.dunlap@oracle.com> In-Reply-To: <20071016130657.8cc17011.randy.dunlap@oracle.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: thomas@m3y3r.de Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Randy Dunlap schrieb: > On Tue, 16 Oct 2007 21:51:13 +0200 Thomas Meyer wrote: > > [adding kexec mailing list] > > >> Look at this: >> >> $ file arch/x86/boot/bzImage (tree 821f3eff7cdb9d6c7076effabd46c96c322daed1) >> arch/x86/boot/bzImage: Linux kernel x86 boot executable zImage, version >> 2.6.23 (thomas@hotzenplotz) #39, RO-rootFS, root_dev 0x803, swap_dev >> 0x1, Prompt for Videomode >> >> $ file /boot/bzImage-2.6.23 >> /boot/bzImage-2.6.23: Linux kernel x86 boot executable RO-rootFS, >> root_dev 0x803, swap_dev 0x1, Normal VGA >> >> and this: >> >> # kexec -l arch/x86/boot/bzImage >> Cannot determine the file type of arch/x86/boot/bzImage >> >> How to solve this error? >> $ git bisect good f77bf01425b11947eeb3b5b54685212c302741b8 is first bad commit commit f77bf01425b11947eeb3b5b54685212c302741b8 Author: Sam Ravnborg Date: Mon Oct 15 22:25:06 2007 +0200 kbuild: introduce ccflags-y, asflags-y and ldflags-y Introduce ccflags-y, asflags-y and ldflags-y so we soon can deprecate use of EXTRA_CFLAGS, EXTRA_AFLAGS and EXTRA_LDFLAGS. This patch does not touch any in-tree users - thats next round. Lets get this committed first and then fix the users of the soon to be deprecated variants next. The rationale behind this change is to introduce support for makefile fragments like: ccflags-$(CONFIG_WHATEVER_DEBUG) := -DDEBUG As a replacement for the uglier: ifeq ($(CONFIG_WHATEVER_DEBUG),y) EXTRA_CFLAGS := -DDEBUG endif Signed-off-by: Sam Ravnborg :040000 040000 03915c7c738eefa31f2327521130df23b7dfe95e e2a1677df3709813ff793fdfa77d80fff9b838a7 M Documentation :040000 040000 ff4ad149975df39509a18782341f1f8f6a32f07a 663bce3c08a0f2e107cecb0b29edc4fe9d5735a0 M scripts