linux-um archives
 help / color / mirror / Atom feed
From: Antoine Martin <antoine@nagafix.co.uk>
To: Jeff Dike <jdike@addtoit.com>
Cc: Blaisorblade <blaisorblade@yahoo.it>,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] regression: pcap broken in 2.6.20.x
Date: Fri, 27 Apr 2007 16:21:11 +0100	[thread overview]
Message-ID: <463214E7.5080605@nagafix.co.uk> (raw)
In-Reply-To: <20070427151051.GB6019@c2.user-mode-linux.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Jeff Dike wrote:
> On Thu, Apr 26, 2007 at 04:12:40PM +0200, Blaisorblade wrote:
>> If there are so many interfaces and they were just reordered, this could be 
>> caused by a (non-existant) change in link order. Or (I don't know how) it 
>> could derive some way from the fact that interfaces are initialized later 
>> (instead of __initcall, late_initcall is now used).
> 
> No, there's a database of interface names and MAC addresses somewhere.
> Distros have started making sure that ethx is always the same device
> by making sure that it always has the same MAC.  So when a device
> shows up with a different MAC, it gets a new name.
Question remains as to why the mac address was the same until 2.6.20 and
is now different.

> 
> The easiest way to work around this is to provide a MAC on the UML
> command line.
Except, pcap doesn't have the option.
I am looking at pcap_user.c and pcap_kern.c trying to figure out where I
can add parsing for that.

Antoine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGMhTmGK2zHPGK1rsRCkwAAJ0TPF5I088YhGv1QHQWhe5wmnsWwACfSLk2
e1tMjWEtWYMJDQ33vGqQUIg=
=ljCV
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2007-04-27 15:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-22 18:43 [uml-devel] regression: pcap broken in 2.6.20.x Antoine Martin
2007-04-25 20:48 ` Jeff Dike
2007-04-25 20:59   ` Antoine Martin
2007-04-26 14:12     ` Blaisorblade
2007-04-27 15:10       ` Jeff Dike
2007-04-27 15:21         ` Antoine Martin [this message]
2007-04-27 15:28           ` Antoine Martin
2007-04-27 15:50           ` Jeff Dike
2007-04-27 16:29             ` Antoine Martin
2007-04-27 16:46               ` Antoine Martin
2007-04-27 16:55                 ` Antoine Martin
2007-04-27 20:20                 ` Jeff Dike
2007-04-30 17:18                   ` Antoine Martin
2007-04-30 18:10                     ` Jeff Dike
2007-04-30 19:30                       ` Antoine Martin
2007-04-30 21:32                         ` Jeff Dike

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=463214E7.5080605@nagafix.co.uk \
    --to=antoine@nagafix.co.uk \
    --cc=blaisorblade@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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