I’m trying to upgrade from 1.2.7 to 1.3.0-epa, but the upgrade process breaks due to not being able to start/use a BCM57810 :
upon manually adding the interface I’m greeted with :
Traceback (most recent call last):
File “/usr/libexec/vyos/conf_mode/interfaces-ethernet.py”, line 163, in
apply(c)
File “/usr/libexec/vyos/conf_mode/interfaces-ethernet.py”, line 152, in apply
e.update(ethernet)
File “/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py”, line 340, in update
super().update(config)
File “/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py”, line 1416, in update
self.set_admin_state(state)
File “/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py”, line 815, in set_admin_state
return self.set_interface(‘admin_state’, state)
File “/usr/lib/python3/dist-packages/vyos/ifconfig/control.py”, line 183, in set_interface
return self._set_command(self.config, name, value)
File “/usr/lib/python3/dist-packages/vyos/ifconfig/control.py”, line 110, in _set_command
return self._command_set[name].get(‘format’, lambda _: _)(self._cmd(cmd))
File “/usr/lib/python3/dist-packages/vyos/ifconfig/control.py”, line 52, in _cmd
return cmd(command, self.debug)
File “/usr/lib/python3/dist-packages/vyos/util.py”, line 161, in cmd
raise OSError(code, feedback)
FileNotFoundError: [Errno 2] failed to run command: ip link set dev eth5 up
returned:
exit code: 2noteworthy:
cmd ‘ethtool --pause eth5 autoneg on tx on rx on’
returned (out):returned (err):
rx unmodified, ignoring
tx unmodified, ignoring
Cannot set device pause parameters: Invalid argument
cmd ‘ip link set dev eth5 up’
returned (out):returned (err):
RTNETLINK answers: Device or resource busy[[interfaces ethernet eth5]] failed
Commit failed
jan@rout02:~$ sh log kernel | tail -n 3
[ 3655.178801] bnx2x: [bnx2x_state_wait:310(eth5)]timeout waiting for state 1
[ 3655.179185] bnx2x: [bnx2x_setup_queue:8874(eth5)]Queue(0) SETUP failed
[ 3655.179547] bnx2x: [bnx2x_nic_load:2786(eth5)]Setup leading failed!
So does that look like vyos is trying to set something it shouldn’t ?
thanks,
Jan