linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Looking for ifenslave.c
@ 2001-06-13 19:30 Guus Sliepen
  2001-06-14 20:58 ` Thomas Davis
  0 siblings, 1 reply; 4+ messages in thread
From: Guus Sliepen @ 2001-06-13 19:30 UTC (permalink / raw)
  To: linux-kernel

Hello,

The Ethernet bonding module is useless without ifenslave.c. I'm making a Debian
package for it, and I have tried to find the "offical" distribution of this
small program. I could not find an authorative source, instead a lot of copies
and patched versions are scattered around the Internet (I maintain a patched
version myself too).

I would like to combine all the useful extra features and patches into this
Debian package, so if you know of a patched version or maintain one yourself,
please send it to me.

Thanks,

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen <guus@sliepen.warande.net>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Looking for ifenslave.c
  2001-06-13 19:30 Looking for ifenslave.c Guus Sliepen
@ 2001-06-14 20:58 ` Thomas Davis
  2001-06-18 10:57   ` PALFFY Daniel
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Davis @ 2001-06-14 20:58 UTC (permalink / raw)
  To: Guus Sliepen; +Cc: linux-kernel

Guus, there isn't a really official version of it..

At http://pdsf.nersc.gov/linux/ifenslave.c is the last version I
produced, that works with bonding in v2.2 and v2.4 kernels.

Please note; I'm currently bound up in DOE/LBNL contract issues, that
prevent any work on any GPL code on DOE/LBNL time.  Folks, don't flame
us - we know it, we are working on it.  (The problem actually dates back
to the 50's, when the labs where created!)  Once this contract issue is
cleared up, I've been given the 'Ok' to work on it again.

Which means, since I don't have anything at home to work on bonding
with, I can't officially support it.

Sorry.

thomas

Guus Sliepen wrote:
> 
> Hello,
> 
> The Ethernet bonding module is useless without ifenslave.c. I'm making a Debian
> package for it, and I have tried to find the "offical" distribution of this
> small program. I could not find an authorative source, instead a lot of copies
> and patched versions are scattered around the Internet (I maintain a patched
> version myself too).
> 
> I would like to combine all the useful extra features and patches into this
> Debian package, so if you know of a patched version or maintain one yourself,
> please send it to me.
> 
> Thanks,
> 
> --
> Met vriendelijke groet / with kind regards,
>   Guus Sliepen <guus@sliepen.warande.net>
> -
> 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/

-- 
------------------------+--------------------------------------------------
Thomas Davis		| ASG Cluster guy
tadavis@lbl.gov		| 
(510) 486-4524		| "80 nodes and chugging Captain!"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Looking for ifenslave.c
  2001-06-14 20:58 ` Thomas Davis
@ 2001-06-18 10:57   ` PALFFY Daniel
  2001-06-18 17:30     ` Thomas Davis
  0 siblings, 1 reply; 4+ messages in thread
From: PALFFY Daniel @ 2001-06-18 10:57 UTC (permalink / raw)
  To: Thomas Davis; +Cc: Guus Sliepen, linux-kernel

On Thu, 14 Jun 2001, Thomas Davis wrote:

> Guus, there isn't a really official version of it..
> 
> At http://pdsf.nersc.gov/linux/ifenslave.c is the last version I
> produced, that works with bonding in v2.2 and v2.4 kernels.

> Guus Sliepen wrote:
> > 
> > Hello,
> > 
> > The Ethernet bonding module is useless without ifenslave.c. I'm making a Debian
> > package for it, and I have tried to find the "offical" distribution of this
> > small program. I could not find an authorative source, instead a lot of copies
> > and patched versions are scattered around the Internet (I maintain a patched
> > version myself too).
> > 
> > I would like to combine all the useful extra features and patches into this
> > Debian package, so if you know of a patched version or maintain one yourself,
> > please send it to me.

The only bonding driver and ifenslave that worked for me was the patched
version from http://sourceforge.net/projects/bonding . It runs fine over a
quad starfire card, with vlans over it (ben's patch). You might consider
packaging the ifenslave from that patch, and packaging the bonding driver
as a kernel patch...

--
Dani
			...and Linux for all.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Looking for ifenslave.c
  2001-06-18 10:57   ` PALFFY Daniel
@ 2001-06-18 17:30     ` Thomas Davis
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Davis @ 2001-06-18 17:30 UTC (permalink / raw)
  To: PALFFY Daniel; +Cc: Guus Sliepen, linux-kernel

PALFFY Daniel wrote:
> 
> On Thu, 14 Jun 2001, Thomas Davis wrote:
> 
> > Guus, there isn't a really official version of it..
> >
> > At http://pdsf.nersc.gov/linux/ifenslave.c is the last version I
> > produced, that works with bonding in v2.2 and v2.4 kernels.
> 
> > Guus Sliepen wrote:
> > >
> > > Hello,
> > >
> > > The Ethernet bonding module is useless without ifenslave.c. I'm making a Debian
> > > package for it, and I have tried to find the "offical" distribution of this
> > > small program. I could not find an authorative source, instead a lot of copies
> > > and patched versions are scattered around the Internet (I maintain a patched
> > > version myself too).
> > >
> > > I would like to combine all the useful extra features and patches into this
> > > Debian package, so if you know of a patched version or maintain one yourself,
> > > please send it to me.
> 
> The only bonding driver and ifenslave that worked for me was the patched
> version from http://sourceforge.net/projects/bonding . It runs fine over a
> quad starfire card, with vlans over it (ben's patch). You might consider
> packaging the ifenslave from that patch, and packaging the bonding driver
> as a kernel patch...
> 

Yea, and that ifenslave won't work with redhat's network setup files,
which has been in place for years.  Notice I'm not on that page?  I
considered it a forked version.  It also does things I talked to becker
about, that is not nice to the system (MII polling as often it does is
bad.)

When I created the first 2.2 bonding patch, I didn't want to have to
rewrite redhat's already in place ifenslave support (from the 2.0.xx
kernel patch).  The ifenslave listed on that page is broken in that
regard.

The original ifenslave bonded a device to a master that was already up
and running;  the master device was used also a xmit device  (so it
routed packets, and sometimes transmitted them).  So, if the master
device died, the slave(s) died with it.  Not good.  Redhat config files
assumed the master was up and running, and you can add a slave to it
without any problems.  The slave device also picks up it's mac address
from the master device.

The version I created, the master device does nothing but route packets
to slaves.  This has a simple problem - no known mac hardware address. 
(ie, it's 0:0:0:0:0:0:0:0) That's bad.  To set a hardware mac address,
you need to down, change the hw mac, and re-up the device.  But,
redhat's scripts already assume the master is up and running, and
downing the master to setup the mac hw means all IP routing information
is lost.  So I added the BOND_SETHWADDR, which allows ifenslave to add a
mac address to the bond master without killing any IP routing
information.  But that's not totally correct either, since adding a mac
hw address can screw up the arp tables (it appears not to, but that's
just plain lucky).

So, in summary, bonding is hack, I strongly dis-agree with what is at
http://sourceforge.net/projects/bonding, but my hands are currently tied
on doing much about it (I could, but I could suffer from consequences)

-- 
------------------------+--------------------------------------------------
Thomas Davis		| ASG Cluster guy
tadavis@lbl.gov		| 
(510) 486-4524		| "80 nodes and chugging Captain!"

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-06-18 17:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-13 19:30 Looking for ifenslave.c Guus Sliepen
2001-06-14 20:58 ` Thomas Davis
2001-06-18 10:57   ` PALFFY Daniel
2001-06-18 17:30     ` Thomas Davis

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).