From owner-freebsd-current@FreeBSD.ORG Mon Jul 13 10:44:51 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BFB6106566B for ; Mon, 13 Jul 2009 10:44:51 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [203.58.93.36]) by mx1.freebsd.org (Postfix) with ESMTP id CFF368FC15 for ; Mon, 13 Jul 2009 10:44:50 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from rwpc12.mby.riverwillow.net.au (rwpc12.mby.riverwillow.net.au [172.25.24.168]) (authenticated bits=0) by mail1.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id n6DAimiV051143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Jul 2009 20:44:48 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=m1001; t=1247481889; bh=zjvf6xCr+wufIJDMb+MRNfQeD/ROWfVbSV5zpgwvTIQ=; h=Date:From:To:Subject:Message-ID:References:Mime-Version: Content-Type:In-Reply-To; b=fs7DlTQAO7XONegS3ci+H7hqtllvqQhF+5Ob7Rk5H+Yz3cyD6pOcI8OuoiAUIs9cj ojKyXM++Wcp9UrzYNY25eCwJf1vFK8g2rryWZR61SFLzPyssvxWLZGJHPNFkxpJCy6 ESzN2HShJ0LSj3rZY38qjGXT64/SZSs+lC420Vxw= Received: from rwpc12.mby.riverwillow.net.au (localhost [127.0.0.1]) by rwpc12.mby.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id n6DAimGv003434 for ; Mon, 13 Jul 2009 20:44:48 +1000 (AEST) (envelope-from john.marshall@riverwillow.com.au) Received: (from john@localhost) by rwpc12.mby.riverwillow.net.au (8.14.3/8.14.3/Submit) id n6DAimjw003433 for freebsd-current@freebsd.org; Mon, 13 Jul 2009 20:44:48 +1000 (AEST) (envelope-from john) Date: Mon, 13 Jul 2009 20:44:48 +1000 From: John Marshall To: freebsd-current@freebsd.org Message-ID: <20090713104448.GE982@rwpc12.mby.riverwillow.net.au> Mail-Followup-To: freebsd-current@freebsd.org References: <20090709073054.GB27373@rwpc12.mby.riverwillow.net.au> <20090709085242.GC27373@rwpc12.mby.riverwillow.net.au> <20090709142121.GS55190@deviant.kiev.zoral.com.ua> <20090710035849.GB31950@rwpc12.mby.riverwillow.net.au> <1247214510.2437.1693.camel@strangepork.london.mintel.ad> <20090710114234.GF32316@rwpc12.mby.riverwillow.net.au> <20090710132429.GA55190@deviant.kiev.zoral.com.ua> <20090711091050.GN32316@rwpc12.mby.riverwillow.net.au> <20090711124206.GF55190@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SkvwRMAIpAhPCcCJ" Content-Disposition: inline In-Reply-To: <20090711124206.GF55190@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.3i OpenPGP: id=A29A84A2; url=http://pki.riverwillow.net.au/pgp/johnmarshall.asc Subject: Re: Process stuck in vmmaps on 8.0-BETA1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 10:44:51 -0000 --SkvwRMAIpAhPCcCJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. > >=20 > > Thank you Kostik, > >=20 > > 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. > >=20 > > I rebuilt ntpd on the patched kernel and it still produces this crash. >=20 > This is obviously different issue. Besiddes, backtrace does not make > much sense. >=20 > 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=3D-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=3D6,=20 path=3D0x280c0080 "/usr/local/lib/nss_winbind.so.1", sb=3D0xbfbfdbac) at /usr/src/libexec/rtld-elf/map_object.c:196 obj =3D 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. --=20 John Marshall --SkvwRMAIpAhPCcCJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkpbECAACgkQw/tAaKKahKJdNQCeL7hqP3rg4akwWwmhmP/1GzJD XJ4AnRUhRY7suMIBsYgRVnulBlrreg2q =FmI1 -----END PGP SIGNATURE----- --SkvwRMAIpAhPCcCJ--