From owner-freebsd-arm@FreeBSD.ORG Wed Aug 23 18:42:20 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 7F7B716A4DE for ; Wed, 23 Aug 2006 18:42:20 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id E12BA43D45 for ; Wed, 23 Aug 2006 18:42:19 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id k7NIgG9e072130; Wed, 23 Aug 2006 20:42:16 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id k7NIg8A1029642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Aug 2006 20:42:09 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id k7NIg829048565; Wed, 23 Aug 2006 20:42:08 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id k7NIg86b048564; Wed, 23 Aug 2006 20:42:08 +0200 (CEST) (envelope-from ticso) Date: Wed, 23 Aug 2006 20:42:08 +0200 From: Bernd Walter To: "M. Warner Losh" Message-ID: <20060823184207.GK47093@cicely12.cicely.de> References: <20060823175736.GE47093@cicely12.cicely.de> <20060823.120801.-861029429.imp@bsdimp.com> <20060823182246.GI47093@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060823182246.GI47093@cicely12.cicely.de> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on cicely12.cicely.de Cc: ticso@cicely12.cicely.de, freebsd-arm@freebsd.org, ticso@cicely.de Subject: Re: AT91RM9200 problem X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de 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:42:20 -0000 On Wed, Aug 23, 2006 at 08:22:46PM +0200, Bernd Walter wrote: > On Wed, Aug 23, 2006 at 12:08:01PM -0600, M. Warner Losh wrote: > > 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 > > : I don't know the difference, but after several times the same panic and without changing anything: >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) CONFIG: invalid hint 'hint.ohci.at=apb' CONFIG: invalid hint 'hint.ohci.maddr=0x00300000' atmelarm0: on motherboard at91_st0: mem 0xfffffd00-0xfffffdff irq 1 on atmelarm0 at91_st0: watchdog registered, timeout intervall max. 64 sec at91_pio0: mem 0xfffff400-0xfffff5ff irq 1 on atmelarm0 at91_pio0: ABSR: 0x60 OSR: 0 PSR:0x3f380010 ODSR: 0 at91_pio0: [FAST] at91_pio1: mem 0xfffff600-0x3ffef7ff irq 1 on atmelarm0 device_attach: at91_pio1 attach returned 12 at91_pio2: mem 0xfffff800-0xfffff9ff irq 1 on atmelarm0 at91_pio2: ABSR: 0 OSR: 0x400 PSR:0xc47f ODSR: 0 at91_pio2: [FAST] at91_pio3: mem 0xfffffa00-0xfffffbff irq 1 on atmelarm0 at91_pio3: ABSR: 0 OSR: 0 PSR:0xfffffff ODSR: 0 at91_pio3: [FAST] at91_pmc0: mem 0xfffffc00-0xfffffcff irq 1 on atmelarm0 at91_pmc0: main clock: 10000000 Hz PLLA: 112 MHz CPU: 112 MHz main 37 MHz at91_rtc0: mem 0xfffffe00-0xfffffeff irq 1 on atmelarm0 at91_rtc0: [FAST] ate0: mem 0xfffbc000-0xfffbffff irq 24 on atmelarm0 ate0: Cannot find my PHY. device_attach: ate0 attach returned 6 uart0: mem 0xfffff200-0xfffff3ff irq 1 on atmelarm0 uart0: [FAST]Ķuart0: console (115200,n,8,1) uart1: mem 0xfffc0000-0xfffc3fff irq 6 on atmelarm0 uart1: [FAST] uart2: mem 0xfffc4000-0xfffc7fff irq 7 on atmelarm0 uart2: [FAST] uart3: mem 0xfffc8000-0xfffcbfff irq 8 on atmelarm0 uart3: [FAST] uart4: mem 0xfffcc000-0xfffcffff irq 9 on atmelarm0 uart4: [FAST] at91_spi0: mem 0xfffe0000-0xfffe3fff irq 13 on atmelarm0 spibus0: on at91_spi0 Cannot get 100 Hz clock; using 128Hz at91_st0: [FAST] Timecounter "AT91RM9200 timer" frequency 32768 Hz quality 1000 Timecounters tick every 7.812 msec panic: bootpc_init: no eligible interfaces KDB: enter: panic Fatal kernel mode prefetch abort at 0xc006c10c trapframe: 0xc01f4e2c, spsr=a0000013 r0 =00000012, r1 =40000013, r2 =ffffffff, r3 =c01bb218 r4 =00000001, r5 =c017fa40, r6 =c01f4e9c, r7 =00000100 r8 =c01ca830, r9 =0000058c, r10=21200100, r11=c01f4e84 r12=c01f6000, ssp=c01f4e78, slr=c0162444, pc =c006c10c [thread pid 0 tid 0 ] Stopped at kdb_enter+0x3c: ldrb r15, [r15, r15, ror r15]! db> The PHY problem is not surprising - I already know that there are unresolved problems with the connected switch. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de