From owner-freebsd-mips@FreeBSD.ORG Fri Jul 2 12:55:14 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E10851065670; Fri, 2 Jul 2010 12:55:13 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6CA8FC0A; Fri, 2 Jul 2010 12:55:13 +0000 (UTC) Received: by qwg5 with SMTP id 5so1365789qwg.13 for ; Fri, 02 Jul 2010 05:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=LJCNftlOeP2skrtsSlqgeLrAuX9mRYcvyi+N8DZxs7M=; b=kvYQLycHtwXYqQa2CJJDU/kXjztfjGkhj02mdlgVf/D+zHx3AIaNHHK6P7nPzNJ4zb NU/i0FoLLOf3u8bAFzelDUoyKJGBzmbhZnJnroqMttGuEHffKbiBXVc7cw1bikQUqB/4 lFZO+eAyj3dk9oduF9tSGHFzhVrgEu28t6y0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=DD6rGH2qke3XXDqZVtaOHgCtegBjsybcNASXBCPXRdF/rVXqscYg6+GJyyQkEUNBQy jZwOYxdtOWta5/wt7C9hAjjshnNC0/Fi0nCuQ6adVxpT9UOQHwNh3SNrPsAvA8Dl80eb Yk3GWsYR+A5rHGQyblAIAiyuvwvwvbXH7XSsw= Received: by 10.224.60.211 with SMTP id q19mr371981qah.88.1278075302248; Fri, 02 Jul 2010 05:55:02 -0700 (PDT) Received: from [192.168.0.86] ([187.39.15.144]) by mx.google.com with ESMTPS id h34sm2481073qcm.2.2010.07.02.05.54.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Jul 2010 05:55:01 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Luiz Otavio O Souza In-Reply-To: Date: Fri, 2 Jul 2010 09:54:56 -0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <897604F6-95C4-49A8-B11F-277A74C8DBAE@gmail.com> <3C0AEF9B-AE0C-4459-A4E1-2C8C30C10FD6@gmail.com> <25B9A19D-0A6B-4731-8FB1-A2C6722F0E9C@gmail.com> <7886D15B-79BF-4BC6-8467-26A8D0FE3D00@gmail.com> <22DAE480-DA7B-4C96-99B6-C87ADCD54C93@gmail.com> To: "Jayachandran C." X-Mailer: Apple Mail (2.1081) Cc: freebsd-mips@freebsd.org Subject: Re: Merging 64 bit changes to -HEAD X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2010 12:55:14 -0000 On Jul 2, 2010, at 8:27 AM, Jayachandran C. wrote: > On Fri, Jul 2, 2010 at 4:34 PM, Luiz Otavio O Souza = wrote: >> On Jul 1, 2010, at 5:04 PM, Jayachandran C. wrote: >>>> Looks like I was on the wrong track, it now looks like the pagemask >>>> maybe the cause. My suspicion is that the bootloader setups a >>>> pagemask and we never clear it because all the operations save and >>>> restore the mask. As far as I can see the TLB exception handler = will >>>> not update pagemask. >>>>=20 >>>> Juli - any comments on this? Do you need to save/restore pagemask = for >>>> some reason, otherwise I will take out the part from tlb.c. Will = send >>>> out a patch a bit later. >>>=20 >>> Okay - here's hopefully the final patch. Let me know if it boots up. >>>=20 >>> Thanks, >>> JC. >>> >>=20 >> JC, >>=20 >> This patch boots without any problem, thank you ! >=20 > At last! :) Thanks for testing. Will get it approved, will check-in > later today, hopefully. >=20 > JC. JC, Probably too early to talk... The buildworld is crashing with this backtrace: = http://pastebin.com/1M9h1B1v The function at 8033ba14 is vm_pageout(). Let me try a little bit with older kernels just to make sure. Luiz=