From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgeEA-0000JD-Qn for qemu-devel@nongnu.org; Tue, 21 Oct 2014 14:32:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgeE1-0002yy-Tx for qemu-devel@nongnu.org; Tue, 21 Oct 2014 14:32:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgeE1-0002yt-MN for qemu-devel@nongnu.org; Tue, 21 Oct 2014 14:32:05 -0400 Message-ID: <1413916318.14632.32.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 21 Oct 2014 20:31:58 +0200 In-Reply-To: References: <1413898431.14632.25.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] boot arm fedora via u-boot in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Hans de Goede , Fedora ARM , qemu-devel , Cole Robinson Hi, > > Any hints how to go on with debugging? > > Use the gdbstub to find out where the kernel is getting > stuck? "Kernel produces no output" just means "we didn't > get far enough through early boot for the kernel to start > sending output to the UART. You might find it useful to > turn on the earlyprintk support, and/or to build the > kernel with debug-UART-via-semihosting and add the > -semihosting argument to the QEMU command line. earlyprintk doesn't change anything. Ok, that leaves gdb. Stuck here: (gdb) info reg [ ... ] lr 0xc0868bf4 pc 0xc04eee18 Looking them up in System.map finds me: c04eee18 T __loop_delay c0868a28 T panic Ok, so the kernel came successfully though the uncompressing + relocation + enable paging, but paniced before earlyprintk can print something. Guess I'll have to fetch the vmlinux with debug info so I can get a full stack trace and see where it paniced, but not today. cheers, Gerd