From owner-freebsd-arm@FreeBSD.ORG Wed Aug 23 18:10:17 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0D2616A4DE for ; Wed, 23 Aug 2006 18:10:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D02443D49 for ; Wed, 23 Aug 2006 18:10:16 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k7NI7s2E066745; Wed, 23 Aug 2006 12:07:54 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 23 Aug 2006 12:08:01 -0600 (MDT) Message-Id: <20060823.120801.-861029429.imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de From: "M. Warner Losh" In-Reply-To: <20060823175736.GE47093@cicely12.cicely.de> References: <20060823175736.GE47093@cicely12.cicely.de> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 23 Aug 2006 12:07:55 -0600 (MDT) Cc: freebsd-arm@freebsd.org Subject: Re: AT91RM9200 problem X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2006 18:10:17 -0000 In message: <20060823175736.GE47093@cicely12.cicely.de> Bernd Walter writes: : >e 0x20000000 : KDB: debugger backends: ddb : KDB: current backend: ddb : Copyright (c) 1992-2006 The FreeBSD Project. : Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 : The Regents of the University of California. All rights reserved. : FreeBSD 7.0-CURRENT #4: Wed Aug 23 19:47:16 CEST 2006 : ticso@cicely7.cicely.de:/FreeBSD-arm-src/src/sys/arm/compile/BWCT : CPU: ARM920T rev 0 (ARM9TDMI core) : DC enabled IC enabled WB enabled LABT : 16KB/32B 64-way Instruction cache : 16KB/32B 64-way write-back-locking-A Data cache : real memory = 67108864 (64 MB) : avail memory = 62603264 (59 MB) : panic: Cannot allocate L1 KVM : KDB: enter: panic : : This is a prototype board, so hardware problems are not impossible. First question: does this board actually have 64MB of RAM? If so, then I'm happy that the SDRAM detection code appears to be working... I'm running 64MB boards here with a substantially similar kernel to yours. This panic happens because we can't allocate enough memory for the L1 page table cache. Since you are early in boot, I'm amazed that a 16kb allocation is failing... Are you using the kb920x_machdep.c file to do initialization? Warner