A few minutes after starting the print, the pi disconnects from network, and the print stops
After setting up a print, it prints fine for a while. Then seemingly without warning the printer completely stops, leaving all the temperatures as they were, and keeping the print head touching the print. At the same time, the pi drops off the network.
Looking at logs, I saw an error about a potential SYN storm on port 8080. As a guess I disable SYN storm protection (net.ipv4.tcp_syncookies = 0). This resulted in the same faulty behavior as above, but obviously with no message about a SYN storm.
I suppose the next step would be to run it with a keyboard and monitor attached to see if there are local logs or if the system is freezing entirely. I have the adapters I need to do that on order and should be able to report back later this week.
extra data
PrusaLink type (Raspberry Pi Zero / Pi 3 / Pi 4)
Raspberry Pi Zero
PrusaLink version
0.52
Printer type
Mks3s+
Printer UUID
46237a91-3f6d-45c1-b148-4e49fdaf5c36
Printer firmware version
3.10
PrusaSlicer version
2.3.1
Error logs
I was able to reproduce this while the Pi was plugged into a monitor and unplugged from the printer. After some time, the Wifi disconnected and the following messages were shown in dmesg. These messages repeated every few seconds until I unplugged the Pi.
[ 3432.587431] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110 [ 3435.147317] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110 [ 3435.147373] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110 [ 3437.787188] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110 [ 3440.347268] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110 [ 3440.347316] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110 [ 3442.987513] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110 [ 3445.547290] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110 [ 3445.547341] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110 [ 3448.187325] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
Why printing stops?
Hm a problem with the wifi is one thing, but if losing it means the whole print stops, that's even worse.
RE: A few minutes after starting the print, the pi disconnects from network, and the print stops
You have some problem with WiFi driver. Did you try to look what CPU do when there is this problem. Please use top or htop tool and look at it. I think that driver lock CPU, and that is why printer did not print.
Please wait, we are working on new Link based on Rasbian Bullseye