• Sun Ultra 5 cgroup fail after clean install

    From Joacim Nilsson@21:1/5 to All on Sat Jul 22 23:00:02 2023
    Hi!
    After installning debian-12.0.0-sparc64-NETINST-1.iso
    on my Sun Ultra 5

    i get

    Loading Linux 6.3.0-2-sparc64 ...
    Loading initial ramdisk ...

    Failed to get cgroup, ignoring: No medium found
    /dev/sda2: recovering journal
    /dev/sda2: clean, 32037/15204352 files, 1785366/60804430 blocks
    [ 49.359252] /dev/sda: Can't open blockdev
    [FAILED] Failed to mount boot.mount - /boot.
    [DEPEND] Dependency failed for local-fs.target - Local File Systems.
    You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, or "exit"Give root password for maintenance
    (or press Control-D to continue):

    I can mount the boot device if i log in
    I thought at first my hardware was causing issues
    But i have removed all non sun cards from the machine

    And *BSD installs just fine

    Can it be a too large disk?
    Installer was complaning about a huge cylinder count.





    -- Mvh Joacim Nilsson realnovum@gmail.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Joacim Nilsson on Sun Jul 23 08:40:01 2023
    Hi Joacim!

    On Sat, 2023-07-22 at 22:53 +0200, Joacim Nilsson wrote:
    Hi!
    After installning debian-12.0.0-sparc64-NETINST-1.iso
    on my Sun Ultra 5

    i get

    Loading Linux 6.3.0-2-sparc64 ...
    Loading initial ramdisk ...

    Failed to get cgroup, ignoring: No medium found
    /dev/sda2: recovering journal
    /dev/sda2: clean, 32037/15204352 files, 1785366/60804430 blocks
    [ 49.359252] /dev/sda: Can't open blockdev
    [FAILED] Failed to mount boot.mount - /boot.
    [DEPEND] Dependency failed for local-fs.target - Local File Systems.
    You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, or "exit"Give root password for maintenance
    (or press Control-D to continue):

    I can mount the boot device if i log in
    I thought at first my hardware was causing issues
    But i have removed all non sun cards from the machine

    And *BSD installs just fine

    Can it be a too large disk?
    Installer was complaning about a huge cylinder count.

    How was the disk partioned? Did you use manual partioning or did you use
    the installer's suggested defaults?

    The disk itself won't be too large, but it could be that you created a partition that does not fit the geometry of the Sun partioning theme.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Joacim Nilsson on Sun Jul 23 11:50:01 2023
    Hi!

    On Sun, 2023-07-23 at 11:36 +0200, Joacim Nilsson wrote:
    Never done it before.
    i found this
    https://wiki.debian.org/DebianKernel/GitBisect

    Yes, this basically explains how to do it.

    However, I would recommend using a fast x86_64 machine for cross-compiling the kernel as building the kernel natively on the Sun Ultra 5 will take forever.

    A cross-toolchain for building a sparc64 kernel can be found here:

    https://mirrors.edge.kernel.org/pub/tools/crosstool/

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Joacim Nilsson on Sun Jul 23 11:40:01 2023
    Hi!

    On Sun, 2023-07-23 at 11:27 +0200, Joacim Nilsson wrote:
    To get more information i booted the 6.1.0-9 kernel
    That one works!

    OK, so it seems we have found a kernel regression here.

    Do you know how to bisect a kernel?

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joacim Nilsson@21:1/5 to John Paul Adrian Glaubitz on Sun Jul 23 11:30:01 2023
    On Sun, Jul 23, 2023 at 08:30:52AM +0200, John Paul Adrian Glaubitz wrote:
    Hi Joacim!

    On Sat, 2023-07-22 at 22:53 +0200, Joacim Nilsson wrote:
    Hi!
    After installning debian-12.0.0-sparc64-NETINST-1.iso
    on my Sun Ultra 5

    i get

    Loading Linux 6.3.0-2-sparc64 ...
    Loading initial ramdisk ...

    Failed to get cgroup, ignoring: No medium found
    /dev/sda2: recovering journal
    /dev/sda2: clean, 32037/15204352 files, 1785366/60804430 blocks
    [ 49.359252] /dev/sda: Can't open blockdev
    [FAILED] Failed to mount boot.mount - /boot.
    [DEPEND] Dependency failed for local-fs.target - Local File Systems.
    You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, or "exit"Give root password for maintenance
    (or press Control-D to continue):

    I can mount the boot device if i log in
    I thought at first my hardware was causing issues
    But i have removed all non sun cards from the machine

    And *BSD installs just fine

    Can it be a too large disk?
    Installer was complaning about a huge cylinder count.

    How was the disk partioned? Did you use manual partioning or did you use
    the installer's suggested defaults?

    The disk itself won't be too large, but it could be that you created a partition that does not fit the geometry of the Sun partioning theme.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    I used the installer suggested

    To get more information i booted the 6.1.0-9 kernel
    That one works!

    6.3.0-2 does not for me

    output from lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
    fd0 2:0 1 4K 0 disk
    sda 8:0 0 232.9G 0 disk
    ├─sda1 8:1 0 488.3M 0 part /boot
    ├─sda2 8:2 0 232G 0 part /
    ├─sda3 8:3 0 232.9G 0 part
    └─sda4 8:4 0 469.4M 0 part [SWAP]
    sr0 11:0 1 1024M 0 rom


    --
    Mvh
    Joacim Nilsson
    realnovum@gmail.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)