From owner-freebsd-current@FreeBSD.ORG Mon Jun 29 19:30:47 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9921D1065676 for ; Mon, 29 Jun 2009 19:30:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id F3E898FC0A for ; Mon, 29 Jun 2009 19:30:46 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=XeHGSSaKqpQA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=ybTnKnmfmk7bjazL_lwA:9 a=jHbX2T028v__F4fu8mEA:7 a=TRiYQsOG6fvM-EEu8ySSv10iUCoA:4 a=PQXiHq2M1sqlfDBX:21 a=F-4mQ6ChX0iEY96d:21 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1275329800; Mon, 29 Jun 2009 21:30:44 +0200 From: Hans Petter Selasky To: Alan Cox , freebsd-current@freebsd.org Date: Mon, 29 Jun 2009 21:30:15 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906292005.18629.hselasky@c2i.net> <4A4907AE.1080303@cs.rice.edu> In-Reply-To: <4A4907AE.1080303@cs.rice.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906292130.16718.hselasky@c2i.net> Cc: Subject: Re: Contigmalloc regression seen on latest 7.x and 8.x branches X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 19:30:48 -0000 On Monday 29 June 2009 20:27:58 Alan Cox wrote: > > "ret" is a virtual address. What is the underlying physical address? Hi, It looks like the physical address is correct according to my printouts. The regression issue boils down to misleading printouts from the following files, which should/can then be removed: /usr/8-current/src/sys/amd64/amd64/busdma_machdep.c: printf("bus_dmamem_alloc failed to align memory properly.\n"); /usr/8-current/src/sys/i386/i386/busdma_machdep.c: printf("bus_dmamem_alloc failed to align memory properly.\n"); /usr/8-current/src/sys/ia64/ia64/busdma_machdep.c: printf("bus_dmamem_alloc failed to align memory properly.\n"); contigmalloc: size=0x00008000, flag=2, low=0x00000000 high=0xffffffff alignment=0x00008000 boundary= 0x00000000 contigmalloc: ret=0xe5af2000 contigmalloc: vtophys(ret)=0x01670000 contigmalloc: vtophys(ret)=0x01671000 contigmalloc: vtophys(ret)=0x01672000 contigmalloc: vtophys(ret)=0x01673000 contigmalloc: vtophys(ret)=0x01674000 contigmalloc: vtophys(ret)=0x01675000 contigmalloc: vtophys(ret)=0x01676000 contigmalloc: vtophys(ret)=0x01677000 bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc = 0 pg->physaddr = 0x01670000, nseg=1 bus_dmamap_load = 0 0x01670000, 0xe5af2000 ihfc1: port 0xa400-0xa407 mem 0xf5004000-0xf50040ff irq 18 at devi ce 8.0 on pci1 ihfc1: [ITHREAD] ihfc1: Attaching I4B controller 1. ihfc1: Creating /dev/ihfc1.X. --HPS