Welcome!

Please read this important information about Spectre and Meltdown vulnerabilities.
Please read this important information about MX sources lists.
News
  • MX Linux on social media: here
  • Mepis support still here
Current releases
  • MX-17 Final release info here
  • MX-16.1 release info here
  • antiX-17 release info here
    New users
    • Please read this first, and don't forget to add system and hardware information to posts!
    • Read Forum Rules

HardInfo 0.5.1 Devices->Storage Shows Nothing

Message
Author
NevilsStation
Forum Regular
Forum Regular
Posts: 165
Joined: Sun Feb 26, 2017 3:09 pm

HardInfo 0.5.1 Devices->Storage Shows Nothing

#1 Postby NevilsStation » Mon Feb 12, 2018 11:16 pm

Is this a known problem?

HardInfo 0.5.1 Devices->Storage Shows Nothing
Custom-built PC w/i7 CPU running MX-16.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4039
Joined: Wed Jul 12, 2006 4:05 pm

Re: HardInfo 0.5.1 Devices->Storage Shows Nothing

#2 Postby timkb4cq » Mon Feb 12, 2018 11:57 pm

Same here. On Github there are indications that the versions in stretch & jessie have issues that are now fixed. I'll have a look.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4039
Joined: Wed Jul 12, 2006 4:05 pm

Re: HardInfo 0.5.1 Devices->Storage Shows Nothing

#3 Postby timkb4cq » Tue Feb 13, 2018 12:13 am

Building the new version in Buster yields the same result. Since this particular bug hasn't been reported in debian, I'll have to look further tomorrow.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4039
Joined: Wed Jul 12, 2006 4:05 pm

Re: HardInfo 0.5.1 Devices->Storage Shows Nothing

#4 Postby timkb4cq » Tue Feb 13, 2018 12:38 am

After a bit of code parsing in the hardinfo GitHub, I discovered that the Storage box info is parsed from /proc/scsi/ & /proc/ide/
With newer kernels those folders do not exist. The information is presented in a different format in /sys/class/scsi_disk/ & /sys/class/ata_device/
That means the hardinfo storage module needs to be rewritten for the new standard.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

NevilsStation
Forum Regular
Forum Regular
Posts: 165
Joined: Sun Feb 26, 2017 3:09 pm

Re: HardInfo 0.5.1 Devices->Storage Shows Nothing

#5 Postby NevilsStation » Thu Feb 15, 2018 12:29 am

Thanks for chasing that down.
I am curious to know ... How do you suppose that they ever missed that one in pre-release testing?
Custom-built PC w/i7 CPU running MX-16.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4039
Joined: Wed Jul 12, 2006 4:05 pm

Re: HardInfo 0.5.1 Devices->Storage Shows Nothing

#6 Postby timkb4cq » Thu Feb 15, 2018 1:09 am

The Hardinfo project is over a decade old, and the last official release was in 2009. There has been activity in github but lately it's all applying submitted patches. The original author is not doing any coding for it anymore. The module that populates the Storage tab hasn't been touched in 18 months.
If someone could rewrite that storage.c file to work again I'm sure it would get accepted. But although I can generally follow non-obfuscated C coding, it's not in my wheelhouse. I would need docs handy just to write a "Hello World" program in C. :dizzy:

It think it stays in debian through inertia, and because it's still useful even with that bug.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

NevilsStation
Forum Regular
Forum Regular
Posts: 165
Joined: Sun Feb 26, 2017 3:09 pm

Re: HardInfo 0.5.1 Devices->Storage Shows Nothing

#7 Postby NevilsStation » Thu Feb 15, 2018 7:42 pm

So, what do people use to gather the same info?
I can't believe that no one ever wants that data.
It worked fine in Puppy - so maybe they have a patch of some sort?
Custom-built PC w/i7 CPU running MX-16.

ChrisUK
Forum Novice
Forum  Novice
Posts: 31
Joined: Tue Dec 12, 2017 1:04 pm

Re: HardInfo 0.5.1 Devices->Storage Shows Nothing

#8 Postby ChrisUK » Fri Feb 16, 2018 2:58 am

NevilsStation wrote:So, what do people use to gather the same info?
[...]


Try

Code: Select all

inxi -dx
in the terminal
Chris

MX 17 - Manjaro - LMDE

NevilsStation
Forum Regular
Forum Regular
Posts: 165
Joined: Sun Feb 26, 2017 3:09 pm

Re: HardInfo 0.5.1 Devices->Storage Shows Nothing

#9 Postby NevilsStation » Fri Feb 16, 2018 2:25 pm

ChrisUK wrote:
NevilsStation wrote:So, what do people use to gather the same info?
[...]


Try

Code: Select all

inxi -dx
in the terminal


Code: Select all

$ inxi -dx
Drives:    HDD Total Size: 1128.2GB (36.8% used)
           ID-1: /dev/sda model: ADATA_SU800 size: 128.0GB
           ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB
           Optical-1: /dev/sr0 model: HL-DT-ST DVD-RAM GH40L
           rev: 1.04 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 40x multisession: yes

audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running [/code]

That's helpful, thanks!

Is there a way to list USB devices - also missing from HardInfo - as well, please?
Custom-built PC w/i7 CPU running MX-16.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 20707
Joined: Wed Jul 19, 2006 6:13 am

Re: HardInfo 0.5.1 Devices->Storage Shows Nothing

#10 Postby Jerry3904 » Fri Feb 16, 2018 2:37 pm

lsusb?
Production: 4.13.0-1-amd64, MX-17, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.13.0-1-386. MX-17, AMD C-60 APU, 4 GB


Return to “Software / Configuration”

Who is online

Users browsing this forum: No registered users and 4 guests