From owner-freebsd-stable@FreeBSD.ORG Tue Dec 12 21:45:12 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CACC16A57E; Tue, 12 Dec 2006 21:45:12 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id B33CA4452E; Tue, 12 Dec 2006 21:39:34 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id 8E40D118B40B; Tue, 12 Dec 2006 17:40:44 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 65384-07; Tue, 12 Dec 2006 17:40:47 -0400 (AST) Received: from ganymede.hub.org (blk-137-79-174.eastlink.ca [24.137.79.174]) by hub.org (Postfix) with ESMTP id 06F37118B408; Tue, 12 Dec 2006 17:40:44 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id AD6D64AB83; Tue, 12 Dec 2006 17:40:48 -0400 (AST) Date: Tue, 12 Dec 2006 17:40:48 -0400 From: "Marc G. Fournier" To: John Baldwin Message-ID: <84206EFB24C58B8D26245B4C@ganymede.hub.org> In-Reply-To: <200612121612.50942.jhb@freebsd.org> References: <624054998B7DEF7D446796E1@ganymede.hub.org> <200612111740.23259.jhb@freebsd.org> <200612121612.50942.jhb@freebsd.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-stable@freebsd.org Subject: Re: panic: sleeping thread X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 21:45:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Tuesday, December 12, 2006 16:12:50 -0500 John Baldwin wrote: > On Tuesday 12 December 2006 15:47, Marc G. Fournier wrote: >> >> --On Monday, December 11, 2006 17:40:22 -0500 John Baldwin >> wrote: >> >> > Maybe use ssh -e none? You don't need to break into ddb though, when it >> > panics it will print out more useful info on its own. >> >> Ah, like: >> >> Sleeping thread (tid 101409, pid 78573) owns a non-sleepable lock >> sched_switch() at sched_switch+0x11f >> mi_switch() at mi_switch+0x14c >> sleepq_wait() at sleepq_wait+0x5b >> cv_wait() at cv_wait+0xed >> _sx_xlock() at _sx_xlock+0x51 >> vm_map_lookup() at vm_map_lookup+0x3c >> vm_fault() at vm_fault+0xba >> trap_pfault() at trap_pfault+0x127 >> trap() at trap+0x1bd >> calltrap() at calltrap+0x5 >> --- trap 0xc, rip = 0xffffffff801f8c91, rsp = 0xffffffffb908a930, rbp = >> 0xffffff >> ffb908a970 --- >> _mtx_trylock() at _mtx_trylock+0x1 >> unlock_and_deallocate() at unlock_and_deallocate+0x10e >> vm_fault() at vm_fault+0x1ca0 >> trap_pfault() at trap_pfault+0x127 >> trap() at trap+0x3e6 >> calltrap() at calltrap+0x5 >> --- trap 0xc, rip = 0x8028d9bf7, rsp = 0x7fffffffe900, rbp = > 0x7fffffffe900 --- >> panic: sleeping thread >> cpuid = 1 > > Yeah. The LOR is bogus though, it's a secondary effect. The real problem is > the fault in _mtx_trylock(), and that's probably due to a bug in the previous > frame in unlock_and_deallocate(). If you can get a core dump that would be > most helpful. That woudl take being able to get into DDB from an SSH session ;) I'll try the -e none the next time it crashes, unless someone else has another idea for doing it? Actually, I'll try the -e none after its up again, instead of waiting ... - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFfyHg4QvfyHIvDvMRApAqAJ4pnw5nZK+kvyy/9z0TrTmTlu9OCgCg2TIp naCXTEeA+EljNnWoVcD/1PU= =kYAM -----END PGP SIGNATURE-----