From owner-freebsd-sparc64@FreeBSD.ORG Tue Oct 7 23:56:55 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3396016A4B3 for ; Tue, 7 Oct 2003 23:56:55 -0700 (PDT) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89EC743FF3 for ; Tue, 7 Oct 2003 23:56:51 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 816E73780E8 for ; Wed, 8 Oct 2003 15:56:49 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h986unhC013347 for ; Wed, 8 Oct 2003 15:56:49 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])3.3.5-GR) with ESMTP id AKT88572; Wed, 8 Oct 2003 15:56:48 +0900 (JST) Date: Wed, 08 Oct 2003 15:56:48 +0900 Message-ID: From: Hidetoshi Shimokawa To: freebsd-sparc@freebsd.org User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 06:56:55 -0000 Hi, I noticed that sparc64 doesn't respect RB_KDB(boot -d). Inserting Debugger() just after kdb_init()(like i386) or pmap_bootstrap() causes 'Fast Data Access MMU Miss'. Debugger() at the end of sparc64_init() seems o.k. Where is the right place? ==== //depot/user/simokawa/firewire/sys/sparc64/sparc64/machdep.c#9 - /home/sat/simokawa/p4/freebsd/firewire/sys/sparc64/sparc64/machdep.c ==== @@ -386,6 +386,11 @@ tick_init(clock); OF_getprop(root, "name", sparc64_model, sizeof(sparc64_model) - 1); + +#ifdef DDB + if (boothowto & RB_KDB) + Debugger("Boot flags requested debugger"); +#endif } void /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html