qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Robin Green <greenrd@greenrd.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 on Msys
Date: Tue, 06 Jun 2006 13:44:43 +0100	[thread overview]
Message-ID: <20060606134443.41c25d16@localhost.localdomain> (raw)
In-Reply-To: <20060606123513.50316.qmail@web38112.mail.mud.yahoo.com>

On Tue, 6 Jun 2006 05:35:13 -0700 (PDT)
Tieu Ma Dau <tieumadauy2k@yahoo.com> wrote:
> Hi All,  
>   I've compiled Linux kernel 2.6.16 with kgdb on Linux. And after
> that,   I've tried to debug this kernel with Qemu 0.8.1 on Msys to
> simulate ARM   Processor. In fact, I've run the command below:
> qemu-system-arm -kernel myKernel -initrd arm_root.img -s But I can't
> make the connection from arm-toolchain-gdb to the port 1234   (by
> default, this port must be openned by Qemu when using the option -s
> for debugging) Furthermore, I've confirmed if the port 1234 is
> openned or not with the   command: netstat -ao and there is not port
> 1234 openned. I've also   try the option -p 123456 to change the
> default port for debugging of   Qemu but I've got the same result. Do
> you know where the problem arrive?

Port 1234 is the port on the virtual machine's IP address, not the port
on the real machine's IP address. So you need to be able to access the
virtual machine's IP address from the real machine. For this you can use
tun/tap networking - see the docs. It is not possible to do this with
user-mode networking.

-- 
Robin

  reply	other threads:[~2006-06-06 12:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06 12:35 [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 on Msys Tieu Ma Dau
2006-06-06 12:44 ` Robin Green [this message]
2006-06-06 13:21   ` Tieu Ma Dau
2006-06-06 14:10   ` andrzej zaborowski
2006-06-06 14:18     ` Tieu Ma Dau
2006-06-06 14:36     ` Robin Green
2006-06-06 16:20 ` Lonnie Mendez
2006-06-07  7:56   ` Tieu Ma Dau
2006-06-07 11:23     ` [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 onMsys Kazu
2006-06-07 11:53       ` Tieu Ma Dau

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=20060606134443.41c25d16@localhost.localdomain \
    --to=greenrd@greenrd.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).