From owner-freebsd-mips@FreeBSD.ORG Mon Apr 22 20:35:57 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 863391FE for ; Mon, 22 Apr 2013 20:35:57 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-oa0-f41.google.com (mail-oa0-f41.google.com [209.85.219.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB40135C for ; Mon, 22 Apr 2013 20:35:57 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id g12so5471052oah.28 for ; Mon, 22 Apr 2013 13:35:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=mUKhNPlyFhMz1v+mOtbwxfLnrZWJh3bXqUCBYEz7VtY=; b=FQdGkDswj2LO8gUMd4EnvyYmJZZ45uX4ZqIKTd8qCtT5PC4Z26Le9tzS2TCBxnsXvk rUz1oROd/1Mp2pQFhtWbejCXf8w3kq18pj0a4k45QMFFilcDhcpXv4qjK+kPEHm/OmjU YXxWfzuC645OdwdFesSicwEk2FXh796Gux5qNoDianrUlJmvMIPJVxXTrSkunr+/1XjT pOYxjopSd3Ygw1yy+AP8KmwNZK76WWVHIzJyzd5CL7nKFtjNOpVMO44nQKqVs14twVA/ wcn1PS5wQDNFhcEZn6OZcmw/q8C0TlvsaIdHHwBmjqV5vnmuFEAoQSfYWpnlTM4EVS5Z QVOw== X-Received: by 10.60.76.234 with SMTP id n10mr16117991oew.63.1366662956553; Mon, 22 Apr 2013 13:35:56 -0700 (PDT) Received: from fusionlt2834a.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPS id x5sm3466630oep.1.2013.04.22.13.35.54 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Apr 2013 13:35:55 -0700 (PDT) Sender: Warner Losh Subject: Re: kern/177876: [mips] kernel stack overflow panic on mips64, EdgeRouter Lite Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Mon, 22 Apr 2013 14:35:52 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201304220300.r3M301iY093070@freefall.freebsd.org> <51753506.3070901@rewt.org.uk> To: Juli Mallett X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQlcwggqMyqRRdJW+/1qBxlbtYjrSyhT+lKA+adpeqX4fl+yE5CO7+e27SV6ek1pINH8pf/m Cc: Joe Holden , "freebsd-mips@FreeBSD.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Apr 2013 20:35:57 -0000 On Apr 22, 2013, at 2:29 PM, Juli Mallett wrote: > On Mon, Apr 22, 2013 at 1:27 PM, Warner Losh wrote: >> It sure looks like you are right... I have a full new tree building = just to make sure... :( >>=20 >> Then again, it would be useful to document where these dependencies = lie to help prevent others from tripping over this in the future :( >=20 > We should use genassym to generate trapframe offsets instead of having > hand-coded defines for these, perhaps? I haven't thought it through > very fully, but that seems a lot better. I'll look into this next to ensure that they all match. Can you think of = any other places? A quick grep shows nothing obvious... Warner