From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 15 22:01:20 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA9D3106564A for ; Thu, 15 Jan 2009 22:01:20 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6F8748FC14 for ; Thu, 15 Jan 2009 22:01:20 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 9689911D2C; Fri, 16 Jan 2009 08:01:18 +1000 (EST) Received: (from dommail.onthenet.com.au [192.100.104.17]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id EOG19136 (AUTH peterg@ptree32.com.au); Fri, 16 Jan 2009 08:00:37 +1000 (EST) From: Peter Grehan To: "Niels S. Eliasen" X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20090116080037.EOG19136@dommail.onthenet.com.au> Date: Fri, 16 Jan 2009 08:00:37 +1000 (EST) Cc: freebsd-ppc@freebsd.org Subject: Re: panic in stwu ?? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 22:01:20 -0000 Hi Niels, >>> [thread pid 9 tid 100034 ] >>> Stopped at 0x100444:: stwu r31, r1, -0xb0 It looks like a stack overflow :( This instruction is bumping the stack and storing a value into it, and the stack pointer is probably hitting a guard page. These aren't handled very well, other than dropping directly into the debugger without any message. A possible workaround is to bump up the number of pages allocated for kernel stacks. Drop this into your config file: options KSTACK_MAX_PAGES=5 (the default is 4, and keep going up 'til no overflows are seen). later, Peter.