[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Solved: network problems when starting xend, Xen-3.0 + tg3



I finally found out why the network became unreachable (to the point that tcpdump -i peth0 revealed no packets) when xend is started. This is triggered when the tg3 interface is added to a bridge before the link comes up.

The message displayed on the console is:
        bridge: can't decode speed from peth0: 0.

In scripts/network-bridge, the order of the operations are:
        add_to_bridge ${bridge} ${vif0}
        add_to_bridge ${bridge} ${pdev}
        ip link set ${bridge} up
        ip link set ${vif0} up
        ip link set ${pdev} up

What worked for me is:
        ip link set ${bridge} up
        ip link set ${vif0} up
        ip link set ${pdev} up
        sleep 5 # to allow for autonegotiation period
        add_to_bridge ${bridge} ${vif0}
        add_to_bridge ${bridge} ${pdev}

The problem persists when forcing the link speed and disabling auto-neg with ethtool.

Is this a bug with the tg3 driver or the bridging code?

--
Regards,
wK (www.doubleukay.com)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.