From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp02.in.ibm.com (e28smtp02.in.ibm.com [122.248.162.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e28smtp02.in.ibm.com", Issuer "GeoTrust SSL CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 8A6B32C01FA for ; Fri, 6 Jul 2012 15:20:55 +1000 (EST) Received: from /spool/local by e28smtp02.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Jul 2012 10:50:51 +0530 Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay04.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q665Kkw254329526 for ; Fri, 6 Jul 2012 10:50:47 +0530 Received: from d28av02.in.ibm.com (loopback [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q66ApQBO024706 for ; Fri, 6 Jul 2012 20:51:27 +1000 Message-ID: <4FF6759A.3010901@in.ibm.com> Date: Fri, 06 Jul 2012 10:50:26 +0530 From: "Suzuki K. Poulose" MIME-Version: 1.0 To: Tabi Timur-B04825 Subject: Re: 3.4.0-rc1: No init found References: <1333440522.3040.9.camel@pasglop> <4F7C4058.6090405@in.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Christian Kujau , "linuxppc-dev@lists.ozlabs.org" , LKML , Al Viro List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 07/06/2012 04:06 AM, Tabi Timur-B04825 wrote: > On Wed, Apr 4, 2012 at 7:36 AM, Suzuki K. Poulose wrote: > >>> Not sure if this is related, but at the end of each kernel compilation, >>> the following messages are printed: >>> >>> ------------ >>> SYSMAP System.map >>> SYSMAP .tmp_System.map >>> WRAP arch/powerpc/boot/zImage.pmac >>> INFO: Uncompressed kernel (size 0x6e52f8) overlaps the address of the >>> wrapper(0x400000) >>> INFO: Fixing the link_address of wrapper to (0x700000) >>> WRAP arch/powerpc/boot/zImage.coff >>> INFO: Uncompressed kernel (size 0x6e52f8) overlaps the address of the >>> wrapper(0x500000) >>> INFO: Fixing the link_address of wrapper to (0x700000) >>> WRAP arch/powerpc/boot/zImage.miboot >>> INFO: Uncompressed kernel (size 0x6d4b80) overlaps the address of the >>> wrapper(0x400000) >>> INFO: Fixing the link_address of wrapper to (0x700000) >>> Building modules, stage 2. >>> MODPOST 24 modules >>> ------------ >>> >>> I started to see these messages in January (around Linux 3.2.0), but never >>> investigated what it was since the produced kernels continued to boot just >>> fine. >> >> >> The above change was added by me. The message is printed when the 'wrapper' >> script finds that decompressed kernel overlaps the 'bootstrap code' which >> does the decompression. So it shifts the 'address' of the bootstrap code to >> the next higher MB. As such it is harmless. > > I see this message every time when I build the kernel. I know it's > harmless, but is this something that can be "fixed"? That is, can we > change some linker script (or whatever) to make 0x700000 the default > value? You could do this by setting the link_address by checking your platform, like some of the other platforms (e.g, pseries, ps3 ). Or we could add a parameter to the wrapper script to set the link_address ? Ben, Josh, What do you think ? Or maybe modify the wrapper script to just automatically find > the right spot without printing a message? We need the message there for people who have restriction of a fixed link address. This would help them to handle the situation accordingly than blindly failing on boot. Thanks Suzuki