Re: watchdog: BUG: soft lockup with most recent sparc64 installer

2020-04-24 Thread John Paul Adrian Glaubitz
Hi!

On 4/24/20 3:33 AM, Dennis Clarke wrote:
> This looks like a kernel bug but regardless I see a lockup when I
> attempt to do certain operations :

There are kernel problems starting from around 5.x with older machines on
sparc64, the 4.19 is the last known working kernel on the old machines.

Newer machines such as T2 and newer run 5.x kernels without issues.

See this thread [1].

You can use an older installation image for the time being.

Adrian

> [1] https://lists.debian.org/debian-sparc/2020/03/msg00026.html

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



watchdog: BUG: soft lockup with most recent sparc64 installer

2020-04-23 Thread Dennis Clarke



This looks like a kernel bug but regardless I see a lockup when I
attempt to do certain operations :

phobos#
phobos# ls -1trb ..
linux-5.7-rc2.compile.log
linux-5.7-rc2.make_modules.log
linux-5.7-rc2.make_modules_install.log
linux-5.7-rc2.make_install.log
linux-5.7-rc2
linux-5.7-rc2.make_install.log2
linux-5.7-rc2.env
phobos#
phobos#
phobos# /usr/bin/time -p /usr/bin/nice -n +15 make install 2>&1 | \
> tee ../linux-5.7-rc2.make_install.log3
sh ./arch/sparc/boot/install.sh 5.7.0-rc2 arch/sparc/boot/zImage \
System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.7.0-rc2 
/boot/vmlinuz-5.7.0-rc2
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.7.0-rc2 
/boot/vmlinuz-5.7.0-rc2

update-initramfs: Generating /boot/initrd.img-5.7.0-rc2
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 5.7.0-rc2 
/boot/vmlinuz-5.7.0-rc2
[ 1319.107865] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! 
[grub-probe:2025]
[ 1319.204084] Modules linked in: sg(E) envctrl(E) display7seg(E) 
flash(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) 
jbd2(E) crc32c_generic(E) sd_mod(E) ata_generic(E) pata_cmd64x(E) 
sym53c8xx(E) libata(E) scsi_transport_spi(E) scsi_mod(E) sunhme(E)
[ 1319.516550] CPU: 0 PID: 2025 Comm: grub-probe Tainted: GE 
5.5.0-2-sparc64 #1 Debian 5.5.17-1
[ 1319.645861] TSTATE: 009911001603 TPC: 008804e0 TNPC: 
008804e4 Y: Tainted: GE

[ 1319.793536] TPC: 
[ 1319.843923] g0:  g1: 1000a838 g2: 
 g3: 00c43720
[ 1319.958414] g4: f8003beb3240 g5: 0038 g6: 
f800343e4000 g7: 0e596bf0
[ 1320.072894] o0: 00d9c458 o1: f800343e790c o2: 
f8003a2559d0 o3: 
[ 1320.187374] o4:  o5:  sp: 
f800343e6fa1 ret_pc: 008804c0

[ 1320.306434] RPC: 
[ 1320.356848] l0: 00d9c400 l1:  l2: 
0063a500 l3: eff8
[ 1320.471339] l4:  l5: ff9c l6: 
f800343e4000 l7: 00632b60
[ 1320.585819] i0: f800347c3018 i1: f80037c1b300 i2: 
00d9c400 i3: 00d9c470
[ 1320.700299] i4: 00ec i5: 1000a820 i6: 
f800343e7051 i7: 0063b0f8

[ 1320.814784] I7: 
[ 1320.866335] Call Trace:
[ 1320.898369]  [0063b0f8] chrdev_open+0x78/0x160
[ 1320.965978]  [00631398] do_dentry_open+0x158/0x440
[ 1321.038119]  [006326e8] vfs_open+0x28/0x40
[ 1321.101142]  [00646658] path_openat+0x4d8/0x1420
[ 1321.171006]  [006486b0] do_filp_open+0x50/0xc0
[ 1321.238588]  [00632a30] do_sys_open+0x170/0x260
[ 1321.307317]  [00632b80] sys_openat+0x20/0x40
[ 1321.372626]  [00406154] linux_sparc_syscall+0x34/0x44

This is completely repeatable when I try to install a new initrd image.

I will try to manually hack the grub.cfg and see if I can boot the

linux 5.7-rc2 initrd and other goodness.



--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional