Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BusyBox v1.25.1 (2017-01-18 08:49:28 CET) built-in shell (ash)
- _______ _ _ _____ _____ _____ _____
- |__ __|| | | || __ \ | __ \ |_ _| / ____|
- | | | | | || |__) || |__) | | | | (___
- | | | | | || _ / | _ / | | \___ \
- | | | |__| || | \ \ | | \ \ _| |_ ____) |
- |_| \____/ |_| \_\|_| \_\|_____||_____/
- root@turris:/# Router Turris successfully started.
- root@turris:/# /etc/init.d/sfpswitch stop
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- root@turris:/# sfpswitch.py -d
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- root@turris:/# and i connect fiber patchcord
- /bin/ash: and: not found
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- root@turris:/# disconnect fiber patchcord
- /bin/ash: disconnect: not found
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
- root@turris:/# disconnect sfp
- /bin/ash: disconnect: not found
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
- root@turris:/# connect sfp adapter
- /bin/ash: connect: not found
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
- 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switched successfully to mode phy-sfp.
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Shutting down interface eth1
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Bringing up interface eth1
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Net restart finished.
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- root@turris:/# connect fiber patchcord
- /bin/ash: connect: not found
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
- 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switched successfully to mode phy-sfp.
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Shutting down interface eth1
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Bringing up interface eth1
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Net restart finished.
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:50:20+01:00 info sfpswitch.py[]: sfp los change detected: 0
- root@turris:/# restart media converter
- /bin/ash: restart: not found
- root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
- 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
- 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
- 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
- 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
- 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
- 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
- 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
- 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
- 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: sfp det change detected: 0
- 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
- 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: SFP EEPROM: ['\x03', '\x04', '\x01', '\x00', '\x00', '\x00', '\x00', '\x12', '\x00', '\x01', '\x01', '\x01', '\r', '\x00', '\x03', '\x1e', '\x00', '\x00', '\x00', '\x00', 'C', 'I', 'S', 'C', 'O', '-', 'F', 'I', 'B', 'R', 'A', 'I', 'N', ' ', ' ', ' ', '\x00', '\x00', '\x00', '\x00', 'F', 'T', 'S', 'S', '1', '2', 'G', 'B', '3', '5', 'S', '0', '0', '5', ' ', ' ', 'A', ' ', ' ', ' ', '\x05', '\x1e', '\x00', '\xc4', '\x00', '\x1a', '\x00', '\x00', 'C', 'I', 'B', '1', '3', '0', '9', '2', '5', '1', '1', '3', ' ', ' ', ' ', ' ', '1', '3', '0', '9', '2', '5', ' ', ' ', ' ', ' ', ' ', '\x05', '-', '\x00', '\x11', 'm', '\xd5', '\xbf', '6', 'q', '\xc2', 'g', '\xbd', '\xb6', '\x13', '\x83', '\xf8', '\x0c', '\x0c', 'R', '\xf0', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', 'b', '\x14', '\xb7', '4', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switched successfully to mode phy-sfp.
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
- 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Shutting down interface eth1
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Bringing up interface eth1
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Net restart finished.
- 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: sfp flt change detected: 0
- 2017-01-28T12:50:20+01:00 info sfpswitch.py[]: sfp los change detected: 0
- 2017-01-28T12:50:44+01:00 info sfpswitch.py[]: sfp los change detected: 1
- 2017-01-28T12:50:49+01:00 info sfpswitch.py[]: sfp los change detected: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement