From owner-freebsd-arm@FreeBSD.ORG Sun Apr 14 11:03:41 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 7991688E for ; Sun, 14 Apr 2013 11:03:41 +0000 (UTC) (envelope-from damjan.marion@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1288FA95 for ; Sun, 14 Apr 2013 11:03:40 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id e51so1790631eek.27 for ; Sun, 14 Apr 2013 04:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version:x-mailer; bh=d73M1Mhg5FXfifM0XnRVmu/MlLRc2ouk81WEMl+q9Hs=; b=oxGwaGg8lmR+StDd/krGwLiLYeOErv0yPikToYD6lCwQ6H1GHBqxBowvklXxKCK9rt t5ywmrsXzQBdMs5IepSqfPh8HLyKJK4XHxlqqV/vYd657JRLCJM5XSYxrmXtTPizCAnX 3vK5V9ZTX3wzGgGRQvbq79cgh4X1Dc1NzJWFIxV2Bf8qVEC0smDUyhgijXJjUcMp6X9l +jX6F1S1c1gDAfKp2jVeOGx8o71B5YVpMknTq2MD2bw57gqcEdYX6RWpVOhCnpY/ukAh ZnVId+yKcYVKBTf1lGmad5Y6EaDvmRsEVZsEkutjJSjGyP/ZWhqS+EXnDtak2f6Penuj Ge+g== X-Received: by 10.15.107.205 with SMTP id cb53mr49748728eeb.14.1365937419836; Sun, 14 Apr 2013 04:03:39 -0700 (PDT) Received: from ?IPv6:2001:470:72bb::12c? ([2001:470:72bb::12c]) by mx.google.com with ESMTPS id a41sm21007214eei.4.2013.04.14.04.03.38 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Apr 2013 04:03:38 -0700 (PDT) From: Damjan Marion Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: __rw_wlock_hard panic on 1st malloc Message-Id: Date: Sun, 14 Apr 2013 13:03:37 +0200 To: "freebsd-arm@FreeBSD.org" Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) 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, 14 Apr 2013 11:03:41 -0000 Hi, I'm playing a bit with i.MX6 based board (wandboard) and I have serial = console working but now it panics in init_dynamic_kenv() with the following error: panic: __rw_wlock_hard: recursing but non-recursive rw pmap pv global @ = /usr/src/sys/arm/arm/pmap-v6.c:1187 It looks like this is the 1st place where malloc() is called, an malloc = returns valid VA but 1st attempt to access that address produces panic above. Any idea what can be the reason for this or any other hint? Thanks, Damjan=