All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Wessel <jason.wessel@windriver.com>
To: Ramagudi Naziir <naziirr@gmail.com>
Cc: Matt Mackall <mpm@selenic.com>,
	linux-kernel@vger.kernel.org,
	kgdb-bugreport@lists.sourceforge.net
Subject: Re: a problem with NETPOLL/KGDBoE
Date: Wed, 19 Dec 2007 10:35:10 -0600	[thread overview]
Message-ID: <4769483E.4070600@windriver.com> (raw)
In-Reply-To: <dfb262380712190822l48f706b5k345762e233b693ae@mail.gmail.com>


Ramagudi Naziir wrote:
> On 12/6/07, Matt Mackall <mpm@selenic.com> wrote:
>   
>> netpoll will ignore incoming UDP -from- the wrong port/ip/mac, since
>> it's otherwise bypassing the firewall layer.
>>     
> I have checked it out.
> Seems like there is absolutely no way to configure the source
> port gdb uses for the udp connection. So one must invoke a
> "target remote udp:ip:port" command, see what was the
> chosen source port (tcpdump/netstat), and reconfigure kgdb on the target.
> While this works, it is rather awkward.
>
> Do you think there is/can be another way to solve this issue
> (like allowing NETPOLL to listen to a wildcard udp source port) ?
>
>   

What module parameters did you pass to kgdboe and what kernel are you
using and are you using the kgdb source forge patches?

I had not looked to see if anything changed in the latest net poll api,
but previously with the 2.6.21 kernel as example, the net poll api
ignored the source port parameter entirely.  If this has changed, I
would be happy to make a further change to zero out the port or do what
is needed to make it dynamic again, in a similar fashion to the way the
MAC address parsing is dynamic for KGDB + the net poll api.

Jason.

Also you can omit the linux-kernel mailling and take this up at:
kgdb-bugreport@lists.sourceforge.net if you are using the source forge
patches.

  reply	other threads:[~2007-12-19 16:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-06 18:22 a problem with NETPOLL/KGDBoE Ramagudi Naziir
2007-12-06 18:34 ` Matt Mackall
2007-12-06 19:13   ` Ramagudi Naziir
2007-12-19 16:22   ` Ramagudi Naziir
2007-12-19 16:35     ` Jason Wessel [this message]
2007-12-19 16:43       ` Ramagudi Naziir
2007-12-19 17:28     ` Matt Mackall

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=4769483E.4070600@windriver.com \
    --to=jason.wessel@windriver.com \
    --cc=kgdb-bugreport@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.com \
    --cc=naziirr@gmail.com \
    /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.