New hardware database for BSD-systems

aponomarenko please, what's the meaning of the new green Classic badges?

1639930687153.png
 
sysutils/hw-probe failed upload to upload probe – ~/HW_PROBE/LATEST/hw.info/logs/sysctl is unusually large

In recent weeks, I'm unable to upload the result of any probe from my usual computer.

Has anyone else encountered the symptom below?

ERROR: the probe is larger than 500K ERROR: failed to upload probe

The offending file:

Code:
% ls -hl /root/HW_PROBE/LATEST/hw.info/logs/sysctl
-rw-r--r--  1 root  wheel   2.0M  6 Mar 12:35 /root/HW_PROBE/LATEST/hw.info/logs/sysctl
% du -hs /root/HW_PROBE/LATEST/hw.info/logs/sysctl
521K    /root/HW_PROBE/LATEST/hw.info/logs/sysctl
%

Code:
root@mowa219-gjp4-8570p-freebsd:~ # date ; uname -aKU
Sun Mar  6 12:21:27 GMT 2022
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #5 main-n253627-25375b1415f-dirty: Sat Mar  5 14:21:40 GMT 2022     root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400053 1400053
root@mowa219-gjp4-8570p-freebsd:~ # time hw-probe -all -upload
Probe for hardware ... Ok
Reading logs ... Ok
ERROR: the probe is larger than 500K

ERROR: failed to upload probe
14.783u 3.050s 0:29.44 60.5%    47+169k 920+388io 506pf+0w
root@mowa219-gjp4-8570p-freebsd:~ # time hw-probe -all
Probe for hardware ... Ok
Reading logs ... Ok
Local probe path: /root/HW_PROBE/LATEST/hw.info
14.373u 2.797s 0:22.72 75.5%    49+169k 311+389io 35pf+0w
root@mowa219-gjp4-8570p-freebsd:~ # du -hs ~/HW_PROBE/
788K    /root/HW_PROBE/
root@mowa219-gjp4-8570p-freebsd:~ # du -h ~/HW_PROBE/
773K    /root/HW_PROBE/LATEST/hw.info/logs
782K    /root/HW_PROBE/LATEST/hw.info
783K    /root/HW_PROBE/LATEST
788K    /root/HW_PROBE/
root@mowa219-gjp4-8570p-freebsd:~ # cd ~/HW_PROBE/LATEST/hw.info/logs
root@mowa219-gjp4-8570p-freebsd:~/HW_PROBE/LATEST/hw.info/logs # bfs . -size +100k -ls
  4153348      9 -rw-r--r--   1 root     wheel      116186 Mar  6 12:35 ./usbconfig
  4153253    521 -rw-r--r--   1 root     wheel     2097152 Mar  6 12:35 ./sysctl
  4153347     25 -rw-r--r--   1 root     wheel      164544 Mar  6 12:35 ./lsusb
root@mowa219-gjp4-8570p-freebsd:~/HW_PROBE/LATEST/hw.info/logs # less sysctl
root@mowa219-gjp4-8570p-freebsd:~/HW_PROBE/LATEST/hw.info/logs # head -n 25 sysctl
kern.ostype: FreeBSD
kern.osrelease: 14.0-CURRENT
kern.osrevision: 199506
kern.version: FreeBSD 14.0-CURRENT #5 main-n253627-25375b1415f-dirty: Sat Mar  5 14:21:40 GMT 2022
    XXX@XXX:/usr/obj/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

kernXXaxvnodes: 348278
kernXXaxproc: 21636
kernXXaxfiles: 520033
kern.argmax: 524288
kern.securelevel: -1
kern.hostname: ...
kern.hostid: 33473F351CBFA5B64728CB222EA22970
kern.clockrate: { hz = 1000, tick = 1000, profhz = 8128, stathz = 127 }
kern.posix1version: 200112
kern.ngroups: 1023
kern.job_control: 1
kern.saved_ids: 0
kern.boottime: { sec = 1646543691, usec = 595130 } Sun Mar  6 05:14:51 2022
kern.domainname:
kern.osreldate: 1400053
kern.bootfile: /boot/kernel/kernel
kernXXaxfilesperproc: 468027
kernXXaxprocperuid: 19472
kern.ipcXXaxsockbuf: 2097152
root@mowa219-gjp4-8570p-freebsd:~/HW_PROBE/LATEST/hw.info/logs #
 


please, what's the meaning of the new green Classic badges?


Has anyone else encountered the symptom below?

ERROR: the probe is larger than 500K …

Maybe no-one else, but I took the opportunity to raise an issue:

 
I don't get that error.

Code:
Executing hw-probe -all -upload

Probe for hardware ... Ok
Reading logs ... Ok
WARNING: failed to detect EDID
Uploaded to DB, Thank you!

Probe URL: https://bsd-hardware.info/?probe=abcdefgh
 
I don't get that error.

Thanks.

I can disable (disallow) the excessively large file, for example:

Code:
root@mowa219-gjp4-8570p-freebsd:~ # rm -r /root/HW_PROBE/LATEST
root@mowa219-gjp4-8570p-freebsd:~ # hw-probe -all -disable sysctl
Probe for hardware ... Ok
Reading logs ... Ok
Local probe path: /root/HW_PROBE/LATEST/hw.info
root@mowa219-gjp4-8570p-freebsd:~ # du -hs /root/HW_PROBE/LATEST/hw.info
262K    /root/HW_PROBE/LATEST/hw.info
root@mowa219-gjp4-8570p-freebsd:~ # file /root/HW_PROBE/LATEST/hw.info/logs/sysctl
/root/HW_PROBE/LATEST/hw.info/logs/sysctl: cannot open `/root/HW_PROBE/LATEST/hw.info/logs/sysctl' (No such file or directory)
root@mowa219-gjp4-8570p-freebsd:~ #

I'm puzzled by the file's content, here, when it is allowed.

tail -n 100 /root/HW_PROBE/LATEST/hw.info/logs/sysctl

Do you see anything unusual?

Compare with mine at <https://github.com/linuxhw/hw-probe/issues/126#issue-1167209962>.
 
On the off, what does hw-probe -version give you?

Code:
Hardware Probe 1.6
A tool to probe for hardware, check operability and find drivers
License: LGPL-2.1-or-later OR BSD-4-Clause
 
Guys? The kind Sir warned you before. Enough is enough.
 
Back
Top