From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752599AbYAVLKf (ORCPT ); Tue, 22 Jan 2008 06:10:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750817AbYAVLKZ (ORCPT ); Tue, 22 Jan 2008 06:10:25 -0500 Received: from usermail.globalproof.net ([194.146.153.18]:51162 "EHLO usermail.globalproof.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbYAVLKY (ORCPT ); Tue, 22 Jan 2008 06:10:24 -0500 From: "Denys Fedoryshchenko" To: Stefan Richter Cc: linux-kernel@vger.kernel.org, peterz@infradead.org Subject: Re: 2.6.24-rc7 to 2.6.24-rc8 possible regression Date: Tue, 22 Jan 2008 13:10:02 +0200 Message-Id: <20080122110448.M46928@visp.net.lb> In-Reply-To: <47952094.9050102@s5r6.in-berlin.de> References: <20080121160255.M12670@visp.net.lb> <47952094.9050102@s5r6.in-berlin.de> X-Mailer: OpenWebMail 2.52 X-OriginatingIP: 195.69.208.251 (denys@visp.net.lb) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No, i am using vanilla kernel. It is one of production machines, and as i know screen is not using epoll. I will try to apply on all my production machines this patch. Sorry if it is related. On Mon, 21 Jan 2008 23:45:40 +0100, Stefan Richter wrote > Denys Fedoryshchenko wrote: > > After running screen found in dmesg. It was not happening before. > > > > [625138.248257] > > [625138.248260] ============================================= > > [625138.248542] [ INFO: possible recursive locking detected ] > > [625138.248686] 2.6.24-rc8-devel #2 > > [625138.248821] --------------------------------------------- > > [625138.248963] screen/18164 is trying to acquire lock: > > [625138.249101] (&q->lock){++..}, at: [] __wake_up+0x15/0x42 > > [625138.249454] > > [625138.249456] but task is already holding lock: > > [625138.249724] (&q->lock){++..}, at: [] __wake_up+0x15/0x42 > > [625138.250073] > > [625138.250075] other info that might help us debug this: > > [625138.250343] 2 locks held by screen/18164: > > [625138.250477] #0: (&tty->atomic_read_lock){--..}, at: [] > > read_chan+0x18f/0x50b > > [625138.250960] #1: (&q->lock){++..}, at: [] __wake_up+0x15/ 0x42 > > [625138.251356] > > [625138.251357] stack backtrace: > > [625138.251623] Pid: 18164, comm: screen Not tainted 2.6.24-rc8-devel #2 > > [625138.251764] [] show_trace_log_lvl+0x1a/0x2f > > [625138.251959] [] show_trace+0x12/0x14 > > [625138.252150] [] dump_stack+0x6c/0x72 > > [625138.252338] [] __lock_acquire+0x172/0xb8c > > [625138.252533] [] lock_acquire+0x5f/0x78 > > [625138.252725] [] _spin_lock_irqsave+0x34/0x44 > > [625138.252920] [] __wake_up+0x15/0x42 > > [625138.253108] [] ep_poll_safewake+0x8e/0xbf > > [625138.253300] [] ep_poll_callback+0x9f/0xac > > [625138.253491] [] __wake_up_common+0x32/0x5c > > [625138.253688] [] __wake_up+0x31/0x42 > > [625138.253878] [] tty_wakeup+0x4f/0x54 > > [625138.254070] [] pty_unthrottle+0x15/0x21 > > [625138.254258] [] check_unthrottle+0x2e/0x30 > > [625138.254445] [] read_chan+0x417/0x50b > > [625138.254633] [] tty_read+0x66/0xac > > [625138.254819] [] vfs_read+0x8e/0x117 > > [625138.255004] [] sys_read+0x3d/0x61 > > [625138.255190] [] sysenter_past_esp+0x5f/0xa5 > > [625138.255376] ======================= > > Do you have Peter's lockdep annotation patch for epoll applied? > http://lkml.org/lkml/2008/1/13/84 > -- > Stefan Richter > -=====-==--- ---= =-=-= > http://arcgraph.de/sr/ -- Denys Fedoryshchenko Technical Manager Virtual ISP S.A.L.