ERL (was: ELF - panic on installworld)
Alexander Kabaev
kabaev at gmail.com
Tue Mar 6 02:15:31 UTC 2018
On Mon, 5 Mar 2018 20:30:42 -0500
Alexander Kabaev <kabaev at gmail.com> wrote:
> On Mon, 5 Mar 2018 22:45:28 +0100
> Wolfgang Zenker <wolfgang at lyxys.ka.sub.org> wrote:
>
> > Sorry for the messup in the subject.
> >
> > * Wolfgang Zenker <wolfgang at lyxys.ka.sub.org> [180305 22:16]:
> > > Hi,
> > >
> > > 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?
> > >
> > > Wolfgang
>
> NFS is is known kernel stack hog. Try increasing KSTACK_PAGES up from
> whatever defaults in your kernel config file. IIRC, mips defaults to 2
> pages, which is not enough for your workload.
>
> --
> Alexander Kabaev
I got reminded privately that variable stack sizes do not work on MIPS
without extra patches:
http://people.freebsd.org/~sson/mips/kstack/kstack_large_page.diff
Not sure if it can still be applied to -current.
--
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 963 bytes
Desc: ЦиÑÑÐ¾Ð²Ð°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20180305/ea3ba78e/attachment.sig>
More information about the freebsd-mips
mailing list