From owner-freebsd-arm@FreeBSD.ORG Fri Apr 25 14:40:53 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A3AA106567C for ; Fri, 25 Apr 2008 14:40:53 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from dlink.ua (d-link-145.cs0-nan.kv.wnet.ua [217.20.171.145]) by mx1.freebsd.org (Postfix) with ESMTP id 3D4768FC23 for ; Fri, 25 Apr 2008 14:40:53 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from [192.168.10.90] (helo=terran.mk.farlep.net) by dlink.ua with smtp (Exim 4.63) (envelope-from ) id 1JpOf9-00011O-3X for freebsd-arm@freebsd.org; Fri, 25 Apr 2008 17:12:31 +0300 Date: Fri, 25 Apr 2008 17:21:22 +0300 From: Alexandr Rybalko To: freebsd-arm@freebsd.org Message-Id: <20080425172122.5d7d723b.ray@dlink.ua> Organization: D-Link X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.5; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: FreeBSD on PXA255 board 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: Fri, 25 Apr 2008 14:40:53 -0000 Good time of day to all. I`m trying to run FreeBSD 7.0 on PXA255 chip (board Palm Tungsten C). Machine depended code partially write by me, and kernel started, but I have big problem. Can`t resolve problem without experience in internals of kernel. So I put to kernel code many printf`s, and can see this picture: KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-STABLE #130: Fri Apr 25 16:58:58 EEST 2008 ray@terran.mk.farlep.net:/usr/home/ray/Projects/ARM/Palm_TC/NanoBSD/Nano-BSD-obj/arm/usr/home/ray/Projects/ARM/Palm_TC/FreeBSD/src/sys/PALMTC WARNING: DIAGNOSTIC option enabled, expect reduced performance. subsystem 900000 0xc02670f8(0)... done. subsystem 1000000 0xc03806fc(0)... vm_mem_init: vm_set_page_size vm_page_startup: new_end=a3fcf000 end=a3fff000 boot_pages=30 UMA_SLAB_SIZE=1000 /usr/home/ray/Projects/ARM/Palm_TC/FreeBSD/src/sys/vm/vm_page.c:277 vm_page_startup: new_end = trunc_page(new_end) = a3fcf000 /usr/home/ray/Projects/ARM/Palm_TC/FreeBSD/src/sys/vm/vm_page.c:279 IN SOURCE CODE THERE: mapped = pmap_map(&vaddr, new_end, end, VM_PROT_READ | VM_PROT_WRITE); vm_page_startup: pmap_map(&vaddr=C00FBE7C, new_end=A3FCF000,end=A3FFF000, VM_PROT_READ | VM_PROT_WRITE) = bfecf000 (vaddr=C0544000) /usr/home/ray/Projects/ARM/Palm_TC/FreeBSD/src/sys/vm/vm_page.c:284 IN SOURCE CODE THERE: bzero((void *)mapped, end - new_end); vm_page_startup: call uma_startup(bfecf000, 00000030) /usr/home/ray/Projects/ARM/Palm_TC/FreeBSD/src/sys/vm/vm_page.c:287 IN SOURCE CODE THERE: uma_startup((void *)mapped, boot_pages); __END__ last message about 'call uma_startup' in many boot try, dos not appear. So I think problem in page pointed by variable 'mapped'. Kernel don`t panic, machine only freeze. Maybe somebody know what`s is it? Help please. Thanks -- Alex RAY