Re: Sun Ultra 5 cgroup fail after clean install

2023-07-23 Thread Stan Johnson
Hello,

On 7/23/23 3:27 AM, Joacim Nilsson wrote:
> ...
>>>
>>> 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 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:01 4K  0 disk
> sda  8:00 232.9G  0 disk
> ├─sda1   8:10 488.3M  0 part /boot
> ├─sda2   8:20   232G  0 part /
> ├─sda3   8:30 232.9G  0 part
> └─sda4   8:40 469.4M  0 part [SWAP]
> sr0 11:01  1024M  0 rom
> 
> 


FWIW, I think the "Failed to get cgroup, ignoring: No medium found"
isn't related to the error (I'm also seeing that, for the first time,
with the latest Debian SID kernel on 686 systems but the systems boots
normally; I haven't checked other systems).

If this problem is also likely to happen on a Sun Ultra 30, let me know
and I'll try a default installation and (if necessary) a kernel bisect
sometime during the next week. It might be an issue with grub. The
kernel boots and fsck of the root partition works, but "/dev/sda: Can't
open blockdev" might indicate a missing module or incorrect kernel
CONFIG option. That's just a guess.

-Stan Johnson



Re: Sun Ultra 5 cgroup fail after clean install

2023-07-23 Thread John Paul Adrian Glaubitz
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



Re: Sun Ultra 5 cgroup fail after clean install

2023-07-23 Thread Joacim Nilsson
On Sun, Jul 23, 2023 at 11:29:43AM +0200, John Paul Adrian Glaubitz wrote:
> 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

Never done it before.
i found this
https://wiki.debian.org/DebianKernel/GitBisect


-- 
Mvh
Joacim Nilsson
realno...@gmail.com



Re: Sun Ultra 5 cgroup fail after clean install

2023-07-23 Thread John Paul Adrian Glaubitz
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



Re: Sun Ultra 5 cgroup fail after clean install

2023-07-23 Thread Joacim Nilsson
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:01 4K  0 disk
sda  8:00 232.9G  0 disk
├─sda1   8:10 488.3M  0 part /boot
├─sda2   8:20   232G  0 part /
├─sda3   8:30 232.9G  0 part
└─sda4   8:40 469.4M  0 part [SWAP]
sr0 11:01  1024M  0 rom


-- 
Mvh
Joacim Nilsson
realno...@gmail.com



Re: Sun Ultra 5 cgroup fail after clean install

2023-07-23 Thread John Paul Adrian Glaubitz
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