2012/6/1 Flavio Leitner <fbl(a)sysclose.org>:
[please, don't remove the libteam list from CC, others might
find this discussion useful]
On Fri, 1 Jun 2012 00:26:15 +0800
Wenhua Zhang <shiziwen(a)gmail.com> wrote:
> Hi Flavio,
> Can you show me your config file and the environment you use?
Sure, I have two configs currently working:
# cat team0-lacp.cfg
{
"device": "team0",
"hwaddr": "00:1C:C0:A3:7F:16",
"runner": {
"name": "lacp",
"active": 1,
"fast_rate": 1,
"tx_hash": ["eth", "ipv4",
"ipv6"]
},
"link_watch": { "name": "ethtool" },
"ports": {
"em1": { "prio": 100 },
"p11p1": { "prio": 100 }
}
}
When I use this conf to test libteam, the kernel panic...
The commands as below:
#teamd -f team0-lb.conf -g
#ip addr add 192.168.24.2/24 dev team0
#ip link set team0 up
When I make the team0 up, the kernel panic.
The /var/log/messages:
Jun 7 10:23:52 debian-wenhzhan kernel: [ 376.208819] (unregistered
net_device): Failed to send options change via netlink
Jun 7 10:23:53 debian-wenhzhan kernel: [ 376.240450] team0: Mode
changed to "loadbalance"
Jun 7 10:23:53 debian-wenhzhan kernel: [ 376.245140] e1000: eth1 NIC
Link is Up 1000 Mbps Full Duplex, Flow Control: RX
Jun 7 10:23:53 debian-wenhzhan kernel: [ 376.249121] IPv6:
ADDRCONF(NETDEV_UP): eth1: link is not ready
Jun 7 10:23:53 debian-wenhzhan kernel: [ 376.249228] team0: Port
device eth1 added
Jun 7 10:23:53 debian-wenhzhan kernel: [ 376.249252] IPv6:
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Jun 7 10:23:53 debian-wenhzhan kernel: [ 376.258384] IPv6:
ADDRCONF(NETDEV_UP): eth2: link is not ready
Jun 7 10:23:53 debian-wenhzhan kernel: [ 376.258656] team0: Port
device eth2 added
Jun 7 10:23:53 debian-wenhzhan kernel: [ 376.260936] e1000: eth2 NIC
Link is Up 1000 Mbps Full Duplex, Flow Control: RX
Jun 7 10:23:53 debian-wenhzhan kernel: [ 376.261433] IPv6:
ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
Jun 7 10:26:29 debian-wenhzhan kernel: [ 532.802757] device lo
entered promiscuous mode
Jun 7 10:26:38 debian-wenhzhan kernel: [ 541.749591] device lo left
promiscuous mode
And I you can more detail from the attachments.
Do you have any ideas about it ?
Thanks,
Best Wishes,
Wenhua