From 646bfd53809fa8e8b818576c3e7a5d7b777151d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20=C3=9Cbelacker?= Date: Sat, 21 Jun 2014 15:26:05 +0200 Subject: Increase maximum number of session of the internal TFTP server. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Grub fails to boot from internal TFTP server when loading more than 3 initrd files. Grub first opens a session to the TFTP server for every initrd file and retrieves only the file size for all. Then it wants to download the content using the old sessions which are already expired. Increasing the maximum number of session of the internal TFTP server avoids this issue. The error message reads as following: error: timeout reading `/boot/ISO.ROOT/BOOTMGR'. Press any key to continue... Signed-off-by: Bernhard Übelacker Signed-off-by: Michael Tokarev --- tftp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tftp.h') diff --git a/tftp.h b/tftp.h index d191e61..cdba60b 100644 --- a/tftp.h +++ b/tftp.h @@ -2,7 +2,7 @@ #ifndef SLIRP_TFTP_H #define SLIRP_TFTP_H 1 -#define TFTP_SESSIONS_MAX 3 +#define TFTP_SESSIONS_MAX 20 #define TFTP_SERVER 69 -- cgit v1.1