From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 1 08:58:15 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 2852C16A4B3 for ; Wed, 1 Oct 2003 08:58:15 -0700 (PDT) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F8F143F75 for ; Wed, 1 Oct 2003 08:58:13 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 24FAB21828C for ; Thu, 2 Oct 2003 00:58:11 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h91FwBhN019222; Thu, 2 Oct 2003 00:58:11 +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 AKQ61459; Thu, 2 Oct 2003 00:58:10 +0900 (JST) Date: Thu, 02 Oct 2003 00:58:10 +0900 Message-ID: From: Hidetoshi Shimokawa To: Thomas Moestl In-Reply-To: <20031001144131.GB746@timesink.dyndns.org> References: <20031001144131.GB746@timesink.dyndns.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, 01 Oct 2003 15:58:15 -0000 At Wed, 1 Oct 2003 16:41:31 +0200, Thomas Moestl wrote: > > On Mon, 2003/09/29 at 11:44:02 +0900, Hidetoshi Shimokawa wrote: > > I have a problem with handling of pbuf on sparc64. > > My driver's strategy() routine will write pbuf by CPU rather > > than DMA by the device. I confirmed that the pbuf is mapped in > > pmap_qenter() but I got a vm_fault for the access to the pbuf. > > Hmmm. Can you please post the code in question, so that I can take a > look? > > - Thomas The code is in p4. fwmem_strategy() is in: //depot/user/simokawa/firewire/sys/dev/firewire/fwmem.c callback routine is called from: //depot/user/simokawa/firewire/sys/dev/firewire/fwochi.c //depot/user/simokawa/firewire/sys/dev/firewire/firewire.c Is there any way to investigate page table in DDB? Thanks, /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html