ELF - panic on installworld
John Baldwin
jhb at freebsd.org
Tue Mar 6 18:35:13 UTC 2018
On Tuesday, March 06, 2018 08:37:26 AM Eugene Grosbein wrote:
> 06.03.2018 8:27, Eugene Grosbein wrote:
>
> > 06.03.2018 4:16, Wolfgang Zenker wrote:
>
> >> I'm trying to run installworld using 11-STABLE on an Ubiquity Edge
> >> Router Lite (mips64, 2 cores, 512 MB Ram). Unfortunately I haven't
> >> managed to finish the installworld yet, I always get a
> >> panic: kernel stack overflow - trapframe at 0xffffffff80917eb0
> >> in slightly different places during the installworld. Of the 4 panics I
> >> have seen on the serial console, 3 had the trapframe at 0xffffffff80917eb0
> >> and one at 0xffffffff80915eb0
> >> /usr/src and /usr/obj are nfs-mounted, and I have configured almost 2 GB
> >> of swap. The build was done in a Qemu environment.
> >>
> >> Any hints how to proceed from here?
> >
> > Try increasing kernel stack size from default 2 pages to 4 by rebuilding
> > the kernel with options KSTACK_PAGES=4
>
> Note also, that depending on your network configuration, KSTACK_PAGES=4
> may or may not be enough. If it does not help, you need to double it once more.
KSTACK_PAGES doesn't work on MIPS because the MIPS kstack has to be hardwired
into the TLB and the code that does that assumes a hardcoded stack size.
--
John Baldwin
More information about the freebsd-mips
mailing list