From owner-freebsd-ppc@freebsd.org Tue Dec 22 05:06:14 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 16A574B370A for ; Tue, 22 Dec 2020 05:06:14 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D0PSP60flz3JNl for ; Tue, 22 Dec 2020 05:06:13 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id BA46976F3 for ; Tue, 22 Dec 2020 05:06:13 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id AFC5F27C0054 for ; Tue, 22 Dec 2020 00:06:13 -0500 (EST) Received: from imap1 ([10.202.2.51]) by compute3.internal (MEProxy); Tue, 22 Dec 2020 00:06:13 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddtfedgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdluddtmdenucfjughrpefofg ggkfgjfhffhffvufgtsehttdertderreejnecuhfhrohhmpedfuehrrghnughonhcuuegv rhhgrhgvnhdfuceosggurhgrghhonheshfhrvggvuefuffdrohhrgheqnecuggftrfgrth htvghrnhepuddukedtvedtffeuudeuieekjeeggfefffdtjeffkeekffehieetteelieej veelnecuffhomhgrihhnpehgvghnuhhnihigrdgtohhmpdhnvghtsghsugdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsughrrghg ohhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqddutdegvdefheekieegqd dukedutdekheduqdgsughrrghgohhnpeephfhrvggvuefuffdrohhrghesihhmrghprdgt tg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id E7857C200A5; Tue, 22 Dec 2020 00:06:13 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.1-61-gb52c239-fm-20201210.001-gb52c2396 Mime-Version: 1.0 Message-Id: <4b846361-8c15-46a1-8932-8769ca82f49b@www.fastmail.com> In-Reply-To: References: <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> Date: Mon, 21 Dec 2020 23:05:53 -0600 From: "Brandon Bergren" To: "FreeBSD PowerPC ML" 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?= Content-Type: text/plain X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2020 05:06:14 -0000 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