-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to fetch tftp image: TFTP Error, start_image returned tftp error #111
Comments
Per UEFI SPEC, EFI_TFTP_ERROR from EFI_PXE_BASE_CODE_PROTOCOL.Mtftp() means "A TFTP error packet was received during the MTFTP session". Unfortunately, shim currently won't show the details of TFTP error code. According to RFC1350, the possible error codes are: 0 Not defined, see error message (if any). Maybe we can fetch the error code after getting EFI_TFTP_ERROR to help the user to identify the issue. |
Since the TFTP error code is cached in EFI_PXE_BASE_CODE_MODE.TftpError, print the error code to help the user to identify the issue. rhboot#111 Signed-off-by: Gary Lin <glin@suse.com>
Could you try this patch and paste what it shows? |
@lcp |
I have been having issues for a while trying to get this to work, I may have an idea of your issue. The shim REQUIRES your DHCP server to be giving out "next-server" pointing to your TFTP host, if you are running proxyDHCP and dont have your primary server giving out a next-server address it will fail this way. |
note for anyone else googling around forlornly: another possible cause of this is that shim always seems to want the grub executable to be in the TFTP root - even if shim itself is in a subdirectory. If it can't find the grub executable, you get this error. |
When I boot my host from pxe server, pxe client download shim from tftp server successful, but shim failed to fetch netimage with error message like:
Unable to fetch tftp image: TFTP Error, start_image returned tftp error
The text was updated successfully, but these errors were encountered: