contigmalloc won't allocate more than one page

Konstantin Belousov kostikbel at gmail.com
Mon Jul 22 04:54:49 UTC 2013


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 ?
What version do you use, head ?

> 
> After this failure, I tried creating a static array of 8192 bytes, and it
> doesn't even get to the black screen now.
> 
> 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 bug.
> 
> - Justin
> _______________________________________________
> freebsd-ppc at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20130722/07b39e9b/attachment.sig>


More information about the freebsd-ppc mailing list