Tftp download failed как исправить

Symptoms

Consider the following scenario. You perform a Pre-Boot Execution Environment (PXE) boot on a client computer that connects to a Windows Deployment Services server that is running Windows Server 2008 R2. The client computer downloads the Pxeboot.com binary file. In this scenario, you receive an error message that resembles the following:

TFTP download failed

Cause

This issue occurs because of an uninitialized UINT16 variable in the FindVendorOption function.

Resolution

Hotfix information

To resolve this issue, apply the following hotfix on the Windows Deployment Services server that is running Windows Server 2008 R2.

 You must update the binary files on the Windows Deployment Services server after you install this hotfix. To do this, follow these steps:

  1. Run the following command to uninitialize the Windows Deployment Services server:

    Wdsutil /uninitialize-server

  2. Run the following command to reinitialize the Windows Deployment Services server:

    Wdsutil /initialize-server /reminst:<Reminst folder>For example, if the Reminst folder is named “RemoteInstall” and is located on drive C, run the following command to reinitialize the Windows Deployment Services server:

    dsutil /initialize-server /reminst:C:RemoteInstall

  3. Run the following command to change the response policy to respond to all clients:

    WDSUTIL /set-Server /AnswerClients:[All|Known]

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a “Hotfix download available” section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote The “Hotfix download available” form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows Server 2008 R2 or Windows Server 2008 R2 Service Pack 1 (SP1).For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows Server 2008 R2 file information notes


Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under “Windows 7/Windows Server 2008 R2” on the page. Always refer to the “Applies To” section in articles to determine the actual operating system that each hotfix applies to.

  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:

    Version

    Product

    Milestone

    Service branch

    6.1.760
    0.20xxx

    Windows Server 2008 R2

    RTM

    LDR

    6.1.760
    1.21xxx

    Windows Server 2008 R2

    SP1

    LDR

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the “Additional file information for Windows 7 and for Windows Server 2008 R2” section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are critical to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Wdsmgfw.efi

6.1.7600.21166

531,968

09-Mar-2012

12:31

Not applicable

Wdsmgfw.efi

6.1.7601.21939

532,480

09-Mar-2012

12:22

Not applicable

Bootmgfw.efi

6.1.7600.21166

672,624

09-Mar-2012

15:09

Not applicable

Wdsmgfw.efi

6.1.7600.21166

531,968

09-Mar-2012

12:31

Not applicable

Bootmgfw.efi

6.1.7601.21939

673,136

09-Mar-2012

15:37

Not applicable

Wdsmgfw.efi

6.1.7601.21939

532,480

09-Mar-2012

12:22

Not applicable

Abortpxe.com

Not applicable

79

10-Jun-2009

21:44

Not applicable

Bootmgr.exe

6.1.7600.21166

523,120

09-Mar-2012

14:14

x86

Hdlscom1.com

Not applicable

24,780

09-Mar-2012

08:06

Not applicable

Hdlscom1.n12

Not applicable

24,764

09-Mar-2012

08:06

Not applicable

Hdlscom2.com

Not applicable

24,780

09-Mar-2012

08:06

Not applicable

Hdlscom2.n12

Not applicable

24,764

09-Mar-2012

08:06

Not applicable

Pxeboot.com

Not applicable

24,476

09-Mar-2012

08:06

Not applicable

Pxeboot.n12

Not applicable

24,476

09-Mar-2012

08:06

Not applicable

Wdsnbp.com

Not applicable

31,140

09-Mar-2012

08:06

Not applicable

Abortpxe.com

Not applicable

79

10-Jun-2009

21:44

Not applicable

Bootmgr.exe

6.1.7601.21939

523,632

09-Mar-2012

13:57

x86

Hdlscom1.com

Not applicable

24,780

09-Mar-2012

08:07

Not applicable

Hdlscom1.n12

Not applicable

24,764

09-Mar-2012

08:07

Not applicable

Hdlscom2.com

Not applicable

24,780

09-Mar-2012

08:07

Not applicable

Hdlscom2.n12

Not applicable

24,764

09-Mar-2012

08:07

Not applicable

Pxeboot.com

Not applicable

24,476

09-Mar-2012

08:07

Not applicable

Pxeboot.n12

Not applicable

24,476

09-Mar-2012

08:07

Not applicable

Wdsnbp.com

Not applicable

31,140

09-Mar-2012

08:07

Not applicable

Abortpxe.com

Not applicable

79

10-Jun-2009

21:44

Not applicable

Bootmgr.exe

6.1.7600.21166

523,120

09-Mar-2012

14:14

x86

Hdlscom1.com

Not applicable

24,780

09-Mar-2012

08:06

Not applicable

Hdlscom1.n12

Not applicable

24,764

09-Mar-2012

08:06

Not applicable

Hdlscom2.com

Not applicable

24,780

09-Mar-2012

08:06

Not applicable

Hdlscom2.n12

Not applicable

24,764

09-Mar-2012

08:06

Not applicable

Pxeboot.com

Not applicable

24,476

09-Mar-2012

08:06

Not applicable

Pxeboot.n12

Not applicable

24,476

09-Mar-2012

08:06

Not applicable

Wdsnbp.com

Not applicable

31,140

09-Mar-2012

08:06

Not applicable

Abortpxe.com

Not applicable

79

05-Nov-2010

02:18

Not applicable

Bootmgr.exe

6.1.7601.21939

523,632

09-Mar-2012

13:57

x86

Hdlscom1.com

Not applicable

24,780

09-Mar-2012

08:07

Not applicable

Hdlscom1.n12

Not applicable

24,764

09-Mar-2012

08:07

Not applicable

Hdlscom2.com

Not applicable

24,780

09-Mar-2012

08:07

Not applicable

Hdlscom2.n12

Not applicable

24,764

09-Mar-2012

08:07

Not applicable

Pxeboot.com

Not applicable

24,476

09-Mar-2012

08:07

Not applicable

Pxeboot.n12

Not applicable

24,476

09-Mar-2012

08:07

Not applicable

Wdsnbp.com

Not applicable

31,140

09-Mar-2012

08:07

Not applicable

Abortpxe.com

Not applicable

79

10-Jun-2009

21:44

Not applicable

Bootmgr.exe

6.1.7600.21166

523,120

09-Mar-2012

14:14

x86

Hdlscom1.com

Not applicable

24,780

09-Mar-2012

08:06

Not applicable

Hdlscom1.n12

Not applicable

24,764

09-Mar-2012

08:06

Not applicable

Hdlscom2.com

Not applicable

24,780

09-Mar-2012

08:06

Not applicable

Hdlscom2.n12

Not applicable

24,764

09-Mar-2012

08:06

Not applicable

Pxeboot.com

Not applicable

24,476

09-Mar-2012

08:06

Not applicable

Pxeboot.n12

Not applicable

24,476

09-Mar-2012

08:06

Not applicable

Wdsnbp.com

Not applicable

31,140

09-Mar-2012

08:06

Not applicable

Abortpxe.com

Not applicable

79

05-Nov-2010

02:18

Not applicable

Bootmgr.exe

6.1.7601.21939

523,632

09-Mar-2012

13:57

x86

Hdlscom1.com

Not applicable

24,780

09-Mar-2012

08:07

Not applicable

Hdlscom1.n12

Not applicable

24,764

09-Mar-2012

08:07

Not applicable

Hdlscom2.com

Not applicable

24,780

09-Mar-2012

08:07

Not applicable

Hdlscom2.n12

Not applicable

24,764

09-Mar-2012

08:07

Not applicable

Pxeboot.com

Not applicable

24,476

09-Mar-2012

08:07

Not applicable

Pxeboot.n12

Not applicable

24,476

09-Mar-2012

08:07

Not applicable

Wdsnbp.com

Not applicable

31,140

09-Mar-2012

08:07

Not applicable

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the “Applies to” section.

More Information

For more information about the PXE boot process, visit the following Microsoft websites:

General information about the PXE boot process

How to deploy an image by using PXEFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Server 2008 R2

Additional files for all supported x64-based versions of Windows Server 2008 R2

File name

Amd64_044e036ea487194c86d58fc7c9999caa_31bf3856ad364e35_6.1.7601.21939_none_c64149ada98ea201.manifest

File version

Not applicable

File size

1,092

Date (UTC)

10-Mar-2012

Time (UTC)

00:14

Platform

Not applicable

File name

Amd64_211b439e35badf6899bd87a03876e6d0_31bf3856ad364e35_6.1.7601.21939_none_3b9b9ea8491c08e3.manifest

File version

Not applicable

File size

724

Date (UTC)

10-Mar-2012

Time (UTC)

00:14

Platform

Not applicable

File name

Amd64_4a3e0be041af33eed73a1ee8fc173646_31bf3856ad364e35_6.1.7600.21166_none_1c1e8b33265edde1.manifest

File version

Not applicable

File size

1,092

Date (UTC)

10-Mar-2012

Time (UTC)

00:14

Platform

Not applicable

File name

Amd64_50bd526c8ce17ff1cf3d996ab27aa8d8_31bf3856ad364e35_6.1.7601.21939_none_9afd7825c9105300.manifest

File version

Not applicable

File size

1,062

Date (UTC)

10-Mar-2012

Time (UTC)

00:14

Platform

Not applicable

File name

Amd64_8a3c7e5a501ffe4a21b602eb74332d33_31bf3856ad364e35_6.1.7600.21166_none_7b9edce3db63db73.manifest

File version

Not applicable

File size

724

Date (UTC)

10-Mar-2012

Time (UTC)

00:14

Platform

Not applicable

File name

Amd64_cb0d740085502bb76d9fb06de6b9d276_31bf3856ad364e35_6.1.7600.21166_none_59075963c69c5c2a.manifest

File version

Not applicable

File size

1,062

Date (UTC)

10-Mar-2012

Time (UTC)

00:14

Platform

Not applicable

File name

Amd64_microsoft-windows-bootenvironment-pxe_31bf3856ad364e35_6.1.7600.21166_none_49e7e627c4880ed7.manifest

File version

Not applicable

File size

3,837

Date (UTC)

09-Mar-2012

Time (UTC)

15:41

Platform

Not applicable

File name

Amd64_microsoft-windows-bootenvironment-pxe_31bf3856ad364e35_6.1.7601.21939_none_4bf1dd93c1933cda.manifest

File version

Not applicable

File size

3,837

Date (UTC)

09-Mar-2012

Time (UTC)

16:06

Platform

Not applicable

File name

Amd64_microsoft-windows-d..ices-boot-files-x64_31bf3856ad364e35_6.1.7600.21166_none_18bc8202f10298ce.manifest

File version

Not applicable

File size

4,402

Date (UTC)

09-Mar-2012

Time (UTC)

15:36

Platform

Not applicable

File name

Amd64_microsoft-windows-d..ices-boot-files-x64_31bf3856ad364e35_6.1.7601.21939_none_1ac6796eee0dc6d1.manifest

File version

Not applicable

File size

4,402

Date (UTC)

09-Mar-2012

Time (UTC)

16:02

Platform

Not applicable

File name

X86_microsoft-windows-bootenvironment-pxe_31bf3856ad364e35_6.1.7600.21166_none_edc94aa40c2a9da1.manifest

File version

Not applicable

File size

9,879

Date (UTC)

09-Mar-2012

Time (UTC)

14:41

Platform

Not applicable

File name

X86_microsoft-windows-bootenvironment-pxe_31bf3856ad364e35_6.1.7601.21939_none_efd342100935cba4.manifest

File version

Not applicable

File size

9,879

Date (UTC)

09-Mar-2012

Time (UTC)

14:25

Platform

Not applicable

File name

X86_microsoft-windows-d..ices-boot-files-x64_31bf3856ad364e35_6.1.7600.21166_none_bc9de67f38a52798.manifest

File version

Not applicable

File size

9,827

Date (UTC)

09-Mar-2012

Time (UTC)

14:39

Platform

Not applicable

File name

X86_microsoft-windows-d..ices-boot-files-x64_31bf3856ad364e35_6.1.7601.21939_none_bea7ddeb35b0559b.manifest

File version

Not applicable

File size

9,827

Date (UTC)

09-Mar-2012

Time (UTC)

14:22

Platform

Not applicable

File name

X86_microsoft-windows-d..ices-boot-files-x86_31bf3856ad364e35_6.1.7600.21166_none_bc9fb98338a38d88.manifest

File version

Not applicable

File size

9,827

Date (UTC)

09-Mar-2012

Time (UTC)

14:42

Platform

Not applicable

File name

X86_microsoft-windows-d..ices-boot-files-x86_31bf3856ad364e35_6.1.7601.21939_none_bea9b0ef35aebb8b.manifest

File version

Not applicable

File size

9,827

Date (UTC)

09-Mar-2012

Time (UTC)

14:28

Platform

Not applicable

Проблема:
при настройке RIS под управлением CentOS винда категорически отказывалась грузить ntdlr с ошибкой:


TFTP download failed

Хотя устанoвка Debian при этом нормально стартовала.
Как выяснилось лечение простое до боли в печени, в настройках дхцп сервера прописать следующие опции:


next-server 192.168.0.1;
option root-path "192.168.0.1:/var/lib/tftpboot/";

т.е. ткнуть носом где у нас корневая директория с лоадером.
Проверяем конфиг:


/etc/init.d/dhcpd configtest
Syntax: OK

Перезапускаем дхцп сервер


# /etc/init.d/dhcpd restart
Останавливается dhcpd:                                     [  OK  ]
Запускается dhcpd:                                         [  OK  ]

RRS feed

  • Remove From My Forums
  • Question

  •  Hello

    Uppgraded my RIS server (Windows Server 2003 sp1) to WDS (mixed mode) and trying to send out some images. Worked fine with RIS earlier but now when i press F12 i get the message:

    “TFTP Download Failed”

    I have installed a boot-image. Tried boot.wim and a winPE light touch image.

    Any ideas.

    Best Regards

    Per

All replies

  • Hi Per,

    Did you add the boot.wim image to your WDS image store using the WDS management utilities, or did you drop it in the Remote Install folder manually?

    Also, are you running DHCP on the same computer as WDS? If so, have you set WDS not to listen to port 67, and set DHCP option 60 to “PXEClient”?

    Thanks,

    Jez

  • Hello

    I used the WDS management utility to add the image. And DHCP is not running at the same server.

    I don´t get the TFTP download error any longer.

    Now i get another error:

    File: BootBCD

    Status: 0xc00000098

    Info: The windows boot configuration data file does not contain a valid os entry

    /Per

  • There´s something with the bootx86bootmgr.exe file

    If i rename it i get TFTP DOWNLOAD FAILED.

    If don´t rename it i get the bootbcd error.

    Any Ideas?

  • Hello,
    useful help is available on the ‘wdsoobstepbystep.doc’ paper (Published: August 2006) in section ‘Known issues with PXE-booting a client to install Windows’.

     Maybe help you this cmd:
    WDSUTIL /set-server /architecturediscovery:yes

    LV

  • I have this same problem trying to image some servers, they are all new servers using 2 x Quad-core processors.  The problem seems to be with EMT64 capable Intel processors, they negotiate themselves to the WDS servers as 64-bit capable (no problem there, it works every time) via the WDSNBP.COM file (after having run wdsutil /set-server architecturediscovery:Yes anyway).  The problem is at the point where it attempts to download the pxeboot.com file, I then -almost immediately – receive a ‘TFTP Download Failed <CR/LF> Press any key to restart…’ message.  Now, this is where it becomes interesting, twice (out of roughly 150 attempts) – on consecutive attempts – the Vista bootmanager file downloaded and ran successfully, however, when selecting the RIS mode from the list of options, I then receive the ‘TFTP Download failed; message (please note, it is a different message) without the ‘Press any key to…’ message.

    If I try an old machine, 32-bit capable only – in this case a Dell GX240 – against the same machine, it works correctly.  I have un-installed & re-installed the WDS services, this has not solved the problem, I have been forced to unitialize the server, then re-run the WDS Legacy app to re-add an image and create the required reminst share, etc…  The 64-bit capable servers now work correctly – interestingly using the startrom.com file which provides the ‘TFTP Download Failed’ message above.

    I am at a complete loss with this problem now, I have tried different switches, different modes on our ProCurve switches (IGMP Snooping on/off, STP on/off), I’ve even plugged it into an old hub that we have hanging around, all to no avail.  I then tried turning the multi-core functionality off for the processors, this made no difference either.  I saw no option to disable the EMT64 extensions in BIOS, this wouldn’t of been a fix anyway as it is a 64-bit version of Windows 2003 Enterprise server I am trying to install.

    You might see this and think it’s ok as I am able to deploy the OS now, but it’s only working in legacy mode, not mixed mode or native mode, I need to be thinking ahead towards Vista deployment in the very near future, so I need this problem solved ASAP.  Please help if you can, I am willing to provide any type of log file I can to help, even NetMon 3.1 capture’s have been studied!!  The only thing I haven’t been able to try is editing the IP Helper tables on our routers as these machines are currently on a test network and are routed via MS RRAS servers, I’m not sure if you can or how to make these edits in the IP Helper tables in RRAS.  I have however tried the DHCP options – 066, 067, 060 – all to no avail.  There is no routing between the WDS server & the servers to be RIS’d (WDS’d!!) so this isn’t a problem either.

    I eagerly await help 🙂

    I forgot to mention that I have both the 32-bit & 64-bit boot files from vista boot.wim files on the server, in the correct place and that the path to the pxeboot.com file presented in the PXE boot screen is bootx64pxeboot.com.

    • Proposed as answer by

      Monday, November 7, 2011 8:00 AM

    • Unproposed as answer by
      xiong huang
      Wednesday, November 9, 2011 1:35 AM

  • This issue is still outstanding, can anybody help?  a bump so to speak, but this is and was urgent 11 days ago…

  • Hi!

    I have a DHCP, TFTP server and I want to restore a Server 2003 R2 by using ASR with an PXE installation. The server I want to restore takes the IP address but in the moment that it is looking for the TFTP file, it can not by found. And then shows and error PXE-E32 TFTP open Time Out.

  • Hi,CuppaT,I have to say Thanks to you. After read your amazing install-notes, I give up to use WDS on Windows 2003 server R2, and upgrading my server to windows 2008.

    Does anyone solve this problem?


    altair

  • hi, I have to tell you that pxeboot.com provided by microsfot contains a serious bug.

    one function does not initialize (zero out) a temp-var (16bit), which low 8bit is written by a subsequent funcion call.

    but the other function uses its whole 16bit value (as an option tag size).

    both 2006 and 2009 version of pxeboot.com have the same bug.

    • Proposed as answer by
      Johny Francis
      Saturday, October 27, 2012 4:53 AM

  • What function do you suspect has this bug, or which option tag are you seeing this error with?

  • Hi Aaron

        I haven’t the source code of pxeboot.com, but I did de-assemble the binary file, and found a function is to get a level-2 option tag from the

    cached packet of DHCP reply ACK which is returned by the PXE UNDI driver.  I guess the function type is:

        char* get_option(char main_tag, char sub_tag, char* buf, int buf_len, *option_len);

    the bug exist in this function.

    the Option tag is 0xFC (=252)

  • has anyone resolved this? I am trying to look for a solution. Thanks! 

  • Fov_D007 – in your screenshot, on the line that says “Contacting Server:8.0.0.0”, is that a valid IP address for your PXE server? It looks like that address should be 172.24.11.30. 

    A network capture of this process would be useful, but this may be a bug in whatever VM solutions you’re using. 

    The version number from wdsnbp.com would also be useful.

  • Aaron,

    I see the previous poster did not respond to you; I’m suffering the same result…only the referral server IP is correct.  But I get the same TFTP restart failed… error.

    What do you recommend?

    I’m also using virtualbox with a host-only network adapter.  I’d greatly appreciate any insight or suggestions to get this project going forward.

    Very Respectfully,

    POAB

  • Hi,

    I spent days to resolve the issue TFTP download failed! but no luck

    I reconfigured the server and images, I have checked the DHCP configuration 060-PXEClient is enabled, 067-Bootfile Name string value is set bootx86wdsnbp.com.

    I also ran WDSUTIL /set-server /architecturediscovery:yes, no luck whatsoever.

    I’m running a Vitualbox(4.1.10) PXE-enabled windows 7 machine, I can see the machine IP address on my DHCP server .

    I read almost all articles and documents regarding this issue.

    would someone please help us with this!

    Many Thanks!

    • Edited by
      saedz
      Monday, April 9, 2012 6:22 PM

  • I was finally able to get this to work by following all the tech guide instructions and then:

    Using TFTPD32 (not wds), set it to use pxeboot.com instead of wdsnbp.com in the DHCP settings, then set “Option Negotion” on.

    Using C:Output as the TFTP root dir:

    Copied C:Program FilesWindows AIKToolsPEToolsx86boot to c:Output

    Copied C:winpe_x86mountWindowsBootPXE to c:Output

    I didn’t bother using my own BCD fileb that the instructions wanted me to make (which caused error after error), just used the one from C:Program FilesWindows AIKToolsPEToolsx86boot

    Next, I moved the .wim file to c:OutputSources, and renamed it: c:OutputSourcesboot.wim

    Then, I made a copy of the whole mess to c:OutputBoot (sometimes I saw from the logs it looked for files there, sometimes not, depending on the file).

    By the time I was done, I had copies of these files all over the place. So, to recap:

    Watch the log from TFTPD for any missing files, and keep moving them around until the damn thing loads.

    Crappy experiance all the way around… Hope this helps!!

  • THE SOLUTION!!!

    Apart from using VMWare Player and setting it to NAT which will make it work.

    With Orical VM Player, you need to download the extension pack located here: https://www.virtualbox.org/wiki/Downloads

    Then you need to make sure Network settings are the following.

    Attached to = Host-Only Adapter.

    Name = VirtualBox Host-Only Ethernet adapter.

    Promiscuous Mode = Deny.

    Cable connected = Checked.

  • I’m not sure how you guys are preparing authorizaiton for your WDS clients (i.e. precreating machine accounts or if your WDS servers are open to all client requests for PXE images).

    I eventually got it working using VirtualBox and do recall that there is a host limit to how many times a particular machine can query the WDS server in a given period and be authorized to download the image.  *I think it’s 24 hours.  I was able
    to get around this by recreating the machine account (delete/recreate).  So there’s something with cached service request counts and an associated limit for authorization.  Be mindful of that issue, it will produce the same results as stated
    above…TFTP timing out.  Ensure that you have WDS logging enabled and check the logs–THEY’RE SUPER HELPFUL!!!

    I was trying to get creative and use Windows Routing and Remote Access Servers, with RIP between two physical machines to simulate two distinct networks (across boundaries for future provisioning of a forest and multi-domain architecture), connected via
    crossover cable, and I couldn’t establish success with port-forwarding rules but once I eliminated the fancy network factor and just did host-only networking, I was able to successfully push an image (minus the above issue with the validity period for servicing
    a request).

    Hope that might help you avoid any problems.

    V/R,

    POAB

    • Edited by
      Dapperville Inn
      Wednesday, September 19, 2012 10:44 AM

WDS TFTP Download Failed

Hey all, WDS is not being fun today. I am attempting to PXE boot a host and after spending 3+ minutes getting an address it downloads WDSNBP instantly then moves on to contacting server where it sits for about 5 minutes before giving the message

Failed to Restart TFTP
TFTP Download Failed
PXE-M0F: Exiting Broadcom PXE ROM 

The host then restarts the PXE boot process.

Our WDS server is running on a 2012 R2 VM in ESX. It is also a DC and DHCP server for WDS. I believe the options are set correctly as every once in a while it does succeed in contacting the server and I can boot properly. After running a wireshark capture I can find that DHCP occurs first, all of the options are provided correctly however it appears PXE boot will repeat the DHCP process multiple times and receive the same answer before being satisfied and moving on to the next step (Is this normal? It significantly affects the time required to boot). Then a TFTP session is opened and WDSNBP is successfully downloaded quickly with no issues… then… radio silence, there is no further communication between the WDS server and the PXE client despite the client reporting that it is contacting the server. I have tested this with correct ports open and even without the firewall at all. Everything is on a flat network right now with only a dumb switch in between. Anyone here got any ideas? Any help would be appreciated.

EDIT: So after digging a bit more it turns out while the initial DHCP is slow it is not repeating itself over and over, what I was seeing is the contacting server phase. Apparently during contact server DHCP requests and acknowledges are exchanged many times with no other communication. These r’s and a’s appear to have no new information contained in them. Furthermore it appears that this communication is occurring as follows:

SRC:172.16.1.180 (PXE Client) DHCP Request –> DST:172.16.1.200 (DHCP and WDS Server)

SRC:10.162.86.11 (Server interface towards main campus network) –> DST:172.16.1.180 (PXE Client)

Despite being marked with the wrong IP address the packets are going out the correct interface because I am tacking only the correct interface in wireshark. The requests are blank aside from addressing info. It appears PXE is requesting boot file name. The acks are sending the correct info back but I believe the PXE client is not receiving any of them and as a result is unable to open a TFTP session, this is also evident in the fact that the PXE client keeps sending requests. Any thoughts?

Archived post. New comments cannot be posted and votes cannot be cast.

I just found this ERPXE project yesterday and spent the day trying to get it to work. I have not succeeded, yet. Whenever I try to load the hirensminixp.iso I get a message “TFTP Download Failed”. Nothing else shows on the screen.

I have a Debian Stable system running the atftpd program. The tftpd-hpa would not install without errors so I am trying to use a different tftp server. This atftp program likes for the default location to be at /srv/tftp and erpxe suggests it at /tftpboot. No problem so far as I symlinked the root of /tftpboot to /srv/tftp. It does load the program and I can navigate the erpxe menu. I might add that the atftp server works fine with other pxe boots, just not this erpxe.

I went through the installation and configuration of erpxe and all went fine except for the command “smbpasswd -a erpxe” which threw out an error. I don’t think this is critical, for now, so I will move on. Everything seems fine except that I am unsure where to put this information: “-m /tftpboot/er.remap -vvvvv -s”. I added it to the /etc/default/atftp.conf file as –

OPTIONS=”–tftpd-timeout 300 –retry-timeout 5 –mcast-port 1758 –mcast-addr 239.239.239.0-255 –mcast-ttl 1 –maxthread 100 –verbose=5 -m /tftpboot/er.remap”

I had to drop the -s flag as the service would not start with it added. This does not seem to help any. I also added it to the /etc/init.d script on the “Options” line as “-m /tftpboot/er.remap -vvvvv -s”. This does not help any either. I am unsure about this. Is there a proper way that you suggest do add it?

My creation of the hirensminixp.iso file was attempted three times with the hex editing done at least 4 times. I am pretty sure that I have got this right, but then, maybe not. I checked my /var/log/daemon file and I get this message:

Jul 25 22:56:29 server atftpd[27551]: Serving er/plugins/ubuntutrinux.menu to 192.168.x.xxx:49347
Jul 25 22:56:32 server atftpd[27551]: Serving er/plugins/hirensminixp/startrom.0 to 192.168.x.xxx:49421
Jul 25 22:56:32 server atftpd[27551]: Serving WINH to 192.168.x.xxx:2072

The error log stops here.

I don’t know which direction to take from here. I may have picked a more advanced plugin to use as my first try with erpxe, but it is one that I would use often so I tried it. Any suggestions?

Update: I just tried a easier plugin, the partedmagic plugin. It too will not download, but i get no error message in the log. The last line in the log file says:

Jul 26 10:12:17 server atftpd[3659]: Serving er/plugins/partedmagic/i386/bzimage to 192.168.x.xxx:49429
Jul 26 10:12:24 server atftpd[3659]: Serving er/menu/skin/menu.png to 192.168.x.xxx:49430

and then the log stops. I can browse the erpxe menu including the PMagic menu entry, and then once selected, nothing happens.

I am missing something somewhere, but I can’t find it. Any help would be appreciated. Thanks.

Добавить комментарий