VirtualBox

Opened 15 years ago

Last modified 13 years ago

#3757 closed defect

tftp failure in VirtualBox — at Version 5

Reported by: Kohsuke Kawaguchi Owned by:
Component: network Version: VirtualBox 2.1.2
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by vasily Levchenko)

There appears to be a bug in the TFTP implementation of the PXE boot of VirtualBox. The packet capture from Wireshark is attached.

As you can see in the packet capture, TFTP transmission of a file starts off fine, but somehow VirtualBox fails to recognize the data packet 67 that the TFTP server is sending.

It keeps ACKing 66 to request a re-transmission of 67, which the TFTP server does. Eventually, both parties time out and the TFTP fails.

The error reproduces often, but not always. It's not always this packet 67, either. It more or less happens at random points, but the probability of the issue is high enough that if I attempt a Linux kernel boot via pxelinux, it'll almost always fail before the linux kernel image and initrd is loaded.

Thank you for reporting. Could you please attach your log file to the ticket?

Change History (8)

by Kohsuke Kawaguchi, 15 years ago

Attachment: tftp-virtualbox added

Wireshark packet capture that shows communication between TFTP server and VirtualBox

comment:1 by Kohsuke Kawaguchi, 15 years ago

In this case, the TFTP server is the host of VirtualBox, and VirtualBox is connected to network via a host interface.

comment:2 by michaln, 15 years ago

Component: othernetwork

This is a packet capture taken on the host NIC, yes? Could you please try this again and capture both the traffic on the NIC (with Wireshark or similar) *and* at the same time create a VM trace using VBoxManage modifyvm with the -nictrace and -nictracefile options? That way we'll be able to tell if the problem is in the PXE ROM code or if packets are getting lost on the way.

I'm also wondering why Wireshark tells me almost all the packets sent by your host have incorrect checksum?

Finally, what exactly is your host OS and the TFTP server? The VirtualBox PXE implementation is known to work with a number of hosts and TFTP servers, so the precise versions you're using may be important.

comment:3 by MrX1980, 15 years ago

Hello

I have the same or similar problem.

VirtualBox 3.0.0 beta 2
Host: Win XP Pro SP3 german
Guest: Win 2003 Enterprise SP2 german
RIS: Should be Win XP Pro SP3 german

Internel Network

Messages in Win2003:

Fehler beim Erstellen des UDP-Endpunkts für den WDSPXE-Anbieter auf der Schnittstelle "192.168.39.133:67". Dieser Fehler kann auftreten, wenn die Netzwerkschnittstelle deaktiviert bzw. geändert wurde oder wenn eine andere Anwendung diesen Port bereits verwendet. Der Anbieter kann über diese Schnittstelle keine Anforderungen empfangen. Fehlerinformationen: 0x2740

Fehler beim Erstellen des UDP-Endpunkts für den WDSPXE-Anbieter auf der Schnittstelle "192.168.39.133:68". Dieser Fehler kann auftreten, wenn die Netzwerkschnittstelle deaktiviert bzw. geändert wurde oder wenn eine andere Anwendung diesen Port bereits verwendet. Der Anbieter kann über diese Schnittstelle keine Anforderungen empfangen. Fehlerinformationen: 0x2740

The logs will follow.

by MrX1980, 15 years ago

Attachment: VBox_Logs_WinXP_RIS.zip added

Logs of the RIS

by MrX1980, 15 years ago

Attachment: VBox_Logs_Win2003.zip added

Logs of the Win2003

comment:4 by Kohsuke Kawaguchi, 15 years ago

Incorrect checksums seem to be the standard affair of IP packets. Every time I capture traffic anywhere, I always see the incorrect checksums. So I doubt if it's related.

I'll try the vmtrace when I get a chance.

in reply to:  4 comment:5 by vasily Levchenko, 15 years ago

Description: modified (diff)

Replying to kohsuke:

Incorrect checksums seem to be the standard affair of IP packets. Every time I capture traffic anywhere, I always see the incorrect checksums. So I doubt if it's related.

I'll try the vmtrace when I get a chance.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use