UEFI platforms may provide a watchdog timer, which will reboot the machine if an operating system takes more than five minutes to load. This can cause long-lived iPXE downloads (or interactive shell sessions) to unexpectedly reboot. Fix by resetting the watchdog timer every ten seconds while the iPXE main processing loop continues to run. Reported-by: Bradley B Williams <bradleybwilliams@swbell.net> Reported-by: John Clark <john.r.clark.3@gmail.com> Reported-by: wdriever@gmail.com Reported-by: Charlie Beima <cbeima@indiana.edu> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
26 |
|
26 |
|
27 |
|
27 |
|
28 |
|
28 |
|
|
29 |
|
|
29 |
|
30 |
|
30 |
|
31 |
|
31 |
|
32 |
|
|
|
||
49 |
|
50 |
|
50 |
|
51 |
|
51 |
|
52 |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
52 |
|
56 |
|
53 |
|
57 |
|
54 |
|
58 |
|
|
|
||
56 |
|
60 |
|
57 |
|
61 |
|
58 |
|
62 |
|
|
63 |
|
|
59 |
|
64 |
|
60 |
|
65 |
|
61 |
|
66 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
||
330 |
|
330 |
|
331 |
|
331 |
|
332 |
|
332 |
|
|
333 |
|
|
333 |
|
334 |
|
334 |
|
335 |
|
335 |
|
336 |
|
|
|
||
32 |
|
32 |
|
33 |
|
33 |
|
34 |
|
34 |
|
|
35 |
|
|
35 |
|
36 |
|
36 |
|
37 |
|
37 |
|
38 |
|
|
|
||
881 |
|
882 |
|
882 |
|
883 |
|
883 |
|
884 |
|
|
885 |
|
|
|
886 |
|
|
|
887 |
|
|
884 |
|
888 |
|
885 |
|
889 |
|
886 |
|
890 |
|
|
891 |
|
|
|
892 |
|
|
|
893 |
|
|
887 |
|
894 |
|
888 |
|
895 |
|
889 |
|
896 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|