From owner-freebsd-mips@FreeBSD.ORG Tue Apr 23 11:04:21 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 326DF99D for ; Tue, 23 Apr 2013 11:04:21 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0D9FD173A for ; Tue, 23 Apr 2013 11:04:20 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id fa11so419898pad.41 for ; Tue, 23 Apr 2013 04:04:20 -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=dgv4s3uCPoLWSOlpp81muLoLqcbHUzrgcC2XllCKHvo=; b=FdmLVTSEYJkP3Jw8mkjqRmNjo/IW4/rUYJE4d+4kWX1qJ959LFByMc7XN+oNcalXWL g86fskWAKtwWZFH/FNQt0ssgJkNHad3zztdXrsKlXtD2qe2BepirPwFwvgLHNFtFlGmD exQXN5aBwWnZRs6QYd99fWH8JG3uLtC1orbTnCoj7PHggHeBN4SdYnXj31+Ie9/sqEiz /k9RKiM+Wrer5ZWHAajS7s4uguL/AgrJxWMSsP5Qib/gOv4Ui4ATmDhIO30t3i37OXqs X90OWx/u0jf8SiXgiYfoqVQ9VYyhJ9gUp01uCt8692cYZhQLtw2SAsfUXwqbUAoYwo8R lcKg== X-Received: by 10.68.43.227 with SMTP id z3mr40064487pbl.217.1366714733549; Tue, 23 Apr 2013 03:58:53 -0700 (PDT) Received: from [10.0.0.53] (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id jw10sm29144590pbb.3.2013.04.23.03.58.51 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Apr 2013 03:58:52 -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: <51753506.3070901@rewt.org.uk> Date: Tue, 23 Apr 2013 04:58:47 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201304220300.r3M301iY093070@freefall.freebsd.org> <51753506.3070901@rewt.org.uk> To: Joe Holden X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQnCkisJnmsqBAAvpiNKugN/+WMAxL7hUhMAnaz/wbS60aL2aBlAiguI7cqQxILSamL8I2wj 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: Tue, 23 Apr 2013 11:04:21 -0000 Hey Joe, I think I caused the original problem. I've just committed a fix that I = think will correct your problem. Please try r249790 or later and let me = know if I was successful. My test setup here is a bit wonky I've = discovered, but I think I have that all sorted out too to prevent this = sort of mistake in the future. Warner On Apr 22, 2013, at 7:03 AM, Joe Holden wrote: > Only one way to find out ;) >=20 > Do you happen to know which commits/committers that was, or what = file(s) it affected? >=20 > Adrian Chadd wrote: >> .. hm, is this related to the KVM sizing work that people did, that >> broke non-intel platforms? >> *sigh* >> adrian >> On 21 April 2013 20:00, Joe Holden wrote: >>> The following reply was made to PR kern/177876; it has been noted by = GNATS. >>>=20 >>> From: Joe Holden >>> To: bug-followup@FreeBSD.org, joe@rewt.org.uk >>> Cc: >>> Subject: Re: kern/177876: [mips] kernel stack overflow panic on = mips64, EdgeRouter >>> Lite >>> Date: Mon, 22 Apr 2013 03:58:00 +0100 >>>=20 >>> So the TLB miss problem was fixed by Warner, but since about then = the >>> following happens when booting (either from NFS or USB), completely >>> fresh world and src tree, no special make options or = optimisations... >>>=20 >>> Kernel config: http://sprunge.us/EVjO >>>=20 >>> Trying to mount root from nfs: []... >>> NFS ROOT: 172.16.8.3:/nfs/bsd/fbsd/erl >>> warning: no time-of-day clock registered, system time will not be = set >>> accurately >>> warning: no time-of-day clock registered, system time will not be = set >>> accurately >>> start_init: trying /sbin/init >>> Cannot map anonymous memory >>> Out of memory >>> Enter full pathname of shell or RETURN for /bin/sh: >>> Cannot map anonymous memory >>> Out of memory >>> Cannot map anonymous memory >>> Out of memory >>> Enter full pathname of shell or RETURN for /bin/sh: >>>=20 >>> Usual procedure to cross-build from amd64: >>>=20 >>> make buildworld buildkernel KERNCONF=3DOCTEON-ERL TARGET=3Dmips64 >>> TARGET_ARCH=3Dmips TARGET_CPUTYPE=3Docteon WITHOUT_MODULES=3D"cxgbe = mwlfw mwl >>> ralfw ral runfw run" >>>=20 >>> src.conf just contains NO_FSCHG=3D >>> _______________________________________________ >>> freebsd-mips@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >>> To unsubscribe, send any mail to = "freebsd-mips-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to = "freebsd-mips-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to = "freebsd-mips-unsubscribe@freebsd.org"