update-grub causes a system lockup
I made a few minor edits to /etc/default/grub and then :
root@ceres:~# update-grub
[ 303.211729] watchdog: BUG: soft lockup - CPU#0 stuck for 22s!
[grub-probe:261]
[ 303.306793] Modules linked in: sg(E) envctrl(E) display7seg(E)
flash(E) fuse(E) configfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E)
crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) sd_mod(E) t10_pi(E)
crc_t10dif(E) crct10dif_generic(E) crct10dif_common(E) ata_generic(E)
pata_cmd64x(E) sym53c8xx(E) libata(E) scsi_transport_spi(E) scsi_mod(E)
sunhme(E)
[ 303.716582] CPU: 0 PID: 261 Comm: grub-probe Tainted: G E
5.10.0-1-sparc64 #1 Debian 5.10.5-1
[ 303.845889] TSTATE: 0000000011001606 TPC: 000000000094c4f0 TNPC:
000000000094c4f4 Y: 00000000 Tainted: G E
[ 303.993559] TPC: <misc_open+0x50/0x180>
[ 304.043951] g0: fffff800068f5ec0 g1: 0000000000000098 g2:
0000000000000000 g3: 000000000196df50
[ 304.158439] g4: fffff8000ac388a0 g5: 000000005ff099f6 g6:
fffff8000b6fc000 g7: 000000000ef10180
[ 304.272918] o0: 0000000000f24960 o1: fffff8000b6ff8ec o2:
fffff800042833d0 o3: 0000000000000000
[ 304.387399] o4: 0000000000000000 o5: 0000000000000000 sp:
fffff8000b6fef81 ret_pc: 000000000094c4c0
[ 304.506456] RPC: <misc_open+0x20/0x180>
[ 304.556875] l0: 0000000000f24800 l1: 0000000000000000 l2:
0000000000664c00 l3: 0000000661c58e90
[ 304.671360] l4: 0000000000020000 l5: fffff8000b6ff8f0 l6:
0000000000e12000 l7: 0000000000000001
[ 304.785838] i0: fffff8000ad93048 i1: fffff8000b47b600 i2:
0000000000f24800 i3: 0000000000f24978
[ 304.900318] i4: 00000000000000ec i5: 0000000010076818 i6:
fffff8000b6ff031 i7: 0000000000665838
[ 305.014814] I7: <chrdev_open+0x98/0x1e0>
[ 305.066356] Call Trace:
[ 305.098501] [<0000000000665838>] chrdev_open+0x98/0x1e0
[ 305.167245] [<000000000065ae30>] do_dentry_open+0x170/0x420
[ 305.240529] [<000000000065ca68>] vfs_open+0x28/0x40
[ 305.304691] [<0000000000671348>] path_openat+0x988/0x1100
[ 305.375707] [<0000000000673dd0>] do_filp_open+0x50/0x100
[ 305.445573] [<000000000065cd30>] do_sys_openat2+0x70/0x180
[ 305.517732] [<000000000065d268>] sys_openat+0x48/0xc0
[ 305.584186] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
~
At this point I have to signal a break to the console.
I am not yet sure exactly which binary causes this problem but I
am going with a wild guess that somewhere in /usr/sbin/grub-mkconfig
we end up with a show stopping fault. I am walking through it line
by line and trying to find the culprit.
Also this has been happening for months.
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
Reply to: