daily CVS update output

2016-09-02 Thread NetBSD source update

Updating src tree:
P src/external/mit/xorg/server/drivers/xf86-video-i128/Makefile
P src/external/mit/xorg/server/drivers/xf86-video-i740/Makefile
P src/external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile
P src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile
P src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile
P src/external/mit/xorg/server/drivers/xf86-video-siliconmotion/Makefile
P src/external/mit/xorg/server/drivers/xf86-video-sis/Makefile
P src/external/mit/xorg/server/drivers/xf86-video-tseng/Makefile
P src/external/mit/xorg/server/xorg-server/glamor/Makefile
P src/external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile
P src/sys/arch/amd64/amd64/netbsd32_machdep.c
P src/sys/arch/amd64/include/segments.h
P src/sys/arch/arm/nvidia/tegra124_car.c
P src/sys/arch/i386/include/segments.h
P src/sys/compat/linux32/arch/amd64/linux32_machdep.c
P src/sys/netinet6/in6.c
P src/sys/netinet6/nd6.c
P src/usr.bin/innetgr/innetgr.c
P src/usr.bin/mklocale/lex.l
P src/usr.bin/mklocale/yacc.y
P src/usr.bin/netgroup/netgroup.c
P src/usr.bin/passwd/extern.h
P src/usr.bin/passwd/passwd.c
P src/usr.bin/tftp/tftp.c
P src/usr.bin/vgrind/extern.h
P src/usr.sbin/postinstall/postinstall
P src/usr.sbin/usbdevs/usbdevs.c

Updating xsrc tree:
P xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_accel.c
P xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_accel_common.c


Killing core files:


Updating tar files:
src/top-level: collecting... replacing... done
src/bin: collecting... replacing... done
src/common: collecting... replacing... done
src/compat: collecting... replacing... done
src/crypto: collecting... replacing... done
src/dist: collecting... replacing... done
src/distrib: collecting... replacing... done
src/doc: collecting... replacing... done
src/etc: collecting... replacing... done
src/external: collecting... replacing... done
src/extsrc: collecting... replacing... done
src/games: collecting... replacing... done
src/gnu: collecting... replacing... done
src/include: collecting... replacing... done
src/lib: collecting... replacing... done
src/libexec: collecting... replacing... done
src/regress: collecting... replacing... done
src/rescue: collecting... replacing... done
src/sbin: collecting... replacing... done
src/share: collecting... replacing... done
src/sys: collecting... replacing... done
src/tests: collecting... replacing... done
src/tools: collecting... replacing... done
src/usr.bin: collecting... replacing... done
src/usr.sbin: collecting... replacing... done
src/config: collecting... replacing... done
src: collecting... replacing... done
xsrc/top-level: collecting... replacing... done
xsrc/external: collecting... replacing... done
xsrc/local: collecting... replacing... done
xsrc: collecting... replacing... done

Running the SUP scanner:
SUP Scan for current starting at Sat Sep  3 03:08:14 2016
SUP Scan for current completed at Sat Sep  3 03:08:29 2016
SUP Scan for mirror starting at Sat Sep  3 03:08:29 2016
SUP Scan for mirror completed at Sat Sep  3 03:10:40 2016



Updating release-6 src tree (netbsd-6):
U doc/CHANGES-6.2
P sys/net80211/ieee80211_input.c

Updating release-6 xsrc tree (netbsd-6):


Updating release-6 tar files:
src/top-level: collecting... replacing... done
src/bin: collecting... replacing... done
src/common: collecting... replacing... done
src/compat: collecting... replacing... done
src/crypto: collecting... replacing... done
src/dist: collecting... replacing... done
src/distrib: collecting... replacing... done
src/doc: collecting... replacing... done
src/etc: collecting... replacing... done
src/external: collecting... replacing... done
src/extsrc: collecting... replacing... done
src/games: collecting... replacing... done
src/gnu: collecting... replacing... done
src/include: collecting... replacing... done
src/lib: collecting... replacing... done
src/libexec: collecting... replacing... done
src/regress: collecting... replacing... done
src/rescue: collecting... replacing... done
src/sbin: collecting... replacing... done
src/share: collecting... replacing... done
src/sys: collecting... replacing... done
src/tests: collecting... replacing... done
src/tools: collecting... replacing... done
src/usr.bin: collecting... replacing... done
src/usr.sbin: collecting... replacing... done
src/config: collecting... replacing... done
src/x11: collecting... replacing... done
xsrc/top-level: collecting... replacing... done
xsrc/external: collecting... replacing... done
xsrc/local: collecting... replacing... done
xsrc/xfree: collecting... replacing... done

Running the SUP scanner:
SUP Scan for release-6 starting at Sat Sep  3 03:15:30 2016
SUP Scan for release-6 completed at Sat Sep  3 03:15:40 2016



Updating release-7 src tree (netbsd-7):

Updating release-7 xsrc tree (netbsd-7):


Updating release-7 tar files:
src/top-level: collecting... replacing... done
src/bin: collecting... replacing... done
src/common: collecting... replacing... done
src/compat: collecting... replacing..

if_tun broken?

2016-09-02 Thread Frank Kardel

Hi !

When running a -current i386 kernel as of 20160902 (own and daily 
builds) and a 7.99.16 userland the tun interface seem broken.


Data received via vtund (tty side) is seen and correctly received 
(routes are recognized, tcpdump works)


Interfaces seem correctly configured:
Gateway# ifconfig tun0
tun0: flags=51 mtu 1500
inet 10.0.0.200 -> 10.0.0.1 netmask 0x
Gateway# ifconfig tun1
tun1: flags=51 mtu 1500
inet 10.0.0.200 -> 10.200.100.1 netmask 0x

tundebug=1 gives:

tun0: tunpoll
tun0: tunpoll waiting
tun0: tunwrite
tun0: tun_output
tun0: not ready 03
tun0: tunpoll
tun0: tunpoll waiting
tun0: tunpoll
tun0: tunpoll waiting
tun0: tunwrite
tun0: tun_output
tun0: not ready 03

Thus the interface is not ready. TUN_IASET is not set. The 
IFADDR_READER_FOREACH(ifa, ifp) loop in tuncreate() does not find any 
addresses tough ifconfig list them.


Thus something seems to be broken here - any ideas?
Must userland match though ifconfig output and behavior looks fine?
Can this be replicated?

Best regards,
  Frank