Port-mips archive

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

Re: issues w/ sgimips post gcc-14



On Fri, 19 Dec 2025 at 13:07, Adrian Chadd <adrian%freebsd.org@localhost> wrote:
>
> I remember some sizes issues though booting things on my Indy so I do wonder if we have hit a PROM limit.
>
> I'll test soon, I'm doing a test build with some other psuedo drivers removed to see.

So the size problem is with the IP3x install kernel, not the IP2x
install kernel.
Dropping the ramdisk in size down from 8192 to 7000 did the trick.
(but yes the IP3x kernel is quite a bit bigger than the IP2x one due
to all the other
ethernet hardware that's included in it..)



-adrian

===
index 8679d787c437..3a5d43937d79 100644
--- a/sys/arch/sgimips/conf/INSTALL32_IP3x
+++ b/sys/arch/sgimips/conf/INSTALL32_IP3x
@@ -9,7 +9,7 @@ include         "arch/sgimips/conf/GENERIC32_IP3x"
 options         MEMORY_DISK_HOOKS
 options         MEMORY_DISK_IS_ROOT     # force root on memory disk
 options         MEMORY_DISK_SERVER=0    # no userspace memory disk support
-options         MEMORY_DISK_ROOT_SIZE=8192 # size of memory disk in blocks (4MB
)
+options         MEMORY_DISK_ROOT_SIZE=7000 # size of memory disk in
blocks (4MB)
 options         MEMORY_DISK_RBFLAGS=RB_SINGLE   # boot in single-user mode

 no umcpmio*    at uhidev?


>
>
>
> Adrian
>
> On Fri, Dec 19, 2025, 1:06 PM Martin Husemann <martin%duskware.de@localhost> wrote:
>>
>> On Fri, Dec 19, 2025 at 12:57:36PM -0800, Adrian Chadd wrote:
>> > [snip]
>> >
>> > The kernel is JUST a bit bigger with gcc-14. I haven't yet dived into
>> > the output of objdump to see which bits got bigger but chances are we
>> > need to shrink the SGI kernels a bit anyway.
>>
>> I bumped the ramdisk size a tiny bit, so that it worked in my local
>> build.
>>
>> Martin


Home | Main Index | Thread Index | Old Index