Jump to content

hw-probe


abarbarian

Recommended Posts

Setting up me latest windowmaker I had to fiddle around with my nvidia settings. Looking at he Arch Wiki on Nvidia I found an unknown command. As I am a sucker for trying out unknown commands this led me to try

 

Quote

1. If you do not know what graphics card you have, find out by issuing:

$ lspci -k | grep -A 2 -E "(VGA|3D)"

 

I already knew what graphics card I had by the way. Senility has not taken hold just yet. This threw up an error

 

Put brain in gear before pressing enter14:07:48-->Sat Jul 16-->~
-->lspci -k | grep -A 2 -E "(VGA|3D)"
lspci: Unable to load libkmod resources: error -2
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
        Subsystem: ZOTAC International (MCO) Ltd. Device 2424
        Kernel driver in use: nvidia

 

I could not find a single post regarding this error anywhere on the net. There were some posts about lspci errors but not the same as mine.

 

Looking into lspci on the net led me to this link

 

https://github.com/linuxhw/LsPCI

 

Quote

Most popular PCI devices

This is a project to identify most popular PCI devices in modern computers and share detailed lspci reports collected by Linux users at https://linux-hardware.org.

Everyone can contribute to this repository by uploading probes of their computers by the hw-probe tool:

sudo -E hw-probe -all -upload

Total reports: 239319.

 

I thought the 239319 reports figure was pretty darn small and thought I would help out by running the hw-probe tool. Seemed easy enough and penguin land can always do with a helping hand. Specially as us penguinistas are computing with free software and stuff.

 

There is a Arch Wiki page for hw-probe

 

https://wiki.archlinux.org/title/Hardware_probe

 

Quote

Hardware probe

 
 
 

Hardware probe is a tool to check operability of hardware devices, collect system logs and contribute to the hardware database and user statistics.

 

The developers page

 

https://github.com/linuxhw/hw-probe

Quote

HW PROBE 1.6

Hardware Probe Tool (hw-probe) — a tool to probe for hardware, check operability and find drivers with the help of Linux hardware database: https://linux-hardware.org

For BSD users: https://bsd-hardware.info

 

Probe — is a snapshot of your computer's hardware state and logs. The tool checks operability of devices by analysis of logs and returns a permanent url to view the probe of the computer.

Share your probes and logs with Linux/BSD developers in order to debug and fix problems on your computer. Simplify inventory of hardware in your company. Please read more in our blog.

If some of your computer devices doesn't work due to a missed driver then the tool will suggest a proper Linux kernel version according to the LKDDb or third-party drivers.

Sample probe: https://linux-hardware.org/?probe=b394035f90

You can create a probe of your computer with the help of AppImage, Docker, Snap, Flatpak, Live CD/USB or RPM/Deb package.

 

By creating probes you contribute to the "HDD/SSD Desktop-Class Reliability Test" study: https://github.com/linuxhw/SMART

 

https://aur.archlinux.org/packages/hw-probe#comment-874170

 

So I tried to install hw-probe with my trusty AUR helper pacaur and got this

 

 Put brain in gear before pressing enter14:53:10-->Sat Jul 16-->~
-->pacaur -S hw-probe
:: Package hw-probe not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for edid-decode (dependency tree: hw-probe edid-decode)

 

Hmm tried to find edid-decode and got these replies

 

 Put brain in gear before pressing enter14:52:01-->Sat Jul 16-->~
-->sudo pacman -S edid-decode
error: target not found: edid-decode
 Put brain in gear before pressing enter14:52:14-->Sat Jul 16-->~
-->trizen -S edid-decode
:: edid-decode not found.
 Put brain in gear before pressing enter14:52:50-->Sat Jul 16-->~
-->pacaur -S edid-decode
:: Package edid-decode not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for edid-decode

 

Now pacaur needs auracle and on the AUR page for hw-probe someone mentioned that it failed to install due to auracle not finding edid-decode. So I installed trizen and tried again to instal hw-probe and got this

 

Repository      : AUR
Name            : hw-probe
Version         : 1.6.4-1
Maintainer      : 1ace
URL             : https://github.com/linuxhw/hw-probe
AUR URL         : https://aur.archlinux.org/packages/hw-probe
License         : GPLv2
Votes           : 30
Popularity      : 0.87%
Installed       : No
Out Of Date     : No
Depends On      : perl>=5
                  hwinfo
                  curl
                  dmidecode
                  pciutils
                  usbutils
                  net-tools
                  ddcutil
                  edid-decode
Make Deps       : None
Check Deps      : None
Optional Deps   : hdparm
                  smartmontools
                  inxi
                  efibootmgr
                  pnputils
Provides        : None
Conflicts With  : None
Replaces        : None
Package Base    : hw-probe
Last Update     : Fri Jun 24 10:23:11 2022
Description     : Tool to probe for hardware, check its operability and upload result to the Linux hardware DB: http://linux-hardware.org

:: edid-decode not found.
:: Dependency not found: edid-decode
==> Making package: hw-probe 1.6.4-1 (Sat 16 Jul 2022 14:48:31 BST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: edid-decode
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> edid-decode
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
:: Unable to build hw-probe - makepkg exited with code: 8
=>> Try again? [y/N]: n

 

The AUR hw-probe page mentions that yay works to install it. However a quick look at the yay home page tells me that it is a tad complicated and there are no  clear instructions on its use there an I can not be bothered reading through the man pages just to install one program.

 

I mentioned my findings on the hw-probe AUR page so maybe someone will be able to help me out with trizen or pacaur as I am not going to go the yay route.

 

So was I able to contribute ? No not really as I can not install hw-probe which is a shame as every little helps. Apparently you can use the tool to trouble shoot or gain information about your own pc too.

 

🤔

Link to comment
Share on other sites

securitybreach

Just install the missing dep:

 

[comhack@Cerberus ~]$ paru -Ss edid-decode
aur/edid-decode-git r621.8a8d673-1 [+52 ~1.51]
    EDID decoder and conformance tester
 

Link to comment
Share on other sites

15 hours ago, securitybreach said:

Just install the missing dep:

 

[comhack@Cerberus ~]$ paru -Ss edid-decode
aur/edid-decode-git r621.8a8d673-1 [+52 ~1.51]
    EDID decoder and conformance tester
 

 

You are my favourite AUR helper 😜 If only I had RTFM I would have known about -Ss.

 



Put brain in gear before pressing enter12:18:13-->Sun Jul 17-->~
-->pacaur -Ss edid-decode
aur/edid-decode-git r621.8a8d673-1 (52, 1.489969) [installed: r632.582c935-1]
    EDID decoder and conformance tester

 

 

Hw-probe gives you a ton of in depth information about your pc. Check out my results here,

 

https://linux-hardware.org/?probe=5096e0dfea

 

The only thing they got wrong was my DE which they gave as Gnome when it should have been Window Maker. 😎

Edited by abarbarian
idiot at keyboard
  • Like 1
Link to comment
Share on other sites

Hedon James
2 hours ago, abarbarian said:

(snipped)

 

Hw-probe gives you a ton of in depth information about your pc. Check out my results here,

 

https://linux-hardware.org/?probe=5096e0dfea

 

The only thing they got wrong was my DE which they gave as Gnome when it should have been Window Maker. 😎

 Is Window Maker a Desktop Environment, or a Window Manager?

Also....referencing your HW-probe output...better replace that 1TB nvme drive before it dies!

Link to comment
Share on other sites

securitybreach
12 minutes ago, Hedon James said:

Also....referencing your HW-probe output...better replace that 1TB nvme drive before it dies!

 

Huh??? I have been using NVME drives for years at work and home without any issues. Now when they eventually die, they are more difficult to recover but like any drive type, you should keep backups

  • Agree 1
Link to comment
Share on other sites

securitybreach

Also, odd that the AUR helper you are using didn't pull it as a dep. Paru did just fine with my test.

 

 

Link to comment
Share on other sites

14 minutes ago, Hedon James said:

 Is Window Maker a Desktop Environment, or a Window Manager?

Also....referencing your HW-probe output...better replace that 1TB nvme drive before it dies!

 

https://www.windowmaker.org/

 

It is a window manager. Probably the best in the world. 😍

 

That warning about the drive is just a heads up that there are a few "Media and Data Integrity Errors: 25" which is not a lot when you see how much has been written and read on the drive. They were probably caused by the 65 unsafe shutdowns. 😎

Link to comment
Share on other sites

4 minutes ago, securitybreach said:

Also, odd that the AUR helper you are using didn't pull it as a dep. Paru did just fine with my test.

 

 

 

Well I was looking for edid-decode an none of the threeways I looked gave a result. So your paru must have extra code that looks for " -git " if it can not find a program. Possibly as lots of programs are now changed over to " -git " ones these days. Pacaur and me are pretty long in the tooth wheras you and paru are young and up to date. 😂

Link to comment
Share on other sites

securitybreach
22 minutes ago, abarbarian said:

 

Well I was looking for edid-decode an none of the threeways I looked gave a result. So your paru must have extra code that looks for " -git " if it can not find a program. Possibly as lots of programs are now changed over to " -git " ones these days. Pacaur and me are pretty long in the tooth wheras you and paru are young and up to date. 😂

 

Pacaur also shows git packages:

 

2DW3i80.png

 

I think the problem is you are only using -S which means it only looks for what you specifically typed. On pacman and all AUR helpers, the search context is pacman -Ss name.

 

They all use pacman's syntax:

 

pacaur -Ss name

yay -Ss name

paru -Ss name

 

All do the same as pacman -Ss

  • +1 1
Link to comment
Share on other sites

17 hours ago, securitybreach said:

I think the problem is you are only using -S which means it only looks for what you specifically typed. On pacman and all AUR helpers, the search context is pacman -Ss name.

 

I was. Thanks for the info. So much to learn so little time. 😛

Link to comment
Share on other sites

18 hours ago, raymac46 said:

Here's mine.

 

That might be a ten year old pc but it has USB3 and all you need for daily use. An I bet it still runs along very sweetly for average usage. :worthy:

Link to comment
Share on other sites

Hedon James
22 hours ago, securitybreach said:

 

Huh??? I have been using NVME drives for years at work and home without any issues. Now when they eventually die, they are more difficult to recover but like any drive type, you should keep backups

I looked at his hw-probe output, which indicated his NVME device is "malfunctioning" with SMART errors, recommending replacement.

22 hours ago, abarbarian said:

 

https://www.windowmaker.org/

 

It is a window manager. Probably the best in the world. 😍

 

That warning about the drive is just a heads up that there are a few "Media and Data Integrity Errors: 25" which is not a lot when you see how much has been written and read on the drive. They were probably caused by the 65 unsafe shutdowns. 😎

just speculation on my part, but MAYBE that's why your DE got mis-diagnosed?  It's looking for a DE, but found a WM in its place.  Still....the Gnome result is incorrect.  Sorta makes me question the reliability of that tool.  JMO...

Link to comment
Share on other sites

39 minutes ago, Hedon James said:

I looked at his hw-probe output, which indicated his NVME device is "malfunctioning" with SMART errors, recommending replacement.

just speculation on my part, but MAYBE that's why your DE got mis-diagnosed?  It's looking for a DE, but found a WM in its place.  Still....the Gnome result is incorrect.  Sorta makes me question the reliability of that tool.  JMO...

 

Inxi must be awful then as it does not even try to find an answer. 🤣

 

     Put brain in gear before pressing enter14:10:45-->Mon Jul 18-->~
-->inxi -F
System:
  Host: longship Kernel: 5.18.12-arch1-1 arch: x86_64 bits: 64 Desktop: N/A
    Distro: Arch Linux

 

Link to comment
Share on other sites

48 minutes ago, Hedon James said:

I looked at his hw-probe output, which indicated his NVME device is "malfunctioning" with SMART errors, recommending replacement.

 

The smart reply 😂

 

https://www.hdsentinel.com/forum/viewtopic.php?t=12915

 

Quote

We saw an interesting case where a user was having many IO completion errors with his ADATA NVMe. Though HD Sentinel reports the drive is "PERFECT" and at 95% health, there are 33 million reported "Media and Data Integrity Errors", which is a value we would have expected to influence the health number or otherwise be flagged more prominently.

 

 

The sensible reply 😇

 

https://www.micron.com/-/media/client/global/documents/products/data-sheet/ssd/9200_u_2_pcie_ssd.pdf

 

Quote

175:160 Media errors Contains the number of occurrences where the controller detected an
unrecovered data integrity error. Errors such as uncorrectable ECC, CRC
checksum failure, or LBA tag mismatch are included in this field.

 

I'll start to worry when I get to 32999999 errors 😙

Link to comment
Share on other sites

10 hours ago, abarbarian said:

 

That might be a ten year old pc but it has USB3 and all you need for daily use. An I bet it still runs along very sweetly for average usage. :worthy:

My main Linux desktop. Built it myself and it's never run anything but Linux. it is a second generation Bulldozer chip so nothing special but it is a quad core and with an SSD it is plenty fast enough for daily use.

Link to comment
Share on other sites

securitybreach
8 hours ago, Hedon James said:

I looked at his hw-probe output, which indicated his NVME device is "malfunctioning" with SMART errors, recommending replacement.

just speculation on my part, but MAYBE that's why your DE got mis-diagnosed?  It's looking for a DE, but found a WM in its place.  Still....the Gnome result is incorrect.  Sorta makes me question the reliability of that tool.  JMO...

 

Well SMART will throw up false errors for NVME drives as pointed out here: https://forum.openmediavault.org/index.php?thread/31080-useless-smart-error-is-being-alerted-for-nvme-drive/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...