+++ This bug was initially created as a clone of Bug #578531 +++ Customer has eth0 & eth1 in bond0. He has native vlan bond0, bond0.151 and bond0.167. Following update to 2.6.9-89.0.28.ELsmp he has experienced kernel panic when we bring up bond0.151 or bond0.167. Attempt to create VLAN iface on bond of two bnx2 adapters in two switch configuration results in soft lockup after a few seconds. Stable kernel: 2.6.9-89.0.19.ELsmp Unstable kernel: 2.6.9-89.0.28.ELsmp Customer applied the patch from RHBZ#578531 and reported that has fixed the problem. Also, he provided a screenshot of the panic and it matches with the problem description. ... copy&paste from the original bz .... --- Additional comment from fleitner on 2010-07-19 10:28:36 EDT --- Created attachment 432903 [details] suggested patch Hi Andy, The problem has been introduced by the following patch: [net] bonding: allow arp_ip_targets on separate vlan from bond device and not fixed by the later patch: [net] fixup problems with vlans and bonding The problem happens because in rlb_arp_recv(), the struct bonding *bond pointer is a vlan's net_device struct instead, so it can either oops or just hangs on a invalid spinlock. I can reproduce both situations following the instructions in the ticket's summary. The upstream fixes rlb_arp_recv() to look for the flag IFF_802_1Q_VLAN and if it is present, then find the underlying bonding device. I have the patch backported and it works out on my tests. Please review. fbl --- Later the patch has been reworked to the final one: --- Additional comment from agospoda on 2010-07-26 17:42:28 EDT --- OK, this looks correct: http://git.engineering.redhat.com/?p=users/agospoda/rhel5-gtest.git;a=commitdiff;h=c35d16c57231b4700b6f4b27dbe088d7b187472a --- Additional comment from agospoda on 2010-07-27 16:38:24 EDT --- Created attachment 434836 [details] bonding-fix-alb-mode-to-balance-traffic-on-vlans-updated.patch Here is an updated patch. Feedback is welcome.
Created attachment 451975 [details] patch from customer.
Committed in 89.41.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0263.html