You are not logged in.

#1 2024-07-21 15:10:04

archlinuxforever
Member
Registered: 2015-06-18
Posts: 91

How can I test harware?

Hi

My BIOS used to stay for more than three minutes with just the cursor in the top left before the BIOS logo appeared. Front USB 2.0-1 didn't work for me and front USB 2.0-2 used to fail. I used to boot with the 3 front USBs with USB drives attached. One day it occurred to me to boot without the USB disks connected and now only two or three seconds always pass from the cursor on the top left to the BIOS logo.

I have tried to run phoronix-test-suite and if I download it from https://www.phoronix-test-suite.com/?k=downloads it asks me for my password to run sudo and I do not want to give the option to run with root permissions an application downloaded from the internet. I have downloaded it from AUR v10.8.4 and it freezes when downloading some tests or gives an error when running some tests.

$ phoronix-test-suite install pts/ai-benchmark           
                                                                                                                                                                                                                                             
    Evaluating External Test Dependencies ...............................................................................................................................................................................................    
                                                           
Phoronix Test Suite v10.8.4                      
                                                           
    To Install:    pts/ai-benchmark-1.0.2                                                                                                                                                                                                    

    Determining File Requirements .......................................................................................................................................................................................................
    Searching Download Caches ...........................................................................................................................................................................................................
                                                                                                                      
    1 Test To Install                                      
        10MB Of Disk Space Is Needed                                                                                  
        1 Second Estimated Install Time       
                                                           
    pts/ai-benchmark-1.0.2:                                                                                           
        Test Installation 1 of 1           
        Approximate Install Size: 10 MB                                                                               
        Installing Test @ 16:51:48         
egrep: warning: egrep is obsolescent; using grep -E                                                                                                                                                                                          
            The installer exited with a non-zero exit status.                                                                                                                                                                                
            ERROR: ERROR: AI-Benchmark failed to install on the system!
            LOG: ~/.phoronix-test-suite/installed-tests/pts/ai-benchmark-1.0.2/install-failed.log                                                                                                                                            
$ cat ~/.phoronix-test-suite/installed-tests/pts/ai-benchmark-1.0.2/install-failed.log                                                                                                                                            
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.
    
    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.
    
    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
ERROR: AI-Benchmark failed to install on the system!
$

What I want to run is an application that tells me which components are failing (in my case the two front USB 2.0 ports). Does anyone know what the best app is to check hardware?

Thanks in advance.

Offline

#2 2024-07-21 16:21:01

cryptearth
Member
Registered: 2024-02-03
Posts: 2,105

Re: How can I test harware?

if your bios "hangs" (or rather: requires quite a long timeout) as it struggles to detect connected usb devices and it doesn't when those devices are not plugged in it hints towards the connected devices
you can't test if a port is bad with software - either a device works or it doesn't - it's a simple yes/no which can only be tested with hardware
a test suite usually requires root to gather information locked behind root access

Offline

Board footer

Powered by FluxBB