Re: Panic in netnatm

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Tue, 26 Jul 2005 15:17:12 +0200
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_at_, who did the work, AFAIR.

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

Received on Tue Jul 26 2005 - 11:17:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC