On 2013-Apr-2 17:37 , Artyom Tarasenko wrote:
> to:
>
> virt = ofmem_claim_virt(pointer2cell(va), size, align);
>
> Does that fix the bug for you?
>
At least, it seems to die some instructions later, thanks! Will debug more.
Does it mean that obp_memalloc is actually using the first argument
just as a hint? As the OpenSolaris header suggests?

Per IEEE 1275, 6.3.2.4, the claim method is supposed to entirely ignore the virtual address if you provide an alignment. With a non-zero alignment, it's supposed to allocate from a pool of its own address space.