Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2004 09:57:22 GMT
From:      Nenad Gavrilovic <neca@boox.co.yu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/75014: When close ipx socket kernel panic
Message-ID:  <200412130957.iBD9vM9S077284@www.freebsd.org>
Resent-Message-ID: <200412131000.iBDA0utJ066301@freefall.freebsd.org>

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

>Number:         75014
>Category:       kern
>Synopsis:       When close ipx socket kernel panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 13 10:00:56 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nenad Gavrilovic
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
BOOX Computers
>Environment:
FreeBSD necatest.boox.co.yu 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #14: Sat Dec 11 20:36:11 CET 2004 root@necatest.boox.co.yu:/usr/obj/usr/src/sys/IPX i386

config IPX
GENERIC,v 1.413.2.6.2.2
with changes:
ident IPX

# NetWare
device          ef
options         ETHER_II
Problem repeat with all fremes
#options         ETHER_8023
#options         ETHER_8022
#options         ETHER_SNAP
options         IPX
#options        NCP

Debug options
#options         PREEMPTION
#options         ADAPTIVE_GIANT
#options         MUTEX_NOINLINE
#options         MUTEX_DEBUG

Debug options
makeoptions     DEBUG=-g
options         KDB
#options         KDB_TRACE
options         DDB
#options         KTRACE
#options         KTRACE_REQUEST_POOL=101
options         INVARIANTS
options         INVARIANT_SUPPORT

>Description:
panic: mutex rtentry not owned at /usr/src/sys/net/route.c:241
KDB: enter: panic
[thread 100053]
Stopped at kdb_enter+0x2b: nop
db> trace
kdb_enter
panic
_mtx_assert
rtfree
ipx_pcbdetach
ipx_detach
soclose
soo_close
fdrop_locked
fdrop
closef
close
syscall
>How-To-Repeat:
1.
kldload ncp
ncplist s

2.
When use mars_nwe when You end nwbind or nwserv thay close ipx socket.
/usr/local/etc/rc.d/nwserv.sh start
/usr/local/etc/rc.d/nwserv.sh stop
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



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