From owner-freebsd-mips@FreeBSD.ORG Mon Apr 22 20:42:38 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 9769F4A1 for ; Mon, 22 Apr 2013 20:42:38 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF4513BB for ; Mon, 22 Apr 2013 20:42:38 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id 16so1933920obc.9 for ; Mon, 22 Apr 2013 13:42:37 -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=vJI7uTmj04/ctKy52F6fL5I7gOu2MryIA559WajXQdY=; b=KJHuYOqRotc8UdXjQMO1ptLzxc7J7V1cAmhtpsHRbu7GCIrcPRjsmvt7KM6xc2MIT8 Vp+duh5t50tGywp7weQKeIw+lj2hAHmhOLC/fTVqFGouby58QUhbdYT499Gjy1KdAMHk fSIWOY4stKarfeEzM8byAm6vKgeEbIOydFa9Op5+u0TRJSJB+C38bx9egwL+I7ScendJ hr9fV9GEzCEREBoBUt+a3msKfALHwuJseqgBWNIJH9HW1B0aMxCCo7IcF0bFqOI+BYKc vg2A5oIhLGh9KqtR8rpSsr09w1WvuyB0mlRXJII5YnbwhPrPuVRNWdJ8IJZKfCzQ/5cf RMaw== X-Received: by 10.60.42.1 with SMTP id j1mr3911569oel.135.1366663357816; Mon, 22 Apr 2013 13:42:37 -0700 (PDT) Received: from fusionlt2834a.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPS id d10sm20567753oeh.7.2013.04.22.13.42.36 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Apr 2013 13:42:36 -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:42:34 -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: ALoCoQmh5zXPUVoQwXfvp6a2klSJFtdVOo2VKqcRek6Wqt/ioKLZfKcTwiaiLwEvedKh1yxcIoQZ 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:42:38 -0000 On Apr 22, 2013, at 2:40 PM, Juli Mallett wrote: > On Mon, Apr 22, 2013 at 1:35 PM, Warner Losh wrote: >>=20 >> On Apr 22, 2013, at 2:29 PM, Juli Mallett wrote: >>=20 >>> 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. >>=20 >> 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... >=20 > If the header gets nuked, we'll find out fast :) (And I really do > think that's the right way forward...) "the" here is which one of the three different headers that list the = registers? Warner