Using ioreg to identify a specific CPU

Hi all,
I'm trying to repair a PowerMac G5 I got off of eBay. It's a dual 2.0GHz model, I believe 1st generation (PowerPC 970 v2.2 chips). I believe I've narrowed down the problem to a single bad, slowly failing CPU.
I get the machine to boot up w/two CPUs active only for between a few mins. to an hour or two. Then it freezes up and I have to press the "on" button for the usual 5secs. or so to get it to shutdown.
When I get the machine back up (sometimes immediately, sometimes after repeated pressing the power button), it generally comes up with only 1 CPU running. with only 1 CPU running, the machine stays up and stable for days at a time.
I generally have had the machine boot-up maybe 1/3 of the time w/2 CPUs active. The rest of the time only 1 CPU comes up.
I've confirmed the two different states several ways: (a) looking in Apple System Profiler, (b) System Preferences/Processor (after installing the CHUD tools), and (c) running sysctl -a from the command line and diff-ing the results from each boot-up. All show either 2 CPUs running, or only 1 CPU active.
Looking in ioreg , specifically the class IOPlatformDevice, in Tiger (10.4.11) I see the property AAPL,phandle which seems to have a value of an address.
Which property in which class in ioreg contains the actual "location" of each active CPU?
In the PowerMac G5s (dual models) the CPUs are arranged vertically on the motherboard (when the tower is in the usual upright position). In the PM G4s (dual models) the CPUs are arranged horizontally.
I'd like to just identify (and replace) the one defective CPU in the G5 rather than both.
Any tips or links to documentation on ioreg, would be greatly appreciated!
Ed

In reading the ADC documentation, I ran across a nice GUI into the ioreg data, IORegistryExplorer in /Developer/Applications (in 10.2.8 Server), or /Developer/Applications/Utilities (in 10.4.11).
When I follow the chain: Service Plane = IODeviceTree/root/device-tree/cpus
I see a single entry "PowerPC,G5@0 on the PM G5 and two entries on my dual CPU G4s (PowerPC,G4@0 and PowerPC,G4@1).
Hence, my question is narrowed to is the "0" CPU the lower or the upper CPU in the PM G5 dual models?
Ed

Similar Messages

  • How to identify one specific row in the table STPO?

    Hi!
    How can I identify one specific row in the table STOP? As an input for my ABAP function I have MatNr, Plant, Alternative, BomUsage and Bom Position (0010, 0020...). With these values I can ask the table MAST to get the STLNR. But how can I get all needed values to specify an entry in the table STPO then?
    Thanks,
    Konrad

    Here is a actual working code that we used here.
    *-- get the bom details
      li_mast-mandt = sy-mandt.
      li_mast-matnr = material.
      li_mast-werks = '6000'.
      li_mast-stlan = '1'.
      call function 'GET_MAST'
           exporting
                all             = 'X'
                no_buffer       = 'X'
                set             = 'X'
           tables
                wa              = li_mast
           exceptions
                call_invalid    = 1
                end_of_table    = 2
                get_without_set = 3
                key_incomplete  = 4
                key_invalid     = 5
                no_record_found = 6
                others          = 7.
      if sy-subrc <> 0.
        clear: kdf_material,
               kdf_material_desc.
        exit.
      endif.
      loop at li_mast.
    *-- get the valid headers
        move-corresponding li_mast to li_stko.
        li_stko-stlty = 'M'.
        call function 'GET_STKO'
             exporting
                  all             = 'X'
                  datub           = l_valid_date
                  datuv           = l_valid_date
                  del             = ' '
                  no_buffer       = 'X'
                  set             = 'X'
                  valid           = 'X'
             tables
                  wa              = li_stko
             exceptions
                  call_invalid    = 1
                  end_of_table    = 2
                  get_without_set = 3
                  key_incomplete  = 4
                  key_invalid     = 5
                  no_record_found = 6
                  others          = 7.
        if sy-subrc <> 0.
          continue.
        endif.
        loop at li_stko.
          move-corresponding li_stko to li_stpo.
          call function 'GET_STPO'
           exporting
             all                    = 'X'
             alter                  = li_stko-stlal
             datub                  = l_valid_date
             datuv                  = l_valid_date
             no_buffer              = 'X'
             set                    = 'X'
             valid                  = 'X'
    *        VIEWNAME               =
           tables
             add_wa                 = li_cszalt
             wa                     = li_stpo
           exceptions
             call_invalid           = 1
             end_of_table           = 2
             get_without_set        = 3
             key_incomplete         = 4
             key_invalid            = 5
             no_record_found        = 6
             viewname_invalid       = 7
             others                 = 8.
          if sy-subrc <> 0.
            continue.
          else.
            exit.
          endif.
        endloop.
        if not li_stpo[] is initial.
          exit.
        endif.
      endloop.

  • A process named "update.exe *32" and description is "Firefox" keeps using a lot of memory and cpu; the longer forefox is on, the worse it gets. How to prevent?

    using Windows 7, firefox 15.0.1
    This process uses more and more memory and CPU, sometimes there are several of these processes running. If I kill these processes, it doesn't seem to affect the utilization of Firefox. Then the process slowly starts to use more and more memory and CPU all over again.
    This happens all the time, every time I use Firefox.

    I do not have a ComObjects folder under C:\Program Files (x86)\Common Files. That is not part of Firefox.
    wscript.exe is a utility included with Windows to run scripts at the system level. It generally is not used by major programs. If update.exe is starting up with Windows, you may be able to find the script that wscript.exe is running using [http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx Autoruns].
    It definitely sounds viral. I suggest deleting the update.exe file, although Windows might prevent you from doing that until you kill all related processes. And if you have a persistent infection, the file may be restored or re-downloaded.
    It might be easiest to seek assistance from a forum more dedicated to malware cleanups such as the following:
    * [http://www.bleepingcomputer.com/forums/forum22.html Virus, Trojan, Spyware, and Malware Removal Logs - BleepingComputer.com]
    * [http://forums.majorgeeks.com/forumdisplay.php?f=35 Malware Removal - MajorGeeks Support Forums]
    Hope you get it removed.

  • I'm using a Mac.  I "upgraded" to LR5 from LR4.  I do not want to be a member of the "Creative Cloud".  I just want to use the software I purchased, specifically to upload to my SmugMug account.  Is there a way to use an add-on to do this?  Aperture and L

    I'm using a Mac.  I "upgraded" to LR5 from LR4.  I do not want to be a member of the "Creative Cloud".  I just want to use the software I purchased, specifically to upload to my SmugMug account.  Is there a way to use an add-on to do this?  Aperture and LR4 were easy but I'm finding it impossible without subscribing to CC.

    Sorry, maybe I don't understand, but why do you feel compelled to subscribe to CC if you already have a permanent Lightroom 5 licence?
    For the SmugMug plugin, a simple Google search ("smugmug lightroom plugin") gives this link to download the plugin:  http://help.smugmug.com/customer/portal/articles/121321
    Another way is to click the button "Find more services online..." in the the Publish Service section of Lightroom, and to search for SmugMug in the Adobe Add-ons portal; you will find a link to the latest plugin: https://creative.adobe.com/addons/products/1755

  • How can I allow or block the use of local storage by specific sites for all users in my domain.

    How can I allow or block the use of local storage by specific sites for all users in my domain.
    I tried to do this by MMS.cfg but it is not working, the problem is also described in your blog "http://forums.adobe.com/message/3272907".
    What I Want -: "I want to allow youtube for all the users in my domain and this should be listed in Control panel-->flash player-->storage-->local storage setting by site-->websites tab."

    Wow, cor-el... Did you -intend- your reply to be inane, inappropriate and completely inapplicable?
    How would that possibly do what I asked?
    You -might- consider '''''reading''''' the question, -=before=- you reply. And it's really okay to NOT REPLY if you just don't know. Just an idea.
    Feel better, real soon.

  • My iPhone 4 Bluetooth, using ios7, cannot identify any other bluetooth device (even other apple products). Says device not supported. How to solve this problem?

    My iPhone 4 Bluetooth, using ios7, cannot identify any other bluetooth device (even other apple products). Says device not supported. How to solve this problem?

    Supported Bluetooth Profiles
    It is not supposed to detect other Apple products via Bluetooth.

  • Release 1.5, 'enum' is a keyword, and may not be used as an identifier.help

    hello
    i am working for a MNC and i am trying to build my prduct in JDK1.5 and i am getting this error...
    ...release 1.5, 'enum' is a keyword, and may not be used as an identifier...
    the probelm is that i cant go to 1.4 as my product suports only 1.5 and above ..
    give me asolutin as fast as possible...

    hello
    i am working for a MNC and i am trying to build my
    prduct in JDK1.5 and i am getting this error...
    ...release 1.5, 'enum' is a keyword, and may not be
    used as an identifier...
    What am I missing? Don't use the 'enum' as a variable name!

  • Using PHP to identify the current page - by David Powers

    Hi There,
    I'm trying to write a script so I can identify the sub-pages under "Gallery" in my website
    Under Gallery I have more than hundred pages describing the photos but I want to identify them as the "Gallery" page.
    How do I achieve that?
    It would be tedious to write the "PHP if" statement for each photo link.
    I trust there is a simpler solution.
    In PHP solutions by David Powers, Ch.4 "Using PHP to identify the current page"
    The script is:
    <?php $currentPage = basename($_SERVER['SCRIPT_NAME']); ?>
    <ul id="nav">
      <li><a href="index.php" <?php if ($currentPage == 'index02.php') {echo 'id="here"';} ?>>Home</a></li>
      <li><a href="journal.php" <?php if ($currentPage == 'journal.php') {echo 'id="here"';} ?>>Journal</a></li>
      <li><a href="gallery.php" <?php if ($currentPage == 'gallery.php') {echo 'id="here"';} ?>>Gallery</a></li>
      <li><a href="contact.php" <?php if ($currentPage == 'contact.php') {echo 'id="here"';} ?>>Contact</a></li>
    </ul>
    Let's say that the gallery pages contains hundreds of links gallery like gallery/photos1.php, gallery/photos2.php, gallery/photos3.php, gallery/photos4.php, gallery/photos5.php, gallery/photos6.php, gallery/photos7.php etc...
    How would I identify the sub-pages so when we are there Gallery is highlighted?
    Thank you!
    Best,

    Hello Siddhardha,
    To get the details of a process you need to use Locator class from BPEL api. You can locate your process by listInstances method which accepts WhereCondition parameter used to build a query on process instances. Once you've found the process you were looking for you can use getAuditTrail method to retrieve audit trail of a given instance. You can also use setStatus() method from a BPELX java exec tag within your process and later retrieve it from instance handle by getStatus method.
    A sample snippet to retrieve instance handles to all child processes of a given process:
    StringBuffer sb = new StringBuffer();
    Locator locator = new Locator(domain,domainpassword);
    WhereCondition wc = new WhereCondition();
    String query = sb.append(SQLDefs.AL_ci_root_id).append(" = ? ").toString();
    wc.append(query);
    wc.setLong(1,parentInstance);
    IInstanceHandle[] ih = locator.listInstances(wc);
    You can read more about querying processes on http://blogs.oracle.com/matt/2006/06/27?print-friendly=true
    Radoslaw

  • Everything on my desktop disappeared. i tried using the finder to locate specific files and they are missing. Help!

    i'm using a macbook pro retina, 2.4 GHz Intel Core i7, 8GB. operating OSX Yosemite 10.10.1
    everything on my desktop disappeared. i've managed to make my HD reappear on my desktop but my files etc are nowhere to be found. i tried using the finder to locate specific files and they are missing. Help! I foolishly filled up my desktop with piles of screen grabs and folders - no doubt that was the cause... what do i do, aside from punish myself for being so stupid?

    Could you have logged into another account?
    If you go to System Preferences>Users and Accounts what accounts are listed?
    To show users at login go to the Login Options of chanck the box that says show list of users.
    If they they are gone and you can't find them then restore them from a backup

  • I am getting a message on my computer that says Firefox is using a large amount of the CPU on the computer. Now when I use firefox and thunderbird it is running extremely slow. Please help

    I am getting a message on the bottom of my computer task bar that says Firefox is using a large amount of the CPU. I noticed that my computer is running extremely slow and in thunderbird it takes a long time to print attachments.
    I have another computer and I did not load the upgrade. That computer is working fine. Please help

    I too have noticed that once i restored from iCloud. Pictures blurry and videos wont play!
    Need help too!!

  • Is it possible to use markers/special identifiers in CF.

    Is it possible to use markers/special identifiers in Cold Fusion? If possible how do I test for markers at the end of say a zip code. E.x. 11691XX( XX is the special Marker).

    IES48069774 wrote:
    Is it possible to use markers/special identifiers in Cold Fusion?
    Sure thing. You could, for example, use string functions.
    If possible how do I test for markers at the end of say a zip code. E.x. 11691XX( XX is the special Marker).
    It depends. What you want to test for: existence of the markers, the number of characters, the character values?

  • What is the use of Payroll Identifier

    Dear Freinds,
                 I would like to know what is the use of payroll Identified in infotype 0267. When i read in the documentationt the the payroll identier  "distinguish between different off-cycle payroll runs created on the same day". so I have to tried created two different off-cycle payroll records in the infoytpe 0267 through PA30 on the payment date 01012009  with amount 200 INR , so i have created first record with payroll indicator as 1, but again with the same payment date 01012009 when iam trying to create on more record with amount 300 INR with payroll indicator as 2,  found that first record getting overwritten the second record.. There byonly one record exists in overview.
    Could any one please let me know how can i have two records . So i would like to know what is the significance of the payroll identifier.
    regards
    divya

    Hi,
    " found that first record getting overwritten the second record"
    I guess your problem is caused by incorrect manipulation.
    When you run payroll driver for off-cycle payroll run, there are 3 blanks after < Off-cycle payroll > line.,the 2nd blank is for payroll ID. Specify it with payroll ID that you entered in IT0267. Thus, you will find there is no overwritten any more.
    Br,Kee

  • Use string as identifier in array?

    hi, is it possible to use String as identifier in arrays instead of numbers? if so, how do you do it?

    lol.. mmm.. well, i just discovered hashtables :D mmm.. i find hashname.put(object, object); to be too much.. so i wrote a adhoc method for walking through two arrays and putting them into hastables :D though, i had some errors:
    public Hashtable makeHash(int cap, String allString[], int allInt[])
         Hashtable hash = new Hashtable(cap);
         int i = 0;
         while(i < allString.length && i < allInt.length)
              hash.put(allString, new Integer(allInt[i]));
              i++;
         return hash;
    then i ran this method:
    String days[]=
              "Sun",
              "Mon",
              "Tue",
              "Wed",
              "Thu",
              "Fri",
              "Sat"
    int offset[] = {0, 1, 2, 3, 4, 5, 6};
    makeHash(7, days[], offset[]);in eclipse, there is a red mark under the comma right after days[] in the makeHash parameter... when i mouse over it, it gave me an "Syntax error on token ",","." expected".. anyone know what i'm doing wrong?

  • Why is firefox 7b using a lot more memory and cpu on my computer?

    I'm trying firefox 7 beta in a debian squeeze box. It is using a lot of RAM and CPU compared to previous releases of firefox(I've tried disabling all plugins and add-ons, not a big improvement). In the follow link here is a summary from about:memory, websites tabs opened at that time and the usage of % mem and cpu of my system: http://pastebin.com/8ji1gmLk
    I'm using firefox on all my computers for a while now. So changing the browser is not an option for me now.
    It did crash few times when loading a lot of tabs. Please let me know if there is another information that would be useful for fixing this. Thanks

    Is it using a significant amount more resources than 6.0 did?
    I noticed 6.0 is a VAST resource hog over 5.0 and earlier. It's a very bad flaw in the new version, and has a lot of people upset.
    What has me curious is whether this is a new resource problem or whether it was present in 6.0 and you are just not noticing it.
    One suggestion: Don't run BETA versions of ANY software on "all your machines". Not when rolling back the version is not an option. That's generally a bad idea, since beta versions are likely to have bugs.
    With FF, now, I would never let it automatically update. I don't trust their new update policies, so I would suggest you turn "auto updates" to OFF, and do it manually, only after you hear the new release is stable, which we know 6.0 is NOT.

  • How to Define Specific CPU Frequency in Laptop Mode Tools?

    I would like to know how to set a specific maximum and minimum frequency for Laptop Mode Tools. Here is my /etc/laptop-mode/conf.d/cpufreq.conf:
    # Configuration file for Laptop Mode Tools module cpufreq.
    # For more information, consult the laptop-mode.conf(8) manual page.
    # CPU frequency scaling and throttling
    #__COMMENT Laptop mode tools can automatically adjust your kernel CPU frequency
    #__COMMENT settings. This includes upper and lower limits and scaling governors.
    #__COMMENT There is also support for CPU throttling, on systems that don't support
    #__COMMENT frequency scaling.
    #__COMMENT
    #__COMMENT This feature only works on 2.6 kernels.
    #__COMMENT
    #__COMMENT
    #__COMMENT IMPORTANT: In versions 1.36 and earlier, these settings were included in the
    #__COMMENT main laptop-mode.conf configuration file. If they are still present, they
    #__COMMENT overrule the settings in this file. To fix this, simply delete the settings
    #__COMMENT from the main config file.
    # Enable debug mode for this module
    # Set to 1 if you want to debug this module
    DEBUG=0
    # Should laptop mode tools control the CPU frequency settings?
    # Set to 0 to disable
    CONTROL_CPU_FREQUENCY="auto"
    # Legal values are "slowest" for the slowest speed that your
    # CPU is able to operate at, "fastest" for the fastest speed,
    # "medium" for some value in the middle, or any value listed in
    # /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies.
    # The "governor" can be any governor installed on your system, this usually
    # includes "ondemand", "conservative", and "performance". The
    # "IGNORE_NICE_LOAD" setting specifies that background programs that have
    # a low priority ("nice level") should not cause the CPU frequency to
    # be increased. (You generally want this to be enabled in battery mode.)
    BATT_CPU_MAXFREQ=fastest
    BATT_CPU_MINFREQ=slowest
    BATT_CPU_GOVERNOR=ondemand
    BATT_CPU_IGNORE_NICE_LOAD=1
    LM_AC_CPU_MAXFREQ=fastest
    LM_AC_CPU_MINFREQ=slowest
    LM_AC_CPU_GOVERNOR=ondemand
    LM_AC_CPU_IGNORE_NICE_LOAD=1
    NOLM_AC_CPU_MAXFREQ=fastest
    NOLM_AC_CPU_MINFREQ=slowest
    NOLM_AC_CPU_GOVERNOR=ondemand
    NOLM_AC_CPU_IGNORE_NICE_LOAD=0
    # Should laptop mode tools control the CPU throttling? This is only useful
    # on processors that don't have frequency scaling.
    # (Only works when you have /proc/acpi/processor/CPU*/throttling.)
    # This is only useful on older P4 processors that do not support frequency
    # scaling. On such processors, this is the only way to reduce power consumption
    # but at the cost of higher performance penalty.
    # Enable this only if you have a processor that does not support frequency scaling
    # On most new processors, you might want to disable it.
    # Set to 0 to disable.
    CONTROL_CPU_THROTTLING=0
    # Legal values are "maximum" for the maximum (slowest) throttling level,
    # "minimum" for minimum (fastest) throttling level, "medium" for a value
    # somewhere in the middle (this is usually 50% for P4s), or any value listed
    # in /proc/acpi/processor/CPU*/throttling. Be careful when using "maximum":
    # this may be _very_ slow (in fact, with P4s it slows down the processor
    # by a factor 8).
    BATT_CPU_THROTTLING=medium
    LM_AC_CPU_THROTTLING=medium
    NOLM_AC_CPU_THROTTLING=minimum
    I have a new Intel Haswell CPU, so I know that CPU throttling isn't applicable to me. In the section about scaling, how do I set a specific GHz or MHz value for the minimum and maximum CPU?
    Thanks

    No, I just want to save battery power. I don't want the CPU to be clocked as high when I'm on battery. I would set the CPUFreq governor to ondemand, but when I issue sudo cpupower frequency-set -g ondemand, I get:
    Setting cpu: 0
    Error setting new values. Common errors:
    - Do you have proper administration rights? (super-user?)
    - Is the governor you requested available and modprobed?
    - Trying to set an invalid policy?
    - Trying to set a specific frequency, but userspace governor is not available,
    for example because of hardware which cannot be set to a specific frequency
    or because the userspace governor isn't loaded?
    The output of ls /lib/modules/$(uname -r)/kernel/drivers/cpufreq/ is:
    acpi-cpufreq.ko.gz cpufreq_stats.ko.gz powernow-k8.ko.gz
    amd_freq_sensitivity.ko.gz cpufreq_userspace.ko.gz speedstep-lib.ko.gz
    cpufreq_conservative.ko.gz p4-clockmod.ko.gz
    cpufreq_powersave.ko.gz pcc-cpufreq.ko.gz
    Doing modprobe cpufreq_ondemand and trying again does nothing.
    So, since I can't use the ondemand governor and then raise the threshold, I need to limit the CPU frequency.
    Thanks.

Maybe you are looking for

  • Problem in creating a track

    Hi, I am trying to create a new track in NWDi like this 1.created a product,sofware unit and software component and defined the dependencies(required components like BUILDT,JTECHS etc) 2.Went to landscape configurator and clicked on track data and en

  • How do i get windows XP or windows vista?

    i have no clue! i dont' know anything about computers at all. when i try to install itunes 7.5 it says i have to be running windows vista or xp. any help? PLEASE?!?!?!

  • Cannot select multiple images

    I click on the first image, and then hold the shift key and click on a second image, but it only selects the second image.  This used to work!

  • How can i upgrade my macbook pro if i dont have credit card?

    every time i try to upgrade imovie from appstore it tells me that i have to sign in, when i do that it says to me that this account havent been used in itunes store so i cant upgrade it. i tried to download the last version of imovie and when i tried

  • Need Javascript to force reading mode on document open...

    Need Javascript to force reading mode on document open... Does anyone know how to do this? Acrobat 8 does not come with a custom action for opening a page in reading mode... Would also like the remove the page scroll bar from the document window. Can