From owner-freebsd-mips@freebsd.org Tue Mar 6 01:37:42 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48386F3E699 for ; Tue, 6 Mar 2018 01:37:42 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B871278DBC for ; Tue, 6 Mar 2018 01:37:41 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w261bY3F027672 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 6 Mar 2018 02:37:35 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: wolfgang@lyxys.ka.sub.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w261bVF0025943 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 6 Mar 2018 08:37:31 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: ELF - panic on installworld To: Wolfgang Zenker , freebsd-mips@freebsd.org References: <20180305211635.GA21623@lyxys.ka.sub.org> <5A9DEE9E.6050906@grosbein.net> From: Eugene Grosbein Message-ID: <5A9DF0D6.7090306@grosbein.net> Date: Tue, 6 Mar 2018 08:37:26 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <5A9DEE9E.6050906@grosbein.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2018 01:37:42 -0000 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.