OpenBSD/sgi
#53
RE: OpenBSD/sgi
IP28 kernel fixed for OpenBSD/sgi 7.3

So bringing back a "clock0" to IP28 indeed solved/worked around the breakage introduced by the two commits mentioned earlier. Together with the fix/workaround for the IP28 problem in OpenBSD/sgi 7.2 things are working again for IP28 in 7.3, see this log from yesterday. My patch is simple:

Code:
diff --git a/sys/arch/sgi/conf/GENERIC-IP28 b/sys/arch/sgi/conf/GENERIC-IP28
index 9918a08414c..afcae927626 100644
--- a/sys/arch/sgi/conf/GENERIC-IP28
+++ b/sys/arch/sgi/conf/GENERIC-IP28
@@ -37,6 +37,7 @@ config        bsd    swap generic
#
mainbus0    at root
cpu*        at mainbus0
+clock0        at mainbus0

int0        at mainbus0    # Interrupt Controller and scheduling clock
imc0        at mainbus0    # Memory Controller
diff --git a/sys/arch/sgi/conf/RAMDISK-IP28 b/sys/arch/sgi/conf/RAMDISK-IP28
index e07ea14fbe7..389b0d3655d 100644
--- a/sys/arch/sgi/conf/RAMDISK-IP28
+++ b/sys/arch/sgi/conf/RAMDISK-IP28
@@ -31,6 +31,7 @@ config        bsd root on rd0a swap on rd0b

mainbus0    at root
cpu*        at mainbus0
+clock0        at mainbus0

int0        at mainbus0        # Interrupt Controller and scheduling clock
imc0        at mainbus0        # Memory Controller
diff --git a/sys/arch/sgi/localbus/int.c b/sys/arch/sgi/localbus/int.c
index c76df00762d..09c06291ce5 100644
--- a/sys/arch/sgi/localbus/int.c
+++ b/sys/arch/sgi/localbus/int.c
@@ -375,8 +375,7 @@ int2_attach(struct device *parent, struct device *self, void *aux)
    /*
     * The 8254 timer does not interrupt on (some?) IP24 systems.
     */
-    if (sys_config.system_type == SGI_IP20 ||
-        sys_config.system_subtype == IP22_INDIGO2)
+    if (sys_config.system_type == SGI_IP20)
        int_8254_cal();
}

...and could be refined a little for the if clause condition: Because "IP22_INDIGO2" actually includes IP22 (R4000, R4400, R4600 Indigo²), IP26 (R8000 Indigo²) and IP28 (R10000 Indigo²), so would also affect IP22 and IP26. But as I only reproduced the IP28 kernel and the patch is not yet included in any branch it doesn't really matter.



So with the kernel fixed now for IP28, I consider the OpenBSD/sgi 7.3 release complete. The next release is still half a year away or so, so plenty of time for other things now...

Indigo Indy Indigo2 R10000/IMPACT O2 Octane Octane2 Origin 200=Origin 200-Origin 200=Origin 200
johnnym
Tezro

Trade Count: (0)
Posts: 268
Threads: 9
Joined: Jun 2018
Find Reply
04-24-2023, 10:49 AM


Messages In This Thread
OpenBSD/sgi - by johnnym - 01-05-2023, 02:43 PM
RE: OpenBSD/sgi - by Raion - 01-05-2023, 04:06 PM
RE: OpenBSD/sgi - by johnnym - 01-05-2023, 05:40 PM
RE: OpenBSD/sgi - by Raion - 01-05-2023, 06:30 PM
RE: OpenBSD/sgi - by johnnym - 01-05-2023, 06:55 PM
RE: OpenBSD/sgi - by robespierre - 01-05-2023, 09:11 PM
RE: OpenBSD/sgi - by johnnym - 01-05-2023, 09:57 PM
RE: OpenBSD/sgi - by johnnym - 01-07-2023, 07:50 PM
RE: OpenBSD/sgi - by Raion - 01-05-2023, 06:45 PM
RE: OpenBSD/sgi - by Raion - 01-07-2023, 10:43 PM
RE: OpenBSD/sgi - by johnnym - 01-09-2023, 03:50 PM
RE: OpenBSD/sgi - by Raion - 01-09-2023, 03:56 PM
RE: OpenBSD/sgi - by johnnym - 01-09-2023, 05:49 PM
RE: OpenBSD/sgi - by Raion - 01-09-2023, 06:13 PM
RE: OpenBSD/sgi - by johnnym - 01-11-2023, 06:32 PM
RE: OpenBSD/sgi - by Raion - 01-11-2023, 07:48 PM
RE: OpenBSD/sgi - by johnnym - 01-11-2023, 08:52 PM
RE: OpenBSD/sgi - by Raion - 01-11-2023, 10:20 PM
RE: OpenBSD/sgi - by johnnym - 01-18-2023, 07:39 PM
RE: OpenBSD/sgi - by Raion - 01-18-2023, 07:55 PM
RE: OpenBSD/sgi - by johnnym - 01-18-2023, 09:31 PM
RE: OpenBSD/sgi - by Raion - 01-19-2023, 12:41 AM
RE: OpenBSD/sgi - by johnnym - 01-30-2023, 06:37 PM
RE: OpenBSD/sgi - by Raion - 01-30-2023, 07:27 PM
RE: OpenBSD/sgi - by johnnym - 01-30-2023, 09:06 PM
RE: OpenBSD/sgi - by Raion - 01-30-2023, 09:21 PM
RE: OpenBSD/sgi - by johnnym - 01-30-2023, 10:25 PM
RE: OpenBSD/sgi - by Raion - 01-30-2023, 11:30 PM
RE: OpenBSD/sgi - by johnnym - 02-01-2023, 09:59 AM
RE: OpenBSD/sgi - by johnnym - 02-01-2023, 02:47 PM
RE: OpenBSD/sgi - by johnnym - 02-01-2023, 07:35 PM
RE: OpenBSD/sgi - by johnnym - 02-02-2023, 09:58 PM
RE: OpenBSD/sgi - by johnnym - 02-04-2023, 03:26 PM
RE: OpenBSD/sgi - by johnnym - 02-04-2023, 07:05 PM
RE: OpenBSD/sgi - by johnnym - 03-01-2023, 03:46 PM
RE: OpenBSD/sgi - by johnnym - 03-19-2023, 09:12 AM
RE: OpenBSD/sgi - by johnnym - 03-19-2023, 09:02 PM
RE: OpenBSD/sgi - by johnnym - 03-31-2023, 05:47 PM
RE: OpenBSD/sgi - by johnnym - 04-06-2023, 07:44 PM
RE: OpenBSD/sgi - by Raion - 04-06-2023, 11:44 PM
RE: OpenBSD/sgi - by vishnu - 04-07-2023, 02:47 PM
RE: OpenBSD/sgi - by johnnym - 04-07-2023, 06:45 PM
RE: OpenBSD/sgi - by vishnu - 04-07-2023, 07:34 PM
RE: OpenBSD/sgi - by Raion - 04-07-2023, 03:26 PM
RE: OpenBSD/sgi - by vishnu - 04-07-2023, 06:22 PM
RE: OpenBSD/sgi - by Raion - 04-07-2023, 09:33 PM
RE: OpenBSD/sgi - by johnnym - 04-08-2023, 07:47 AM
RE: OpenBSD/sgi - by vishnu - 04-08-2023, 10:44 AM
RE: OpenBSD/sgi - by johnnym - 04-08-2023, 10:55 AM
RE: OpenBSD/sgi - by vishnu - 04-08-2023, 11:47 AM
RE: OpenBSD/sgi - by johnnym - 04-16-2023, 04:52 PM
RE: OpenBSD/sgi - by johnnym - 04-22-2023, 09:21 AM
RE: OpenBSD/sgi - by johnnym - 04-24-2023, 10:49 AM
RE: OpenBSD/sgi - by johnnym - 04-26-2023, 07:55 PM
RE: OpenBSD/sgi - by johnnym - 05-02-2023, 03:05 PM
RE: OpenBSD/sgi - by fleedwood - 05-02-2023, 08:39 PM
RE: OpenBSD/sgi - by johnnym - 12-23-2023, 02:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)