Date: Mon, 13 Jul 2009 20:44:48 +1000 From: John Marshall <john.marshall@riverwillow.com.au> To: freebsd-current@freebsd.org Subject: Re: Process stuck in vmmaps on 8.0-BETA1 Message-ID: <20090713104448.GE982@rwpc12.mby.riverwillow.net.au> In-Reply-To: <20090711124206.GF55190@deviant.kiev.zoral.com.ua> References: <a31046fc0907082342g1343b138g2fc38fda890b582a@mail.gmail.com> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090713104448.GE982>