From owner-freebsd-arm@FreeBSD.ORG Sun Jun 23 16:50:50 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C5111307; Sun, 23 Jun 2013 16:50:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5C1D31473; Sun, 23 Jun 2013 16:50:50 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r5NGof6O038239; Sun, 23 Jun 2013 19:50:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r5NGof6O038239 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r5NGofKY038238; Sun, 23 Jun 2013 19:50:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 23 Jun 2013 19:50:40 +0300 From: Konstantin Belousov To: Ruslan Bukin Subject: Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory Message-ID: <20130623165040.GD91021@kib.kiev.ua> References: <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> <20130623164425.GA77339@mail.bsdpad.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SQwxzH3rsXq5Vu3X" Content-Disposition: inline In-Reply-To: <20130623164425.GA77339@mail.bsdpad.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home 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:50:50 -0000 --SQwxzH3rsXq5Vu3X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 23, 2013 at 08:44:25PM +0400, Ruslan Bukin wrote: > 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: > > >=20 > > > 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 > > >=20 > > > 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=3D0xde9d0530 rlv=3D0xc1211458 (db_trace_thread+0x34) > > > rsp=3D0xde9d0514 rfp=3D0xc12d1b60 > > > Bad frame pointer: 0xc12d1b60 > > > db>=20 > > 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. > >=20 > > Show the output of the 'show alllocks'. >=20 > No such command Do you have witness in the kernel config ? If not, add it to the config and retry. >=20 > db> show all =20 > chains ifnets lltables pcpu procs rman > trace ttys > db>=20 --SQwxzH3rsXq5Vu3X Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJRxydgAAoJEJDCuSvBvK1BCIIP/1L6OvijfsRGuMYZKtjqdzHL J/Cx2gtWOHJ2U711ZGq6vPRTo6mlNL//lndT1mS7TNiYdnOoK03/vC1zEVTaw96w nRHtR4p9COyZ9/OyXbQZzQd9UAu0CXppTYG2/MO9xgn2RmU5J8LYXC6te26tL61K FqVSlmnDOhGR0BnHsIowAYuaGQD9t5SjooA7xk4wvPl44JFKgiObW1RgIt8dI46J Wq1W2zpVkv0zgPpNkN5BWKrKiaLriyJ9RfuBK03e/rcp3uXxkmQ09IjlytQHyT34 i//HarEwvoMfdKr97gMcuNLuC/+76twDrwI+jcLm3bnXsmZjDMSugV1hQ5QQJJLN qByQR0FuNo2lZQASOQD3YdNdRz0zW3+M5dDMCpTszg7kX38b/tzjwudoqRe/yxxX 7kHGA7j1SnzCjZehUjZ5iSTD/TLWyUXuWvFhOt5iiNan3e0i8PHFB0TQFfB2hPKK 5VJLY/gnKWX4rI5EwydJPd1WsshtR777LGhqngTP+/Rd9kZ/MFlNZztXQ2BFJRzN 35VqWS5YcFmZ6Zysgn8aLKSjBDa97LbJVf3WFqKSMbpBRHqHTGReUgzh4MJUxoGD g2phQ/Sgz8lI2j1VtYF+V06FOHxJlen8ZIZcOFgkDXubW+ntFFPogmue6homOkJw 0a7yo7ORh+KjVzqcG5Mb =6R1v -----END PGP SIGNATURE----- --SQwxzH3rsXq5Vu3X--