[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091220091019.GA20246@sig21.net>
Date: Sun, 20 Dec 2009 10:10:19 +0100
From: Johannes Stezenbach <js@...21.net>
To: Sam Ravnborg <sam@...nborg.org>
Cc: Michael Guntsche <mike@...loops.com>,
Oliver Hartkopp <oliver@...tkopp.net>,
linux-kernel <linux-kernel@...r.kernel.org>, mjt@....msk.ru,
mmarek@...e.cz
Subject: Re: 2.6.33-rc1 Reboot right after bootloader
On Sun, Dec 20, 2009 at 09:46:56AM +0100, Sam Ravnborg wrote:
> On Sun, Dec 20, 2009 at 12:34:57AM +0100, Michael Guntsche wrote:
> >
> > I took me some time but I tracked down my reboot problem. The culprit is
> > commit
> >
> > 4a2ff67c88211026afcbdbc190c13f705dae1b59: kbuild: fix bzImage build for
> > x86
>
> 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)
Debian dash has a built-in printf which doesn't support \x.
/usr/bin/printf works fine.
$ printf \\xa8\\x51\\x37\\x00 > x ; hexdump x
0000000 785c 3861 785c 3135 785c 3733 785c 3030
0000010
$ /usr/bin/printf \\xa8\\x51\\x37\\x00 > x ; hexdump x
0000000 51a8 0037
0000004
$ echo -ne \\xa8\\x51\\x37\\x00 > x ; hexdump x
0000000 6e2d 2065 785c 3861 785c 3135 785c 3733
0000010 785c 3030 000a
0000015
Johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists