Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2013 04:58:47 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Joe Holden <lists@rewt.org.uk>
Cc:        Joe Holden <joe@rewt.org.uk>, freebsd-mips@freebsd.org
Subject:   Re: kern/177876: [mips] kernel stack overflow panic on mips64, EdgeRouter Lite
Message-ID:  <DCCAC237-3C09-4FA8-81BB-B7A67753F364@bsdimp.com>
In-Reply-To: <51753506.3070901@rewt.org.uk>
References:  <201304220300.r3M301iY093070@freefall.freebsd.org> <CAJ-Vmok7m9%2B3sky1swEP6ZTnZNLpkmwTC2tOqzGNaSFwY7WmFA@mail.gmail.com> <51753506.3070901@rewt.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

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 ;)
> 
> 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 <joe@rewt.org.uk> wrote:
>>> The following reply was made to PR kern/177876; it has been noted by GNATS.
>>> 
>>> From: Joe Holden <joe@rewt.org.uk>
>>> 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"
> 
> _______________________________________________
> 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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DCCAC237-3C09-4FA8-81BB-B7A67753F364>