lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9e246b4d0704271353g105ecd62j4f35a6e9027ad590@mail.gmail.com>
Date:	Fri, 27 Apr 2007 16:53:41 -0400
From:	"Tim Durack" <tdurack@...il.com>
To:	"Francois Romieu" <romieu@...zoreil.com>
Cc:	netdev@...r.kernel.org
Subject: Re: r8169 ethernet bonding problems

> See:
> http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.21-rc7/
>
> Please Cc: netdev on success/failure.

Applied suggested patchset to vanilla 2.6.21.

Compiled using .config from linux-image-2.6.21-rc7 pulled down from
http://kernel-archive.buildserver.net/debian-kernel

Compiles, boots.

Bonding does not work reliably. Simple config:

#auto bond0
iface bond0 inet manual
  up ip link set dev $IFACE up
  up echo +eth1 > /sys/class/net/$IFACE/bonding/slaves
  up echo +eth2 > /sys/class/net/$IFACE/bonding/slaves
  up ip link set dev eth1 up
  up ip link set dev eth2 up
  up ip addr add 172.21.255.5/29 dev $IFACE
  down ip addr del 172.21.255.5/29 dev $IFACE
  down ip link set dev eth2 down
  down ip link set dev eth1 down
  down echo -eth2 > /sys/class/net/$IFACE/bonding/slaves
  down echo -eth1 > /sys/class/net/$IFACE/bonding/slaves
  down ip link set dev $IFACE down

Bond comes up, cannot ping unless I manually force promisc on both member links:

ip link set dev eth1 promisc on
ip link set dev eth2 promisc off

Link failover does not work reliably. Carrier-detect appears to be
working, so I don't think that is an issue.


A disturbing problem is mac corruption after "modprobe -r r8169; modprobe r8169"

ip link sh:

2: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:00:00:00:68:93 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:30:18:ab:68:94 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:30:18:ab:68:95 brd ff:ff:ff:ff:ff:ff

eth5 mac was 00:30:18:ab:68:93 before the modprobe.

Not sure what's going on here, but I'm starting to think these
interfaces aren't the best in the world...

Tim:>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ