Re: NetBSD/sgimips 10.0 RELEASE on SGI Challenge S: INSTALL32_IP2x works, GENERIC32_IP2x kernel panics on boot after install
Nick Hudson <[email protected]> Thu, 23 May 2024 07:13:32 +0100
| Newsgroups | gmane.os.netbsd.ports.mips.devel |
|---|---|
| Message-ID | <[email protected]> |
On 22/05/2024 06:53, Tim McIntosh wrote:
[...]
> Here is the change. Perhaps someone can confirm this on their own system?
>
>> diff --git a/sys/arch/sgimips/sgimips/machdep.c b/sys/arch/sgimips/sgimips/machdep.c
>> index 0a4bbd329..9ba1914ae 100644
>> --- a/sys/arch/sgimips/sgimips/machdep.c
>> +++ b/sys/arch/sgimips/sgimips/machdep.c
>> @@ -286,6 +286,13 @@ mach_init(int argc, int32_t argv32[], uintptr_t magic, int32_t bip32)
>> cpu_setmodel("%s", arcbios_system_identifier);
>> + /*
>> + * Copy exception-dispatch code down to exception vector.
>> + * Initialize locore-function vector.
>> + * Clear out the I and D caches.
>> + */
>> + mips_vector_init(NULL, false);
>> +
>> uvm_md_init();
>> /* set up bootinfo structures */
>> @@ -661,13 +668,6 @@ mach_init(int argc, int32_t argv32[], uintptr_t magic, int32_t bip32)
>> */
>> arcbios_tree_walk(sgimips_count_cpus, NULL);
>> - /*
>> - * Copy exception-dispatch code down to exception vector.
>> - * Initialize locore-function vector.
>> - * Clear out the I and D caches.
>> - */
>> - mips_vector_init(NULL, false);
>> -
>> /*
>> * Initialize error message buffer (at end of core).
>> */
>
I committed this.
Nick