From owner-freebsd-current@FreeBSD.ORG Fri Jan 23 16:12:18 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B57F106567F for ; Fri, 23 Jan 2009 16:12:18 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 12EE28FC1A for ; Fri, 23 Jan 2009 16:12:17 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=nTib0wbUE7AA:10 a=J2nnhgZB8JEA:10 a=R5hmtHOM2o5w57mSNgIA:9 a=swhdr4_KSqgHU6vSpSL3Xee3obUA:4 a=LY0hPdMaydYA:10 Received: from [85.19.218.115] (account mc467741@c2i.net HELO [10.37.1.92]) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1184526535; Fri, 23 Jan 2009 17:12:15 +0100 From: Hans Petter Selasky To: Lars Engels Date: Fri, 23 Jan 2009 17:14:38 +0100 User-Agent: KMail/1.9.7 References: <20090123154336.GJ60948@e.0x20.net> In-Reply-To: <20090123154336.GJ60948@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901231714.39873.hselasky@c2i.net> Cc: current@freebsd.org, Maksim Yevmenkin Subject: Re: panic: mutex Giant not owned at /usr/src/sys/kern/tty_ttydisc.c:1127 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: Fri, 23 Jan 2009 16:12:19 -0000 On Friday 23 January 2009, Lars Engels wrote: > 0xf12eabd8) at /usr/src/sys/i386/i386/trap.c:318 > #17 0xc0b3fb3b in Hi Lars, Maksim has made a lot of changes to the Bluetooth driver. Maybe he can look into it? This looks like a NULL-pointer access to me. Maksim: In the ubt_detach routine, make sure that: 0) No further commands are accepted from the Netgraph stack. 1) You drain the task queue! 2) You drain all USB transfers: "usb2_transfer_drain()" called unlocked. 3) Set the "sc_node" to NULL. --HPS