From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 23 03:39:15 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 142AD6C1 for ; Tue, 23 Jul 2013 03:39:15 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D61A62393 for ; Tue, 23 Jul 2013 03:39:14 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id v19so9110387obq.35 for ; Mon, 22 Jul 2013 20:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gKoxhpb9qnEQg4p3aNqskIcUVU/f3DsI69SkE5dfDVI=; b=KeorwuH1y5g55gTJAAtTgPzoZg4w41uGIzbPxRiVZcwS70+EZPfLdG1r7iR5LdacNw 6zmKd7YxQ8gt3cRrIMtwhLU0zgEVfVthdj6P4m1lDxqmjF7BWMurZO2avs19KYHM5ybb 8NOXcg3ZnPvRgZPIAE4JI1bLObKOIxIz2vlkrlc4EncUtY7aINW96x4EocjMFchjz0rj JgMZK+BWayO278yIwwPkDqnXDPfGmXRVygQEb7MkoIQ0lGa9W83iImIhJqa9x8ggPG3X LqgdqPv4HGtV7xL/T9K31izWQ2V2e26x2wNS8OXDPMoBLTo6HwVo+wzvEeZaovFTFgxg zWTQ== MIME-Version: 1.0 X-Received: by 10.182.88.202 with SMTP id bi10mr22901892obb.91.1374550754041; Mon, 22 Jul 2013 20:39:14 -0700 (PDT) Received: by 10.182.115.194 with HTTP; Mon, 22 Jul 2013 20:39:13 -0700 (PDT) In-Reply-To: References: <20130722045425.GF5991@kib.kiev.ua> Date: Mon, 22 Jul 2013 23:39:13 -0400 Message-ID: Subject: Re: contigmalloc won't allocate more than one page From: Super Bisquit To: Justin Hibbits Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jul 2013 03:39:15 -0000 Why not post this to hackers or the normal questions list to see if anyone has an x86i machine for testing the code? On Mon, Jul 22, 2013 at 4:35 PM, Justin Hibbits wrote: > On Sun, Jul 21, 2013 at 9:54 PM, Konstantin Belousov >wrote: > > > On Sun, Jul 21, 2013 at 06:51:22PM -0700, Justin Hibbits wrote: > > > I've been spending the day trying to get ofwdump to work correctly on > > > ppc64, and found that for at least one property it needs a full page > for > > > the property value. So, to fix this I checked the maximum ioctl sizes, > > and > > > with a buffer it totals 5 pages, so I tried to get > > ofw_real_bounce_alloc() > > > to allocate 5 pages instead of one. WIth this, it hangs when > allocating > > > the memory for the buffer. So, I tried just two pages, and got the > same > > > result. > > Could you test on other architectures, esp. on x86i, please ? > > > > Unfortunately for this test, all I have physical access to are PowerPC. > It's possible that contigmalloc() can allocate more memory, but possibly > later in the boot cycle, as this code runs very early on. > > > > What version do you use, head ? > > > > Yes, running head as of a few days ago. > > - Justin > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >