[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nasty bug in /usr/sbin/grub-probe



Hi Dennis,

Unless you already know that your system's memory is ok, it might be a
good idea to test it. I don't know whether something like memtester in
Debian would work; that's what I used on a PowerBook G3 Pismo I was
using for testing GRUB (there may also be something specific to Sparc in
their PROM to test memory). The Pismo had seemingly random errors,
including non-fatal stack dumps, soft lockups, OOPs and crashes, and
also occasional silent corruption of files. It turned out that two
different 512 MB SIMMs had random errors as reported by memtester (let
it run for a few loops). Replacement SIMMs tested ok and the problems
have stopped.

-Stan

On 4/1/22 7:34 PM, Dennis Clarke wrote:
> 
> I am not so sure about this yet until I can rebuild the required grub
> binaries with full debug info. For at least a year ( or more ) I have
> seen "really bad things"(tm) happen when I try to make a new initrd on
> sparc64. Generally the machine seems to pack up and go away with nary a
> single packet out to the world. To look into this problem I use a serial
> attached good old 9600 baud console and watch what happens when I try to
> do a make install from within the Linux source tree :
> 
> 
> root@hades:~# [80684.783560] watchdog: BUG: soft lockup - CPU#0 stuck
> for 26s! [grub-probe:47798]
> [80684.880888] Modules linked in: sg(E) envctrl(E) display7seg(E)
> flash(E) fuse(E) drm(E) drm_panel_orientation_quirks(E) i2c_core(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) sym53c8xx(E)
> scsi_transport_spi(E) scsi_mod(E) scsi_common(E) sunhme(E)
> [80685.320414] CPU: 0 PID: 47798 Comm: grub-probe Tainted: G E    
> 5.16.0-6-sparc64 #1  Debian 5.16.18-1
> [80685.454308] TSTATE: 0000000011001607 TPC: 00000000009555d0 TNPC:
> 00000000009555d4 Y: 00000000    Tainted: G            E
> [80685.601952] TPC: <misc_open+0x50/0x180>
> [80685.652373] g0: 0000000000000000 g1: 0000000000000098 g2:
> 0000000000000000 g3: 000000000714ebe0
> [80685.766856] g4: fffff8000137ae40 g5: 0000000062462570 g6:
> fffff800097a8000 g7: 0000000000a88958
> [80685.881335] o0: 0000000000fa7a08 o1: fffff800097ab8ec o2:
> fffff800002f72d0 o3: 0000000000000001
> [80685.995814] o4: fffff8000087f968 o5: 0000000000000000 sp:
> fffff800097aaf81 ret_pc: 00000000009555a0
> [80686.114867] RPC: <misc_open+0x20/0x180>
> [80686.165292] l0: fffff800001b9800 l1: 0000000000fa7800 l2:
> 0000000000685d20 l3: 00000006dc08077e
> [80686.279793] l4: 0000000000000470 l5: ffffffffffffff9c l6:
> fffff800097a8000 l7: 000000000067e1a0
> [80686.394261] i0: fffff8000087f968 i1: fffff80001121960 i2:
> 0000000000fa7800 i3: 0000000000fa7a20
> [80686.508740] i4: 00000000000000ec i5: 0000000010074830 i6:
> fffff800097ab031 i7: 0000000000686958
> [80686.623218] I7: <chrdev_open+0x98/0x1c0>
> [80686.674783] Call Trace:
> [80686.706910] [<0000000000686958>] chrdev_open+0x98/0x1c0
> [80686.775642] [<000000000067bef0>] do_dentry_open+0x170/0x420
> [80686.848946] [<000000000067da08>] vfs_open+0x28/0x40
> [80686.913099] [<0000000000693500>] path_openat+0xb20/0x10e0
> [80686.984115] [<00000000006948c0>] do_filp_open+0x60/0x100
> [80687.053986] [<000000000067dcf0>] do_sys_openat2+0x70/0x180
> [80687.126146] [<000000000067e1e8>] sys_openat+0x48/0xc0
> [80687.192588] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
> [80708.777890] watchdog: BUG: soft lockup - CPU#0 stuck for 48s!
> [grub-probe:47798]
> [80708.875209] Modules linked in: sg(E) envctrl(E) display7seg(E)
> flash(E) fuse(E) drm(E) drm_panel_orientation_quirks(E) i2c_core(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) sym53c8xx(E)
> scsi_transport_spi(E) scsi_mod(E) scsi_common(E) sunhme(E)
> [80709.314756] CPU: 0 PID: 47798 Comm: grub-probe Tainted: G EL   
> 5.16.0-6-sparc64 #1  Debian 5.16.18-1
> [80709.448637] TSTATE: 0000000011001607 TPC: 00000000009555d0 TNPC:
> 00000000009555d4 Y: 00000000    Tainted: G            EL
> [80709.596283] TPC: <misc_open+0x50/0x180>
> [80709.646701] g0: 0000000000000000 g1: 0000000000000098 g2:
> 0000000000000000 g3: 000000000714ebe0
> [80709.761187] g4: fffff8000137ae40 g5: 0000000062462570 g6:
> fffff800097a8000 g7: 0000000000a88958
> [80709.875665] o0: 0000000000fa7a08 o1: fffff800097ab8ec o2:
> fffff800002f72d0 o3: 0000000000000001
> [80709.990145] o4: fffff8000087f968 o5: 0000000000000000 sp:
> fffff800097aaf81 ret_pc: 00000000009555a0
> [80710.109199] RPC: <misc_open+0x20/0x180>
> [80710.159618] l0: fffff800001b9800 l1: 0000000000fa7800 l2:
> 0000000000685d20 l3: 00000006dc08077e
> [80710.274105] l4: 0000000000000470 l5: ffffffffffffff9c l6:
> fffff800097a8000 l7: 000000000067e1a0
> [80710.388583] i0: fffff8000087f968 i1: fffff80001121960 i2:
> 0000000000fa7800 i3: 0000000000fa7a20
> [80710.503061] i4: 00000000000000ec i5: 0000000010074830 i6:
> fffff800097ab031 i7: 0000000000686958
> [80710.617539] I7: <chrdev_open+0x98/0x1c0>
> [80710.669104] Call Trace:
> [80710.701126] [<0000000000686958>] chrdev_open+0x98/0x1c0
> [80710.769859] [<000000000067bef0>] do_dentry_open+0x170/0x420
> [80710.843164] [<000000000067da08>] vfs_open+0x28/0x40
> [80710.907316] [<0000000000693500>] path_openat+0xb20/0x10e0
> [80710.978333] [<00000000006948c0>] do_filp_open+0x60/0x100
> [80711.048204] [<000000000067dcf0>] do_sys_openat2+0x70/0x180
> [80711.120364] [<000000000067e1e8>] sys_openat+0x48/0xc0
> [80711.186805] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
> [80732.772223] watchdog: BUG: soft lockup - CPU#0 stuck for 71s!
> [grub-probe:47798]
> [80732.869531] Modules linked in: sg(E) envctrl(E) display7seg(E)
> flash(E) fuse(E) drm(E) drm_panel_orientation_quirks(E) i2c_core(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) sym53c8xx(E)
> scsi_transport_spi(E) scsi_mod(E) scsi_common(E) sunhme(E)
> [80733.309077] CPU: 0 PID: 47798 Comm: grub-probe Tainted: G EL   
> 5.16.0-6-sparc64 #1  Debian 5.16.18-1
> [80733.442959] TSTATE: 0000000011001607 TPC: 00000000009555d0 TNPC:
> 00000000009555d4 Y: 00000000    Tainted: G            EL
> [80733.590605] TPC: <misc_open+0x50/0x180>
> [80733.641023] g0: 0000000000000000 g1: 0000000000000098 g2:
> 0000000000000000 g3: 000000000714ebe0
> [80733.755510] g4: fffff8000137ae40 g5: 0000000062462570 g6:
> fffff800097a8000 g7: 0000000000a88958
> [80733.869989] o0: 0000000000fa7a08 o1: fffff800097ab8ec o2:
> fffff800002f72d0 o3: 0000000000000001
> [80733.984466] o4: fffff8000087f968 o5: 0000000000000000 sp:
> fffff800097aaf81 ret_pc: 00000000009555a0
> [80734.103520] RPC: <misc_open+0x20/0x180>
> [80734.153941] l0: fffff800001b9800 l1: 0000000000fa7800 l2:
> 0000000000685d20 l3: 00000006dc08077e
> [80734.268427] l4: 0000000000000470 l5: ffffffffffffff9c l6:
> fffff800097a8000 l7: 000000000067e1a0
> [80734.382906] i0: fffff8000087f968 i1: fffff80001121960 i2:
> 0000000000fa7800 i3: 0000000000fa7a20
> [80734.497385] i4: 00000000000000ec i5: 0000000010074830 i6:
> fffff800097ab031 i7: 0000000000686958
> [80734.611862] I7: <chrdev_open+0x98/0x1c0>
> [80734.663427] Call Trace:
> [80734.695450] [<0000000000686958>] chrdev_open+0x98/0x1c0
> [80734.764181] [<000000000067bef0>] do_dentry_open+0x170/0x420
> [80734.837487] [<000000000067da08>] vfs_open+0x28/0x40
> [80734.901639] [<0000000000693500>] path_openat+0xb20/0x10e0
> [80734.972655] [<00000000006948c0>] do_filp_open+0x60/0x100
> [80735.042528] [<000000000067dcf0>] do_sys_openat2+0x70/0x180
> [80735.114688] [<000000000067e1e8>] sys_openat+0x48/0xc0
> [80735.181128] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
> [80756.766556] watchdog: BUG: soft lockup - CPU#0 stuck for 93s!
> [grub-probe:47798]
> [80756.863855] Modules linked in: sg(E) envctrl(E) display7seg(E)
> flash(E) fuse(E) drm(E) drm_panel_orientation_quirks(E) i2c_core(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) sym53c8xx(E)
> scsi_transport_spi(E) scsi_mod(E) scsi_common(E) sunhme(E)
> [80757.303402] CPU: 0 PID: 47798 Comm: grub-probe Tainted: G EL   
> 5.16.0-6-sparc64 #1  Debian 5.16.18-1
> [80757.437285] TSTATE: 0000000011001607 TPC: 00000000009555d0 TNPC:
> 00000000009555d4 Y: 00000000    Tainted: G            EL
> [80757.584931] TPC: <misc_open+0x50/0x180>
> [80757.635347] g0: 0000000000000000 g1: 0000000000000098 g2:
> 0000000000000000 g3: 000000000714ebe0
> [80757.749835] g4: fffff8000137ae40 g5: 0000000062462570 g6:
> fffff800097a8000 g7: 0000000000a88958
> [80757.864314] o0: 0000000000fa7a08 o1: fffff800097ab8ec o2:
> fffff800002f72d0 o3: 0000000000000001
> [80757.978791] o4: fffff8000087f968 o5: 0000000000000000 sp:
> fffff800097aaf81 ret_pc: 00000000009555a0
> [80758.097845] RPC: <misc_open+0x20/0x180>
> [80758.148266] l0: fffff800001b9800 l1: 0000000000fa7800 l2:
> 0000000000685d20 l3: 00000006dc08077e
> [80758.262753] l4: 0000000000000470 l5: ffffffffffffff9c l6:
> fffff800097a8000 l7: 000000000067e1a0
> [80758.377230] i0: fffff8000087f968 i1: fffff80001121960 i2:
> 0000000000fa7800 i3: 0000000000fa7a20
> [80758.491708] i4: 00000000000000ec i5: 0000000010074830 i6:
> fffff800097ab031 i7: 0000000000686958
> [80758.606188] I7: <chrdev_open+0x98/0x1c0>
> [80758.657750] Call Trace:
> [80758.689774] [<0000000000686958>] chrdev_open+0x98/0x1c0
> [80758.758506] [<000000000067bef0>] do_dentry_open+0x170/0x420
> [80758.831810] [<000000000067da08>] vfs_open+0x28/0x40
> [80758.895962] [<0000000000693500>] path_openat+0xb20/0x10e0
> [80758.966979] [<00000000006948c0>] do_filp_open+0x60/0x100
> [80759.036852] [<000000000067dcf0>] do_sys_openat2+0x70/0x180
> [80759.109012] [<000000000067e1e8>] sys_openat+0x48/0xc0
> [80759.175453] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
> [80780.760889] watchdog: BUG: soft lockup - CPU#0 stuck for 115s!
> [grub-probe:47798]
> [80780.859325] Modules linked in: sg(E) envctrl(E) display7seg(E)
> flash(E) fuse(E) drm(E) drm_panel_orientation_quirks(E) i2c_core(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) sym53c8xx(E)
> scsi_transport_spi(E) scsi_mod(E) scsi_common(E) sunhme(E)
> [80781.298872] CPU: 0 PID: 47798 Comm: grub-probe Tainted: G EL   
> 5.16.0-6-sparc64 #1  Debian 5.16.18-1
> [80781.432753] TSTATE: 0000009911001607 TPC: 00000000009555c0 TNPC:
> 00000000009555c4 Y: 00000000    Tainted: G            EL
> [80781.580400] TPC: <misc_open+0x40/0x180>
> [80781.630818] g0: 0000000000000000 g1: 0000000010074848 g2:
> 0000000000000000 g3: 000000000714ebe0
> [80781.745304] g4: fffff8000137ae40 g5: 0000000062462570 g6:
> fffff800097a8000 g7: 0000000000a88958
> [80781.859782] o0: 0000000000fa7a08 o1: fffff800097ab8ec o2:
> fffff800002f72d0 o3: 0000000000000001
> [80781.974261] o4: fffff8000087f968 o5: 0000000000000000 sp:
> fffff800097aaf81 ret_pc: 00000000009555a0
> [80782.093315] RPC: <misc_open+0x20/0x180>
> [80782.143735] l0: fffff800001b9800 l1: 0000000000fa7800 l2:
> 0000000000685d20 l3: 00000006dc08077e
> [80782.258222] l4: 0000000000000470 l5: ffffffffffffff9c l6:
> fffff800097a8000 l7: 000000000067e1a0
> [80782.372700] i0: fffff8000087f968 i1: fffff80001121960 i2:
> 0000000000fa7800 i3: 0000000000fa7a20
> [80782.487179] i4: 00000000000000ec i5: 0000000010074830 i6:
> fffff800097ab031 i7: 0000000000686958
> [80782.601657] I7: <chrdev_open+0x98/0x1c0>
> [80782.653220] Call Trace:
> [80782.685244] [<0000000000686958>] chrdev_open+0x98/0x1c0
> [80782.753977] [<000000000067bef0>] do_dentry_open+0x170/0x420
> [80782.827280] [<000000000067da08>] vfs_open+0x28/0x40
> [80782.891434] [<0000000000693500>] path_openat+0xb20/0x10e0
> [80782.962449] [<00000000006948c0>] do_filp_open+0x60/0x100
> [80783.032322] [<000000000067dcf0>] do_sys_openat2+0x70/0x180
> [80783.104482] [<000000000067e1e8>] sys_openat+0x48/0xc0
> [80783.170923] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
> [80804.755221] watchdog: BUG: soft lockup - CPU#0 stuck for 138s!
> [grub-probe:47798]
> 
> So then. That is what I call "really bad". There is nothing I can do
> other than to fire a BREAK over the serial lines to the console and drop
> the machine to firmware prompt. Nasty.
> 
> Once the machine gathers its wits and stands up once again with a
> running situation I dig into what is really going on. We have a nifty
> script called /usr/sbin/grub-mkconfig that does a whack of stuff but
> certainly it runs /usr/sbin/grub-probe very early and gathers some
> information therein.
> 
> We see these lines :
> 
> # Device containing our userland.  Typically used for root= parameter.
> GRUB_DEVICE="`${grub_probe} --target=device /`"
> GRUB_DEVICE_UUID="`${grub_probe} --device ${GRUB_DEVICE}
> --target=fs_uuid 2> /dev/null`" || true
> GRUB_DEVICE_PARTUUID="`${grub_probe} --device ${GRUB_DEVICE}
> --target=partuuid 2> /dev/null`" || true
> 
> 
> Well at the very least we can run /usr/sbin/grub-probe with command line
> parameters "--target=device /" :
> 
> 
> oot@hades:~# TERM=dumb LC_ALL=C /usr/bin/gdb -q /usr/sbin/grub-probe
> Reading symbols from /usr/sbin/grub-probe...
> Download failed: Function not implemented.  Continuing without debug
> info for /usr/sbin/grub-probe.
> (No debugging symbols found in /usr/sbin/grub-probe)
> (gdb) run --target=device /
> Starting program: /usr/sbin/grub-probe --target=device /
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libdevmapper.so.1.02.1.
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libselinux.so.1.
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libudev.so.1.
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libblkid.so.1.
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1".
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libpcre2-8.so.0.
> /dev/sda4
> [Inferior 1 (process 416) exited normally]
> (gdb) quit
> root@hades:~#
> 
> 
> OKay that works. Yes /dev/sda4 seems correct.  I see :
> 
> root@hades:~# df -h
> Filesystem      Size  Used Avail Use% Mounted on
> udev            485M     0  485M   0% /dev
> tmpfs           100M  752K   99M   1% /run
> /dev/sda4        11G  1.6G  8.8G  16% /
> tmpfs           497M     0  497M   0% /dev/shm
> tmpfs           5.0M     0  5.0M   0% /run/lock
> /dev/sda1       1.9G  106M  1.7G   6% /boot
> /dev/sda5       3.6G   44K  3.4G   1% /home
> /dev/sda6        15G  2.9G   12G  20% /usr/local
> root@hades:~#
> 
> The next line in the script /usr/sbin/grub-mkconfig fires off this :
> 
> 
> # /usr/sbin/grub-probe --device /dev/sda4 --target=fs_uuid
> 
> 
> The machine never recovers from that. Very bad things happen.
> 
> To demonstrate :
> 
> 
> root@hades:~# TERM=dumb LC_ALL=C /usr/bin/gdb -q /usr/sbin/grub-probe
> Reading symbols from /usr/sbin/grub-probe...
> Download failed: Function not implemented.  Continuing without debug
> info for /usr/sbin/grub-probe.
> (No debugging symbols found in /usr/sbin/grub-probe)
> (gdb) run --device /dev/sda4 --target=fs_uuid
> Starting program: /usr/sbin/grub-probe --device /dev/sda4 --target=fs_uuid
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libdevmapper.so.1.02.1.
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libselinux.so.1.
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libudev.so.1.
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libblkid.so.1.
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1".
> Download failed: Function not implemented.  Continuing without debug
> info for /lib/sparc64-linux-gnu/libpcre2-8.so.0.
> [16160.118042] watchdog: BUG: soft lockup - CPU#0 stuck for 26s!
> [grub-probe:422]
> [16160.213138] Modules linked in: sg(E) envctrl(E) display7seg(E)
> flash(E) fuse(E) drm(E) drm_panel_orientation_quirks(E) i2c_core(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) sym53c8xx(E)
> scsi_transport_spi(E) scsi_mod(E) scsi_common(E) sunhme(E)
> [16160.652768] CPU: 0 PID: 422 Comm: grub-probe Tainted: G            E
>     5.16.0-6-sparc64 #1  Debian 5.16.18-1
> [16160.784374] TSTATE: 0000009911001602 TPC: 00000000009555c0 TNPC:
> 00000000009555c4 Y: 00000000    Tainted: G            E
> [16160.932019] TPC: <misc_open+0x40/0x180>
> [16160.982440] g0: 0000000000000000 g1: 0000000010074848 g2:
> 0000000000000000 g3: 000000000745f218
> [16161.096924] g4: fffff8000070b780 g5: 000000006247619b g6:
> fffff80007270000 g7: 0000000000a2db10
> [16161.211402] o0: 0000000000fa7a08 o1: fffff800072738ec o2:
> fffff800002f63d0 o3: 0000000000000001
> [16161.325882] o4: fffff800008db6a0 o5: 0000000000000000 sp:
> fffff80007272f81 ret_pc: 00000000009555a0
> [16161.444935] RPC: <misc_open+0x20/0x180>
> [16161.495359] l0: fffff800001b8000 l1: 0000000000fa7800 l2:
> 0000000000685d20 l3: 00000006b480d616
> [16161.609863] l4: 0000000000000470 l5: ffffffffffffff9c l6:
> fffff80007270000 l7: 000000000067e1a0
> [16161.724329] i0: fffff800008db6a0 i1: fffff80004829ce0 i2:
> 0000000000fa7800 i3: 0000000000fa7a20
> [16161.838808] i4: 00000000000000ec i5: 0000000010074830 i6:
> fffff80007273031 i7: 0000000000686958
> [16161.953287] I7: <chrdev_open+0x98/0x1c0>
> [16162.004852] Call Trace:
> [16162.036979] [<0000000000686958>] chrdev_open+0x98/0x1c0
> [16162.105711] [<000000000067bef0>] do_dentry_open+0x170/0x420
> [16162.179015] [<000000000067da08>] vfs_open+0x28/0x40
> [16162.243168] [<0000000000693500>] path_openat+0xb20/0x10e0
> [16162.314185] [<00000000006948c0>] do_filp_open+0x60/0x100
> [16162.384057] [<000000000067dcf0>] do_sys_openat2+0x70/0x180
> [16162.456217] [<000000000067e1e8>] sys_openat+0x48/0xc0
> [16162.522657] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
> [16184.112473] watchdog: BUG: soft lockup - CPU#0 stuck for 48s!
> [grub-probe:422]
> [16184.207504] Modules linked in: sg(E) envctrl(E) display7seg(E)
> flash(E) fuse(E) drm(E) drm_panel_orientation_quirks(E) i2c_core(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) sym53c8xx(E)
> scsi_transport_spi(E) scsi_mod(E) scsi_common(E) sunhme(E)
> [16184.647054] CPU: 0 PID: 422 Comm: grub-probe Tainted: G            EL
>    5.16.0-6-sparc64 #1  Debian 5.16.18-1
> [16184.778649] TSTATE: 0000009911001602 TPC: 00000000009555c0 TNPC:
> 00000000009555c4 Y: 00000000    Tainted: G            EL
> [16184.926296] TPC: <misc_open+0x40/0x180>
> [16184.976713] g0: 0000000000000000 g1: 0000000010074848 g2:
> 0000000000000000 g3: 000000000745f218
> [16185.091200] g4: fffff8000070b780 g5: 000000006247619b g6:
> fffff80007270000 g7: 0000000000a2db10
> [16185.205678] o0: 0000000000fa7a08 o1: fffff800072738ec o2:
> fffff800002f63d0 o3: 0000000000000001
> [16185.320157] o4: fffff800008db6a0 o5: 0000000000000000 sp:
> fffff80007272f81 ret_pc: 00000000009555a0
> [16185.439210] RPC: <misc_open+0x20/0x180>
> [16185.489632] l0: fffff800001b8000 l1: 0000000000fa7800 l2:
> 0000000000685d20 l3: 00000006b480d616
> [16185.604118] l4: 0000000000000470 l5: ffffffffffffff9c l6:
> fffff80007270000 l7: 000000000067e1a0
> [16185.718596] i0: fffff800008db6a0 i1: fffff80004829ce0 i2:
> 0000000000fa7800 i3: 0000000000fa7a20
> [16185.833075] i4: 00000000000000ec i5: 0000000010074830 i6:
> fffff80007273031 i7: 0000000000686958
> [16185.947553] I7: <chrdev_open+0x98/0x1c0>
> [16185.999117] Call Trace:
> [16186.031141] [<0000000000686958>] chrdev_open+0x98/0x1c0
> [16186.099874] [<000000000067bef0>] do_dentry_open+0x170/0x420
> [16186.173178] [<000000000067da08>] vfs_open+0x28/0x40
> [16186.237331] [<0000000000693500>] path_openat+0xb20/0x10e0
> [16186.308347] [<00000000006948c0>] do_filp_open+0x60/0x100
> [16186.378220] [<000000000067dcf0>] do_sys_openat2+0x70/0x180
> [16186.450380] [<000000000067e1e8>] sys_openat+0x48/0xc0
> [16186.516820] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
> 
> 
> So therefore I think that there is a bug in /usr/sbin/grub-probe and it
> really kills the whole "make install" process from within the Linux
> kernel source tree or any other way you choose to run it.
> 
> Has anyone else seen this ?
> 
> 


Reply to: