Port-mips archive

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

Re: NetBSD/sgimips 10.0 RELEASE on SGI Challenge S: INSTALL32_IP2x works, GENERIC32_IP2x kernel panics on boot after install



> On May 20, 2024, at 6:44 PM, Tim McIntosh <tmcintos%eskimo.com@localhost> wrote:
> 
> Hello again,
> 
>> On May 20, 2024, at 6:36 PM, Tim McIntosh <tmcintos%eskimo.com@localhost> wrote:
>> 
>>> These kernels should differ only in the amount of drivers /
>>> non-essential kernel subsystems built into them, the crash happens
>>> *way* early, before any of those should make a difference. I wonder if
>>> the kernel image got too fat and we hit some hidden firmware limit…
> 
> One other difference that I noted, but forgot to mention in my last reply, was that the install kernel also has space optimization enabled and memcpy inlining disabled:
> 
> makeoptions	COPTS="-Os -mmemcpy"
> 
> which might also align with your theory about the size of the generic kernel being too large.

I also just noticed this line in INSTALL32_IP2x:

# shrink kernel since ARC BIOS seems to have 8MB limit
options 	FFS_NO_SNAPSHOT

However, it appears that both files are under 8MB.  The other thing that doesn’t totally make sense to me is that the INSTALL32_IP2x image is actually larger:

> -rw-------  1 root  wheel  7137220 May 20 05:13 netbsd-INSTALL32_IP2x                                                                                                 
> -rw-------  1 root  wheel  5957964 May 20 05:14 netbsd-GENERIC32_IP2x                                                                                                 

So it’s puzzling.  Summarizing my previous observations:

This works (boots to installer):

> NetBSD/sgimips 10.0 Bootstrap, Revision 1.5 (Thu Mar 28 08:33:33 UTC 2024)
>                                                                                                                                                                       
> devopen: scsi(0)disk(3)rdisk(0)partition(0) type scsi file netbsd-INSTALL32_IP2x
> 6824976+113248=0x69e290
> [   1.0000000] phys segment: 0xe000 @ 0x8002000
> …
> [   1.0000000] NetBSD 10.0_STABLE (INSTALL32_IP2x) #0: Thu May 16 12:32:00 UTC 2024                                                                                   

This panics:

> NetBSD/sgimips 10.0 Bootstrap, Revision 1.5 (Thu Mar 28 08:33:33 UTC 2024)
>                                                                                                                                                                       
> devopen: scsi(0)disk(3)rdisk(0)partition(0) type scsi file netbsd-GENERIC32_IP2x
> 5004432+126464 [270656+264073]=0x567868
> Starting at 0x88069000
> 
> nsym 0x1 ssym 0x88544a90 esym 0x885c7868
> 
> Exception: <vector=UTLB Miss>

This (ecoff variant) also panics:

> NetBSD/sgimips 10.0 Bootstrap, Revision 1.5 (Thu Mar 28 08:33:33 UTC 2024)
> 
> devopen: scsi(0)disk(3)rdisk(0)partition(0) type scsi file nnetbsd.ecoff
> 5002768+126448=0x4c5610                                                                                                                                               
> Starting at 0x88069000                                                                                                                                                
> 
> nsym 0x1 ssym 0x88525610 esym 0x88525610
> [   1.0000000] [ Kernel symbol table invalid! ]
> [   1.0000000] phys segment: 0xe000 @ 0x8002000
> ...
> [   1.0000000] NetBSD 10.0 (GENERIC32_IP2x) #0: Thu Mar 28 08:33:33 UTC 2024                                                                                          

Thanks,
Tim



Home | Main Index | Thread Index | Old Index