hippy
Posts: 11223
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Pi Diagnostics - Did it do anything ?

Thu Mar 05, 2020 3:57 pm

Pi 3B (non-plus) Buster Desktop, updated/upgraded

Code: Select all

Linux Pi3B 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
I installed and ran Pi Diagnostics, did an SD Card Speed Test and it reported "PASS" but looking at the log file, given near every line reports an error, I'm not sure it actually did work. Any enlightenment ...

Code: Select all

Raspberry Pi Diagnostics - version 0.2
Thu Mar  5 15:27:46 2020

Test : SD Card Speed Test
Run 1
fio: looks like your file system does not support direct=1/buffered=0
fio: destination does not support O_DIRECT
prepare-file: No I/O performed by libaio, perhaps try --debug=io option for details?
fio: looks like your file system does not support direct=1/buffered=0
fio: destination does not support O_DIRECT
seq-write: No I/O performed by libaio, perhaps try --debug=io option for details?
fio: looks like your file system does not support direct=1/buffered=0
fio: destination does not support O_DIRECT
rand-4k-write: No I/O performed by libaio, perhaps try --debug=io option for details?
fio: looks like your file system does not support direct=1/buffered=0
fio: destination does not support O_DIRECT
rand-4k-read: No I/O performed by libaio, perhaps try --debug=io option for details?
fio: ENOSPC on laying out file, stopping
fio: pid=25322, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument
fio: pid=25323, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument
fio: pid=25324, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument
fio: pid=25325, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument
prepare-file;0;0;0;0
seq-write;0;0;0;0
rand-4k-write;0;0;0;0
rand-4k-read;0;0;0;0
/usr/share/agnostics/sdtest.sh: 13: [: Illegal number: fio: pid=25322, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument
Sequential write speed fio: pid=25322, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument kb/s (target 10000) - PASS
/usr/share/agnostics/sdtest.sh: 20: [: Illegal number: fio: pid=25323, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument
Random write speed fio: pid=25323, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument IOPS (target 500) - PASS
/usr/share/agnostics/sdtest.sh: 26: [: Illegal number: fio: pid=25324, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument
Random read speed fio: pid=25324, err=22/file:filesetup.c:701, func=open(/var/tmp/sd.test.file), error=Invalid argument IOPS (target 1500) - PASS
Test PASS
Added : Figured the problem is that I had /var/tmp as a tmpfs, so removed that, rebooted, tested again. Fist click of "Run Tests" reported "Not Run", but "Reset" and "Run Tests" did seem to work. More errors, warnings and weirdness but seems to have ultimately tested the card-

Code: Select all

Raspberry Pi Diagnostics - version 0.2
Thu Mar  5 16:14:40 2020

Test : SD Card Speed Test
Run 1
Killed

/usr/share/agnostics/sdtest.sh: 13: [: Illegal number: 
Sequential write speed  kb/s (target 10000) - PASS
/usr/share/agnostics/sdtest.sh: 20: [: Illegal number: 
Random write speed  IOPS (target 500) - PASS
/usr/share/agnostics/sdtest.sh: 26: [: Illegal number: 
Random read speed  IOPS (target 1500) - PASS
Test PASS

(mousepad:1065): Gtk-WARNING **: 16:14:56.633: Theme parsing error: <data>:2:29: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1065): Gtk-WARNING **: 16:14:56.661: Theme parsing error: <data>:3:37: The style property GtkButton:default-outside-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1065): Gtk-WARNING **: 16:14:56.661: Theme parsing error: <data>:4:27: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1065): Gtk-WARNING **: 16:14:56.661: Theme parsing error: <data>:5:31: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1065): Gtk-WARNING **: 16:14:56.662: Theme parsing error: <data>:6:28: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version
prepare-file;0;0;10220;19
seq-write;0;0;14012;27
rand-4k-write;0;0;174;43
rand-4k-read;5129;1282;0;0
Sequential write speed 14012 kb/s (target 10000) - PASS
Random write speed 43 IOPS (target 500) - FAIL
Random read speed 1282 IOPS (target 1500) - FAIL
Run 2
prepare-file;0;0;10961;21
seq-write;0;0;12750;24
rand-4k-write;0;0;2555;638
rand-4k-read;7652;1913;0;0
Sequential write speed 12750 kb/s (target 10000) - PASS
Random write speed 638 IOPS (target 500) - PASS
Random read speed 1913 IOPS (target 1500) - PASS
Test PASS
But then a subsequent test failed ...

Code: Select all

Raspberry Pi Diagnostics - version 0.2
Thu Mar  5 16:20:43 2020

Test : SD Card Speed Test
Run 1
fio: job startup hung? exiting.
fio: job startup hung? exiting.
fio: 1 job failed to start
fio: 1 job failed to start
Test FAIL

(mousepad:1209): Gtk-WARNING **: 16:21:13.941: Theme parsing error: <data>:2:29: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1209): Gtk-WARNING **: 16:21:13.942: Theme parsing error: <data>:3:37: The style property GtkButton:default-outside-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1209): Gtk-WARNING **: 16:21:13.942: Theme parsing error: <data>:4:27: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1209): Gtk-WARNING **: 16:21:13.942: Theme parsing error: <data>:5:31: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1209): Gtk-WARNING **: 16:21:13.943: Theme parsing error: <data>:6:28: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1217): Gtk-WARNING **: 16:21:14.472: Theme parsing error: <data>:2:29: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1217): Gtk-WARNING **: 16:21:14.472: Theme parsing error: <data>:3:37: The style property GtkButton:default-outside-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1217): Gtk-WARNING **: 16:21:14.472: Theme parsing error: <data>:4:27: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1217): Gtk-WARNING **: 16:21:14.473: Theme parsing error: <data>:5:31: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1217): Gtk-WARNING **: 16:21:14.473: Theme parsing error: <data>:6:28: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1226): Gtk-WARNING **: 16:21:15.285: Theme parsing error: <data>:2:29: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1226): Gtk-WARNING **: 16:21:15.285: Theme parsing error: <data>:3:37: The style property GtkButton:default-outside-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1226): Gtk-WARNING **: 16:21:15.285: Theme parsing error: <data>:4:27: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1226): Gtk-WARNING **: 16:21:15.285: Theme parsing error: <data>:5:31: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(mousepad:1226): Gtk-WARNING **: 16:21:15.286: Theme parsing error: <data>:6:28: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version
More Added : Thought the GTK warnings may have been a result of not setting Desktop Appearance defaults after updating ui-mods, so did that. Ran tests again, same won't run first time, then started, but then the entire app just disappeared from the screen ...

Code: Select all

Raspberry Pi Diagnostics - version 0.2
Thu Mar  5 16:29:37 2020

Test : SD Card Speed Test
Run 1
fio: job startup hung? exiting.
fio: 1 job failed to start
fio: job startup hung? exiting.
fio: 1 job failed to start
Test FAIL
Test FAIL

free(): invalid pointer

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 30438
Joined: Sat Jul 30, 2011 7:41 pm

Re: Pi Diagnostics - Did it do anything ?

Thu Mar 05, 2020 4:38 pm

It uses /var/tmp as its test area, for obvious reasons, so if that is not an SD card, odd things will happen/be reported.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

hippy
Posts: 11223
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Pi Diagnostics - Did it do anything ?

Thu Mar 05, 2020 4:48 pm

jamesh wrote:
Thu Mar 05, 2020 4:38 pm
It uses /var/tmp as its test area, for obvious reasons, so if that is not an SD card, odd things will happen/be reported.
Not obvious to me, but I'll accept that it does. Would also have been nice if it had figured that out, reported FAIL rather than a false-positive PASS.

But what's going on after I removed my tmpfs settings, have it on the SD Card, have rebooted and it still doesn't work ?

Return to “Troubleshooting”