Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2005 15:17:12 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        rwatson@freebsd.org, freebsd-current@freebsd.org, Harti Brandt <harti@freebsd.org>
Subject:   Re: Panic in netnatm
Message-ID:  <20050726131712.GC46538@darkness.comp.waw.pl>
In-Reply-To: <20050726124222.GA1109@crodrigues.org>
References:  <20050726124222.GA1109@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050726131712.GC46538>