Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656452 - Verify sparc kernels are less than 7.2MB
Summary: Verify sparc kernels are less than 7.2MB
Status: CONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-24 17:18 UTC by Robin Johnson
Modified: 2024-01-31 07:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Serial output of the OOM kernel panic I'm observing at startup. (sparc_panic.log,5.71 KB, text/plain)
2024-01-31 07:25 UTC, Valtteri Koskivuori
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2018-05-24 17:18:28 UTC
Per jmorgan, sparc64 will only boot kernels that are under 7.2MB.
Genkernel should check this.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2018-05-28 02:40:05 UTC
A 7.2MB limitation seems bizarre. Is that a limitation of openfirmware? Is the initramfs itself included in this limit?
Comment 2 Ben Kohler gentoo-dev 2021-03-24 14:22:32 UTC
I'm not sure this is really correct, catbus is currently booted to a kernel that is ~14MB, and my sparc box is booted to a kernel around 10MB.

Both are using grub, and both are booting uncompressed kernels because of a memory limitation at boot that prevents proper decompression.

These limits are probably specific to certain generations of sparc hw, are we sure genkernel should be in charge of this?
Comment 3 Valtteri Koskivuori 2024-01-31 07:25:47 UTC
Created attachment 883755 [details]
Serial output of the OOM kernel panic I'm observing at startup.
Comment 4 Valtteri Koskivuori 2024-01-31 07:27:58 UTC
See attached, possibly related? I observe that output on serial when trying to boot the latest install-sparc64-minimal-20230904T100154Z.iso on my Sun Ultra 5 (UltraSPARC-IIi @ 270MHz, 128MB of RAM).
I noted that the kernel image appears to be ~10.9MB in size on there.