NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-mac68k/59890: mac68k no longer boots - new pmap changes suspected.



>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 05 11:45:00 +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



Home | Main Index | Thread Index | Old Index