atom feed16 messages in org.freebsd.freebsd-currentRe: Process stuck in vmmaps on 8.0-BETA1
FromSent OnAttachments
John MarshallJul 8, 2009 11:05 pm 
pluknetJul 8, 2009 11:42 pm 
John MarshallJul 9, 2009 12:30 am 
John MarshallJul 9, 2009 1:52 am 
Kostik BelousovJul 9, 2009 7:20 am 
Kostik BelousovJul 9, 2009 9:08 am 
John MarshallJul 9, 2009 8:58 pm 
Kostik BelousovJul 10, 2009 1:23 am 
Tom EvansJul 10, 2009 1:28 am 
John MarshallJul 10, 2009 4:42 am 
Kostik BelousovJul 10, 2009 6:24 am 
John MarshallJul 11, 2009 2:10 am 
Kostik BelousovJul 11, 2009 5:41 am 
John MarshallJul 13, 2009 3:44 am 
Kostik BelousovJul 13, 2009 3:57 am 
John MarshallJul 16, 2009 5:56 pm 
Subject:Re: Process stuck in vmmaps on 8.0-BETA1
From:John Marshall (john@riverwillow.com.au)
Date:Jul 13, 2009 3:44:25 am
List:org.freebsd.freebsd-current

On Sat, 11 Jul 2009, 15:42 +0300, Kostik Belousov wrote:

On Sat, Jul 11, 2009 at 07:10:50PM +1000, John Marshall wrote:

On Fri, 10 Jul 2009, 16:24 +0300, Kostik Belousov wrote:

Thank you, I see what is going on. Please, try the following patch.

Thank you Kostik,

I applied your patch to vm_map.c and rebuilt the kernel. Now the process crashes instead - but I think it is getting beyond the point where it was hanging.

I rebuilt ntpd on the patched kernel and it still produces this crash.

This is obviously different issue. Besiddes, backtrace does not make much sense.

You need to rebuild and install lib/libc, lib/libthr and libexec/rtld-elf with debugging symbols. Easiest way to do this is to enter into each listed src/ subdirectory and do make obj make clean make depend make all install DEBUG_FLAGS=-g and then start ntpd again and get the backtrace, might by "bt full" will be more informative.

Thank you for the help. This is what I saw after following your instructions...

(gdb) bt full #0 memset () at /usr/src/lib/libc/i386/string/memset.S:78 No locals. #1 0x00006000 in ?? () No symbol table info available. #2 0x28085c9b in map_object (fd=6, path=0x280c0080 "/usr/local/lib/nss_winbind.so.1", sb=0xbfbfdbac) at /usr/src/libexec/rtld-elf/map_object.c:196 obj = Variable "obj" is not available. Current language: auto; currently asm

BTW, do you use NIS ?

Yes, and I also have winbind. If I remove winbind from /etc/nsswitch.conf then ntpd runs happily. I suspect that this might be related to the GSSAPI authentication not working for sshd. I shall now turn my attention to that problem.

Thank you for your help in resolving the initial vmmaps problem - and for your patch to vm_map.c. I think we've progressed far enough beyond that problem to close this thread.

Thank you again for your help.