Date: Mon, 22 Jul 2013 07:54:25 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Justin Hibbits <jrh29@alumni.cwru.edu> Cc: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Re: contigmalloc won't allocate more than one page Message-ID: <20130722045425.GF5991@kib.kiev.ua> In-Reply-To: <CAHSQbTCT2e0UKSP34u05WSjCwdhQ_4z9GjxVxdN5kXXO35cxFQ@mail.gmail.com> References: <CAHSQbTCT2e0UKSP34u05WSjCwdhQ_4z9GjxVxdN5kXXO35cxFQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130722045425.GF5991>