From: Gerd Hoffmann <kraxel@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Hans de Goede <hdegoede@redhat.com>,
Fedora ARM <arm@lists.fedoraproject.org>,
qemu-devel <qemu-devel@nongnu.org>,
Cole Robinson <crobinso@redhat.com>
Subject: Re: [Qemu-devel] boot arm fedora via u-boot in qemu
Date: Tue, 21 Oct 2014 20:31:58 +0200 [thread overview]
Message-ID: <1413916318.14632.32.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <CAFEAcA8pJfuMfi9=LnXNXOzCnusjNsaDjeGOXdgWksNkjiOQBw@mail.gmail.com>
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
next prev parent reply other threads:[~2014-10-21 18:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 13:33 [Qemu-devel] boot arm fedora via u-boot in qemu Gerd Hoffmann
2014-10-21 13:42 ` Hans de Goede
2014-10-21 17:01 ` Gerd Hoffmann
2014-10-21 13:47 ` Peter Maydell
2014-10-21 18:31 ` Gerd Hoffmann [this message]
2014-10-21 19:11 ` Peter Maydell
2014-10-21 22:16 ` Gerd Hoffmann
2014-10-22 9:59 ` Gerd Hoffmann
2014-10-26 19:29 ` Rabin Vincent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1413916318.14632.32.camel@nilsson.home.kraxel.org \
--to=kraxel@redhat.com \
--cc=arm@lists.fedoraproject.org \
--cc=crobinso@redhat.com \
--cc=hdegoede@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).