ntpd hangs under FBSD 8
ray at dlink.ua
Thu Feb 25 10:58:25 UTC 2010
On Wed, 24 Feb 2010 15:56:35 -0600
Peter Steele <psteele at maxiscale.com> wrote:
>> >> How do I get libc built with full debug symbols?
>> >I haven't tried it by myself but think here is the way to go: put the following to /etc/make.conf and recompile needed
>> >libraries / ports. WITH_DEBUG=yes
>> That didn't seem to have any effect. I still see -O2 being used instead of -O0.
Try to use
make DEBUG_FLAGS=-g WITH_DEBUG=yes buildkworld
make DEBUG_FLAGS=-g WITH_DEBUG=yes buildkernel
>> >Mmm... Do other daemons (sshd, lpd, ...) also fail when started through this script? Normal commands (ls, ps) seem not
>> I tried a few other things and they all seemed to run correctly. We use this same general approach in the full version of this
>> script to launch lots of applications. Its role in fact is a process launcher/monitor. I stripped it down to the bare minimum
>> in order to isolate the cause of the problem. It seems that only ntpd hangs, but not if I use Python 2.5.1.
I think problem not in ntpd, since I use ntpdate. And in 50% times, when it run from startup script, it hangs with kernel.
No Ctrl+C work, kernel don`t answer for ping, just freeze.
Problem somewhere in kernel, maybe in subsystems that set new time, maybe in network(UDP) parts.
This problem don`t affect other programs, so I think this in time handling code.
Peter, what platform You use? I use MIPS BCM5354.
>> freebsd-hackers at freebsd.org mailing list
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
Alexandr Rybalko <ray at dlink.ua>
aka Alex RAY <ray at ddteam.net>
More information about the freebsd-hackers