Advertisement
Guest User

Untitled

a guest
Jan 28th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.96 KB | None | 0 0
  1. BusyBox v1.25.1 (2017-01-18 08:49:28 CET) built-in shell (ash)
  2.  
  3. _______ _ _ _____ _____ _____ _____
  4. |__ __|| | | || __ \ | __ \ |_ _| / ____|
  5. | | | | | || |__) || |__) | | | | (___
  6. | | | | | || _ / | _ / | | \___ \
  7. | | | |__| || | \ \ | | \ \ _| |_ ____) |
  8. |_| \____/ |_| \_\|_| \_\|_____||_____/
  9.  
  10.  
  11.  
  12. root@turris:/# Router Turris successfully started.
  13.  
  14. root@turris:/# /etc/init.d/sfpswitch stop
  15. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  16. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  17. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  18. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  19. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  20. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  21. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  22. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  23. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  24. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  25. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  26. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  27. root@turris:/# sfpswitch.py -d
  28. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  29. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  30. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  31. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  32. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  33. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  34. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  35. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  36. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  37. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  38. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  39. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  40. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
  41. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  42. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  43. 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',
  44. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  45. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  46. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
  47. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
  48. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  49. root@turris:/# and i connect fiber patchcord
  50. /bin/ash: and: not found
  51. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  52. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  53. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  54. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  55. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  56. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  57. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  58. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  59. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  60. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  61. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  62. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  63. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
  64. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  65. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  66. 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',
  67. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  68. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  69. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
  70. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
  71. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  72. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  73. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
  74. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  75. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  76. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  77. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  78. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  79. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  80. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  81. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  82. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  83. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  84. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  85. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  86. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  87. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
  88. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  89. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  90. 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',
  91. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  92. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  93. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
  94. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
  95. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  96. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  97. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
  98. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  99. root@turris:/# disconnect fiber patchcord
  100. /bin/ash: disconnect: not found
  101. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  102. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  103. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  104. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  105. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  106. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  107. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  108. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  109. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  110. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  111. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  112. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  113. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
  114. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  115. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  116. 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',
  117. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  118. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  119. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
  120. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
  121. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  122. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  123. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
  124. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  125. 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
  126. root@turris:/# disconnect sfp
  127. /bin/ash: disconnect: not found
  128. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  129. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  130. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  131. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  132. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  133. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  134. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  135. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  136. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  137. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  138. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  139. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  140. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
  141. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  142. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  143. 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',
  144. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  145. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  146. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
  147. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
  148. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  149. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  150. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
  151. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  152. 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
  153. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
  154. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
  155. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
  156. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
  157. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
  158. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
  159. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
  160. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
  161. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
  162. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
  163. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
  164. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  165. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  166. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  167. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  168. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  169. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  170. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  171. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  172. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  173. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  174. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  175. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  176. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
  177. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  178. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  179. 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',
  180. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  181. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  182. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
  183. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
  184. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  185. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  186. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
  187. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  188. 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
  189. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
  190. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
  191. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
  192. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
  193. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
  194. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
  195. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
  196. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
  197. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
  198. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
  199. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
  200. root@turris:/# connect sfp adapter
  201. /bin/ash: connect: not found
  202. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  203. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  204. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  205. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  206. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  207. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  208. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  209. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  210. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  211. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  212. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  213. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  214. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
  215. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  216. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  217. 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',
  218. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  219. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  220. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
  221. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
  222. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  223. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  224. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
  225. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  226. 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
  227. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
  228. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
  229. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
  230. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
  231. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
  232. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
  233. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
  234. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
  235. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
  236. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
  237. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
  238. 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: sfp det change detected: 0
  239. 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  240. 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  241. 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',
  242. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  243. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  244. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switched successfully to mode phy-sfp.
  245. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
  246. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
  247. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Shutting down interface eth1
  248. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Bringing up interface eth1
  249. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Net restart finished.
  250. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  251. root@turris:/# connect fiber patchcord
  252. /bin/ash: connect: not found
  253. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  254. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  255. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  256. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  257. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  258. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  259. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  260. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  261. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  262. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  263. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  264. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  265. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
  266. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  267. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  268. 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',
  269. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  270. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  271. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
  272. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
  273. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  274. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  275. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
  276. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  277. 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
  278. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
  279. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
  280. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
  281. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
  282. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
  283. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
  284. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
  285. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
  286. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
  287. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
  288. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
  289. 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: sfp det change detected: 0
  290. 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  291. 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  292. 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',
  293. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  294. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  295. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switched successfully to mode phy-sfp.
  296. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
  297. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
  298. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Shutting down interface eth1
  299. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Bringing up interface eth1
  300. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Net restart finished.
  301. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  302. 2017-01-28T12:50:20+01:00 info sfpswitch.py[]: sfp los change detected: 0
  303. root@turris:/# restart media converter
  304. /bin/ash: restart: not found
  305. root@turris:/# cat /tmp/log/messages |grep sfpswitch.py
  306. 2017-01-28T12:43:38+01:00 err sfpswitch.py[1686]: Switching NIC mode to phy-sfp.
  307. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Shutting down interface eth1
  308. 2017-01-28T12:43:39+01:00 err sfpswitch.py[1686]: Bringing up interface eth1
  309. 2017-01-28T12:43:53+01:00 emerg sfpswitch.py[1686]: Called /etc/init.d/kresd start
  310. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: line not found
  311. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: DIE:
  312. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: [string "transaction"]:351: No journal to recover
  313. 2017-01-28T12:43:54+01:00 emerg sfpswitch.py[1686]: Aborted
  314. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI1
  315. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI2
  316. 2017-01-28T12:43:57+01:00 emerg sfpswitch.py[1686]: setting up led Auto-configuration for PCI3
  317. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: sfp det change detected: 0
  318. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  319. 2017-01-28T12:44:59+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  320. 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',
  321. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  322. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  323. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Current mode is already phy-sfp. Noop.
  324. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: Mode not changed. Iface restart not needed.
  325. 2017-01-28T12:45:00+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  326. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  327. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 1
  328. 2017-01-28T12:45:45+01:00 info sfpswitch.py[]: sfp los change detected: 0
  329. 2017-01-28T12:48:27+01:00 info sfpswitch.py[]: sfp los change detected: 1
  330. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: sfp det change detected: 1
  331. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Removed SFP, using onboad PHY.
  332. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switching NIC mode to phy-def.
  333. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Switched successfully to mode phy-def.
  334. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
  335. 2017-01-28T12:48:44+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
  336. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Shutting down interface eth1
  337. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Bringing up interface eth1
  338. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Net restart finished.
  339. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: sfp flt change detected: 1
  340. 2017-01-28T12:48:45+01:00 info sfpswitch.py[]: Warning: SFP status signal changing in PHY mode.
  341. 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: sfp det change detected: 0
  342. 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: SFP inserted, setting sfpdis=0
  343. 2017-01-28T12:49:30+01:00 info sfpswitch.py[]: Going to probe EEPROM after init in 1 s.
  344. 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',
  345. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Mode selected: generic 1000BASE-X
  346. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switching NIC mode to phy-sfp.
  347. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Switched successfully to mode phy-sfp.
  348. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Testing whether the interface eth1 is up...
  349. 2017-01-28T12:49:31+01:00 info sfpswitch.py[]: Interface eth1 is up. Sleeping for 1 second(s).
  350. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Shutting down interface eth1
  351. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Bringing up interface eth1
  352. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: Net restart finished.
  353. 2017-01-28T12:49:32+01:00 info sfpswitch.py[]: sfp flt change detected: 0
  354. 2017-01-28T12:50:20+01:00 info sfpswitch.py[]: sfp los change detected: 0
  355. 2017-01-28T12:50:44+01:00 info sfpswitch.py[]: sfp los change detected: 1
  356. 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