duet 6hc w/ sbc stopped mid print, no appearing error in dwc
-
Hi there, i have two printers with raspberrypi with the exact same issue which is stopping mid print with no obvious error.
When i go back to duet web control after the crash it shows an only error that is "DCS disconnected" which i solve by executing this command :
sudo systemctl restart duetcontrolserver.service
when i try to reproduce, it shows this message in thejournalctl -u duetcontrolserver.service
:Aug 17 17:18:13 raspberrypi DuetControlServer[15313]: [info] Finished macro file homey.g Aug 17 17:18:13 raspberrypi DuetControlServer[15313]: [info] Finished job file Aug 17 17:18:18 raspberrypi DuetControlServer[15313]: [info] Finished printing file 0:/puzzle_2.gcode, print time was 1h 7m Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: [fatal] Abnormal program termination Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: [fatal] Periodic updater task faulted Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system. Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: ---> System.AggregateException: One or more errors occurred. (Could not find a part of the path '/sys/class/net/veth4580cce/mtu'.) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/sys/class/net/veth4580cce/mtu'. Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.File.InternalReadAllText(String path, Encoding encoding) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.File.ReadAllText(String path) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.StringParsingHelpers.ParseRawIntFile(String filePath) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.GetMtu() Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties..ctor(LinuxNetworkInterface linuxNetworkInterface) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxIPInterfaceProperties..ctor(LinuxNetworkInterface lni) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxNetworkInterface..ctor(String name, Int32 index) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxNetworkInterface.GetOrCreate(Dictionary`2 interfaces, String name, Int32 index) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxNetworkInterface.<>c__DisplayClass5_0.<GetLinuxNetworkInterfaces>b__2(String name, LinkLayerAddressInfo* llAddr) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: --- End of inner exception stack trace --- Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces() Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at DuetControlServer.Model.PeriodicUpdater.UpdateNetwork() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 91 Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at DuetControlServer.Model.PeriodicUpdater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 38 Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: [fatal] Periodic updater task faulted Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system. Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: ---> System.AggregateException: One or more errors occurred. (Could not find a part of the path '/sys/class/net/veth4580cce/mtu'.) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/sys/class/net/veth4580cce/mtu'. Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.File.InternalReadAllText(String path, Encoding encoding) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.IO.File.ReadAllText(String path) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.StringParsingHelpers.ParseRawIntFile(String filePath) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.GetMtu() Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties..ctor(LinuxNetworkInterface linuxNetworkInterface) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxIPInterfaceProperties..ctor(LinuxNetworkInterface lni) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxNetworkInterface..ctor(String name, Int32 index) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxNetworkInterface.GetOrCreate(Dictionary`2 interfaces, String name, Int32 index) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxNetworkInterface.<>c__DisplayClass5_0.<GetLinuxNetworkInterfaces>b__2(String name, LinkLayerAddressInfo* llAddr) Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: --- End of inner exception stack trace --- Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces() Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at DuetControlServer.Model.PeriodicUpdater.UpdateNetwork() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 91 Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: at DuetControlServer.Model.PeriodicUpdater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 38 Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: [info] Application has shut down Aug 17 19:00:10 raspberrypi DuetControlServer[31671]: Duet Control Server v3.2.2 Aug 17 19:00:10 raspberrypi DuetControlServer[31671]: Written by Christian Hammacher for Duet3D Aug 17 19:00:10 raspberrypi DuetControlServer[31671]: Licensed under the terms of the GNU Public License Version 3 Aug 17 19:00:11 raspberrypi DuetControlServer[31671]: [info] Settings loaded Aug 17 19:00:11 raspberrypi DuetControlServer[31671]: [info] Environment initialized Aug 17 19:00:11 raspberrypi DuetControlServer[31671]: [info] Connection to Duet established Aug 17 19:00:11 raspberrypi DuetControlServer[31671]: [info] IPC socket created at /var/run/dsf/dcs.sock Aug 17 19:00:14 raspberrypi DuetWebServer[963]: Connections to DuetControlServer established Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: [fatal] Abnormal program termination Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: [fatal] Periodic updater task faulted Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system. Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: ---> System.AggregateException: One or more errors occurred. (Could not find a part of the path '/sys/class/net/vethb0e192b/mtu'.) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/sys/class/net/vethb0e192b/mtu'. Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.File.InternalReadAllText(String path, Encoding encoding) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.File.ReadAllText(String path) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.StringParsingHelpers.ParseRawIntFile(String filePath) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.GetMtu() Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties..ctor(LinuxNetworkInterface linuxNetworkInterface) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxIPInterfaceProperties..ctor(LinuxNetworkInterface lni) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxNetworkInterface..ctor(String name, Int32 index) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxNetworkInterface.GetOrCreate(Dictionary`2 interfaces, String name, Int32 index) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxNetworkInterface.<>c__DisplayClass5_0.<GetLinuxNetworkInterfaces>b__2(String name, LinkLayerAddressInfo* llAddr) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: --- End of inner exception stack trace --- Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces() Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at DuetControlServer.Model.PeriodicUpdater.UpdateNetwork() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 91 Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at DuetControlServer.Model.PeriodicUpdater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 38 Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: [fatal] Periodic updater task faulted Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system. Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: ---> System.AggregateException: One or more errors occurred. (Could not find a part of the path '/sys/class/net/vethb0e192b/mtu'.) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/sys/class/net/vethb0e192b/mtu'. Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.File.InternalReadAllText(String path, Encoding encoding) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.IO.File.ReadAllText(String path) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.StringParsingHelpers.ParseRawIntFile(String filePath) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.GetMtu() Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties..ctor(LinuxNetworkInterface linuxNetworkInterface) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxIPInterfaceProperties..ctor(LinuxNetworkInterface lni) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxNetworkInterface..ctor(String name, Int32 index) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxNetworkInterface.GetOrCreate(Dictionary`2 interfaces, String name, Int32 index) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxNetworkInterface.<>c__DisplayClass5_0.<GetLinuxNetworkInterfaces>b__2(String name, LinkLayerAddressInfo* llAddr) Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: --- End of inner exception stack trace --- Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces() Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at DuetControlServer.Model.PeriodicUpdater.UpdateNetwork() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 91 Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: at DuetControlServer.Model.PeriodicUpdater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 38
result of M122 :
M122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.2.2 running on Duet 3 MB6HC v1.01 or later (SBC mode) Board ID: 08DJM-956L2-G43S8-6JKD0-3S46Q-9U22D Used output buffers: 4 of 40 (10 max) === RTOS === Static ram: 149788 Dynamic ram: 62520 of which 24 recycled Never used RAM 146500, free system stack 200 words Tasks: Linux(ready,109) HEAT(blocked,297) CanReceiv(blocked,927) CanSender(blocked,371) CanClock(blocked,352) TMC(blocked,53) MAIN(running,1203) IDLE(ready,19) Owned mutexes: HTTP(MAIN) === Platform === Last reset 00:27:54 ago, cause: power up Last software reset details not available Error status: 0x00 Aux0 errors 0,0,0 Aux1 errors 0,0,0 MCU temperature: min 21.4, current 37.8, max 37.9 Supply voltage: min 23.8, current 23.8, max 23.8, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.0, current 12.0, max 12.1, under voltage events: 0 Driver 0: position 0, standstill, reads 35775, writes 14 timeouts 0, SG min/max 0/0 Driver 1: position 0, standstill, reads 35775, writes 14 timeouts 0, SG min/max 0/0 Driver 2: position 0, standstill, reads 35775, writes 14 timeouts 0, SG min/max 0/0 Driver 3: position 0, standstill, reads 35776, writes 14 timeouts 0, SG min/max 0/0 Driver 4: position 0, standstill, reads 35776, writes 14 timeouts 0, SG min/max 0/0 Driver 5: position 0, standstill, reads 35779, writes 11 timeouts 0, SG min/max 0/0 Date/time: 2021-08-18 11:22:19 Slowest loop: 0.45ms; fastest: 0.04ms === Storage === Free file entries: 10 SD card 0 not detected, interface speed: 37.5MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 === GCodes === Segments left: 0 Movement lock held by null HTTP* is doing "M122" in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger* is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === CAN === Messages queued 6573, send timeouts 14946, received 0, lost 0, longest wait 0ms for reply type 0, free buffers 48 === SBC interface === State: 4, failed transfers: 0 Last transfer: 3ms ago RX/TX seq numbers: 58386/58386 SPI underruns 0, overruns 0 Number of disconnects: 0, IAP RAM available 0x2c8a8 Buffer RX/TX: 0/0-0 === Duet Control Server === Duet Control Server v3.2.2 Code buffer space: 4096 Configured SPI speed: 8000000 Hz Full transfers per second: 1.15 Maximum length of RX/TX data transfers: 3120/748
-
@no2 Please upgrade to v3.3 and check if the problem persists.
-
looks like it actually solved my issue, thank you !