Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 24 Dec 2001 15:17:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 24 Dec 2001 15:17:05 -0500 Received: from colorfullife.com ([216.156.138.34]:28172 "EHLO colorfullife.com") by vger.kernel.org with ESMTP id ; Mon, 24 Dec 2001 15:16:54 -0500 Message-ID: <002101c18cb7$f575b3c0$010411ac@local> From: "Manfred Spraul" To: "Frank van Maarseveen" Cc: Subject: Re: <=2.4.17 deadlock (RedHat 7.2, SMP, ext3 related?) (2) Date: Mon, 24 Dec 2001 21:17:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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. >>EIP; c03fe0ba <===== Trace; c0140134 Trace; c013eba2 Trace; c013eab2 Trace; c013ee23 Trace; c01076cb Probably this cpu is spinning in get_chrfops(), trying to acquire the big kernel lock. >>EIP; c0403068 <===== Trace; c016d320 Trace; c028ee04 Trace; c0159e01 Trace; c0156e68 Trace; c013f063 Trace; c0150bc6 Trace; c028eac8 Trace; c01076cb I think the call chain is system_call -> calls sys_ioctl. acquires the big kernel lock. puts ppp_ioctl on the stack (+0: it's a function pointer, not a return value.) -> calls ppp_ioctl and that one locks up. The references to close/iput/delete_inode are just stale stack values from a previous syscall. Please check where stext_lock+6c30 leads: I think the deadlock is somewhere within ppp_ioctl, and then the system locks up because the big kernel lock is blocked. -- Manfred - 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/