From owner-freebsd-mips@FreeBSD.ORG Mon Apr 22 17:35:35 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DFEC8E91; Mon, 22 Apr 2013 17:35:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 53B821866; Mon, 22 Apr 2013 17:35:35 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id s10so1709387wey.7 for ; Mon, 22 Apr 2013 10:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=xuReCXo5HPHmvgfpM6vpv0daUqBWTtyux8G9FyoAVA4=; b=yXAgP4NM7Y/OC9vURYpcpAOuIwcdgTT/15fav4+KTx1FsNyIFzJjBzEAyBqfH4TkzV PbhfYx+nlxVh99QNzuIGTCLjL2RluhVsl7bjUhaOulHsxYpAyDRc+P/sVRoxRVRFXIYN npd8y+o0tAIFJ+97qPy0oAT0yFnWVWWh4VauwEJaHv0AwR+34BtmxQ5s/Wg/wyi3tYNQ +nTe8+ovGghEB6CUqG0g+f3gk17K7j2iUCylMYPivjcw/foc1fDHBZ6RDGAO/KZTusxK hzyI7YGSXg4G16ELvrYTkrXRPNt5ZIJCAHOBaBoKa+aW2xFxyR7jH27m2S6XtHiI+YCm YZlQ== MIME-Version: 1.0 X-Received: by 10.181.12.5 with SMTP id em5mr53464835wid.24.1366652133667; Mon, 22 Apr 2013 10:35:33 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.88.129 with HTTP; Mon, 22 Apr 2013 10:35:33 -0700 (PDT) In-Reply-To: <51753506.3070901@rewt.org.uk> References: <201304220300.r3M301iY093070@freefall.freebsd.org> <51753506.3070901@rewt.org.uk> Date: Mon, 22 Apr 2013 10:35:33 -0700 X-Google-Sender-Auth: y1P78MVVagFNY4KW4Y7kcix6cP0 Message-ID: Subject: Re: kern/177876: [mips] kernel stack overflow panic on mips64, EdgeRouter Lite From: Adrian Chadd To: Joe Holden , Juli Mallett Content-Type: text/plain; charset=ISO-8859-1 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 17:35:35 -0000 Do an svn log in sys/mips/ or sys/vm/ and look at the changes. I don't know how far you can go back before you don't have the edgerouter lite support, but maybe you can try going back to when Juli initially committed it, and then just work your way forward. I think Juli did the initial work, so she knows when it came in. juli - I don't suppose you could spin up FreeBSD-HEAD on the edgerouter lite and take a look? It's highly likely someone messed up since you did your port. :( Thanks, adrian On 22 April 2013 06:03, Joe Holden wrote: > Only one way to find out ;) > > Do you happen to know which commits/committers that was, or what file(s) it > affected? > > > 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. >>> >>> 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 >>> >>> 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... >>> >>> Kernel config: http://sprunge.us/EVjO >>> >>> 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: >>> >>> Usual procedure to cross-build from amd64: >>> >>> make buildworld buildkernel KERNCONF=OCTEON-ERL TARGET=mips64 >>> TARGET_ARCH=mips TARGET_CPUTYPE=octeon WITHOUT_MODULES="cxgbe mwlfw mwl >>> ralfw ral runfw run" >>> >>> src.conf just contains NO_FSCHG= >>> _______________________________________________ >>> 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" > >