[SOLVED] Prusa mk3s M112 crash when start printing, working fine with SD card

What is the problem?

I use prusaslicer, and print straight from there. everything was working fine, until the printer start to give error

M112 called. Emergency Stop.

when its time to start printing.

What did you already try to solve it?

Printing with SD card works fine. Tried to change USB port, and remove webcam

Complete Logs

Octoprint terminal:
Recv: tmc2130_home_exit tmc2130_sg_homing_axes_mask=0x02
Recv: ok
Send: N126 M104 S240.0120
Send: N127 M105
35
Send: N128 M10544
Send: N129 M105
45
Recv: echo:busy: processing
Send: N130 M10537
Send: N131 M105
36
Recv: echo:busy: processing
Send: N132 M10539
Send: N133 M105
38
Send: N134 M10533
Recv: echo:busy: processing
Send: N135 M105
32
Send: N136 M10535
Recv: echo:busy: processing
Send: N137 M105
34
Send: N138 M10545
Send: N139 M105
44
Recv: echo:busy: processing
Send: N140 M10534
Send: N141 M105
35
Send: N142 M10532
Recv: echo:busy: processing
Send: N143 M105
33
Send: N144 M10538
Recv: echo:busy: processing
Send: N145 M105
39
Send: N146 M10536
Recv: echo:busy: processing
Send: N147 M105
37
Recv: ok
Recv: Full RX Buffer
Recv: ok
Recv: ok T:159.5 /240.0 B:75.9 /75.0 T0:159.5 /240.0 @:25 B@:0 P:41.7 A:39.7
Send: N148 M10542
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N149 M105
43
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N150 M10535
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N151 M105
34
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N152 M10533
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N153 M105
32
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N154 M10539
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N155 M105
38
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N156 M10537
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N157 M105
36
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N158 M10543
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N159 M105
42
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N160 M10532
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N161 M105
33
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N162 M10534
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N163 M105
35
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N164 M10536
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N165 M105
37
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N166 M10538
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N167 M105
39
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N168 M10540
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N169 M105
41
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N170 M10533
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N171 M105
32
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N172 M10535
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N173 M105
34
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N174 M10537
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N175 M105
36
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N176 M10539
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N177 M105
38
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N178 M10541
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N179 M105
40
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N180 M10546
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N181 M105
47
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N182 M10544
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N183 M105
45
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N184 M10542
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N185 M105
43
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N186 M10540
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N187 M105
41
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N188 M10538
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N189 M105
39
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N190 M10547
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N191 M105
46
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N192 M10545
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N193 M105
44
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N194 M10543
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N195 M105
42
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N196 M10541
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N197 M105
40
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N198 M10539
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N199 M105
38
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N200 M10537
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N201 M105
36
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N202 M10539
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N203 M105
38
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N204 M10533
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N205 M105
32
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N206 M10535
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N207 M105
34
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N208 M10545
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N209 M105
44
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N210 M10536
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Recv: ok
Send: N211 M105
37
Recv: Error:Line Number is not Last Line Number+1, Last Line: 127
Recv: Resend: 128
Printer requested line 128 but no sufficient history is available, can't resend
Changing monitoring state from "Printing" to "Error: Printer requested line 128 but no sufficient history is available, can't resend"
Send: M112
Send: N212 M11232
Send: N213 M104 T0 S0
33
Send: N214 M140 S0*98
Changing monitoring state from "Error: Printer requested line 128 but no sufficient history is available, can't resend" to "Offline (Error: Printer requested line 128 but no sufficient history is available, can't resend)"
Connection closed, closing down monitor
Closing down send loop

Octoprint State: Offline (Error: Printer requested line 128 but no sufficient history is available, can't resend)

Additional information about your setup

Octoprint: 1.4.2, Prusa mk3s: 3.9.0

Could you please also share octoprint.log and serial.log - and please as files.

thanks for the answer..
i have seen other users have problems with the USB cable..so i change the USB cable connecting power charger and raspberry (not raspberry and prusa printer)..
now i started my first print and looks to working fine (at least it passed the critical point)..
I guess the old usb cable was dead

1 Like

unfortunately the problem hasnt been solved. It just dont happen everytime..
here is my octoprint.log https://www.dropbox.com/s/xctjyg52i5ummgi/octoprint.log?dl=0

and the serial.log https://www.dropbox.com/s/5amtlft4fa785ht/serial%20%281%29.log?dl=0

This issue will be solved with the next Prusa firmware update:

You may run on that beta

FINALLY...ive spend so much time trying to figure out what is it..
its doesnt happen all the time..this is the first problem..i think it happens when you power up raspberry and printer.. If you do a second print i think it works fine..
Then i started looking for plugins..if any update causing this e.g. octolapse etc..
nothing..
No, it looks like Prusa 3.9 causing that..
Thank you!

1 Like

It might come as a shock to some, but yes, oftentimes issues with printers are caused by the firmware, not OctoPrint.

2 Likes

yes..it was a shock to me.. firstly because i dont know why, it didnt happen (or i didnt realize) it after the firmware update; and secondly prusa support didnt say anything about that. I cannot imagine noone mentioned to prusa before me, in order to guide me correctly. They only said something like: "try printing with the sd, if its ok, then its not prusa's problem as octoprint is not our product"

my conclusion out of this: dont be in a hurry to update anything. as many people say: if it works, leave it alone