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, 1 Jun 2018 17:19:00 +0100

 It seems to be a new local problem in the sense that:
 
 - requests were emitted - I didn't seem them as I was filtering on host
   instead of port bootps or port bootpc
 
 - I successfully booted after increasing timeouts in
   sys/nfs/nfs_boot.c to
 
   -#define        MAX_RESEND_DELAY 5      /* seconds */
   -#define TOTAL_TIMEOUT   30     /* seconds */
   +#define        MAX_RESEND_DELAY 50     /* seconds */
   +#define TOTAL_TIMEOUT   300    /* seconds */
 
   and observe:
 
    7.2... nfs_boot: trying DHCP/BOOTP
   46.9... nfs_boot: DHCP next-server: ...
 
   as opposed to the post above:
 
     7.2... nfs_boot: trying DHCP/BOOTP
    25.9... nfs_boot: timeout...
    30.9... nfs_boot: timeout...
    35.9... nfs_boot: timeout...
    40.9... nfs_boot: timeout...
 
   (old cisco catalyst switch)
 
   That last output doesn't really seem to match the comment:
 
     422 /*
     423  * What is the longest we will wait before re-sending a request?
     424  * Note this is also the frequency of "timeout" messages.
     425  * The re-send loop counts up linearly to this maximum, so the
     426  * first complaint will happen after (1+2+3+4+5)=15 seconds.
     427  */
 
   The frequency of "timeout" messages seems to be 5 rather than 15 seconds.
 


Home | Main Index | Thread Index | Old Index