From owner-freebsd-current@FreeBSD.ORG Tue Jul 26 13:17:26 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CEF416A41F; Tue, 26 Jul 2005 13:17:26 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F88B43D45; Tue, 26 Jul 2005 13:17:25 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id CAE3FACAE0; Tue, 26 Jul 2005 15:17:12 +0200 (CEST) Date: Tue, 26 Jul 2005 15:17:12 +0200 From: Pawel Jakub Dawidek To: Craig Rodrigues Message-ID: <20050726131712.GC46538@darkness.comp.waw.pl> References: <20050726124222.GA1109@crodrigues.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZYmINVJmWI8I2mSy" Content-Disposition: inline In-Reply-To: <20050726124222.GA1109@crodrigues.org> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 Cc: rwatson@freebsd.org, freebsd-current@freebsd.org, Harti Brandt Subject: Re: Panic in netnatm 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: Tue, 26 Jul 2005 13:17:26 -0000 --ZYmINVJmWI8I2mSy Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 26, 2005 at 08:42:22AM -0400, Craig Rodrigues wrote: +> Hi, +>=20 +> I did a cvsup, rebuilt everything ( buildworld, buildkernel, installkern= el, +> mergemaster -p, installworld) and now I get a panic very early when +> my fatm card initializes: +>=20 +> panic: mutex natm_mtx not owned at /usr/src/sys/netnatm/natm_pcb.c:110 +>=20 +> I have a dump file, but kgdb cannot read it: +> kgdb: kvm_read: invalid address (0x4) +>=20 +> I'll try to get a more useful trace tonight. Trace will probably not be needed, as there are only two places where npcb_add() is called. It looks like NATM locking is missing in /sys/netinet/if_atm.c. PS. CCing rwatson@, who did the work, AFAIR. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ZYmINVJmWI8I2mSy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFC5jfYForvXbEpPzQRAlwwAJ9Kb0nqLYgE9hqe0tXP9o8+BmG7+ACg9MR2 Vmi3hlzDWapEZ1FQKOLfc6c= =e+2M -----END PGP SIGNATURE----- --ZYmINVJmWI8I2mSy--