error 38086101 and spanning tree/port-fast - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: error 38086101 and spanning tree/port-fast (/showthread.php?tid=7732) |
error 38086101 and spanning tree/port-fast - shchoi - 2015-05-27 18:10 Hi, so we are using ipxe in our environment but more recently we have been running into problems with systems randomly hitting waiting for link-up on net0......... Down (http://ipxe.org/38086101). Now this error shows up after the server has already gotten an DHCP IP successfully but hits it after it chainloads ipxe. However this error shows up randomly and sometimes finds the link down but other times sees link up and continues. I will also note that we are seeing this more and more with newer servers overall. Now we had done some exhaustive troubleshooting and we think we have figured out the problem but was hoping the ipxe team might test, validate, and maybe put a fix in. The problem I believe is actually caused if you are using switches and have spanning-tree on with port-fast on. Every time a pxe image is chainloaded it is actually shutting down the network interface, then turns it on and then requests for a DHCP address. The port on the switch the server is connected on sees the network interface go down and up, and due to portfast it correspondingly turns off/on the port which we actually observe by watching the port lights on the switch. The turning off and on the switch port probably takes a millisecond to 1 second to come back online but I think the chainloaded pxe images loads so fast that it actually gets to checking link-up on net0 while the switch is still resetting that port and thus sees the link as down. Hence a race condition is created and sometimes shows up based on what finishes first (is the switch still in the process of resetting the port while the ipxe loads and gets to checking link on net0). I am hoping this makes sense and if it does I'm hoping someone can look into this and maybe add a simple sleep command for about 2 seconds before ipxe checks for link on network interfaces. Thanks. RE: error 38086101 and spanning tree/port-fast - NiKiZe - 2015-06-02 23:51 (2015-05-27 18:10)shchoi Wrote: I am hoping this makes sense and if it does I'm hoping someone can look into this and maybe add a simple sleep command for about 2 seconds before ipxe checks for link on network interfaces. Thanks. Adding a 2 sec delay after each link up in ipxe would be unacceptable for many users, especially if this only affects STP enabled ports. Which version of iPXE are you running (the xxxp part of "1.0.0+ (xxxx)") which NIC, and which kind of ipxe binary (example: ipxe.pxe, undionly.kpxe etc) RE: error 38086101 and spanning tree/port-fast - harry88 - 2016-05-17 17:05 I got the same problem. I am a newbie to this... how and where do yo add the wait delay? From a previous thread, some says it happens 1 out of 4-5 reboots. I noticed the same issue and it needs a hard reboot to pass the down error (its not failed.. just says down). Thanks in advance. RE: error 38086101 and spanning tree/port-fast - harry88 - 2016-05-17 19:53 (2015-06-02 23:51)NiKiZe Wrote:Hi, I am new to setting up ipxe and ubuntu. Where would I edit the 2 second delay? I have the same problem and also from another thread where it happens only once out of 4-5 tries. I would need to hard reboot the pc for it to work. Thanks in advance.(2015-05-27 18:10)shchoi Wrote: I am hoping this makes sense and if it does I'm hoping someone can look into this and maybe add a simple sleep command for about 2 seconds before ipxe checks for link on network interfaces. Thanks. Im running ipxe 1.0.0+ (53653) if that helps. I'm trying to set up the Fog Project on 14.04 LTS ubuntu. with dell 9020's. I am running the dhcp proxy with dnsmasq. Its runs more that half the time, just once in every 4-5 reboots I get it says its down (not failed) with 38086101 message. |