Hello, on a platform with a mips64 kernel and n32 userland, I get when starting ntpd (ntpd -b, like I do on most of my clients): Aug 24 15:05:29 java ntpd[283]: Unable to listen for broadcasts, no broadcast interfaces available
yet there is a broadcast-capable ethernet (with a ipv4 address configured): java:/home/bouyer>/sbin/ifconfig re0 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 Also, dhclient doesn't work on this interface: java# dhclient re0 Internet Systems Consortium DHCP Client V3.0.3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP Can't install packet filter program: Invalid argument With tcpdump I get: java# ktrace tcpdump re0 tcpdump: no suitable device found and kdump shows: [...] 3454 1 tcpdump CALL netbsd32_open(0x7fff6390,2,0) 3454 1 tcpdump NAMI "/dev/bpf0" 3454 1 tcpdump RET netbsd32_open 3, 2147443609/0x7fff6399 3454 1 tcpdump CALL netbsd32_ioctl(3,0x40044271,0x7fff6368) 3454 1 tcpdump GIO fd 3 read 4 bytes "\^A\0\^A\0" 3454 1 tcpdump RET netbsd32_ioctl 0, 2147443609/0x7fff6399 3454 1 tcpdump CALL netbsd32___sysctl(0x7fff6320,2,0x7fff6438,0x7fff6318,0,0) 3454 1 tcpdump RET netbsd32___sysctl 0, 8 3454 1 tcpdump CALL netbsd32___sysctl(0x7fff6320,2,0x7fff6538,0x7fff6318,0,0) 3454 1 tcpdump RET netbsd32___sysctl 0, 8 3454 1 tcpdump CALL netbsd32___sysctl(0x7fff6320,2,0x7fff6638,0x7fff6318,0,0) 3454 1 tcpdump RET netbsd32___sysctl 0, 8 3454 1 tcpdump CALL netbsd32___sysctl(0x7fff6320,2,0x7fff6738,0x7fff6318,0,0) 3454 1 tcpdump RET netbsd32___sysctl 0, 8 3454 1 tcpdump CALL netbsd32___sysctl(0x7fff6320,2,0x7fff6838,0x7fff6318,0,0) 3454 1 tcpdump RET netbsd32___sysctl 0, 8 3454 1 tcpdump CALL netbsd32_ioctl(3,0x40044266,0x7fff6374) 3454 1 tcpdump GIO fd 3 read 4 bytes "\0\M^@\0\0" 3454 1 tcpdump RET netbsd32_ioctl 0 3454 1 tcpdump CALL netbsd32_ioctl(3,0xc0044266,0x7fff6374) 3454 1 tcpdump GIO fd 3 wrote 4 bytes "\0\0\b\0" 3454 1 tcpdump GIO fd 3 read 4 bytes "\0\0\b\0" 3454 1 tcpdump RET netbsd32_ioctl 0, 32768/0x8000 3454 1 tcpdump CALL netbsd32_ioctl(3,0x8090426c,0x7fff63a8) 3454 1 tcpdump GIO fd 3 wrote 144 bytes "lo0\0\0\0\0\0\0\0\0\0\0\0\0\0\^B\0\0\0\0\0\0\0\M^He\M^?\^?\0\0\0\0P\ \M^]\^?x\0\0\0\0<\M^T}x\0\0\0\0\f\0\0\0t\0Yx\n\0\0p\0\0\0\0\M-<Z\^S\0\ \^C\0\0\0\0\M^@\^T\0\0\0\^R\0\0\M-@Wx\0\0\0\0\^T\M-c\^Q\0\0\0\0\0\M-(d\ \M^?\^?\0\0\0\0\M^L\M^L{x\0\0\0\0\^E\0\0\0\0\0\0\0|e\^A\0\0\0\0\0\0\0\ \^A\0\0\0\0\0\M^W\M-1Fx\0\0\0\0" 3454 1 tcpdump RET netbsd32_ioctl 0, 2147443640/0x7fff63b8 3454 1 tcpdump CALL netbsd32_ioctl(3,0x4004426a,0x7fff6374) 3454 1 tcpdump GIO fd 3 read 4 bytes "\0\0\0\0" 3454 1 tcpdump RET netbsd32_ioctl 0, 2147443640/0x7fff63b8 3454 1 tcpdump CALL netbsd32_ioctl(3,0xc0084277,0x7fff6378) 3454 1 tcpdump GIO fd 3 wrote 8 bytes "\0\0\0\0\0\0\0\0" 3454 1 tcpdump RET netbsd32_ioctl -1 errno 22 Invalid argument 3454 1 tcpdump CALL netbsd32_ioctl(3,0x80044275,0x7fff6370) 3454 1 tcpdump GIO fd 3 wrote 4 bytes "\^A\0\0\0" 3454 1 tcpdump RET netbsd32_ioctl 0 3454 1 tcpdump CALL netbsd32_ioctl(3,0x40044266,0x7fff6374) 3454 1 tcpdump GIO fd 3 read 4 bytes "\0\0\b\0" 3454 1 tcpdump RET netbsd32_ioctl 0, 1000/0x3e8 3454 1 tcpdump CALL netbsd32_ioctl(3,0x80084267,0x7fff6388) 3454 1 tcpdump GIO fd 3 wrote 8 bytes "\^A\0\0\0\M^@c\M^?\^?" 3454 1 tcpdump RET netbsd32_ioctl -1 errno 22 Invalid argument [...] I'll have a look later, but maybe this rings a bell to someone ? -- Manuel Bouyer <[email protected]> NetBSD: 26 ans d'experience feront toujours la difference --
