From owner-freebsd-current@FreeBSD.ORG Sun Jun 10 12:37:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70B6716A41F for ; Sun, 10 Jun 2007 12:37:56 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by mx1.freebsd.org (Postfix) with ESMTP id 4A59C13C45A for ; Sun, 10 Jun 2007 12:37:56 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-6.cisco.com with ESMTP; 10 Jun 2007 05:09:24 -0700 X-IronPort-AV: i="4.16,405,1175497200"; d="scan'208"; a="161993944:sNHT144010278" Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id l5AC9OPI020255 for ; Sun, 10 Jun 2007 05:09:24 -0700 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-5.cisco.com (8.12.10/8.12.6) with ESMTP id l5AC9OtV004409 for ; Sun, 10 Jun 2007 12:09:24 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 10 Jun 2007 05:09:24 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 10 Jun 2007 05:09:23 -0700 Message-ID: <466BEA69.1010708@cisco.com> Date: Sun, 10 Jun 2007 08:11:21 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070601 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Jun 2007 12:09:24.0095 (UTC) FILETIME=[2F36F0F0:01C7AB58] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=2478; t=1181477364; x=1182341364; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Don't=20know=20what=20I=20was=20doing=20but... |Sender:=20; bh=zUlEmN21pObqj75xWFW8vfAqR6JMI8VgVzvJmZSsEJY=; b=cMQkrnfjvXMsSoJah/jOS3gMRNRvL3GrKn77IMuOMna4w3CYQdW3wXu0FAIYXkDBv0n9lCIZ 9J1dNzXKTn2QZvWdgR3ZehFu6nQY5FL0wyDL5WpsIAWkzKlene9VcuCRq/Afe0WOkJc7uudu7E FW+XFWVZsbZkzKmoKcjh8zaVQ=; Authentication-Results: sj-dkim-1; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim1004 verified; ); Subject: Don't know what I was doing but... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 12:37:56 -0000 Hi all: I have a fairly recent current.. like yesterday I think.. and I just saw this tumble out (I usually run with witness and invariants on in my laptop now :-D) lock order reversal: 1st 0xc0b79f70 sched lock (sched lock) @ kern/sched_4bsd.c:846 2nd 0xc0bec658 descriptor tables (descriptor tables) @ i386/i386/sys_machdep.c:363 KDB: stack backtrace: db_trace_self_wrapper(c0a707ac,e676f62c,c0773e2e,c0a72c17,c0bec658,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0a72c17,c0bec658,c0a72d95,c0a72d95,c0a9b145,...) at kdb_backtrace+0x29 witness_checkorder(c0bec658,9,c0a9b13c,16b,200046,...) at witness_checkorder+0x6de _mtx_lock_spin_flags(c0bec658,0,c0a9b13c,16b,c0758304,...) at _mtx_lock_spin_flags+0xbf set_user_ldt(c59f06f0) at set_user_ldt+0x47 sw1(c50e6800,0,1,180,282b0d00,...) at sw1+0xea mi_switch(1,0,c0a71395,1bc,c50e6800,...) at mi_switch+0x217 sleepq_switch(c50e6800,0,c0a71395,21a,4c,...) at sleepq_switch+0xf0 sleepq_wait(d8110d20,0,c0a6e6fc,da,0,...) at sleepq_wait+0x60 _sleep(d8110d20,c0bc77b8,4c,c0a76bd4,0,...) at _sleep+0x369 bwait(d8110d20,4c,c0a76bd4,d8110d20,e676f7e8,...) at bwait+0x60 bufwait(d8110d20,0,0,0,0,...) at bufwait+0x28 breadn(c42d1220,2440820,0,4000,0,...) at breadn+0x132 bread(c42d1220,2440820,0,4000,0,...) at bread+0x4c ffs_vget(c429d538,245550,2,e676f8fc,e676f908,...) at ffs_vget+0x366 ufs_lookup(e676f94c,c439edd0,e676fba8,c439edd0,e676f96c,...) at ufs_lookup+0x9bd VOP_CACHEDLOOKUP_APV(c0b386e0,e676f94c,e676fba8,e676fb94,c5984800,...) at VOP_CACHEDLOOKUP_APV+0xa5 vfs_cache_lookup(e676f9d4,e676f9d4,e676fb80,c439edd0,2,...) at vfs_cache_lookup+0xd0 VOP_LOOKUP_APV(c0b386e0,e676f9d4,c50e6800,c0a784fe,2a9,...) at VOP_LOOKUP_APV+0xa5 lookup(e676fb80,c0a784fe,c6,bf,c598582c,...) at lookup+0x52e namei(e676fb80,c50e6800,e676fa78,200246,c0b80b58,...) at namei+0x2eb vn_open_cred(e676fb80,e676fc78,0,c5984800,c58d8c60,...) at vn_open_cred+0x2c9 vn_open(e676fb80,e676fc78,0,c58d8c60,c50e6800,...) at vn_open+0x33 kern_open(c50e6800,bfbfcdfa,0,1,0,...) at kern_open+0xc4 open(c50e6800,e676fcfc,c,c0a5d622,c0b18e38,...) at open+0x30 syscall(e676fd38) at syscall+0x293 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (5, FreeBSD ELF32, open), eip = 0x2944826b, esp = 0xbfbfcd9c, ebp = 0xbfbfcdc8 --- This may be fixed.. I can sup again today and try a rebuild.. R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell)