From owner-freebsd-current@FreeBSD.ORG Mon Mar 9 19:42:33 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9F1D1065675 for ; Mon, 9 Mar 2009 19:42:33 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-fx0-f158.google.com (mail-fx0-f158.google.com [209.85.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 499D38FC16 for ; Mon, 9 Mar 2009 19:42:33 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by fxm2 with SMTP id 2so1278248fxm.43 for ; Mon, 09 Mar 2009 12:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3DmF82uKwLryii7h4KtpkOf1ANYHHaG12te/yIVh2gg=; b=lOAGIcKYYH/tcYLJQas08YZ00sFpgsBaVN0olcir8Q6+O+VasA7zSgHiAPFQHruDbZ OMxrEsfASS+pyLkRuqTluV2iVULhqW38SORzWrSlUtE4lOzLFCpOw6u4DsqYcDVhHXCw 85vNMZZ/MbF+Ojz9AwKOfrYooAJMxsgihtAd8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=e16f2Ag5T76CZSYERpGQnkNT/3v11/i93rWCIdN1x8DBgOK1ql68MVtAtftIJQh1kh /y8ECar9K6+eXu75H3YZfbJoHNCyrZMR/fzFyeFPK9CKddd7hqA0qWSFx8z0TP2+xahW Y8IYEmG6TALQWHGzD0ynVa/BE4Q+obZlVUNGE= MIME-Version: 1.0 Received: by 10.86.76.20 with SMTP id y20mr4359954fga.62.1236627751834; Mon, 09 Mar 2009 12:42:31 -0700 (PDT) In-Reply-To: <20090309192536.GY19161@hoeg.nl> References: <20090309192536.GY19161@hoeg.nl> Date: Mon, 9 Mar 2009 22:42:31 +0300 Message-ID: From: pluknet To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current 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: Mon, 09 Mar 2009 19:42:34 -0000 2009/3/9 Ed Schouten : > Hi, > > Can you try the attached patch? Let me know if it fixes the issue you're > having. The reason why we're seeing such panics lately, is because the > new TTY layer has one big improvement: it has assertions. Cool! A new large field for further testings :) > This means > that there are a lot of bugs in the old code where we call into the TTY > layer without holding locks. Ugh. :-) Thank you, Ed! This diff fixes my issue. > > -- > Ed Schouten > WWW: http://80386.nl/ > -- wbr, pluknet