NetBSD-Bugs archive

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

Re: kern/51531: Recent networking regression affecting installs



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

From: Andreas Gustafsson <gson%gson.org@localhost>
To: Roy Marples <roy%marples.name@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/51531: Recent networking regression affecting installs
Date: Wed, 23 Nov 2016 10:33:02 +0200

 Roy Marples wrote:
 > >> Do you know if the new ifconfig command did in fact wait for around
 > >> 15 seconds before running ping?
 
 It waits for about 5 seconds, not 15.  Here's the relevant part
 of the timestamped log (the big numbers are seconds since the epoch):
 
   recv(1479853346.806, '[37m\x1b[44mStatus: \x1b[7mRun')
   recv(1479853346.826, 'ning\x1b[2;5H\x1b[27mC')
   recv(1479853346.846, 'ommand: \x1b[7m/sbi')
   recv(1479853346.866, 'n/ifconfig -w 15 -W 5\r\n\r')
   recv(1479853346.886, '\n\x1b[27m----------')
   recv(1479853346.906, '------------------------')
   recv(1479853346.926, '----------------')
   recv(1479853346.946, '----------------')
   recv(1479853346.966, '--------------\x1b[4;1H\x1b[m\r')
   recv(1479853346.986, '\n\x1b[m')
   recv(1479853351.815, '\x1b[1;14H\x1b')
   recv(1479853351.828, '[37m\x1b[44')
   recv(1479853351.848, 'm\x1b[7mFinished\x1b[2')
 
 > Could you wait a few minutes and then look at the ifconfig output again?
 > Guessing the addresses still say TENTATIVE.
 
 No, they don't.  I changed the test to run ifconfig -a twice, with a
 delay of 120 seconds inbetween.  The first one printed:
 
 sk0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         ec_capabilities=5<VLAN_MTU,JUMBO_MTU>
         ec_enabled=0
         address: 00:1b:fc:9e:0f:b4
         media: Ethernet autoselect (10baseT half-duplex)
         status: active
         inet 10.169.0.2/24 broadcast 10.169.0.255 flags 0x1<TENTATIVE>
         inet6 fe80::21b:fcff:fe9e:fb4%sk0/64 flags 0x2<TENTATIVE> scopeid 0x3
 
 and the second one printed:
 
 sk0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         ec_capabilities=5<VLAN_MTU,JUMBO_MTU>
         ec_enabled=0
         address: 00:1b:fc:9e:0f:b4
         media: Ethernet autoselect (10baseT half-duplex)
         status: active
         inet 10.169.0.2/24 broadcast 10.169.0.255 flags 0x0
         inet6 fe80::21b:fcff:fe9e:fb4%sk0/64 flags 0x0 scopeid 0x3
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index