Page 1 of 1

KDiskMark not working

PostPosted: Dec 28th, '23, 22:01
by daniewicz
Mageia 9 with KDE.

I installed KDiskMark from the repo's. When I run KDiskMark I get this error:
Code: Select all
No FIO was found. Please install FIO before using KDiskMark.


But fio is already installed. When I run fio from a console I get this error:
Code: Select all
Illegal instruction (core dumped)

Re: KDiskMark not working

PostPosted: Dec 28th, '23, 23:57
by sturmvogel
Force install both packages again. Works here with 64bit Plasma and fio-3.33-1.mga9 and kdiskmark-3.1.2-1.mga9

Re: KDiskMark not working

PostPosted: Dec 29th, '23, 00:58
by daniewicz
In a console I did the following:

Code: Select all
 urpmi --replacepkgs kdiskmark-3.1.2-1.mga9
urpmi --replacepkgs fio-3.33-1.mga9


Same error messages as original effort.

Re: KDiskMark not working

PostPosted: Dec 29th, '23, 01:13
by doktor5000
As it only seems to happen on your box, you might need to find out why it dumps core. Check and follow https://wiki.mageia.org/en/Debugging_software_crashes

Also some more information on your hardware might be helpful, e.g. the output of
Code: Select all
inxi -bd

Re: KDiskMark not working

PostPosted: Dec 29th, '23, 01:42
by daniewicz
inxi -bd gives
Code: Select all
System:
  Host: localhost Kernel: 6.5.13-desktop-6.mga9 arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.27.5 Distro: Mageia 9
Machine:
  Type: Unknown System: Apple product: MacPro3,1 v: 1.0
    serial: <superuser required>
  Mobo: Apple model: Mac-F42C88C8 v: Proto1 serial: <superuser required>
    UEFI: Apple v: MP31.88Z.006C.B05.0802291410 date: 02/29/08
CPU:
  Info: 2x 4-core Intel Xeon E5462 [MCP SMP] speed (MHz): avg: 2397
    min/max: 2400/2800
Graphics:
  Device-1: NVIDIA GM107GL [Quadro K620] driver: nouveau v: kernel
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 driver: X:
    loaded: nouveau unloaded: fbdev,modesetting,vesa dri: nouveau gpu: nouveau
    resolution: 2560x1440~60Hz
  API: OpenGL v: 4.3 Mesa 23.1.9 renderer: NV117
Network:
  Device-1: Intel 80003ES2LAN Gigabit Ethernet driver: e1000e
  Device-2: Intel 80003ES2LAN Gigabit Ethernet driver: e1000e
  Device-3: TP-Link 802.11ac NIC type: USB driver: rtl88x2bu
Drives:
  Local Storage: total: 2.73 TiB used: 21.94 GiB (0.8%)
  ID-1: /dev/sda vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
  ID-2: /dev/sdb vendor: Western Digital model: WD1001FALS-00E8B0
    size: 931.51 GiB
  ID-3: /dev/sdc vendor: Western Digital model: WD1003FZEX-00K3CA0
    size: 931.51 GiB
  Optical-1: /dev/sr0 vendor: PIONEER model: DVD-RW DVR-112D
    dev-links: cdrom,cdrw,dvd,dvdrw
  Features: speed: 32 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r
Info:
  Processes: 267 Uptime: 22h 49m Memory: 31.35 GiB used: 1.66 GiB (5.3%)
  Shell: Bash inxi: 3.3.26

Re: KDiskMark not working

PostPosted: Dec 29th, '23, 02:04
by daniewicz
gdb fio gives

Code: Select all
GNU gdb (GDB) 12.1-7.mga9 (Mageia release 9)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-mageia-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from fio...
Reading symbols from /usr/lib/debug/usr/bin/fio-3.33-1.mga9.x86_64.debug...
(gdb) run fio
Starting program: /usr/bin/fio fio
Missing separate debuginfos, use: debuginfo-install glibc-2.36-51.mga9.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
fio_client_hash_init () at client.c:96
96                      INIT_FLIST_HEAD(&client_hash[i]);
Missing separate debuginfos, use: debuginfo-install lib64aio1-0.3.113-1.mga9.x86_64 lib64zlib1-1.2.13-1.1.mga9.x86_64
(gdb) bt full
#0  fio_client_hash_init () at client.c:96
        i = 0
#1  0x00007ffff7d037e6 in __libc_start_main_impl () from /lib64/libc.so.6
No symbol table info available.
#2  0x000000000040e601 in _start ()
No symbol table info available.

Re: KDiskMark not working

PostPosted: Dec 29th, '23, 12:50
by doktor5000
There are further debuginfo packages required to get full symbols for the backtrace:
daniewicz wrote:Missing separate debuginfos, use: debuginfo-install glibc-2.36-51.mga9.x86_64
[...]
Missing separate debuginfos, use: debuginfo-install lib64aio1-0.3.113-1.mga9.x86_64 lib64zlib1-1.2.13-1.1.mga9.x86_64

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 00:46
by daniewicz
I was unsuccessful.

I do not have glibc-2.36-51.mga9.x86_64 but rather glibc-2.36-45.mga9.x86_64 available to me.

I am going to give up on KDiskMark and instead rely on hdparm.

Code: Select all
debuginfo-install glibc-2.36-51.mga9.x86_64
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch   
(medium "Core Release Debug (distrib47)")
  glibc-debuginfo                2.36         45.mga9       x86_64 
  glibc-debugsource              2.36         45.mga9       x86_64  (recommended)
137MB of additional disk space will be used.
23MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y


    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/debug/core/release/glibc-debugsource-2.36-45.mga9.x86_64.rpm
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/debug/core/release/glibc-debuginfo-2.36-45.mga9.x86_64.rpm
installing glibc-debugsource-2.36-45.mga9.x86_64.rpm glibc-debuginfo-2.36-45.mga9.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ################################################################################
      1/2: glibc-debugsource     ################################################################################
      2/2: glibc-debuginfo       #########################error: failed to open dir sbin of /usr/lib/debug/sbin/: File exists
#######################################################
error: unpacking of archive failed on file /usr/lib/debug/sbin/ldconfig.debug;658f490a: cpio: open failed - Directory not empty
ERROR: 'unpack' failed for glibc-debuginfo-6:2.36-45.mga9.x86_64
error: glibc-debuginfo-6:2.36-45.mga9.x86_64: install failed

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 01:51
by morgano
You really should do a full update of your system!
glibc-2.36-51 is in mga9 regular updates repo.

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 04:59
by daniewicz
Fully updated using kernel.org mirrors.

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 15:17
by doktor5000
Do you have Core Updates Debug repo enabled ?

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 15:23
by morgano
That is probably the problem
i.e glibc-debuginfo-2.36-51.mga9.x86_64.rpm is at
http://mirrors.kernel.org/mageia/distri ... e/updates/

To see what repos are enabled:
Code: Select all
$ urpmq --list-media active --list-url

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 18:58
by daniewicz
Code: Select all
urpmq --list-media active --list-url
Core Release (distrib46) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release
Core Release Debug (distrib47) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/debug/core/release
Core Updates (distrib48) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/updates
Core Backports (distrib52) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/backports
Nonfree Release (distrib56) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/nonfree/release
Nonfree Updates (distrib58) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/nonfree/updates
Nonfree Backports (distrib62) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/nonfree/backports
Tainted Release (distrib66) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/tainted/release
Tainted Updates (distrib68) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/tainted/updates
Tainted Backports (distrib72) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/tainted/backports
Core 32bit Release (distrib76) https://mirrors.kernel.org/mageia/distrib/9/i586/media/core/release
Core 32bit Updates (distrib77) https://mirrors.kernel.org/mageia/distrib/9/i586/media/core/updates
Core 32bit Backports (distrib79) https://mirrors.kernel.org/mageia/distrib/9/i586/media/core/backports
Nonfree 32bit Release (distrib81) https://mirrors.kernel.org/mageia/distrib/9/i586/media/nonfree/release
Nonfree 32bit Updates (distrib82) https://mirrors.kernel.org/mageia/distrib/9/i586/media/nonfree/updates
Nonfree 32bit Backports (distrib84) https://mirrors.kernel.org/mageia/distrib/9/i586/media/nonfree/backports
Tainted 32bit Release (distrib86) https://mirrors.kernel.org/mageia/distrib/9/i586/media/tainted/release
Tainted 32bit Updates (distrib87) https://mirrors.kernel.org/mageia/distrib/9/i586/media/tainted/updates
Tainted 32bit Backports (distrib89) https://mirrors.kernel.org/mageia/distrib/9/i586/media/tainted/backports
Core Release (distrib91) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release
Core Updates (distrib93) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates
Nonfree Release (distrib101) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/nonfree/release
Nonfree Updates (distrib103) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/nonfree/updates
Tainted Release (distrib111) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/tainted/release
Tainted Updates (distrib113) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/tainted/updates

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 19:27
by morgano
Please also enable Core Updates Debug, and it will then find the updated debug packages corresponding to the updated glibc.

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 19:28
by daniewicz
Ok I added the Core Updates Debug repo.

Code: Select all
$ urpmq --list-media active --list-url
Core Release (distrib46) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release
Core Release Debug (distrib47) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/debug/core/release
Core Updates (distrib48) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/updates
Core Updates Debug (distrib49) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/debug/core/updates
Core Backports (distrib52) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/backports
Nonfree Release (distrib56) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/nonfree/release
Nonfree Updates (distrib58) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/nonfree/updates
Nonfree Backports (distrib62) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/nonfree/backports
Tainted Release (distrib66) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/tainted/release
Tainted Updates (distrib68) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/tainted/updates
Tainted Backports (distrib72) https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/tainted/backports
Core 32bit Release (distrib76) https://mirrors.kernel.org/mageia/distrib/9/i586/media/core/release
Core 32bit Updates (distrib77) https://mirrors.kernel.org/mageia/distrib/9/i586/media/core/updates
Core 32bit Backports (distrib79) https://mirrors.kernel.org/mageia/distrib/9/i586/media/core/backports
Nonfree 32bit Release (distrib81) https://mirrors.kernel.org/mageia/distrib/9/i586/media/nonfree/release
Nonfree 32bit Updates (distrib82) https://mirrors.kernel.org/mageia/distrib/9/i586/media/nonfree/updates
Nonfree 32bit Backports (distrib84) https://mirrors.kernel.org/mageia/distrib/9/i586/media/nonfree/backports
Tainted 32bit Release (distrib86) https://mirrors.kernel.org/mageia/distrib/9/i586/media/tainted/release
Tainted 32bit Updates (distrib87) https://mirrors.kernel.org/mageia/distrib/9/i586/media/tainted/updates
Tainted 32bit Backports (distrib89) https://mirrors.kernel.org/mageia/distrib/9/i586/media/tainted/backports
Core Release (distrib91) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release
Core Updates (distrib93) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates
Nonfree Release (distrib101) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/nonfree/release
Nonfree Updates (distrib103) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/nonfree/updates
Tainted Release (distrib111) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/tainted/release
Tainted Updates (distrib113) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/tainted/updates


Still don't have the needed glibc.

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 19:38
by daniewicz
Code: Select all
# debuginfo-install glibc-2.36-51.mga9.x86_64
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch   
(medium "Core Updates Debug (distrib49)")
  glibc-debuginfo                2.36         51.mga9       x86_64 
  glibc-debugsource              2.36         51.mga9       x86_64  (recommended)
137MB of additional disk space will be used.
23MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y


    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/debug/core/updates/glibc-debuginfo-2.36-51.mga9.x86_64.rpm
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/debug/core/updates/glibc-debugsource-2.36-51.mga9.x86_64.rpm
installing glibc-debuginfo-2.36-51.mga9.x86_64.rpm glibc-debugsource-2.36-51.mga9.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ################################################################################
      1/2: glibc-debugsource     ################################################################################
      2/2: glibc-debuginfo       ###########error: failed to open dir lib64 of /usr/lib/debug/lib64/: File exists
#####################################################################
error: unpacking of archive failed on file /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug;6590550f: cpio: open failed - Directory not empty
ERROR: 'unpack' failed for glibc-debuginfo-6:2.36-51.mga9.x86_64
error: glibc-debuginfo-6:2.36-51.mga9.x86_64: install failed

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 19:45
by doktor5000
daniewicz wrote: 2/2: glibc-debuginfo ###########error: failed to open dir lib64 of /usr/lib/debug/lib64/: File exists
#####################################################################
error: unpacking of archive failed on file /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug;6590550f: cpio: open failed - Directory not empty
ERROR: 'unpack' failed for glibc-debuginfo-6:2.36-51.mga9.x86_64
error: glibc-debuginfo-6:2.36-51.mga9.x86_64: install failed

That is a packaging bug and should be reported against glibc

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 19:59
by daniewicz
Can you walk me through the process?

Re: KDiskMark not working

PostPosted: Dec 30th, '23, 21:09
by daniewicz
https://bugs.mageia.org/show_bug.cgi?id=32668 has been successfully created