kern/177876: [mips] kernel stack overflow panic on mips64, EdgeRouter Lite

Warner Losh imp at bsdimp.com
Tue Apr 23 11:04:21 UTC 2013


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 at rewt.org.uk> wrote:
>>> The following reply was made to PR kern/177876; it has been noted by GNATS.
>>> 
>>> From: Joe Holden <joe at rewt.org.uk>
>>> To: bug-followup at FreeBSD.org, joe at 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 at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
>>> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"
>> _______________________________________________
>> freebsd-mips at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
>> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"
> 
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"



More information about the freebsd-mips mailing list