From owner-freebsd-sparc64@FreeBSD.ORG Fri Apr 21 13:04:36 2006 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0291D16A400; Fri, 21 Apr 2006 13:04:36 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DF6143D70; Fri, 21 Apr 2006 13:04:27 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k3LD4PKx025533; Fri, 21 Apr 2006 09:04:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-sparc64@freebsd.org, kmacy@fsmware.com Date: Fri, 21 Apr 2006 09:01:51 -0400 User-Agent: KMail/1.8.3 References: <20060418204240.GA69833@xor.obsecurity.org> <20060420232533.GA32046@xor.obsecurity.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604210901.53807.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1411/Thu Apr 20 18:23:28 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Daniel Eischen , freebsd-threads@freebsd.org, David Xu , Kris Kennaway Subject: Re: pthread_mutex_timedlock on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2006 13:04:36 -0000 On Thursday 20 April 2006 10:42 pm, Kip Macy wrote: > > > panic: _mtx_lock_sleep: recursed on non-recursive mutex system map @ > > > ../../../vm/vm_map.c:2993 panic() at panic+0x164 > > > _mtx_lock_sleep() at _mtx_lock_sleep+0x40 > > > _mtx_lock_flags() at _mtx_lock_flags+0x98 > > > _vm_map_lock_read() at _vm_map_lock_read+0x1c > > > vm_map_lookup() at vm_map_lookup+0x1c > > > vm_fault() at vm_fault+0x68 > > > trap_pfault() at trap_pfault+0x1a8 > > > trap() at trap+0x2b0 > > This is a bug in the sparc64 pmap implementation. The kernel shouldn't > be taking page faults at this point. Couldn't it be a NULL pointer deref in vm_map_entry_splay()? > > > -- fast data access mmu miss tar=3D0xe85a6000 %o7=3D0xc02f3b08 -- > > > vm_map_entry_splay() at vm_map_entry_splay+0x10 > > > vm_map_find() at vm_map_find+0x34 > > > kmem_alloc_nofault() at kmem_alloc_nofault+0x44 > > > vm_thread_new() at vm_thread_new+0x44 > > > thread_init() at thread_init+0x8 > > > slab_zalloc() at slab_zalloc+0x264 > > > uma_zone_slab() at uma_zone_slab+0x1ac > > > uma_zalloc_bucket() at uma_zalloc_bucket+0x1b4 > > > uma_zalloc_arg() at uma_zalloc_arg+0x398 > > > thread_alloc() at thread_alloc+0x18 > > > create_thread() at create_thread+0x78 > > > thr_new() at thr_new+0x64 > > > syscall() at syscall+0x2dc > > > -- syscall (455, FreeBSD ELF64, thr_new) %o7=3D0x40348e7c -- > > > > It may be a deeper vm problem. > > > > Kris > > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org" =2D-=20 John Baldwin =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org