lkml.org 
[lkml]   [2002]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [Bonding-devel] Re: Weird bonding driver and tulip quad-card interaction on 2.4.17
On Thu, Jan 17, 2002 at 02:20:36PM -0800, Peter C. Norton wrote:
> As a follow-up, Chad T. on the bonding list pointed out to me that there is
> no Media flag normally output by ifconfig. This would lead me to believe
> that somehow the bonding driver is perhaps overwriting the MAC address in my
> case. How can this have happened? Why is it only on this system?
It *is* printed:
From lib/interface.c (net-tools 1.60):

if (hw->print != NULL && (! (hw_null_address(hw, ptr->hwaddr) &&
hw->suppress_null_addr)))
printf(_("HWaddr %s "), hw->print(ptr->hwaddr));
#ifdef IFF_PORTSEL
if (ptr->flags & IFF_PORTSEL) {
printf(_("Media:%s"), if_port_text[ptr->map.port][0]);
if (ptr->flags & IFF_AUTOMEDIA)
printf(_("(auto)"));
}
#endif
printf("\n");

So, something has set IFF_PORTSEL, and ptr->map.port is not within bounds.
Or you have a kernel which does not support IFF_PORTSEL, but something
else is using ptr->flags with different values...

--
<ard@telegraafnet.nl> Telegraaf Elektronische Media http://wwwijzer.nl
http://leerquoten.monster.org/ http://www.faqs.org/rfcs/rfc1855.html
Let your government know you value your freedom. Sign the petition:
http://petition.eurolinux.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.036 / U:4.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site