From owner-freebsd-current@FreeBSD.ORG Mon Dec 15 16:38:22 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 283F016A4CE; Mon, 15 Dec 2003 16:38:22 -0800 (PST) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0800C43D41; Mon, 15 Dec 2003 16:38:20 -0800 (PST) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw.kgt.co.jp [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id B6B0910246; Tue, 16 Dec 2003 09:38:18 +0900 (JST) Received: from tt.kgt.co.jp (pegasus [192.168.10.1]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id 9257547711; Tue, 16 Dec 2003 09:38:18 +0900 (JST) Received: from localhost [192.168.15.205] by tt.kgt.co.jp with ESMTP (SMTPD32-8.03) id A3FB1EC00E0; Tue, 16 Dec 2003 09:38:19 +0900 Date: Tue, 16 Dec 2003 09:38:15 +0900 (JST) Message-Id: <20031216.093815.74752433.haro@kgt.co.jp> To: mat@cnd.mcgill.ca From: Munehiro Matsuda In-Reply-To: <20031215185606.GA63202@cnd.mcgill.ca> References: <3FDDD7AE.7040801@bis.midco.net> <20031216.013254.74722020.haro@h4.dion.ne.jp> <20031215185606.GA63202@cnd.mcgill.ca> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: haro@h4.dion.ne.jp cc: re@freebsd.org cc: current@freebsd.org Subject: Re: 5.2-RELEASE TODO X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 16 Dec 2003 00:38:22 -0000 From: Mathew Kanner Date: Mon, 15 Dec 2003 13:56:06 -0500 ::> I still get LOR with my sound card and some hicup under disk load, with ::> today's 5.2-CURRENT. It's a UP system with following sound card. ::> ::> pcm0: port 0xfcac-0xfcaf,0xfc00-0xfc3f mem 0xfecf0000-0xfecf7fff irq 9 at device 9.0 on pci0 ::> pcm0: ::> ::> Also, here's hand written LOR message: ::> ::> lock order reversal ::> 1st 0xc3405440 pcm0 (sound softc) @ dev/sound/pci/ds1.c:734 ::> 2nd 0xc3405080 pcm0:play:0 (pcm play channel) @ dev/sound/pcm/channel.c:480 ::> Stack backtrace: ::> .... ::> witness_lock(c3405080,0,c07a8705,1e0,c33f7300) at witness_lock+0x672 ::> _mtx_lock_flags(c3405080,0,c07a8705,1e0,0) at _mtx_lock_flags+0xba ::> chn_intr(c33f7300,104,4,4,c3405240) at chn_intr+0x2f ::> ds_intr(c340b4000,0,c07b3baa,21f,c334c1c4) at ds_intr+0xf5 ::> ithread_loop(c1856900,d03a7d48,c07b3a24,311,3473635f) at ithread_loop+0x192 ::> fork_exit(c059da00,c1856900,d03a7d48) at fork_exit+0xb4 ::> fork_trampoline() at fork_trampoline+0x8 :: :: Hello, :: This LOR is mostly harmless. Please try the attached patch ::the avoid it. Since this bug isn't critical, I won't commit it to 5.2 ::unless instructed otherwise by the -re team. Hello Mat, Thanks for the patch. LOR does seem to have gone away. I'll do some more testing under load, and see how it does. Thank you, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Internet Solution Dept., Kubota Graphics Technologies Inc. /|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 Email: haro@kgt.co.jp