Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752307AbZLTIsO (ORCPT ); Sun, 20 Dec 2009 03:48:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751535AbZLTIsN (ORCPT ); Sun, 20 Dec 2009 03:48:13 -0500 Received: from pfepa.post.tele.dk ([195.41.46.235]:45645 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751162AbZLTIsN (ORCPT ); Sun, 20 Dec 2009 03:48:13 -0500 Date: Sun, 20 Dec 2009 09:46:56 +0100 From: Sam Ravnborg To: Michael Guntsche , Oliver Hartkopp Cc: linux-kernel , mjt@tls.msk.ru, mmarek@suse.cz Subject: Re: 2.6.33-rc1 Reboot right after bootloader Message-ID: <20091220084656.GA485@merkur.ravnborg.org> References: <20091219233457.GA4288@trillian.comsick.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091219233457.GA4288@trillian.comsick.at> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1447 Lines: 43 On Sun, Dec 20, 2009 at 12:34:57AM +0100, Michael Guntsche wrote: > Good evening, > > I took me some time but I tracked down my reboot problem. The culprit is > commit > > 4a2ff67c88211026afcbdbc190c13f705dae1b59: kbuild: fix bzImage build for > x86 > > The system I am compiling the kernel on has dash as its defaults shell. > With the commit applied I get an instant reboot, reverting the patch > makes it work again. > If I switch my default shell to bash it works BOTH times. > I do not know why the shell makes a difference here though. > The version of dash is 0.5.5.1 from debian unstable. Hi Michael & Oliver. Just to check what is going wrong here could you try to execute the following two commands: printf \\xa8\\x51\\x37\\x00 > x ; hexdump x /usr/bin/printf \\xa8\\x51\\x37\\x00 > x ; hexdump x echo -ne \\xa8\\x51\\x37\\x00 > x ; hexdump x Please try as above and also with full path to printf (/usr/bin/printf) On my system it looks like this: $ printf \\xa8\\x51\\x37\\x00 > x ; hexdump x 0000000 51a8 0037 0000004 $ /usr/bin/printf \\xa8\\x51\\x37\\x00 > x ; hexdump x 0000000 51a8 0037 0000004 $ echo -ne \\xa8\\x51\\x37\\x00 > x ; hexdump x 0000000 51a8 0037 0000004 Sam -- 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/