NetBSD Problem Report #59890

From www@netbsd.org  Mon Jan  5 11:43:09 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D258E1A923A
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  5 Jan 2026 11:43:08 +0000 (UTC)
Message-Id: <20260105114307.83D941A923C@mollari.NetBSD.org>
Date: Mon,  5 Jan 2026 11:43:07 +0000 (UTC)
From: nathanialsloss@yahoo.com.au
Reply-To: nathanialsloss@yahoo.com.au
To: gnats-bugs@NetBSD.org
Subject: mac68k no longer boots - new pmap changes suspected.
X-Send-Pr-Version: www-1.0

>Number:         59890
>Category:       port-mac68k
>Synopsis:       mac68k no longer boots - new pmap changes suspected.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mac68k-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 05 11:45:00 +0000 2026
>Closed-Date:    Sun Mar 15 06:15:59 +0000 2026
>Last-Modified:  Sun Mar 15 06:15:59 +0000 2026
>Originator:     Nat Sloss
>Release:        NetBSD 11.99.4
>Organization:
NetBSD
>Environment:
NetBSD 11.99.4 mac68k
>Description:
At present mac68k wont boot.  It does not even clear the display after
loading the kernel with the Booter.

The suspect commit is (hg) #1202571.
>How-To-Repeat:
Try to boot a recent kernel on mac68k.
>Fix:
Apply this patch:

diff -r 6eb8967b10c6 sys/arch/mac68k/mac68k/locore.s
--- a/sys/arch/mac68k/mac68k/locore.s   Wed Dec 31 16:06:40 2025 +0000
+++ b/sys/arch/mac68k/mac68k/locore.s   Mon Jan 05 22:42:12 2026 +1100
@@ -133,6 +133,16 @@
        movc    %d0,%cacr               | clear and disable on-chip cache(s)

        /*
+        * Initialize the source/destination control registers for
+        * movs.
+        */
+       /* XXX Happens twice */
+
+       moveq   #FC_USERD,%d0           | user space
+       movc    %d0,%sfc                |   as source
+       movc    %d0,%dfc                |   and destination of transfers
+
+       /*
         * Some parameters provided by MacOS
         *
         * LAK: This section is the new way to pass information from the booter

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: nat@NetBSD.org
State-Changed-When: Sun, 15 Mar 2026 06:15:59 +0000
State-Changed-Why:
Fixed by Jason -
https://mail-index.netbsd.org/source-changes/2026/03/14/msg160990.html

Closing.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.