NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/53329: netboot over nfs broken



The following reply was made to PR kern/53329; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/53329: netboot over nfs broken
Date: Fri, 8 Jun 2018 11:38:00 +0100

 I could work around this by changing the configuration of the switch,
 but rather than having to put a note in the INSTALL files, maybe we
 could just double the timeouts?
 
 >  (Each time the link comes up, the cisco willrenegotiate and not enable
 >  forwarding for 30s.)
 
 so 30s is too short. The following is sufficient for me:
 
 RCS file: /cvsroot/src/sys/nfs/nfs_boot.c,v
 retrieving revision 1.88
 diff -u -r1.88 nfs_boot.c
 --- sys/nfs/nfs_boot.c  17 May 2018 02:34:31 -0000      1.88
 +++ sys/nfs/nfs_boot.c  8 Jun 2018 10:34:40 -0000
 @@ -425,8 +425,8 @@
   * The re-send loop counts up linearly to this maximum, so the
   * first complaint will happen after (1+2+3+4+5)=15 seconds.
   */
 -#define        MAX_RESEND_DELAY 5      /* seconds */
 -#define TOTAL_TIMEOUT   30     /* seconds */
 +#define        MAX_RESEND_DELAY 10     /* seconds */
 +#define TOTAL_TIMEOUT    60    /* seconds */
  
  int
  nfs_boot_sendrecv(struct socket *so, struct sockaddr_in *nam,
 
 
 


Home | Main Index | Thread Index | Old Index