Announcement

Collapse
No announcement yet.

Gentoo and PTS

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Thanks uncle_fungus,

    Installing xrandr solves the resolution problem.

    I'm just getting the hang of grep'ing the php files to find my answers. But thanks everyone for helping anyway.

    It's only the motherboard and chipset that aren't working in system-info now. But if I do the commands manually like uncle_fungus suggested, they work... mostly.

    Code:
    # lspci | grep "Host bridge"
    00:00.0 Host bridge: Intel Corporation DRAM Controller (rev 02)
    
    # lshal | grep "system.hardware.vendor"
      system.hardware.vendor = 'Gigabyte Technology Co., Ltd.'  (string)
    
    # lshal | grep "system.hardware.product"
      system.hardware.product = 'P35-DS3P'  (string)
    
    # lshal | grep "system.hardware.version"
      system.hardware.version = ''  (string)
    So that's giving "Motherboard: Unknown, Chipset: Unknown" in system-info.

    I don't know enough PHP to understand why.

    Comment


    • #17
      Same login issue

      Originally posted by PeterKraus View Post
      Hello,
      I have already posted elsewhere,
      but is there anyone running PTS on Gentoo flawlessly? I can't upload results, login.. also, the HDD space shows only one partition (9GB /) and not whole drive... Information about running programs are missing as well (using 0.5.0).

      Thanks.
      I have same login issue on version 0.6 HD space looks normal on system info though

      Comment


      • #18
        I'm pretty sure that the chipset registering as "unknown" is because lspci doesn't actually contain the whole string (i.e. there isn't an actual chipset being given).

        My lspci output gives:
        Code:
        00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
        Which pts converts to:
        Code:
        Intel 82G33/G31/P35/P31

        You can check what pts is getting out of lspci with the command below. You need to run this from your pts folder, say yes when it prompts (it'll clean up after itself).
        Code:
        php -r 'include("./pts-core/functions/pts-functions_system_parsing.php");include_once("./pts-core/functions/pts-functions.php");echo read_pci("Host bridge:") . "\n";' && rm -f {graph,user}-config.xml

        Comment


        • #19
          I tried what you suggested uncle_fungus. It gave this:

          Code:
          $ php -r 'include("./pts-core/functions/pts-functions_system_parsing.php");include_once("./pts-core/functions/pts-functions.php");echo read_pci("Host bridge:") . "\n";' && rm -f {graph,user}-config.xml
          
          Warning: mkdir(): No such file or directory in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_config.php on line 8
          
          =====================================
          PHORONIX TEST SUITE - WELCOME MESSAGE
          =====================================
          
          ###cut welcome message###
          
          Do you wish to proceed (Y/n)? y
          
          
          Warning: file_put_contents(user-config.xml): failed to open stream: Permission denied in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_config.php on line 71
          
          Warning: file_put_contents(graph-config.xml): failed to open stream: Permission denied in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_config.php on line 118
          Unknown
          So, it gave me Unknown, just like system-info.
          On a whim (possibly dumb I know), I tried it again as root, and got this:

          Code:
          # php -r 'include("./pts-core/functions/pts-functions_system_parsing.php");include_once("./pts-core/functions/pts-functions.php");echo read_pci("Host bridge:") . "\n";' && rm -f {graph,user}-config.xml
          
          Warning: mkdir(): No such file or directory in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_config.php on line 8
          
          =====================================
          PHORONIX TEST SUITE - WELCOME MESSAGE
          =====================================
          
          ###cut welcome message###
          
          Do you wish to proceed (Y/n)? y
          
          
          Warning: mkdir(): No such file or directory in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions.php on line 350
          
          Warning: mkdir(): No such file or directory in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions.php on line 352
          
          Warning: file_put_contents(/root/.phoronix-test-suite/installed-tests/.processes/phoronix-test-suite.p): failed to open stream: No such file or directory in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions.php on line 354
          Intel DRAM Controller
          So, at the end it does give something after all the error messages.
          Which made me realise that the lspci and lshal commands you'd given me before hadn't worked as my user. Ever since I've had Gentoo installed I've just always had to run most basic system commands like that as root, although I've never really bothered to think why (coming from Ubuntu where I could, without sudo).

          However:
          Code:
          # which lspci
          /usr/sbin/lspci
          Anyway, long story short. I updated my /etc/profile and added a few sbin paths, and now those commands work as a user. I now get Intel DRAM Controller for chipset, but still no luck on motherboard.
          I love this tinkering stuff!

          Comment


          • #20
            I'll look a little deeper into the motherboard detection. I've just tried this on my laptop an I get Unknown too, even though:

            Code:
            [uncle_fungus@Iguana phoronix-test-suite]$ lshal | grep "system.hardware.vendor"
              system.hardware.vendor = 'FUJITSU SIEMENS'  (string)
            [uncle_fungus@Iguana phoronix-test-suite]$ lshal | grep "system.hardware.product"
              system.hardware.product = 'AMILO Li 1718'  (string)
            [uncle_fungus@Iguana phoronix-test-suite]$ lshal | grep "system.hardware.version"
              system.hardware.version = '-1'  (string)

            Comment


            • #21
              Okay, I updated the ebuild in the "request for ebuild" post in the gentoo bug tracker. Now there is a recent ebuild for 0.9.0 and git head. Maybe someone can use them.

              Some TODOs are still open in the recipes, maybe one of you knows how to fix them.

              Comment

              Working...
              X