[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bonding-devel
Subject:    Re: [Bonding-devel] Re: Weird bonding driver and tulip quad-card interaction on 2.4.17
From:       Ard van Breemen <ard () telegraafnet ! nl>
Date:       2002-01-18 9:33:03
[Download RAW message or body]

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/

_______________________________________________
Bonding-devel mailing list
Bonding-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bonding-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic