Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 24 Dec 2001 15:56:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 24 Dec 2001 15:55:49 -0500 Received: from grootstal.nijmegen.internl.net ([217.149.192.7]:31117 "EHLO grootstal.nijmegen.internl.net") by vger.kernel.org with ESMTP id ; Mon, 24 Dec 2001 15:55:41 -0500 Date: Mon, 24 Dec 2001 21:56:15 +0100 From: Frank van Maarseveen To: Manfred Spraul Cc: linux-kernel@vger.kernel.org Subject: Re: <=2.4.17 deadlock (RedHat 7.2, SMP, ext3 related?) (2) Message-ID: <20011224215615.A22826@iapetus.localdomain> In-Reply-To: <002101c18cb7$f575b3c0$010411ac@local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002101c18cb7$f575b3c0$010411ac@local>; from manfred@colorfullife.com on Mon, Dec 24, 2001 at 09:17:00PM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 24, 2001 at 09:17:00PM +0100, Manfred Spraul wrote: > Frank, > could you open your vmlinux file with gdb, and figure out where the 2 > stext_lock references lead to? > stext_lock+1c82 just means that it spins trying to acquire a spinlock, > but which one? > IIRC > gdb vmlinux > $x/30i 0xc03fe0a0 > $x/30i 0xc0403050 > should be enough. (gdb) x/30i 0xc03fe0a0 0xc03fe0a0 : lea 0xc04e79c0,%eax 0xc03fe0a6 : call 0xc01062f4 <__read_lock_failed> 0xc03fe0ab : pop %eax 0xc03fe0ac : jmp 0xc013fd3e 0xc03fe0b1 : cmpb $0x0,0xc05dd400 0xc03fe0b8 : repz nop 0xc03fe0ba : jle 0xc03fe0b1 0xc03fe0bc : jmp 0xc013fde0 0xc03fe0c1 : push %eax 0xc03fe0c2 : lea 0xc04e79c0,%eax 0xc03fe0c8 : call 0xc01062f4 <__read_lock_failed> 0xc03fe0cd : pop %eax 0xc03fe0ce : jmp 0xc013feee 0xc03fe0d3 : push %eax 0xc03fe0d4 : lea 0xc04e79c0,%eax 0xc03fe0da : call 0xc01062d4 <__write_lock_failed> 0xc03fe0df : pop %eax 0xc03fe0e0 : jmp 0xc013ff78 0xc03fe0e5 : push %eax 0xc03fe0e6 : lea 0xc04e79c0,%eax 0xc03fe0ec : call 0xc01062d4 <__write_lock_failed> 0xc03fe0f1 : pop %eax 0xc03fe0f2 : jmp 0xc013fff3 0xc03fe0f7 : push %eax 0xc03fe0f8 : lea 0xc04e79c0,%eax 0xc03fe0fe : call 0xc01062d4 <__write_lock_failed> 0xc03fe103 : pop %eax 0xc03fe104 : jmp 0xc01400a3 0xc03fe109 : cmpb $0x0,0xc05dd400 0xc03fe110 : repz nop (gdb) x/30i 0xc0403050 0xc0403050 : nop 0xc0403051 : jle 0xc0403048 0xc0403053 : jmp 0xc0292971 0xc0403058 : cmpb $0x0,0xc057d540 0xc040305f : repz nop 0xc0403061 : jle 0xc0403058 0xc0403063 : jmp 0xc0292ac0 0xc0403068 : cmpb $0x0,0xc057d540 0xc040306f : repz nop 0xc0403071 : jle 0xc0403068 0xc0403073 : jmp 0xc0292df0 0xc0403078 : cmpb $0x0,(%ebx) 0xc040307b : repz nop 0xc040307d : jle 0xc0403078 0xc040307f : jmp 0xc0292e60 0xc0403084 : cmpb $0x0,(%ebx) 0xc0403087 : repz nop 0xc0403089 : jle 0xc0403084 0xc040308b : jmp 0xc0292eb0 0xc0403090 : cmpb $0x0,(%ebx) 0xc0403093 : repz nop 0xc0403095 : jle 0xc0403090 0xc0403097 : jmp 0xc0292f40 0xc040309c : cmpb $0x0,(%ebx) 0xc040309f : repz nop 0xc04030a1 : jle 0xc040309c 0xc04030a3 : jmp 0xc0293014 0xc04030a8 : push %eax 0xc04030a9 : push %ecx 0xc04030aa : push %edx (gdb) p stext_lock $1 = {} 0xc03fc438 (gdb) p stext_lock+0x1c82 $1 = ( *) 0xc03fe0ba (gdb) p stext_lock+0x6c30 $2 = ( *) 0xc0403068 -- Frank - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/