Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735022 - SPARC64 Minimal Install CD Does Not Start
Summary: SPARC64 Minimal Install CD Does Not Start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: InstallCD (show other bugs)
Hardware: Sparc64 Linux
: Normal normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-01 10:08 UTC by Kyra Sable
Modified: 2022-02-16 03:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyra Sable 2020-08-01 10:08:06 UTC
The SPARC64 minimal install CD (install-sparc64-minimal-20200508T063543Z.iso) fails to start as apparently the kernel does not support XZ-compressed SquashFS filesystems.

According to dmesg:

Filesystem uses "xz" compression. This is not supported

Indeed:

# zcat /proc/config.gz | grep SQUASHFS_XZ
# CONFIG_SQUASHFS_XZ is not set
Comment 1 Matt Turner gentoo-dev 2020-08-24 20:08:12 UTC
Ouch, you're right. This is because I switched from using mksquashfs (from sys-fs/squashfs-tools) which defaults to gzip compression to gensquashfs (from sys-fs/squashfs-tools-ng) which defaults to xz compression.

I'll update the kconfig and build a new ISO.
Comment 2 Larry the Git Cow gentoo-dev 2020-08-24 20:42:27 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/releng.git/commit/?id=4e6ebec966b511294877aa2f02540ccd71cf82ce

commit 4e6ebec966b511294877aa2f02540ccd71cf82ce
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-08-24 20:41:17 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-08-24 20:41:17 +0000

    sparc: Update kernel config
    
      - Enable more squashfs options
      - Enable hwmon/i2c modules
      - Enable options necessary for systemd
    
    Bug: https://bugs.gentoo.org/735022
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 releases/kconfig/sparc/installcd-5.4.48.config     | 3841 ++++++++++++++++++++
 .../sparc/sparc64/installcd-stage2-minimal.spec    |    2 +-
 2 files changed, 3842 insertions(+), 1 deletion(-)
Comment 3 Matt Turner gentoo-dev 2020-08-25 02:30:01 UTC
Thanks for taking the time to file the bug! Should be fixed in builds starting with 20200824T200514Z.
Comment 4 Kyra Sable 2020-09-01 15:27:25 UTC
Thanks for the fix!

We're certainly further along but not entirely there yet. The last thing I get is "* Starting local ..." with no further progress.

This is a Fire V100 so there's no video option, just serial. Previously a shell would spawn on both tty1 and ttyS0. Is this no longer the case?
Comment 5 Matt Turner gentoo-dev 2020-09-04 17:28:44 UTC
This must be because we are not starting a terminal on the right serial port...

The code to do this is here: https://gitweb.gentoo.org/proj/livecd-tools.git/tree/init.d/fixinittab?id=3c23b30aed805fb5f6b148f273c0c139eac8f6f3#n52

... and I added support for /dev/ttyHV0 in https://gitweb.gentoo.org/proj/livecd-tools.git/commit/?id=6f0afe2a70bf7d8c5a9ef1e1e3fe3e83b6aece2b

Do you have any idea what the name of the tty device is on your machine? Can you try passing different console=... options to the kernel in the grub menu and see if you can find one that works?
Comment 6 Larry the Git Cow gentoo-dev 2022-02-16 03:05:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/releng.git/commit/?id=54bfa5f2e030048da11c29371061fa0172be4ac5

commit 54bfa5f2e030048da11c29371061fa0172be4ac5
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-02-16 02:59:15 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-02-16 03:05:29 +0000

    specs/sparc: Add console boot options
    
    Closes: https://bugs.gentoo.org/735022
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 releases/specs/sparc/sparc64/installcd-stage2-minimal.spec | 1 +
 1 file changed, 1 insertion(+)