From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262694AbVAQF0U (ORCPT ); Mon, 17 Jan 2005 00:26:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262696AbVAQF0U (ORCPT ); Mon, 17 Jan 2005 00:26:20 -0500 Received: from fw.osdl.org ([65.172.181.6]:50580 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262694AbVAQF0K (ORCPT ); Mon, 17 Jan 2005 00:26:10 -0500 Date: Sun, 16 Jan 2005 21:25:49 -0800 From: Andrew Morton To: Chris Caputo Cc: linux-kernel@vger.kernel.org Subject: Re: bdev_lock deadlock in 2.6.10-ac8 / e1000 / rfc2385 patch Message-Id: <20050116212549.0decf159.akpm@osdl.org> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Chris Caputo wrote: > > I've been seeing bdev_lock based deadlock's since 2.6.9. Here's a latest > one with 2.6.10-ac8. Not sure if the problem is related to the e1000 > driver (with NAPI) or the rfc2385 patches or what. Anyone else seeing > this? > > Chris > > -- > 2.6.10-ac8 + rfc2385 md5 patch: > > SysRq : Show Regs > Pid: 820, comm: sh > EIP: 0060:[] CPU: 0 > EIP is at _spin_lock+0x36/0x90 > EFLAGS: 00000246 Not tainted (2.6.10-ac8) > EAX: 00000000 EBX: 00000000 ECX: c0355300 EDX: c0414000 > ESI: c03a1600 EDI: ffffffff EBP: c0414fc4 DS: 007b ES: 007b > CR0: 8005003b CR2: b7fd6f68 CR3: 02463000 CR4: 000006d0 > > >>EIP; c0309276 <_spin_lock+36/90> <===== > > >>ECX; c0355300 > >>EDX; c0414000 > >>ESI; c03a1600 > >>EDI; ffffffff <__kernel_rt_sigreturn+1bbf/????> > >>EBP; c0414fc4 > > [] defense_timer_handler+0x0/0x40 > [] nr_blockdev_pages+0xd/0x60 > > [] si_meminfo+0x21/0x40 > [] update_defense_level+0x17/0x270 You should be able to fix this with ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11-rc1/2.6.11-rc1-mm1/broken-out/cancel_rearming_delayed_work.patch and ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11-rc1/2.6.11-rc1-mm1/broken-out/ipvs-deadlock-fix.patch I haven't pushed these along because I'm not very happy with the cancel_rearming_delayed_work.patch concept. But I forget why ;) It seems a bit livelocky. Let me think about it a bit more.