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

Sun Ultra 25 / Debian 12 install/progress

1 view
Skip to first unread message

Ignacio Soriano Hernandez

unread,
Nov 8, 2023, 5:20:04 AM11/8/23
to
Hi,

just a short heads-up because I did not find teh Ultra 25 on the list of "supported" systems.
I wanted to give it a try and can confirm that it boots from CD and gets into the "Select a language" screen but the keyboard is not working.

System: Sun Ultra 25, 1 GB RAM, 250 GB SATA, XVR-300, kbd/mouse connected to the USB ports

I will try a serial install once I find the adaptor.

Cheers

Iggi.


Ignacio Soriano Hernandez

unread,
Nov 9, 2023, 9:20:04 AM11/9/23
to
Progress report :-)

Ok, so initial OBP config on the Sun Ultra 25:

setenv input-device ttya
setenv output.device ttya

(You have to do that hence I had forgotten to do those changes (though unplugged kbd/mouse) and though connected via serial output had been send to the screen it was not accepting the serial kbd entries).

boot cdrom

Have been using Solaris 11 Express for installation (in a Fusion VM on my MB Pro (x86))  and connected via tip to my USB-UART adaptor .. works like a charm.

Installer (coloured VT100) works perfectly ootb  (updates also auto retrived via the onboard Sun Ultra 25 gbe device).
Selected as part of the installer in tasksel (Desktop & Xfce).
Installer ejects disk.
Reboot.

BOOM!

Loading Linux 6.5.0-4-sparc64 ...
Loading initial ramdisk ...

[    0.721550] pci 0000:05:1d.0: unsupported PM cap regs version (4)
[    7.135075] Unable to handle kernel paging request at virtual address 0004061310040000
[    7.230283] tsk->{mm,active_mm}->context = 0000000000000040
[    7.297222] tsk->{mm,active_mm}->pgd = fff0000211c30000
[    7.365556] Unable to handle kernel paging request at virtual address 0004061110184000
[    7.460774] tsk->{mm,active_mm}->context = 000000000000003d
[    7.527753] tsk->{mm,active_mm}->pgd = fff0000211c04000
[    7.661424] Kernel panic - not syncing: corrupted stack end detected inside scheduler
[    7.761835] Press Stop-A (L1-A) from sun keyboard or send break
[    7.761835] twice on console to return to the boot prom
[    7.904298] ---[ end Kernel panic - not syncing: corrupted stack end detected inside scheduler ]---

And this happens via the serial console, no USB devices connected.

So, yes, would need some help :-)

Cheers

Iggi







Am Mi., 8. Nov. 2023 um 16:39 Uhr schrieb John Paul Adrian Glaubitz <glau...@physik.fu-berlin.de>:
Hello Iggi,


On Wed, 2023-11-08 at 11:09 +0100, Ignacio Soriano Hernandez wrote:
> just a short heads-up because I did not find teh Ultra 25 on the list of "supported" systems.

We don't really have a list of supported systems, just systems that are known to work.


> I wanted to give it a try and can confirm that it boots from CD and gets into the "Select a
> language" screen but the keyboard is not working.

It should be working. Did you try connecting a PS/2 keyboard?

Although USB should be working.


> System: Sun Ultra 25, 1 GB RAM, 250 GB SATA, XVR-300, kbd/mouse connected to the USB ports
>
> I will try a serial install once I find the adaptor.

Good luck. Let me know if you run into any other issues.

Adrian

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

Ignacio Soriano Hernandez

unread,
Nov 9, 2023, 9:20:04 AM11/9/23
to
Hi Adrian,

the Sun Ultra 25 was the last Sun desktop system they did, no more Sun propietary connectors just USB. And yes, I did try to connect and additional Lenovo USB kbd/mouse (additional as else the Sun warns with a power failure on the USB which it would use to output to the serial port).

Found the harness and will hopefully give it a try later this evening (via serial). Will keep you updated on how things move forward.

Cheers

Iggi

Am Mi., 8. Nov. 2023 um 16:39 Uhr schrieb John Paul Adrian Glaubitz <glau...@physik.fu-berlin.de>:
Hello Iggi,

On Wed, 2023-11-08 at 11:09 +0100, Ignacio Soriano Hernandez wrote:
> just a short heads-up because I did not find teh Ultra 25 on the list of "supported" systems.

We don't really have a list of supported systems, just systems that are known to work.

> I wanted to give it a try and can confirm that it boots from CD and gets into the "Select a
> language" screen but the keyboard is not working.

It should be working. Did you try connecting a PS/2 keyboard?

Although USB should be working.


> System: Sun Ultra 25, 1 GB RAM, 250 GB SATA, XVR-300, kbd/mouse connected to the USB ports
>
> I will try a serial install once I find the adaptor.

Ignacio Soriano Hernandez

unread,
Nov 9, 2023, 9:20:04 AM11/9/23
to
And then rebooting once again this is the next error:

Loading Linux 6.5.0-4-sparc64 ...
Loading initial ramdisk ...

[    0.719309] pci 0000:05:1d.0: unsupported PM cap regs version (4)
[   32.610662] watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [(udev-worker):90]
[   56.610662] watchdog: BUG: soft lockup - CPU#0 stuck for 48s! [(udev-worker):90]
[   80.610662] watchdog: BUG: soft lockup - CPU#0 stuck for 71s! [(udev-worker):90]
[  104.610662] watchdog: BUG: soft lockup - CPU#0 stuck for 93s! [(udev-worker):90]
[  128.610662] watchdog: BUG: soft lockup - CPU#0 stuck for 115s! [(udev-worker):90]
[  152.610662] watchdog: BUG: soft lockup - CPU#0 stuck for 138s! [(udev-worker):90]
[  176.610662] watchdog: BUG: soft lockup - CPU#0 stuck for 160s! [(udev-worker):90]
[  200.610662] watchdog: BUG: soft lockup - CPU#0 stuck for 182s! [(udev-worker):90]

Next reboot (USB kbd/mouse unplugged):

/dev/sda2: clean, 79653/30433280 files, 3306660/121723866 blocks
[   40.590361] watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [mount:148]
[   64.590359] watchdog: BUG: soft lockup - CPU#0 stuck for 49s! [mount:148]
[   88.590359] watchdog: BUG: soft lockup - CPU#0 stuck for 71s! [mount:148]

Power off/on:

/dev/sda2: clean, 79653/30433280 files, 3306660/121723866 blocks
[   40.590361] watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [mount:148]
[   64.590359] watchdog: BUG: soft lockup - CPU#0 stuck for 49s! [mount:148]
[   88.590359] watchdog: BUG: soft lockup - CPU#0 stuck for 71s! [mount:148]
[  112.590359] watchdog: BUG: soft lockup - CPU#0 stuck for 93s! [mount:148]


Sun Ultra 25 Workstation, No Keyboard
Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
ok boot
Boot device: disk  File and args:
GRUB Loading kernel....
Welcome to GRUB!

error: out of memory.
error: no suitable video mode found.
error: no video mode activated.




                         GNU GRUB  version 2.12~rc1-11

 +----------------------------------------------------------------------------+
 |*Debian GNU/Linux                                                           |
 | Advanced options for Debian GNU/Linux                                      |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 +----------------------------------------------------------------------------+

      Use the ^ and v keys to select which entry is highlighted.
      Press enter to boot the selected OS, `e' to edit the commands
      before booting or `c' for a command-line.

Loading Linux 6.5.0-4-sparc64 ...
Loading initial ramdisk ...

[    0.696331] pci 0000:05:1d.0: unsupported PM cap regs version (4)
[    7.119571] Unable to handle kernel paging request in mna handler
[    7.119576]  at virtual address 8088800112500007
[    7.248248] current->{active_,}mm->context = 0000000000000042
[    7.317250] current->{active_,}mm->pgd = fff0000211c6c000

Timed out for waiting the udev queue being empty.
Timed out for waiting the udev queue being empty.
/dev/sda2: clean, 79653/30433280 files, 3306660/121723866 blocks

Cheers

Iggi


Am Mi., 8. Nov. 2023 um 16:39 Uhr schrieb John Paul Adrian Glaubitz <glau...@physik.fu-berlin.de>:
Hello Iggi,

On Wed, 2023-11-08 at 11:09 +0100, Ignacio Soriano Hernandez wrote:
> just a short heads-up because I did not find teh Ultra 25 on the list of "supported" systems.

We don't really have a list of supported systems, just systems that are known to work.

> I wanted to give it a try and can confirm that it boots from CD and gets into the "Select a
> language" screen but the keyboard is not working.

It should be working. Did you try connecting a PS/2 keyboard?

Although USB should be working.


> System: Sun Ultra 25, 1 GB RAM, 250 GB SATA, XVR-300, kbd/mouse connected to the USB ports
>
> I will try a serial install once I find the adaptor.

Ignacio Soriano Hernandez

unread,
Nov 10, 2023, 4:40:04 AM11/10/23
to
Hi Adrian,

ok, so I had an "older" D11S64 install CD and retried. Installation went as you said perfectly (besides the update stuff) and I even could use the kbd for installation.

Reboot went once (with errors) up to the login but could not use the USB kbd. Another reboot and it crashed from there on.

  Booting `Debian GNU/Linux'

Loading Linux 5.14.0-1-sparc64 ...
Loading initial ramdisk ...

[    0.630944] pci 0000:05:1d.0: unsupported PM cap regs version (4)
[    5.119336] ohci-pci 0000:05:1c.0: frame counter not updating; disabled
[    5.198855] ohci-pci 0000:05:1c.0: HC died; cleaning up
[    9.887385] usb 2-2.4: can't set config #1, error -60
/dev/sda2: clean, 17340/30433280 files, 2314244/121723866 blocks
[   14.456228] autofs4:pid:1:autofs_fill_super: called with bogus options
[   14.534774] systemd[1]: proc-sys-fs-binfmt_misc.automount: Failed to initialize automounter: Invalid argument
[   14.654295] systemd[1]: Failed to set up automount Arbitrary Executable File Formats File System Automount Point.
[FAILED] Failed to set up automount ▒▒s File System Automount Point.
[FAILED] Failed to mount /boot.
[DEPEND] Dependency failed for Local File Systems.
You [   21.771569] OOPS: Bogus kernel PC [0000000000000000] in fault handler
a[   21.850467] OOPS: RPC [000000001032ac58]
r[   21.898477] OOPS: Fault was to vaddr[0]
e [   21.945626] Unable to handle kernel NULL pointer dereference
i[   22.015314] tsk->{mm,active_mm}->context = 000000000000017d
n[   22.083123] tsk->{mm,active_mm}->pgd = fff000020bae0000
 e[   22.147282] Unable to handle kernel paging request at virtual address ffffffffffffe000
m[   22.243787] tsk->{mm,active_mm}->context = 000000000000017d
e[   22.311568] tsk->{mm,active_mm}->pgd = fff000020bae0000
rg[   22.375769] Kernel panic - not syncing: Aiee, killing interrupt handler!
[   22.457618] Press Stop-A (L1-A) from sun keyboard or send break
[   22.457618] twice on console to return to the boot prom
[   22.591101] ---[ end Kernel panic - not syncing: Aiee, killing interrupt handler! ]---
ency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.

So I then I used the image you linked in your reply:

Loading Linux 5.16.0-5-sparc64 ...
Loading initial ramdisk ...

[    0.656802] pci 0000:05:1d.0: unsupported PM cap regs version (4)
[    3.475622] BAD IRQ ack 0
[    5.430165] ohci-pci 0000:05:1c.0: frame counter not updating; disabled
[    5.509714] ohci-pci 0000:05:1c.0: HC died; cleaning up
/dev/sda2: clean, 17500/30433280 files, 2315136/121723612 blocks

Debian GNU/Linux bookworm/sid sun-ultra25 ttyS0

sun-ultra25 login: isoriano
Password:
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Nov 10 10:23:59 CET 2023 on ttyS0
isoriano@sun-ultra25:~$

I had to use my serial connection as the USB stack is failing (locally).

Cheers

Iggi


Am Do., 9. Nov. 2023 um 16:09 Uhr schrieb John Paul Adrian Glaubitz <glau...@physik.fu-berlin.de>:
Hi Iggi!


On Thu, 2023-11-09 at 15:16 +0100, Ignacio Soriano Hernandez wrote:
> Loading Linux 6.5.0-4-sparc64 ...
> Loading initial ramdisk ...
>
> [    0.721550] pci 0000:05:1d.0: unsupported PM cap regs version (4)
> [    7.135075] Unable to handle kernel paging request at virtual address 0004061310040000
> [    7.230283] tsk->{mm,active_mm}->context = 0000000000000040
> [    7.297222] tsk->{mm,active_mm}->pgd = fff0000211c30000
> [    7.365556] Unable to handle kernel paging request at virtual address 0004061110184000
> [    7.460774] tsk->{mm,active_mm}->context = 000000000000003d
> [    7.527753] tsk->{mm,active_mm}->pgd = fff0000211c04000
> [    7.661424] Kernel panic - not syncing: corrupted stack end detected inside scheduler
> [    7.761835] Press Stop-A (L1-A) from sun keyboard or send break
> [    7.761835] twice on console to return to the boot prom
> [    7.904298] ---[ end Kernel panic - not syncing: corrupted stack end detected inside scheduler ]---
>
> And this happens via the serial console, no USB devices connected.

Can you try an older image? I used an image from last year when I installed Debian inside
two SPARC T4-1 LDOMs which I have freshly set up for Debian Ports:

> https://cdimage.debian.org/cdimage/ports/snapshots/2022-03-24/debian-11.0.0-sparc64-NETINST-1.iso

I have seen some issue with most recent kernels on SPARC which is why I have currently booted
one LDOM into kernel 5.16.14.

When you install with the image above, you will be able to boot into kernel 5.16.14 from GRUB.

Note: Due to the expired APT keys in the above image, you should skip the mirror setup during
      installation which will fail unless you installed the updated Debian Ports Archive Keyring
      package.

Ignacio Soriano Hernandez

unread,
Nov 10, 2023, 2:12:56 PM11/10/23
to
Hi Adrian,

so installed it with the latest image you had posted. It boots into the login but USB is not supported, so only terminal.

What I was feeling is that even 5.16 is very unstable .. a simple apt install openssh-server crashed the machine.

Btw. What is the recommended way of updating the keyring so that I could install some further packages and a desktop? What it be possible to exit to the shell within the installer to update the keyring so that it could use the mirror to get the packages?

Thanks a lot for your support.

Cheers

Iggi

Am 09.11.23, 16:09 schrieb "John Paul Adrian Glaubitz" <glau...@physik.fu-berlin.de <mailto:glau...@physik.fu-berlin.de>>:


Hi Iggi!


On Thu, 2023-11-09 at 15:16 +0100, Ignacio Soriano Hernandez wrote:
> Loading Linux 6.5.0-4-sparc64 ...
> Loading initial ramdisk ...
>
> [ 0.721550] pci 0000:05:1d.0: unsupported PM cap regs version (4)
> [ 7.135075] Unable to handle kernel paging request at virtual address 0004061310040000
> [ 7.230283] tsk->{mm,active_mm}->context = 0000000000000040
> [ 7.297222] tsk->{mm,active_mm}->pgd = fff0000211c30000
> [ 7.365556] Unable to handle kernel paging request at virtual address 0004061110184000
> [ 7.460774] tsk->{mm,active_mm}->context = 000000000000003d
> [ 7.527753] tsk->{mm,active_mm}->pgd = fff0000211c04000
> [ 7.661424] Kernel panic - not syncing: corrupted stack end detected inside scheduler
> [ 7.761835] Press Stop-A (L1-A) from sun keyboard or send break
> [ 7.761835] twice on console to return to the boot prom
> [ 7.904298] ---[ end Kernel panic - not syncing: corrupted stack end detected inside scheduler ]---
>
> And this happens via the serial console, no USB devices connected.


Can you try an older image? I used an image from last year when I installed Debian inside
two SPARC T4-1 LDOMs which I have freshly set up for Debian Ports:


> https://cdimage.debian.org/cdimage/ports/snapshots/2022-03-24/debian-11.0.0-sparc64-NETINST-1.iso <https://cdimage.debian.org/cdimage/ports/snapshots/2022-03-24/debian-11.0.0-sparc64-NETINST-1.iso>


I have seen some issue with most recent kernels on SPARC which is why I have currently booted
one LDOM into kernel 5.16.14.


When you install with the image above, you will be able to boot into kernel 5.16.14 from GRUB.


Note: Due to the expired APT keys in the above image, you should skip the mirror setup during
installation which will fail unless you installed the updated Debian Ports Archive Keyring
package.


Connor McLaughlan

unread,
Nov 29, 2023, 4:00:03 PM11/29/23
to
On Sun, Nov 12, 2023 at 8:48 PM John Paul Adrian Glaubitz
<glau...@physik.fu-berlin.de> wrote:
>
> Hi Iggi!
>
> On Fri, 2023-11-10 at 18:56 +0000, Ignacio Soriano Hernandez wrote:
> > so installed it with the latest image you had posted. It boots into the
> > login but USB is not supported, so only terminal.
>
> Can you post the output of "lsusb" and "lspci" so I can see what kind of
> USB controller your machine has? Maybe it's just disabled in the Debian
> kernel configuration.
>
> > What I was feeling is that even 5.16 is very unstable .. a simple apt
> > install openssh-server crashed the machine.
>
> Kernel after 4.19 were actually not very stable on older SPARCs like yours
> while there were no problems on the newer SPARCs like T2, T3, T4 and so on.
>
> Bisecting these kernel issues on my Ultra 45 is still on my TODO list.
>
> If you want to have a stable kernel, use this image from July 2019 and make
> sure you always boot the machine into kernel 4.19 from GRUB:
>
> > https://cdimage.debian.org/cdimage/ports/snapshots/2019-07-16/
>
> > Btw. What is the recommended way of updating the keyring so that I could
> > install some further packages and a desktop? What it be possible to exit
> > to the shell within the installer to update the keyring so that it could
> > use the mirror to get the packages?
>
> You can download and install the keyring package like this:
>
> # wget http://ftp.ports.debian.org/debian-ports/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2023.02.01_all.deb
> # dpkg -i debian-ports-archive-keyring_2023.02.01_all.deb
>
> > Thanks a lot for your support.
>
> You're welcome and sorry for the current issues you're seeing.
>
> I haven't had time to work on Debian's sparc64 port for a while and only
> recently had the time to setup the two new SPARC T4-1 that we purchased
> for Debian.
>
> These machines are running now and I am currently going through all kind
> of packages which have regressed on sparc64 and I'm filing bug reports and
> sending patches upstream.
>
> Also, I am going to updated debian-installer images soon so you can test
> a more recent kernel.
>
> Adrian
>
> --
> .''`. John Paul Adrian Glaubitz
> : :' : Debian Developer
> `. `' Physicist
> `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
>

Hello All,

just for reference, i was experiencing the same usb problem on my
Ultra 25 as mentioned here:
https://lists.debian.org/debian-sparc/2022/12/msg00000.html

So for newer kernels than 5.6.0 usb is dying during boot rendering
mouse and keyboard unusable on the machine.

Regards,
Connor

Ignacio Soriano Hernandez

unread,
Nov 30, 2023, 2:50:04 PM11/30/23
to
Hi Adrian,

thanks a lot.

Once a new image is available I will try it out.

Cheers

Iggi
0 new messages