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>

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

[-- Attachment #1 --]
On Tue, Jul 26, 2005 at 08:42:22AM -0400, Craig Rodrigues wrote:
+> Hi,
+> 
+> I did a cvsup, rebuilt everything ( buildworld, buildkernel, installkernel,
+> mergemaster -p, installworld) and now I get a panic very early when
+> my fatm card initializes:
+> 
+> panic: mutex natm_mtx not owned at /usr/src/sys/netnatm/natm_pcb.c:110
+> 
+> I have a dump file, but kgdb cannot read it:
+> kgdb: kvm_read: invalid address (0x4)
+> 
+> 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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFC5jfYForvXbEpPzQRAlwwAJ9Kb0nqLYgE9hqe0tXP9o8+BmG7+ACg9MR2
Vmi3hlzDWapEZ1FQKOLfc6c=
=e+2M
-----END PGP SIGNATURE-----
help

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