Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2010 12:58:38 +0200
From:      Alexandr Rybalko <ray@dlink.ua>
To:        Peter Steele <psteele@maxiscale.com>
Cc:        hackers@freebsd.org
Subject:   Re: ntpd hangs under FBSD 8
Message-ID:  <20100225125838.13cd6c0e.ray@dlink.ua>
In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95522@MBX03.exg5.exghost.com>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D5C73@MBX03.exg5.exghost.com> <20100220113349.GA22800@kiwi.sharlinx.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D60B7@MBX03.exg5.exghost.com> <bc2d971002220751i256f2329g3f29efdc763bca97@mail.gmail.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D60DD@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95389@MBX03.exg5.exghost.com> <20100224190035.GA5026@wep4035.physik.uni-wuerzburg.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95522@MBX03.exg5.exghost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Feb 2010 15:56:35 -0600
Peter Steele <psteele@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
>> >DEBUG_FLAGS=-g
>> 
>> 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
>> >affected.
>> 
>> 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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


-- 
Alexandr Rybalko <ray@dlink.ua> 
aka Alex RAY <ray@ddteam.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100225125838.13cd6c0e.ray>