From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 22 04:54:49 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 08252E9F; Mon, 22 Jul 2013 04:54:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A0E521D9; Mon, 22 Jul 2013 04:54:48 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r6M4sPLd080185; Mon, 22 Jul 2013 07:54:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r6M4sPLd080185 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r6M4sPQ1080184; Mon, 22 Jul 2013 07:54:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 22 Jul 2013 07:54:25 +0300 From: Konstantin Belousov To: Justin Hibbits Subject: Re: contigmalloc won't allocate more than one page Message-ID: <20130722045425.GF5991@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XGa5gNSGTk93P04E" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home 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: Mon, 22 Jul 2013 04:54:49 -0000 --XGa5gNSGTk93P04E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, a= nd > 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 ? What version do you use, head ? >=20 > After this failure, I tried creating a static array of 8192 bytes, and it > doesn't even get to the black screen now. >=20 > Obviously, the better way to go would be to allocate it, but I don't have > enough understanding of the VM system and the OEA64 VM code to fix this b= ug. >=20 > - 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" --XGa5gNSGTk93P04E Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJR7LsAAAoJEJDCuSvBvK1BwLQP/35wr3rLUkhQKcepHt2+l8pz IjCsRiRl91m5GHHBBWEoJYqCDM8G1tja8Qb3UoZFor1sElmndE+ZZIeoMYhRY7yb lvh8+1BmxoLsLlNceG+1aCrjFQVHOIxps8VvX1TblAQ2yPSinwrHqxBg1XlOtt91 82ou+D1y2LlYZ8+tlxlAklq4KU32HA5+YJOYzD/VL3y1RWOQ8W8gUywb78fsKopU XFHFeTjOY9bcHkyK51z7fPpv+U3d86EKMzPEiBGasTRv8DkPJTY2VdorKljpoMKv I1/4FzIgdNdX8oLcPmYgB09xk/urf7assJU49WWMIt808B4mPrFH5VGteaBaxQhP QEwDuO3T/T37/GNFvCBzOgrnHJ8Yp+sI3rbkE61z/St2hJG7I5/AVHxQIfyKyP3f PNQSuEWupq5w0VPt7D79dQq5/ZwItUs6/yBGLhSN3sBoylkXh+Z9eGxkXZgQC2If eQwnKO3n3xx/tS93TYZsqpmcSNmYWn2DVDZmFtBdzXPnswx/w+LiMQkakKbiU46g SehkzP3ecgN7QB/2JekydXAiVuNW3rPT1bjv2Uw0JpNfmwRdwE4pNJSZWNyH4opA diusdWTLC6qk+B0OlupgvunmA2qjSLyJ1vSw329JwWP9pZXx2TiUbOkLwGgf6bx9 o/DzTKp/YY9wVVJCEoRZ =M1We -----END PGP SIGNATURE----- --XGa5gNSGTk93P04E--