Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sun Ultra 5 cgroup fail after clean install

0 views
Skip to first unread message

Joacim Nilsson

unread,
Jul 22, 2023, 5:00:06 PM7/22/23
to
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 real...@gmail.com

John Paul Adrian Glaubitz

unread,
Jul 23, 2023, 2:40:04 AM7/23/23
to
Hi Joacim!
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

Joacim Nilsson

unread,
Jul 23, 2023, 5:30:04 AM7/23/23
to
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

John Paul Adrian Glaubitz

unread,
Jul 23, 2023, 5:40:03 AM7/23/23
to
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?

Joacim Nilsson

unread,
Jul 23, 2023, 5:40:03 AM7/23/23
to
Never done it before.
i found this
https://wiki.debian.org/DebianKernel/GitBisect

John Paul Adrian Glaubitz

unread,
Jul 23, 2023, 5:50:03 AM7/23/23
to
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/
0 new messages