[SOLVED] Linux Bridge delete vlan - CPU soft lockup

Asg.Systems

Member
Jan 14, 2021
17
3
23
54
in an environment with Linux Bridge with VLAN aware configuration, I've created a bash script to use as HookScript as follow:

Bash:
#!/bin/bash

NETID="tap$1i1"

if [[ "$2" == "post-start" ]]; then

        echo "Configuring filter vlan for VM id: $1"

        IFS=','
        
        bridge vlan del vid 2-4094 dev  "$NETID"
        bridge vlan add vid 2428-2435 dev  "$NETID"
        

        exit $exit_code
fi

exit 0

When I start the machine, appears this logs on the CLI:

Bash:
Message from syslogd@pmxnet01-b1113 at Jan 13 14:39:03 ...
kernel:[4499667.284246] watchdog: BUG: soft lockup - CPU#63 stuck for 22s! [bridge:31481]
 
Message from syslogd@pmxnet01-b1113 at Jan 13 14:39:07 ...
kernel:[4499671.168206] watchdog: BUG: soft lockup - CPU#37 stuck for 23s! [migration/37:235]


Looking for it I've found this thread, I don't know if could be related.
https://www.spinics.net/lists/netdev/msg648470.html


Best Regards