Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 12:45:46 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Bas Smeelen <b.smeelen@ose.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 9.1-PRERELEASE and ntpd problem
Message-ID:  <E1Ss9mM-000O3E-Bp@kabab.cs.huji.ac.il>
In-Reply-To: <50091B76.4070701@ose.nl>
References:  <E1Ss8Pk-000NIy-8r@kabab.cs.huji.ac.il> <50091B76.4070701@ose.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 07/20/2012 10:18 AM, Daniel Braniss wrote:
> > my console is filling up with:
> >
> > Jul 20 11:08:18 pundit ntpd[1075]: bind() fd 27, family AF_INET6, port 123,
> > scope 2, addr fe80::f66d:4ff:fee1:f7ba, mcast=0 flags=0x11 fails: Can't assign
> > requested address
> > Jul 20 11:08:18 pundit ntpd[1075]: unable to create socket on re0 (8) for
> > fe80::f66d:4ff:fee1:f7ba#123
> > Jul 20 11:13:18 pundit ntpd[1075]: bind() fd 27, family AF_INET6, port 123,
> > scope 2, addr fe80::f66d:4ff:fee1:f7ba, mcast=0 flags=0x11 fails: Can't assign
> > requested address
> > Jul 20 11:13:18 pundit ntpd[1075]: unable to create socket on re0 (9) for
> > fe80::f66d:4ff:fee1:f7ba#123
> >
> > any ideas?
> > thanks,
> > 	danny
> >
> 
> Hi Danny
> 
> I don't see this problem here with a GENERIC kernel and unmodified ntp.conf

> Are you using IPv6 ?
no

> Do you have an unmodified ntp.conf ?
my ntp.conf:
server ntp

(the same on all freebsds's)

> What does /var/log/messages give when you do a service ntpd restart ?

Jul 20 10:56:11 pundit kernel: Starting powerd.
Jul 20 10:56:11 pundit kernel: Jul 20 10:56:11 pundit ntpd[1075]: bind() fd 
23, family AF_INET6, port 123, scope 2, addr fe80::f66d:4ff:fee1:f7ba, mcast=0 
flags=0x11 fails: Can't assign requested address
Jul 20 10:56:11 pundit kernel: Jul 20 10:56:11 pundit ntpd[1075]: unable to 
create socket on re0 (3) for fe80::f66d:4ff:fee1:f7ba#123
Jul 20 10:56:12 pundit kernel: Starting snmpd.

ifconfig seem ok:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAG
IC,LINKSTATE>
        ether f4:6d:04:e1:f7:ba
        inet 132.65.80.126 netmask 0xfffff000 broadcast 132.65.95.255
        inet6 fe80::f66d:4ff:fee1:f7ba%re0 prefixlen 64 tentative scopeid 0x2 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
> 
> Here it is:
> Jul 20 10:40:49 dd ntpd[1030]: ntpd exiting on signal 15
> Jul 20 10:40:49 dd ntpd[1390]: ntpd 4.2.4p5-a (1)
> Jul 20 10:40:56 dd ntpd[1391]: kernel time sync status change 2001
> on a uname -a
> FreeBSD dd.ose.nl 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #6:
> Fri Jul 20 09:04:04 CEST 2012 root@dd.ose.nl:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> 
> I have ssh bound to tcp4 and tcp6 and ntpd is bound to udp4 and udp6
> tcp4       0      0 *.ssh                  *.* LISTEN
> udp4       0      0 *.ntp
> 
> tcp6       0      0 *.ssh                  *.* LISTEN
> udp6       0      0 *.ntp                  *.*
> 

I have:
udp4       0      0 localhost.ntp          *.*                    
udp6       0      0 fe80:5::1.ntp          *.*                    
udp6       0      0 ::1.ntp                *.*                    
udp4       0      0 pundit.cs.huji.a.ntp   *.*                    

I'm runing almost a GENERIC kernel:

include GENERIC
ident		HUJI

options 	SCSI_DELAY=500		# Delay (in ms) before probing SCSI
options         BOOTP_NFSV3             # Use NFS v3 to NFS mount root
# sequence CR ~ ^b which is similar to a familiar pattern used on Sun
options         ALT_BREAK_TO_DEBUGGER

options         CONSPEED=115200          # speed for serial console
options		KDB_UNATTENDED
options 	PANIC_REBOOT_WAIT_TIME=160

options         DEVICE_POLLING
options         ALTQ
options         ALTQ_CBQ        # Class Bases Queueing
options         ALTQ_PRIQ       # Priority Queueing
options         ALTQ_HFSC       # Hierarchical Packet Scheduler
#options 	SW_WATCHDOG

options         PRINTF_BUFR_SIZE=256

and finaly, the host is dataless, i.e it boots via PXE.

thanks,
	danny





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Ss9mM-000O3E-Bp>