Hi Adrian,

[2] 
https://people.debian.org/~glaubitz/linux-image-6.12.38+1-sparc64-smp_6.12.38-1+sparc64_sparc64.deb

I've finally found some time to test those kernels on my Fire V215 (UltraSPARC 
III).
Please excuse me if I missed something that's already been discussed.

Unfortunately, none of the kernel packages in 
https://people.debian.org/~glaubitz/ and 
https://people.debian.org/~glaubitz/sparc64/ managed to boot my system.

(I shortened the output for brevity, let me know if you need the full boot logs)

linux-image-6.12.38+1-sparc64-smp_6.12.38-1+sparc64_sparc64.deb:

[   69.870700] crc32c_sparc64: sparc64 crc32c opcode not available.
[   70.039974] ------------[ ftrace bug ]------------
[   70.109487] ftrace faulted on unknown error
[   70.109492] [<000000001023a004>] 0x1023a004
[   70.253912] Initializing ftrace call sites
[   70.324453] ftrace record flags: 2000000
[   70.392660]  (0)
[   70.392660]  expected tramp: f010b0
[   70.483806] ------------[ cut here ]------------
[   70.561210] WARNING: CPU: 0 PID: 242 at kernel/trace/ftrace.c:2208 
ftrace_bug+0x2f4/0x328
[   70.685597] Modules linked in: dm_mod sd_mod sr_mod cdrom ata_generic mptsas 
mptscsih pata_ali ohci_pci ehci_pci mptbase scsi_transport_sas libata ehci_hcd 
ohci_hcd tg3 usbcore scsi_mod libphy scsi_common usb_common
[   70.954334] CPU: 0 UID: 0 PID: 242 Comm: modprobe Not tainted 
6.12.38+1-sparc64-smp #1  Debian 6.12.38-1+sparc64
[   70.954349] Call Trace:
[   70.954353] [<0000000000f11864>] dump_stack+0x8/0x18
[   70.954372] [<000000000046e15c>] __warn+0xdc/0x140
[   70.954382] [<000000000046e26c>] warn_slowpath_fmt+0xac/0x140
[   70.954390] [<0000000000f079dc>] ftrace_bug+0x2f4/0x328
[   70.954397] [<000000000058f560>] ftrace_process_locs+0x2e0/0x460
[   70.954407] [<0000000000593c7c>] ftrace_module_init+0x3c/0x80
[   70.954417] [<00000000005285c8>] load_module+0x1948/0x2180
[   70.954433] [<000000000052900c>] init_module_from_file+0x6c/0xc0
[   70.954442] [<0000000000529284>] sys_finit_module+0x1c4/0x360
[   70.954452] [<0000000000406274>] linux_sparc_syscall+0x34/0x44
[   70.954468] ---[ end trace 0000000000000000 ]---
[   71.943961] alg: No test for crc3<3rc32c-generic)
[   72.203198] crc32c_sparc64: sparc64 crc32c opcode not available.
[   72.409685] EXT4-fs (dm-1): Cannot load crc32c driver.

With crc32_sparc64 blacklisted (modprobe.blacklist=crc32c_sparc64), I get this:

[   71.936087] alg: No test for crc3<3� (crc32c-generic)
[   72.261971] EXT4-fs (dm-1): Cannot load crc32c driver.

linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb:

[   70.535256] Call Trace:
[   70.567341] [<0000000000525e04>] load_module+0x5a4/0x2160
[   70.638487] [<0000000000527bcc>] init_module_from_file+0x6c/0xa0
[   70.717653] [<0000000000527e24>] sys_finit_module+0x1c4/0x360
[   70.793381] [<0000000000406274>] linux_sparc_syscall+0x34/0x44
(I don't know which module it choked on)

linux-image-6.16.3+1-sparc64-smp_6.16.3-1+sparc64_sparc64.deb:

[   43.664597] usb usb2: Manufacturer: Linux 6.16.3+1-sparc64-smp ohci_hcd
[   43.666417] hub 2-0:1.0: USB hub found
[   43.756418] ERROR(0): Cheetah error trap taken afsr[0010080005000000] 
afar[000007f904c00000] TL1(0)
[   43.997297] Kernel panic - not syncing: corrupted stack end detected inside 
scheduler
[   43.997307] CPU: 1 UID: 0 PID: 185 Comm: (udev-worker) Not tainted 
6.16.3+1-sparc64-smp #1 NONE  Debian 6.16.3-1+sparc64
[   43.997319] Call Trace:
[   43.997323] [<0000000000437408>] dump_stack+0x8/0x18
[   43.997342] [<0000000000429540>] panic+0xf4/0x398
[   43.997353] [<0000000000f809a4>] switch_to_pc+0x918/0x934
[   43.997368] [<0000000000f809dc>] schedule+0x1c/0x180
[   43.997377] [<0000000000f87030>] schedule_timeout+0x70/0x100
[   43.997386] [<0000000000f81690>] __wait_for_common+0xb0/0x1a0
[   43.997396] [<0000000000f817dc>] wait_for_completion_timeout+0x1c/0x40
[   43.997405] [<000000001002912c>] usb_start_wait_urb+0x6c/0x140 [usbcore]
[   43.997497] [<00000000100292b4>] usb_control_msg+0xb4/0x120 [usbcore]
[   43.997522] [<000000001001b620>] hub_power_on+0x60/0x180 [usbcore]
[   43.997547] [<000000001001c218>] hub_activate+0x818/0x9c0 [usbcore]
[   43.997572] [<0000000010023cf4>] hub_probe+0xf74/0xfe0 [usbcore]
[   43.997597] [<000000001002e54c>] usb_probe_interface+0x16c/0x380 [usbcore]
[   43.997622] [<0000000000c00f20>] really_probe+0x260/0x400
[   43.997636] [<0000000000c0114c>] __driver_probe_device+0x8c/0x160
[   43.997646] [<0000000000c01308>] driver_probe_device+0x28/0x100

I also tried booting without USB support, but this resulted in a crash in the 
mptsas driver:

[   42.545499] ERROR(1): Cheetah error trap taken afsr[0010080005000000] 
afar[000007f904c00000] TL1(0)
[   42.677140] ERROR(1): TPC[100ba048] TNPC[100ba04c] O7[42b3a8] 
TSTATE[4411001606]
[   42.677148] ERROR(1):
[   42.677151] TPC<MakeIocReady+0x24/0x298 [mptbase]>
[   42.879948] ERROR(1): M_SYND(0),  E_SYND(0), Privileged
[   42.879956] ERROR(1): Highest priority error (0000080000000000) "Bus error 
response from system bus"
[   43.008278] ERROR(1): D-cache idx[0] tag[0000000000000000] 
utag[0000000000000000] stag[0000000000000000]
[   43.008286] ERROR(1): D-cache data0[0000000000000000] 
data1[0000000000000000] data2[0000000000000000] data3[0000000000000000]
[   43.162964] ERROR(1): I-cache idx[0] tag[0000000000000000] 
utag[0000000000000000] stag[0000000000000000] u[0000000000000000] 
l[0000000000000000]
[   43.162972] ERROR(1): I-cache INSN0[0000000000000000] 
INSN1[0000000000000000] INSN2[0000000000000000] INSN3[0000000000000000]
[   43.352022] ERROR(1): I-cache INSN4[0000000000000000] 
INSN5[0000000000000000] INSN6[0000000000000000] INSN7[0000000000000000]
[   43.352030] ERROR(1): E-cache idx[d08040] tag[0000000002040013]
[   43.352034] ERROR(1): E-cache data0[9de3bed001000000] 
data1[0100000094102078] data2[92102000401accc9] data3[9007a787401ad334]
[   43.352044] Kernel panic - not syncing: Irrecoverable deferred error trap.
[   43.352050] CPU: 1 UID: 0 PID: 181 Comm: (udev-worker) Not tainted 
6.16.3+1-sparc64-smp #1 NONE  Debian 6.16.3-1+sparc64
[   43.352062] Call Trace:
[   43.352065] [<0000000000437408>] dump_stack+0x8/0x18
[   43.352081] [<0000000000429540>] panic+0xf4/0x398
[   43.352092] [<000000000043aa70>] cheetah_deferred_handler+0x3b0/0x400
[   43.352104] [<0000000000405e88>] c_deferred+0x18/0x24
[   43.352115] [<00000000100ba048>] MakeIocReady+0x24/0x298 [mptbase]
[   43.352126] [<00000000100ba4b4>] mpt_do_ioc_recovery+0x9c/0x1110 [mptbase]
[   43.352135] [<00000000100b96f8>] mpt_attach+0xb58/0xd20 [mptbase]
[   43.352145] [<00000000101fdf30>] mptsas_probe+0x10/0x440 [mptsas]
[   43.352175] [<0000000000b40e90>] local_pci_probe+0x30/0x80
[   43.352184] [<0000000000b419b4>] pci_device_probe+0xb4/0x240
[   43.352192] [<0000000000c00d88>] really_probe+0xc8/0x400
[   43.352206] [<0000000000c0114c>] __driver_probe_device+0x8c/0x160
[   43.352216] [<0000000000c01308>] driver_probe_device+0x28/0x100
[   43.352225] [<0000000000c015bc>] __driver_attach+0xbc/0x1e0
[   43.352233] [<0000000000bfe73c>] bus_for_each_dev+0x5c/0xc0
[   43.352242] [<0000000000c0053c>] driver_attach+0x1c/0x40
[   46.117074] Press Stop-A (L1-A) from sun keyboard or send break
[   46.117074] twice on console to return to the boot prom
[   46.263749] ---[ end Kernel panic - not syncing: Irrecoverable deferred 
error trap. ]---

With recent changes in systemd, I can no longer boot the old 4.19 kernel 
because it lacks HugeTLB support, but I have a custom-built 5.16 kernel that 
works most of the time (i.e. it might still crash at some point, but it's 
stable enough to install packages and test stuff).

Is there anything else I could try?

Regards,
Gregor

Reply via email to