From meshko@begemot.dyndns.org  Tue May 27 07:38:03 2003
Return-Path: <meshko@begemot.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8F36237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 May 2003 07:38:03 -0700 (PDT)
Received: from begemot.dyndns.org (bis-cj.biscom.com [65.163.101.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C9DE043FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 May 2003 07:38:02 -0700 (PDT)
	(envelope-from meshko@begemot.dyndns.org)
Received: from begemot.dyndns.org (localhost.dyndns.org [127.0.0.1])
	by begemot.dyndns.org (8.12.6/8.12.6) with ESMTP id h4RAboxY000486
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 May 2003 10:37:52 GMT
	(envelope-from meshko@begemot.dyndns.org)
Received: (from meshko@localhost)
	by begemot.dyndns.org (8.12.6/8.12.6/Submit) id h4OGw96J000725;
	Sat, 24 May 2003 16:58:09 GMT
Message-Id: <200305241658.h4OGw96J000725@begemot.dyndns.org>
Date: Sat, 24 May 2003 16:58:09 GMT
From: Mikhail Kruk <meshko@scorch2000.com>
Reply-To: Mikhail Kruk <meshko@scorch2000.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: lock order reversal message
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52722
>Category:       i386
>Synopsis:       lock order reversal message
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 07:40:07 PDT 2003
>Closed-Date:    Thu Oct 16 12:16:01 PDT 2003
>Last-Modified:  Thu Oct 16 12:16:01 PDT 2003
>Originator:     Mikhail Kruk
>Release:        FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD begemot.dyndns.org 5.1-BETA FreeBSD 5.1-BETA #0: Fri May 23 12:28:16 GMT 2003 root@begemot.dyndns.org:/usr/src/sys/i386/compile/GENERIC i386

The userland on this machine is 5.0-RELEASE, only kernel is CURRENT
	
>Description:
	Seems to happen when I start X (loads ATI Radeon module), but not yet
100% sure. It doesn't happen every time.
	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:

From: Mikhail Kruk <meshko@cs.brandeis.edu>
To: <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: i386/52722: lock order reversal message
Date: Tue, 27 May 2003 10:51:28 -0400 (EDT)

 oops, forgot the stack trace. Sorry!
 
 lock order reversal
  1st 0xc2b01534 vm object (vm object) @ vm/vm_object.c:512
  2nd 0xc082f110 system map (system map) @ vm/vm_kern.c:325
 Stack backtrace:
 backtrace(c0501407,c082f110,c05135d6,c05135d6,c051347e) at backtrace+0x17
 witness_lock(c082f110,8,c051347e,145,0) at witness_lock+0x697
 _mtx_lock_flags(c082f110,0,c0513475,145,3) at _mtx_lock_flags+0xb1
 _vm_map_lock(c082f0b0,c0513475,145,d1bbdab8,c0313be4) at _vm_map_lock+0x36
 kmem_malloc(c082f0b0,1000,101,d1bbdb24,c0461f40) at kmem_malloc+0x66
 page_alloc(c083a240,1000,d1bbdb17,101,c0554d80) at page_alloc+0x27
 slab_zalloc(c083a240,101,c0514e13,66f,c083a924) at slab_zalloc+0x150
 uma_zone_slab(c083a240,101,c0514e0a,66f,0) at uma_zone_slab+0xd8
 uma_zalloc_internal(c083a240,0,101,6ef,0) at uma_zalloc_internal+0x55
 uma_zfree_arg(c083a900,c2b02168,0,d1bbdbcc,c0449e18) at 
 uma_zfree_arg+0x2cb
 dev_pager_putfake(c2b02168,0,c0512cb6,bc,c2b01534) at 
 dev_pager_putfake+0x3a
 dev_pager_dealloc(c2b01534,1,c0514d19,10b,0) at dev_pager_dealloc+0xc8
 vm_pager_deallocate(c2b01534,0,c0513f07,25e,c05c7d68) at 
 vm_pager_deallocate+0x3
 d
 vm_object_terminate(c2b01534,0,c0513f07,200,c2aa5528) at 
 vm_object_terminate+0x1
 f4
 vm_object_deallocate(c2b01534,c2aa5528,c2b01534,c2aa5528,d1bbdc9c) at 
 vm_object_
 deallocate+0x20f
 vm_map_entry_delete(c2ac5000,c2aa5528,c0513644,86e,c04fcdf2) at 
 vm_map_entry_del
 ete+0x3b
 vm_map_delete(c2ac5000,282ca000,282cc000,2000,282ca000) at 
 vm_map_delete+0x453
 vm_map_remove(c2ac5000,282ca000,282cc000,0,c27a5248) at vm_map_remove+0x58
 munmap(c27105f0,d1bbdd10,c0518f96,3fb,2) at munmap+0x9e
 syscall(2f,2f,bfbf002f,8214390,8a3a800) at syscall+0x26e
 Xint0x80_syscall() at Xint0x80_syscall+0x1d
 --- syscall (73), eip = 0x2823f3d3, esp = 0xbfbff9bc, ebp = 0xbfbff9d8 ---
 
 

From: "Simon L. Nielsen" <simon@nitro.dk>
To: Mikhail Kruk <meshko@scorch2000.com>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: i386/52722: lock order reversal message
Date: Tue, 27 May 2003 17:02:58 +0200

 --5QAgd0e35j3NYeGe
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2003.05.24 16:58:09 +0000, Mikhail Kruk wrote:
 >=20
 > The userland on this machine is 5.0-RELEASE, only kernel is CURRENT
 
 It is not supported, though it works most of the time, to use userland and
 kernel which aren't in sync.
 
 > 	Seems to happen when I start X (loads ATI Radeon module), but not yet
 > 100% sure. It doesn't happen every time.
 
 Without a traceback it is impossible for anyone find out what the problem i=
 s.
 
 Some suggested reading material :
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.ht=
 ml
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kernel=
 debug.html
 
 --=20
 Simon L. Nielsen
 
 --5QAgd0e35j3NYeGe
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.2 (FreeBSD)
 
 iD8DBQE+034h8kocFXgPTRwRAgS3AKDCtXsvrKg6Ocrad/4bAgpC7/wdHgCfafO6
 H8HrmszIn6dE0DdlyaWyvCY=
 =j2o/
 -----END PGP SIGNATURE-----
 
 --5QAgd0e35j3NYeGe--

From: Mikhail Kruk <meshko@cs.brandeis.edu>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: i386/52722: lock order reversal message
Date: Thu, 04 Sep 2003 23:14:04 +0000

 Still happens on CURRENT-20030827-JPSNAP
 
State-Changed-From-To: open->closed 
State-Changed-By: anholt 
State-Changed-When: Thu Oct 16 12:15:11 PDT 2003 
State-Changed-Why:  
Duplicate of 52408. 

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