2014-10-13, 13:19
Hello,
I tried to build ipxe latest and tried to embed ipxe with the ipxe script to avoid using cached from PXE boot,
I used in script
set cached 0
dhcp net0
I am building and using undionly.kkpxe
However, iPXE cannot do dhcp successfully with the error: Could not configure net0, Connection timed out.
When I remove "dhcp net0", it can work.
I tried to debug my issue. In function undinet_poll in udinet.c, it can go to the while(1) loop, but it I did not see it go to PXENV_UNDI_ISR_OUT_RECEIVE to receive package. It just goes PXENV_UNDI_ISR_OUT_DONE. I do not know why iPXE cannot receive the DHCP packages from server as I see the sever has replied.
Could you please help me to understand why undinet_poll just goes to PXENV_UNDI_ISR_OUT_DONE instead of PXENV_UNDI_ISR_OUT_RECEIVE to receive package? it never goes to that and no any errors printed out in the console.
Thanks a lot,
I tried to build ipxe latest and tried to embed ipxe with the ipxe script to avoid using cached from PXE boot,
I used in script
set cached 0
dhcp net0
I am building and using undionly.kkpxe
However, iPXE cannot do dhcp successfully with the error: Could not configure net0, Connection timed out.
When I remove "dhcp net0", it can work.
I tried to debug my issue. In function undinet_poll in udinet.c, it can go to the while(1) loop, but it I did not see it go to PXENV_UNDI_ISR_OUT_RECEIVE to receive package. It just goes PXENV_UNDI_ISR_OUT_DONE. I do not know why iPXE cannot receive the DHCP packages from server as I see the sever has replied.
Could you please help me to understand why undinet_poll just goes to PXENV_UNDI_ISR_OUT_DONE instead of PXENV_UNDI_ISR_OUT_RECEIVE to receive package? it never goes to that and no any errors printed out in the console.
Thanks a lot,