Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2020 14:17:36 -0500
From:      Dennis Clarke <dclarke@blastwave.org>
To:        freebsd-ppc@freebsd.org
Subject:   Re: Old PowerMac G5 2-socket/2-cores-each: head -r368820 kernel reports: bus_dmamem_alloc failed to align memory properly
Message-ID:  <33f350be-79f3-29d5-6d64-33238f8c8613@blastwave.org>
In-Reply-To: <4b846361-8c15-46a1-8932-8769ca82f49b@www.fastmail.com>
References:  <FE22D733-35A2-4FB4-83D7-1E953A53AC34.ref@yahoo.com> <FE22D733-35A2-4FB4-83D7-1E953A53AC34@yahoo.com> <40dead6f-2a69-cf74-0a23-cde56dd90510@blastwave.org> <53f15d43-62c3-e12c-f8db-ede6a30e4e95@blastwave.org> <46726BE0-00FF-4DE7-835B-C7B04F3B0693@yahoo.com> <04727338-1ecb-4a94-c8e9-dcef7abd1513@blastwave.org> <c7cdeed2-57a7-4d48-91bd-4e0eb26c5313@www.fastmail.com> <4b846361-8c15-46a1-8932-8769ca82f49b@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>>
>> Try the following in openfirmware before booting:
>>
>> dev /memory@0 100000 1000 do-unmap
>>

Getting to the OpenFirmware prompt is a real pain with a PC keyboard but
I will see if I can figure out the Vulkan salute finger combination.

>> There are certain versions of OpenFirmware that leave a page mapped 
>> with the wrong protections erroneously and this smells like that bug to 
>> me.
> 
> In fact, given the srr0 value in the fault, I am *certain* this is your problem.
> 

Lovely.

> You can use nvedit to make this bugfix permanent for a given machine (We don't have our own guide, but the NetBSD guide @ https://www.netbsd.org/ports/macppc/nvedit.html is usable to apply this patch.)
> 

I assure you that I have no idea at all what you are talking about.

Dennis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33f350be-79f3-29d5-6d64-33238f8c8613>