From alex@kapran.bitmcnit.bryansk.su  Thu Dec 28 18:11:36 2000
Return-Path: <alex@kapran.bitmcnit.bryansk.su>
Received: from server.bitmcnit.bryansk.su (bitmcnit.bryansk.ru [195.239.213.9])
	by hub.freebsd.org (Postfix) with ESMTP id 09E1E37B402
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Dec 2000 18:11:32 -0800 (PST)
Received: (from uucp@localhost)
	by server.bitmcnit.bryansk.su (8.9.3/8.9.3) with UUCP id FAA16238
	for FreeBSD-gnats-submit@freebsd.org; Fri, 29 Dec 2000 05:03:19 +0300
Received: (from alex@localhost)
	by kapran.bitmcnit.bryansk.su (8.11.1/8.11.1) id eBT24Pf01175;
	Fri, 29 Dec 2000 05:04:25 +0300 (MSK)
	(envelope-from alex)
Message-Id: <200012290204.eBT24Pf01175@kapran.bitmcnit.bryansk.su>
Date: Fri, 29 Dec 2000 05:04:25 +0300 (MSK)
From: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
Reply-To: alex@kapran.bitmcnit.bryansk.su
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Repeatable panic: blockable mtx_enter() of lockmgr interlock when not legal
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         23935
>Category:       kern
>Synopsis:       Repeatable panic: blockable mtx_enter() of lockmgr interlock when not legal
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 28 18:20:01 PST 2000
>Closed-Date:    Wed May 2 06:45:20 PDT 2001
>Last-Modified:  Wed May 02 06:46:02 PDT 2001
>Originator:     Alex Kapranoff
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kapran.bitmcnit.bryansk.su 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Dec 29 03:22:33 MSK 2000 root@kapran.bitmcnit.bryansk.su:/usr/src/sys/compile/KAPRAN i386

	I have a UP box with -CURRENT built from fresh sources cvsuped at
29.12.2000 at about midnight GMT.

>Description:
	This is the information I've managed to collect. Excuse me, but
this was my first DDB and kgdb experience.

Script started on Fri Dec 29 04:57:17 2000
# gdb -k
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd".
(kgdb) symbol-file /boot/kernel/kernel
Reading symbols from /boot/kernel/kernel...(no debugging symbols found)...done.
(kgdb) exec-file /var/crash/kernel.0
(kgdb) core-file /var/crash/vmcore.0
IdlePTD 3416064
initial pcb at 2a0240
panicstr: from debugger
panic messages:
---
panic: blockable mtx_enter() of lockmgr interlock when not legal @ ../../kern/kern_lock.c:247
panic: from debugger
Uptime: 16m49s

dumping to dev ad0s2b, offset 81920
dump ata0: resetting devices .. done
24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  0xc016c572 in dumpsys ()
(kgdb) where
#0  0xc016c572 in dumpsys ()
#1  0xc016c358 in boot ()
#2  0xc016c72d in panic ()
#3  0xc011bb3d in db_panic ()
#4  0xc011badb in db_command ()
#5  0xc011bba2 in db_command_loop ()
#6  0xc011de0f in db_trap ()
#7  0xc0207116 in kdb_trap ()
#8  0xc0212944 in trap ()
#9  0xc0207385 in Debugger ()
#10 0xc016c724 in panic ()
#11 0xc01664c6 in witness_enter ()
#12 0xc0162a9e in lockmgr ()
#13 0xc016de9c in psignal ()
#14 0xc016d9d9 in pgsignal ()
#15 0xc018826f in ttyinput ()
#16 0xc0200725 in sckbdevent ()
#17 0xc01f870f in atkbd_intr ()
#18 0xc021d08c in atkbd_isa_intr ()
#19 0xc02182d1 in ithd_loop ()
(kgdb) # ^D
Script done on Fri Dec 29 04:58:05 2000

I'll provide any information needed because I can reliably reproduce the panic
situation.

>How-To-Repeat:
	Make a ppp dial-up connection using user-level ppp(8). ftp to an
ftp server. Drop the connection by `killall ppp' or by issuing `down'
at ppp(8) command prompt.  Press Ctrl-Z in ftp to suspend it. The
box panics.
>Fix:

	

>Release-Note:
>Audit-Trail:

From: Alex Kapranoff <kapr@acm.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: kern/23935
Date: Wed, 2 May 2001 16:47:32 +0400

 This was fixed long ago (AFAIR, by John Baldwin). PR should be closed.
 
 -- 
 Alex Kapranoff,                              Voice: +7(0832)791845
 We've lived 17 weeks in the brand new millenium...
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Wed May 2 06:45:20 PDT 2001 
State-Changed-Why:  
Closed at originators request 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23935 
>Unformatted:
