Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: SPARC optimizations

  1. #11

    Default

    Okay, will add check in pts-core for it. Can you email to michael at phoronix your full dmi_info output? Wondering why your motherboard/chipset aren't being detected.

  2. #12

    Default

    FYI, this is the patch that should fix the detection, which will be in GIt once I am back in the office.

    Code:
    diff -Naur phoronix-test-suite.orig/pts-core/library/pts-functions_system_parsing.php phoronix-test-suite/pts-core/library/pts-functions_system_parsing.php
    --- phoronix-test-suite.orig/pts-core/library/pts-functions_system_parsing.php    2009-09-16 13:17:22.000000000 -0500
    +++ phoronix-test-suite/pts-core/library/pts-functions_system_parsing.php    2009-09-16 13:44:46.000000000 -0500
    @@ -648,7 +648,16 @@
         // Read Sun's Device Driver Utility for OpenSolaris
         $values = array();
     
    -    if(is_executable(($dmi_info = "/usr/ddu/bin/dmi_info")) || is_executable(($dmi_info = "/usr/ddu/bin/i386/dmi_info")) || is_executable(($dmi_info = "/usr/ddu/bin/sparc/dmi_info")))
    +    if(in_array(phodevi::read_property("system", "kernel-architecture"), array("i686", "x86_64")))
    +    {
    +        $dmi_info = "/usr/ddu/bin/i386/dmi_info";
    +    }
    +    else
    +    {
    +        $dmi_info = "/usr/ddu/bin/sparc/dmi_info";
    +    }
    +
    +    if(is_executable($dmi_info) || is_executable(($dmi_info = "/usr/ddu/bin/dmi_info")))
         {
             $info = shell_exec($dmi_info . " " . $args . " 2>&1");
             $lines = explode("\n", $info);

  3. #13
    Join Date
    Sep 2009
    Location
    Copenhagen, Denmark
    Posts
    17

    Default

    I have mailed the dmi_info output to you. It doesn't contain any information about the motherboard, since there probably aren't a whole lot to choose from for these CPUs :P

  4. #14

    Default

    SUN T5240 though could be extracted Thanks.

  5. #15

    Default

    All of the SPARC changes should now be in Git.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •