Panic in netnatm

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Jul 26 13:17:26 GMT 2005


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 at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050726/15f6c61a/attachment.bin


More information about the freebsd-current mailing list