On at least one PXE stack (Realtek r8169), PXENV_UNDI_INITIALIZE has been observed to fail intermittently due to a media test failure (PXE error 0x00000061). Retrying the call to PXENV_UNDI_INITIALIZE succeeds, and the NIC is then usable. It is worth noting that this particular Realtek PXE stack is already known to be unreliable: for example, it repeatably fails its own boot-time media test after every warm reboot. Fix by attempting PXENV_UNDI_INITIALIZE multiple times, with a short delay between each attempt to allow the link to settle. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
21 |
|
|
22 |
|
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
|
|
||
34 |
|
35 |
|
35 |
|
36 |
|
36 |
|
37 |
|
37 |
|
|
|
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
40 |
|
|
|
||
63 |
|
63 |
|
64 |
|
64 |
|
65 |
|
65 |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
66 |
|
72 |
|
67 |
|
73 |
|
68 |
|
74 |
|
|
|
||
482 |
|
488 |
|
483 |
|
489 |
|
484 |
|
490 |
|
485 |
|
|
|
|
491 |
|
|
486 |
|
492 |
|
487 |
|
493 |
|
488 |
|
494 |
|
489 |
|
495 |
|
490 |
|
496 |
|
|
497 |
|
|
491 |
|
498 |
|
492 |
|
499 |
|
493 |
|
500 |
|
|
|
||
524 |
|
531 |
|
525 |
|
532 |
|
526 |
|
533 |
|
527 |
|
|
|
528 |
|
|
|
529 |
|
|
|
530 |
|
|
|
531 |
|
|
|
532 |
|
|
|
|
534 |
|
|
|
535 |
|
|
|
536 |
|
|
|
537 |
|
|
|
538 |
|
|
|
539 |
|
|
|
540 |
|
|
|
541 |
|
|
|
542 |
|
|
|
543 |
|
|
|
544 |
|
|
|
545 |
|
|
|
546 |
|
|
|
547 |
|
|
|
548 |
|
|
|
549 |
|
|
|
550 |
|
|
|
551 |
|
|
|
552 |
|
|
|
553 |
|
|
|
554 |
|
|
533 |
|
555 |
|
534 |
|
556 |
|
535 |
|
557 |
|