From owner-freebsd-stable@FreeBSD.ORG Tue Apr 6 19:25:06 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1A05106566B for ; Tue, 6 Apr 2010 19:25:06 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail13.syd.optusnet.com.au (mail13.syd.optusnet.com.au [211.29.132.194]) by mx1.freebsd.org (Postfix) with ESMTP id 343648FC0C for ; Tue, 6 Apr 2010 19:25:05 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c122-106-253-149.belrs3.nsw.optusnet.com.au [122.106.253.149]) by mail13.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o36JOsFi018043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Apr 2010 05:25:04 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o36JOrmV007500; Wed, 7 Apr 2010 05:24:53 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o36JOqIM007499; Wed, 7 Apr 2010 05:24:52 +1000 (EST) (envelope-from peter) Date: Wed, 7 Apr 2010 05:24:52 +1000 From: Peter Jeremy To: Artem Kim Message-ID: <20100406192452.GA49617@server.vk2pj.dyndns.org> References: <201004060037.51086.artem_kim@inbox.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <201004060037.51086.artem_kim@inbox.ru> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-CMAE-Score: 0 Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.3/i386 libalias related panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 19:25:06 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Apr-06 00:37:51 +0400, Artem Kim wrote: >Fatal trap 12: page fault while in kernel mode >cpuid =3D 1; apic id =3D 01 >fault virtual address =3D 0x7d4c This suggests an offset from a NULL pointer. >0x8069ac41 is in DeleteLink (/usr/src/sys/netinet/libalias/alias_db.c:857). >852 { >853 struct libalias *la =3D lnk->la; >854 >855 LIBALIAS_LOCK_ASSERT(la); >856 /* Don't do anything if the link is marked permanent */ >857 if (la->deleteAllLinks =3D=3D 0 && lnk->flags & LINK_PERMA= NENT) >858 return; >(kgdb) bt >#7 0x8069ac41 in DeleteLink (lnk=3D0x84e0f980) at /usr/src/sys/netinet/li= balias/alias_db.c:853 >#8 0x8069ae3e in HouseKeeping (la=3D0x84874000) at /usr/src/sys/netinet/l= ibalias/alias_db.c:843 In the absence of someone who's seen this before, my initial guess is that lnk->la is corrupted in frame #7. I'd start with 'print *lnk' at frame #7 to confirm this. If so, you could go up to frame #8 and work through the linkTableOut chain to find which entry is corrupt - but actually finding _why_ it's corrupt will take a lot more work. If this is repeatable, I'd suggest adding WITNESS, WITNESS_SKIPSPIN and INVARIANTS and see if you can get the problem to show up closer to its cause. --=20 Peter Jeremy --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAku7ioQACgkQ/opHv/APuIeo3ACdFeJJuvcdn20tMHKOuX/vO16v ErIAnjV9uhJyaCk4qClklBqzQ4kCKe3v =zvms -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--