Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2020 23:05:53 -0600
From:      "Brandon Bergren" <bdragon@FreeBSD.org>
To:        "FreeBSD PowerPC ML" <freebsd-ppc@freebsd.org>
Subject:   =?UTF-8?Q?Re:_Old_PowerMac_G5_2-socket/2-cores-each:_head_-r368820_kerne?= =?UTF-8?Q?l_reports:_bus=5Fdmamem=5Falloc_failed_to_align_memory_proper?= =?UTF-8?Q?ly?=
Message-ID:  <4b846361-8c15-46a1-8932-8769ca82f49b@www.fastmail.com>
In-Reply-To: <c7cdeed2-57a7-4d48-91bd-4e0eb26c5313@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>

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


On Mon, Dec 21, 2020, at 11:02 PM, Brandon Bergren wrote:
> 
> 
> On Mon, Dec 21, 2020, at 10:25 PM, Dennis Clarke via freebsd-ppc wrote:
> >
> > Well, I had to give it a try :
> > 
> > https://beta.genunix.com/freebsd/ppc64/power_mac_quad_freebsd_13_current_17_dec_2020_fail.png
> > 
> 
> Try the following in openfirmware before booting:
> 
> dev /memory@0 100000 1000 do-unmap
> 
> 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.

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.)

-- 
  Brandon Bergren
  bdragon@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4b846361-8c15-46a1-8932-8769ca82f49b>