From owner-freebsd-arm@FreeBSD.ORG Sun Jun 23 16:44:52 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 70AADEF8; Sun, 23 Jun 2013 16:44:52 +0000 (UTC) (envelope-from br@mail.bsdpad.com) Received: from mail.bsdpad.com (mail.bsdpad.com [109.107.176.56]) by mx1.freebsd.org (Postfix) with ESMTP id 281A413CA; Sun, 23 Jun 2013 16:44:51 +0000 (UTC) Received: from mail.bsdpad.com ([109.107.176.56]) by mail.bsdpad.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UqnOr-000KG1-MC; Sun, 23 Jun 2013 20:44:25 +0400 Received: by mail.bsdpad.com (nbSMTP-1.00) for uid 1001 br@mail.bsdpad.com; Sun, 23 Jun 2013 20:44:25 +0400 (MSK) Date: Sun, 23 Jun 2013 20:44:25 +0400 From: Ruslan Bukin To: Konstantin Belousov Subject: Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory Message-ID: <20130623164425.GA77339@mail.bsdpad.com> References: <51C1F53B.2080502@semihalf.com> <51C4A067.7010203@semihalf.com> <20130623065706.GV91021@kib.kiev.ua> <20130623083220.GA41511@mail.bsdpad.com> <20130623143248.GA91021@kib.kiev.ua> <20130623144346.GA69378@mail.bsdpad.com> <20130623161617.GC91021@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130623161617.GC91021@kib.kiev.ua> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, Jeff Roberson , freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jun 2013 16:44:52 -0000 On Sun, Jun 23, 2013 at 07:16:17PM +0300, Konstantin Belousov wrote: > On Sun, Jun 23, 2013 at 06:43:46PM +0400, Ruslan Bukin wrote: > > > > Trying to mount root from ufs:/dev/da0 []... > > WARNING: / was not properly dismounted > > warning: no time-of-day clock registered, system time will not be set accurately > > panic: __rw_wlock_hard: recursing but non-recursive rw pmap pv global @ /usr/home/br/dev/head/sys/arm/arm/pmap-v6.c:1289 > > > > KDB: enter: panic > > [ thread pid 1 tid 100001 ] > > Stopped at kdb_enter+0x48: ldrb r15, [r15, r15, ror r15]! > > db> bt > > Tracing pid 1 tid 100001 td 0xc547f620 > > _end() at 0xde9d0530 > > scp=0xde9d0530 rlv=0xc1211458 (db_trace_thread+0x34) > > rsp=0xde9d0514 rfp=0xc12d1b60 > > Bad frame pointer: 0xc12d1b60 > > db> > This is completely broken. It seems that witness triggered the panic, > and ddb is unable to obtain a backtrace from the normal panic(9) call. > > Show the output of the 'show alllocks'. No such command db> show all chains ifnets lltables pcpu procs rman trace ttys db>