From: j.neuschaefer@gmx.net (Jonathan Neuschäfer)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Debugging a custom kernel
Date: Wed, 29 Jun 2011 22:42:31 +0200 [thread overview]
Message-ID: <20110629204231.GC1510@debian.debian> (raw)
In-Reply-To: <20110629201441.GF5604@hermes>
On Wed, Jun 29, 2011 at 10:14:41PM +0200, Apelete Seketeli wrote:
> Hello,
>
> I am working on a custom kernel, and I would like to add the necessary
> support to enable it to boot with qemu. In order to achieve that I am
> trying to debug it inside qemu by attaching a gdb to it. I still can't
> figure where the boot process is getting stuck with step-by-step
> execution, but it seems that the last function called is "delay_loop"
> from arch/x86/lib/delay.c.
> That function contains some assembly code, does someone know what it
> is supposed to do ?
> Beside, do you have any advice on the way I should proceed to get the
> necessary information to port the kernel ?
Does a stock kernel work in your setup?
If so, try using its config, most distributions put it into /boot as
config-`uname -r` or something.
HTH,
Jonathan Neusch?fer
prev parent reply other threads:[~2011-06-29 20:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-29 20:14 Debugging a custom kernel Apelete Seketeli
2011-06-29 16:41 ` Christopher Harvey
2011-06-29 21:27 ` Apelete Seketeli
2011-06-30 13:12 ` Christopher Harvey
2011-06-29 20:42 ` Jonathan Neuschäfer [this message]
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=20110629204231.GC1510@debian.debian \
--to=j.neuschaefer@gmx.net \
--cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.