Boot-args=-v agc=3

I noticed my wife's MacBook pro was booting in verbose mode. A quick search and I found out this is due to a boot-args switch. I checked the switches on her machine and indeed they were:
boot-args=-v agc=3
I am not sure how they got set this way. We had the machine out for repair so I suspect it came back from repair that way.
The mystery however is "agc=3". My Bing skills do not seem up to the task of figuring our what the heck this is. It may be something in the audio (automatic gain control), but no clue what this switch might be doing. Any ideas?

Do a google search for *boot-args site:developer.apple.com* and peruse the results. I've not been able to find the agc item, so better might contact whoever did the repair.

Similar Messages

  • Last week I've install Mac OS X Mountain Lion and then after the installation finish my IMAC start up in verbose mode. How can I turn off this mode and start my IMAC normally. I've try to key in the code "sudo nvram boot-args=" in terminal also.

    Last week I've install Mac OS X Mountain Lion and then after the installation finish my IMAC start up in verbose mode. How can I turn off this mode and start my IMAC normally. I've try to key in the code "sudo nvram boot-args=" in terminal also.
    Thank you for all of your answer.

    I've seen it mentioned on here that a PRAM reset may solve it:
    Reset PRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P and R.
    You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Cdrom boot-args

    What is the difference between "boot cdrom -s" and "boot cdrom -w"?
    I know the -s means single user, but what does the -w add to this?

    Aubrey,
    That error message suggests a problem reading the DVD media.
    If that system has an original, Sun-badged 390-0025 DVD reader in it,
    the problem may just be the drive. They were known to have problems booting from DVD media.
    They can read the media fine, it's the booting part, where there were problems.
    Glance through this forum thread that was started January 2006:
    http://forum.java.sun.com/thread.jspa?forumID=841&threadID=5082689
    ... difficult thing, however, is to find a SCSI optical drive, if you decide to replace it.

  • Sudo nvram boot-args='-v' not working in10.8

    I want to turn on verbose via terminal.  I used to use the above command in terminal.  however it does not seem to work in ML.  Has it changed?

    it worked, thank you.
    did it change from '-v' to "-v"?  or?
    Message was edited by: ChangeAgent

  • My mid-2010 27" iMac running Mavericks is fine in safe mode, but with normal boot up the screen goes haywire with some animation emanating from the apple menu area at top left of screen.

    From what I'm reading in these forums, this is likely an issue due to some 3rd party software / kernal conflict. I am going to run a diagnostic and perhaps someone here can help me evaluate the results and determine what software must be removed.
    It's hard to describe what I'm seeing on screen. I've never seen anything like it. I get a number of lines that begin at the top left of my screen, about at the apple icon, and they spread out in a triangular pattern from left to right, top to bottom across my screen, while the entire screen flickers uncontrollably. I realize that iMacs from this era have screen issues, but since I can boot fine in safe mode, this can't be a hardware issue.
    Any assistance is greatly appreciated!

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n\t(%s)\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' '/\/etc\/(auto_m|hosts[^.]|peri|sshd?_c)/s/^\.\/[^/]+//p' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.[bw]/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| ","||kMDItem'${p[35]}'=");sub("^.."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ +B/{ s/.+= |(-[0-9]+)?\.s.+//g;p;} ' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / /{$0="'"${p[28]}"'"};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil PlistBuddy whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[35]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'Beac|caug|dead[^bl]|FAIL|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/*/*.{BS,Bas,Es,OSXU,Rem}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto_master,{cron,fs}tab,hosts,{launchd,sysctl}.conf,ssh{,d}_c*} {,/usr/local}/etc/periodic/*/* .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A1 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D23 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 14 3 49 5;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-  
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with "Model Identifier." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • MacBook Pro 13" Late 2011 Experiencing Significant Slow Down After Boot Camp Installation

         Okay, so today, after installing Windows 7 on my MacBook Pro via Bootcamp Assistant, I experienced significant performance slow down (fans going at full blast, applications opening after extended periods of time, keystrokes not being registered) when I returned to my OS X partition/second hard drive. I have dual hard drives, one of them being a Samsung 256 GB SSD with OS X Mavericks and the other being my original 500 GB HDD, divided into a 250 GB OS X Mavericks partition and a 250 GB Windows partition. I have the SSD set as my startup disk and I have it located in the main HDD bay. I moved the old HDD into a caddy and placed it where the optical drive normally should be.
          After multiple failed attempts to install Windows via USB and Bootcamp Assistant, I decided to reinstall my optical drive and use a Windows installation disk. This attempt proved successful, and I was able to install Windows 7 onto the 250 GB partition I had created for it on the 500 GB HDD. After completing basic setup of Windows, I removed the optical disk drive and reinstalled the SSD and the HDD into their original spots (SSD in the main HDD bay, HDD in the caddy where the optical drive normally is).
         After completing this tedious process, I booted my Mac back up using the SSD. However, I noticed something was wrong when the login screen, apps, and nearly everything else on my desktop had slowed to crawl. I decided to check my Activity Monitor to see what the problem might be. Activity Monitor told me that the task "kernel_task" was taking up anywhere from 200-600% of my CPU, which explained the slowdown in performance. I looked around to see if there were others with the same problem as me, and I found that Spotlight Indexing might be an issue, with a potential remedy being move my Bootcamp Partition into the Privacy section of Spotlight under System Preferences. After doing that, I experienced no increase in performance and everything was still going very slowly.
         The next step I took was to see if booting into Safe Mode would help the issue. After booting into Safe Mode on my SSD, I noticed that things were back to their normal speeds, with applications opening at the speed they should be and keystrokes being registered instantaneously. However, the fans were still going and had not shut off once booting into Safe Mode. In addition, I checked Activity Monitor and the "kernel_task" in question was no longer taking up massive amounts of the CPU.
         At this point, I don't know what to do and I need help in restoring my Mac to original speeds. I may end up deleting my Boot Camp partition as a last measure if all else fails, seeing as I installed Windows in the first place for running a few programs and games that I can live without. However, I'd prefer to not have things come to that and fix things before deleting the Boot Camp Partition. I've heard that if everything runs normally in Safe Mode, then the issue is third-party software. Is this true?
         Any help would be greatly appreciated as I am writing this from the MacBook in question in Safe Mode because it's essentially useless in normal SSD operation.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    Copy a line of text in this window to the Clipboard.
    Paste into the window of another application.
    Wait for the test to run. It usually takes a few minutes.
    Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' \*AutoCad \*dropbox \*GoogleDr\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */  /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/ { next;} /(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n  "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n  [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n  ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' '" L*/P*/*loginit*' 'L*/Ca*/com.ap*.Saf*/E*/* -depth 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 4 3 32 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start Time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • MacBook Pro 2,2 won't pass memory test at boot

    Hi Apple and Mac folks,
    I have a MacBook Pro 2,2 15", 2007 year model, equipped with 2,16 GHz Intel Core 2 Duo and 2 GB 667 Mhz factory-installed DDR2 SDRAM, running Mac OS X 10.4.11. SMC version is 1.12f5.
    Three months ago, when I was installing the Safari beta and the installation requested a reboot, the machine wouldn't start at all. It didn't give me any startup chime; the only thing to be heard was the initial movement from the DVD scanning mechanism (?), but after that nothing happened. If I waited for a while I could assume that the CPU was working, since I could hear the fans spinning up. But the screen was black and the computer wouldn't load any CDs or DVDs or even listen to any keyboard commands. The only thing that was working was the force shutdown by the 10-second press on the start button.
    After some trial and error I realized that the system would reboot without problems if I let it rest (cool down?) for about 15 minutes. Sometimes, connecting an external hard drive via FireWire would also help the system to start up, bit it seemed to work rather randomly.
    I ran the Apple hardware test and it reported an error on one of the SDRAM modules the first time I checked, but running the more thorough test wouldn't report any error and the system didn't show any signs of errors whatsoever once it was up and running.
    I have also tried to reset PRAM and SMC, but it does not alleviate the reboot problem.
    Since I then suspected that I had a faulty memory module I decided to upgrade the system with 2 Kingston DDR2 2GB SODIMM modules (yes, I know it only supports 3GB of memory, but I wanted the modules to work in pair). Unfortunately, the system exhibits the same problems with the new modules, and now things are getting even worse - now the 15-minute cool down period does not seem to be sufficient to get the system to pass (as I suspect) the initial memory test.
    Last night I had to fiddle around, switching memory modules around in the slots to get the system restarted. I could get it rebooted once with one of the older 1 GB modules in the upper slot, and once it rebooted with an older module in the lower slot. Things seemed to act quite randomly and the previous cooling period method didn't seem to make any difference. Finally, I sort of gave up and put back the two new 2 GB modules and tried a last restart while having an external hard drive attached via FireWire and then it gave me the chime and restarted!
    My interpretation of the problem is that the system has some kind of glitch (maybe not the correct term for a small gap in the circuits?) in the circuits connecting one or both of the SODIMM modules and that this glitching is getting worse as the system grows older.
    So, I have three questions to you:
    1. Is there any way to turn off or circumvent the initial memory check, so that I can temporarily live with this problem and not risk having an unusable system at next reboot?
    2. Have you heard about this kind of problem before and maybe have knowledge about what part of the system that would have to be replaced and what it will cost me if I bring the computer to a service station (I'm located in Sweden).
    3. Are there any SMC or EFI updates I should try before going to service?
    Thanks for any help on this,
    Ulf

    cornelius wrote:
    The firewire bridge is the most likely component in a FW HDD to fail. I have seen it a few times, and all that was needed was to remove the drive from the case and place it in a new firewire enclosure. I insist on getting an enclosure with an Oxford chipset, as they are the most reliable.
    Hi again Cornelius,
    first of all, thanks for the support in the struggle troubleshooting this issue.
    Secondly, I don't think the problems has to do with the cabinet of the externa FW drive, but rather the problem would be located in the FW port in the computer.
    Doing some research today, I found indications on that the AHT actually is installed on the hard drive of MacBooks after 2007. So, I decided to see if I could launch the AHT from my internal hard drive. Reboot needed, so hold your thumbs...
    Reboot. Dead computer. Attached firewire disc. Dead computer. Let computer rest and cool down for half an hour. Restart -> dead computer. Connected firewire drive -> chime and boot!
    Pressed D to load ATH. System gave me a dimmed screen with a text box telling me that I had to reboot the computer. I gave OK to that and the computer restarted normally, but reported an abnormal shutdown and gave me the opportunity to send a report about a kernel panic to Apple.
    When the system came up the attached FW disc was not reachable. Looking in the system log, I find the following error message repeated:
    Jun 26 16:24:49 Ulf-Kronman kernel[0]: FireWire GUID ffffffffffffffff is invalid!
    The research on the net is getting me more and more confused: Is the ATH really located on the hard drive of MacBooks? Is the Power On Self Test really run at reboot? According to this wikipedia note (http://en.wikipedia.org/wiki/Power-on_self-test) the test is not run at reebot:
    " Apple's Macintosh computers also perform a POST after a cold boot. In the event of a fatal error, the Mac will not make its startup chime. "
    But my problems occur both when I cold start and when I reboot.
    Isn't a lack of chime a very un-Apple-like way of reporting an error? Where/how can I get some more information about what's going on before the chime? And how do I know if the Self Test is run or not? System profiler only reports that self-test at start hasn't found any errors, but only when the system starts (due to that it not has found any errors )
    Somewhere I saw instructions for doing a
    Terminal> sudo nvram boot-args="-x -v"
    to get a report of whats going on during startup. Could that be a way to proceed or is there a leaner way to get info out of the self test?
    I'll continue to some research on the FireWire GUID, whatever that is.
    Regards,
    Ulf

  • Won't boot past the Apple logo...

    I have an '07 MacBook that was upgraded to Snow Leopard about 6 months ago. I've had it for about 3.5 years with no problems-- until now. Last night I turned it on and it booted fine. However, once it had booted, the spinning pinwheel would not go away when I was on "Finder". Despite this, Firefox loaded up fine. But I didn't want to do stuff on the computer when I knew something wasn't right. I tried to restart it, but it wouldn't shut down, so I was forced to cut it off with the power button. When i tried to turn it back on, it wouldn't get passed the white screen with the Apple logo and the little spinning load signal. Along with that, a load bar that I have never seen on that page before began to load up, but it disappeared after filling up to about 10%. I let it sit for a while before turning it off and trying again. By this point I was freaking out, because I have some valuable documents/files that I haven't backed up yet that I really need. I got on my sister's computer and began to research all the topics where people had the same problem. I did everything. I tried the verbose mode, but everything seemed to be okay. In verbose, I did the fsck -fy and reboot, but it still wouldn't start. I did the PRAM and SMC resets. I tried to open it in Safe Mode, but I couldn't get it to open. This morning, I got out my Snow Leopard disc and was able to boot that up. Unfortunately, I, stupidly, have not used time machine to back anything up like I should. I don't want to just wipe and restart everything because there are some files I really need to get. I'm trying disc utility. When I verify the disc, it says that the Sibling Link is invalid and it can't repair that. It tells me to back up as much as I can and then to wipe it and start over, but I don't know how to back stuff up from here. I've also tried "Permission Verify". It comes up with all this things that say either "Group differs on..." or "Permissions differ on..." and then it goes on with a long line of text starting with "Applications/Utilities/....etc. etc." and they all end with either "should be 0, group is 80(or 90)" or "should be -rw-r--r--, they are "-rw-rw-r--". But before it finishes verifying them, it stops loading with about a minute left and pretty much just freezes other than the mouse being moveable.
    I'm out of town right now, but I'm probably just going to take it in to the local Mac store when I get home since there's not one around here. Of course, if this is something that I can fix, I'd prefer just to do that. Someone please put me out of my misery and tell me that my files are recoverable. When I'm in disc utility, it says I have the exact capacity I had when my computer was booting, so that gives me hope that all of my files are still there, not to mention the fact that I could see them in another program under "Utilities". Unfortunately though, I'm not computer-savy enough to know what to do. Sorry for all this writing, but hopefully this way all you tech-wizards' questions will be answered so that you know how best to help me.

    Yes, I'm using my snow leopard DVD. I wrote all of this in my first post. I tried to boot safe mode from Terminal by doing the "sudo nvram boot-args="-x"" thing. Also in my first post, I said that i used Disc Utility and that it told me the Sibling link was missing or was wrong. Read my first post and you'll see everything that I've tried.
    Also, an update on something, now when I upload in Verbose mode, it tells me the bugs; it didn't do that before.

  • Macbook Pro, running 10.8.5 - can't restart but can shutdown and boot up - may have virus or malware

    Needless to say I'm beyond embarrassed. I teach computer science (Middle School, private school) and have forever warned my kids to be very careful what they download; but are always "safer" with Mac OSX. Alas, maybe not. I was trying to download Google Earth a few weeks ago and got caught in that fake trap (the fake "Installer" trick) and realized way too late I'd downloaded something "else" instead of Google Earth. Pop up adware by the gazillion. My browser settings were a mess. Went in and reset them as best as I could. And for awhile, so far so good. Until I tried to launch Firefox this week; and WOW...awful. I deleted my Firefox files, went to Firefox and RE DOWNLOADED (or so I thought) a new version of Firefox, and WHAM. Hit again. I can shutdown my Macbook; I can boot it up from a cold dead start...BUT I can no longer "Restart" the computer without an annoying popup message pretending to be a wayward "Installer" wanting to "complete a download" stating if I didn't want to complete it I could 'click' Abort...well I tried but the screen froze. I've had to shutdown or do a hard reboot to get it back up again. I've checked my settings on Google Chrome; seems fine. Don't use Safari that much, but it appears to be a Firefox troll.
    What should I do to troubleshoot what this is and how to be rid of it? I wish I could send you a screen shot of the pop up but alas, it freezes the screen when I try to click anything thus my Screen shot capability is nil.
    I bought this Macbook Pro in April, 2013. It's my workhorse. HELP!

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of it have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Bluetooth SerialATA Fonts 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' \*dropbox \*genieo\* \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB 'com.adobe.AAM.Updater-1.0 com.adobe.AAM.Updater-1.0 com.adobe.AdobeCreativeCloud com.adobe.CS4ServiceManager com.adobe.CS5ServiceManager com.adobe.fpsaud com.adobe.SwitchBoard com.adobe.SwitchBoard com.apple.aelwriter com.apple.AirPortBaseStationAgent com.apple.FolderActions.enabled com.apple.installer.osmessagetracing com.apple.mrt.uiagent com.apple.ReportCrash.Self com.apple.rpmuxd com.apple.SafariNotificationAgent com.apple.usbmuxd com.citrixonline.GoToMeeting.G2MUpdate com.google.keystone.agent com.google.keystone.daemon com.microsoft.office.licensing.helper com.oracle.java.Helper-Tool com.oracle.java.JavaUpdateHelper com.oracle.java.JavaUpdateHelper org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.startx' '879294308 4071182229 461455494 3627668074 1083382502 1274181950 1855907737 2758863019 1848501757 464843899 3694147963 1233118628 2456546649 2806998573 2778718105 2636415542 842973933 2051385900 3301885676 891055588 998894468 695903914 1443423563 4136085286 523110921 2883943871 3873345487' 51 5120 files 4 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/faceb/s/(at\.)[^.]+/\1NAME/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[46]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: (E[^m]|[^EO])|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<10) print "com.apple.";} ' ' { sub(/ :/,"");print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:.+//p ' '/^root$/p' ' !/^\/[AD]|\/Contents\/.+\/Contents\//&&/\/(Lib|usr).+\/(.+\.framework|Contents|Info\.plist|Resources|Versions)$/ { n++;sub(/\/Info\.plist$/,"");sub(/\/(Content|Resource|Version)s(\/.+)?/,"");print|"sort|uniq";} END { if(n<1100) print "/System/";} ' '/\.dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { split("'"${p[41]}"'",b);split("'"${p[42]}"'",c);for(i in b) print b[i]".plist\t"c[i];if(n<500) print "Launch";} ' ' /^\/(Ap|Dev|Inc|Prev)/d;p;' 's/Pr.+n //p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&& $3!~/(255\.){3}0/)||(/v6:/&&$2!~/A/) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p);if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"cksum "F|getline C;split(C, A);C="checksum "A[1];"file -b "F|getline T;if(T~/^Apple b/) { f="";l=0;while("PlistBuddy -c Print "F|getline g) { l++;if(l<=L) f=f"\n   "g;};};if(T!~/^(AS.+ (En.+ )?text(, with v.+)?$|(Bo|PO).+ sh.+ text ex|XM)/) F=F" ("T", "C")";else F=F" ("C")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9|"sort|uniq";} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */   /;' ' s/^.+ |\(.+\)$//g;p ' '/\.(appex|pluginkit)\/Contents\/Info\.plist$/p' ' /2/{print "WARN"};/4/{print "CRITICAL"};' ' /EVHF|MACR|^s/d;s/^.+: //p;' ' $3~/^[1-9][0-9]{0,2}(\.[1-9][0-9]{0,2}){2}$/ { i++;n=n"\n"$1"\t"$3;} END { if(i>1) print n;} ' ' s/:[^:]+$//;s/ +([0-9]+)(.+)/\2 x\1/p;' ' { gsub(/[()"]/,"",$3);if(!$3) $3="N/A";print $3;} ' ' /es: ./{ s/^.+://;b0'$'\n'' };/^ +C.+ted: +[NY]/H;/:$/b0'$'\n'' d;:0'$'\n'' x;/: +N/d;s/\n.+//p;' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps crontab iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl smcDiagnose sysctl\ -n defaults\ read stat lsbom 'mdfind -onlyin /' ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' pluginkit scutil dtrace profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil lsof test osascript\ -e netstat mdls );S1() { printf kMDItemContentTypeTree=com.apple.$1'|sort';};S2() { printf 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :'$1'" {} \;|uniq';};c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'|tr , \\\n" "`S2 CFBundleDisplayName`" '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '-F \$Message -k Sender kernel -k Message CSeq "I/O e"|sort|uniq -c' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$(RefProc): \$Message' -k Sender Req 'fsev|kern|launchd' -k RefProc Rne 'Aq|WebK' -k Message Rne '08012|Goog|ksadm|probe|Roame|SMC:|smcD|sserti|suhel| VALI|ver-r|xpma' -k Message Req 'abn|bad |Beac|caug|corru|dead[^bl]|FAIL|fail|GPU |hfs: Ru|idle ex|inval|jnl:|last value [1-9]|NVDA\(|pagin|pci pa|proc: t|Roamed|rror|SL|TCON|Throttli|tim(ed? ?|ing )o|WARN' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '/S*/*/Ca*/*xpc* >&- ||echo No' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' "`S1 bundle`" "`S1 mach-o-dylib`" `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" -m 'L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.???????|wc -l' kern.memorystatus_vm_pressure_level '3>&1 >&- 2>&3' " -F '\$Time \$Message' -k Sender kernel -k Message CSeq 'n Cause: -' " -i '-app Safari UserStyleSheetEnabled' -name\ kMDItem${p[35]} "`S2 ${p[35]}`" );N1=${#c2[@]};for j in {0..10};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files I/O\ errors 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents XPC\ cache Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors App\ extensions Lockfiles Memory\ pressure SMC Shutdowns Nets Stylesheet );N3=${#l[@]};for i in {0..3};do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};A'$((7+i))'() { v=` eval sudo "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};';done;A9(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "${s[63]}"<<<"$v"`&&C1 1 $1;};for i in 1 2 7 8;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 0 $((N1+8)) 71 $((N3+3));D13 1 10 7 9;D13 1 11 8 10;B1&&D73 19 53 67 55;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D13 5 5 69 1;D13 5 54 30 56;D23 5 14 12 14;D22 6 36 13 15;D22 20 52 66 54;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D82 35 49 61 51;D82 11 17 17 20;for i in 0 1;do D82 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A8 18 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 24 22 29;B7 12;B2 14;A4 39 57 70 14;B2 15;B6 14 15 4;C3 29;A1 24 23 32;B7 13;C3 30;B3 4 0 65;A3 14 6 32 0;B4 0 16 11;A1 26 50 64;B7 16;C3 52;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D73 21 0 32 19;D73 10 42 32 40;D82 29 35 46 39;};D23 14 1 62 42;D12 34 43 53 44;D12 22 20 32 25;D22 0 $((N1+10)) 51 32;D13 4 8 41 6;D12 21 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 38 55 68 57;D23 33 34 42 37;B1&&D83 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 10 42 32 41;D13 37 2 48 43;A1 4 3 60;B2 30;A1 4 58 60;B2 31;B6 30 31 4;C3 5;D12 21 56 35 58;D12 21 48 49 49;B3 4 22 57;A1 21 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D12 4 51 32 53;D23 22 9 37 7;A9;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • FileVault 2 seems to be causing kernel boot panics

    Hello,
    I'm on a 10.8.2 Mountain Lion OS X (13-inch, Mid 2010), no new updates are available. I turned on FileVault 2 a few months ago and since then I've had a lot of kernel panics while booting. Sometimes it just booted ok and sometimes it panicked. Sometimes even twice in a row. Sometimes it created a crash report, sometimes it did not.
    This is actually a clean-ish install, it's not an upgrade from Lion. I don't use Parallels Desktop or VMware as other threads sometimes mention. I don't use any NTFS driver. Although I do have Flash Player, GPGPreferences, Growl and Java plugins installed (I don't know if they have anything to do with those drivers).
    Before I turned the Vault on, no boot panics.
    After I turned it on, sometimes panic, sometimes not, couldn't find any system in it. About 50 % chance of a crash.
    After I turned it back off, no panics so far.
    So I turned it off today and tried restarting about twenty times (shut downs, restarts) and no kernel panic so far. I also installed Memtest and had it run in single user mode once and everything was ok.
    I have three very similar general protection fault reports, I'm going to post the latest one here but if anyone wants to take a look at the other ones, please let me know.
    Problem is I don't know if this is my hardware error or FileVault error.
    Thank you,
    Ollie
    Interval Since Last Panic Report:  127214 sec
    Panics Since Last Report:          2
    Anonymous UUID:                    [edited]
    Wed Dec  5 09:07:48 2012
    panic(cpu 0 caller 0xffffff80004b7bd5): Kernel trap at 0xffffff800042d507, type 13=general protection, registers:
    CR0: 0x000000008001003b, CR2: 0x00007fff9513f578, CR3: 0x00000000030cb000, CR4: 0x0000000000000660
    RAX: 0xffffff800b26c550, RBX: 0xffffff800b26c550, RCX: 0xffffff807859bfc0, RDX: 0xffffff8078598000
    RSP: 0xffffff807859be00, RBP: 0xffffff807859be40, RSI: 0x01ffff800b02e550, RDI: 0xffffff800b26c550
    R8:  0xffffff800b26c550, R9:  0xffffffffffffffff, R10: 0x00000000ffffffff, R11: 0x00000000ffffff80
    R12: 0xffffff8072dcd000, R13: 0x0000000000000000, R14: 0x01ffff800b02e550, R15: 0x0000000000000000
    RFL: 0x0000000000010086, RIP: 0xffffff800042d507, CS:  0x0000000000000008, SS:  0x0000000000000000
    Fault CR2: 0x00007fff9513f578, Error code: 0x0000000000000000, Fault CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff807859baa0 : 0xffffff800041d626
    0xffffff807859bb10 : 0xffffff80004b7bd5
    0xffffff807859bce0 : 0xffffff80004ce4ed
    0xffffff807859bd00 : 0xffffff800042d507
    0xffffff807859be40 : 0xffffff800042e74f
    0xffffff807859bec0 : 0xffffff800042da0c
    0xffffff807859bf00 : 0xffffff800041c7f7
    0xffffff807859bf20 : 0xffffff7f8143463f
    0xffffff807859bf40 : 0xffffff7f8142dad5
    0xffffff807859bf60 : 0xffffff800043dcde
    0xffffff807859bfb0 : 0xffffff80004b26b7
          Kernel Extensions in backtrace:
             com.apple.driver.AppleUSBHub(5.2.5)[A70C7553-FFEA-355F-A292-6E2B0023FADD]@0xffffff7f8142b000->0xffffff7f8143ffff
                dependency: com.apple.iokit.IOUSBFamily(5.4.0)[C3094550-7F58-3933-A4F7-CD33AE83F8B9]@0xffffff7f812bb000
    BSD process name corresponding to current thread: kernel_task
    Boot args: -v
    Mac OS version:
    Not yet set
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
    Kernel slide:     0x0000000000200000
    Kernel text base: 0xffffff8000400000
    System model name: MacBookPro7,1 (Mac-F222BEC8)
    System uptime in nanoseconds: 1905729740
    last loaded kext at 1757726027: com.apple.driver.AppleUSBTCButtons  235.4 (addr 0xffffff7f820f1000, size 20480)
    loaded kexts:
    com.apple.driver.AppleUSBTCButtons  235.4
    com.apple.driver.AppleIRController  320.15
    com.apple.driver.AppleUSBTCKeyEventDriver 235.4
    com.apple.driver.AppleUSBTCKeyboard 235.4
    com.apple.driver.CoreStorageFsck  274.7
    com.apple.driver.AppleUSBCardReader 3.1.0
    com.apple.driver.AppleFileSystemDriver  3.0.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 34
    com.apple.iokit.SCSITaskUserClient  3.5.1
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage  2.2.2
    com.apple.iokit.AppleBCM5701Ethernet  3.2.5b3
    com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
    com.apple.driver.AirPort.Brcm4331 602.15.22
    com.apple.driver.AppleFWOHCI  4.9.6
    com.apple.driver.AppleAHCIPort  2.4.1
    com.apple.driver.AppleUSBHub  5.2.5
    com.apple.driver.AppleUSBEHCI 5.4.0
    com.apple.driver.AppleSmartBatteryManager 161.0.0
    com.apple.driver.AppleUSBOHCI 5.2.5
    com.apple.driver.AppleEFINVRAM  1.6.1
    com.apple.driver.AppleRTC 1.5
    com.apple.driver.AppleHPET  1.7
    com.apple.driver.AppleACPIButtons 1.6
    com.apple.driver.AppleSMBIOS  1.9
    com.apple.driver.AppleACPIEC  1.6
    com.apple.driver.AppleAPIC  1.6
    com.apple.nke.applicationfirewall 4.0.39
    com.apple.security.quarantine 2
    com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
    com.apple.driver.AppleUSBMultitouch 235.7
    com.apple.iokit.IOUSBHIDDriver  5.2.5
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
    com.apple.iokit.IOUSBMassStorageClass 3.5.0
    com.apple.driver.AppleUSBMergeNub 5.2.5
    com.apple.driver.AppleUSBComposite  5.2.5
    com.apple.driver.CoreStorage  274.7
    com.apple.iokit.IOSCSIMultimediaCommandsDevice  3.5.1
    com.apple.iokit.IOBDStorageFamily 1.7
    com.apple.iokit.IODVDStorageFamily  1.7.1
    com.apple.iokit.IOCDStorageFamily 1.7.1
    com.apple.iokit.IOAHCISerialATAPI 2.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
    com.apple.iokit.IOEthernetAVBController 1.0.2b1
    com.apple.iokit.IO80211Family 500.15
    com.apple.iokit.IONetworkingFamily  3.0
    com.apple.iokit.IOFireWireFamily  4.5.5
    com.apple.driver.AppleMCP89RootPortPM 1.11
    com.apple.iokit.IOAHCIFamily  2.2.1
    com.apple.iokit.IOUSBUserClient 5.2.5
    com.apple.iokit.IOUSBFamily 5.4.0
    com.apple.driver.NVSMU  2.2.9
    com.apple.driver.AppleEFIRuntime  1.6.1
    com.apple.iokit.IOHIDFamily 1.8.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox  220
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet  7
    com.apple.driver.DiskImages 344
    com.apple.iokit.IOStorageFamily 1.8
    com.apple.driver.AppleKeyStore  28.21
    com.apple.driver.AppleACPIPlatform  1.6
    com.apple.iokit.IOPCIFamily 2.7.2
    com.apple.iokit.IOACPIFamily  1.4
    com.apple.kec.corecrypto  1.0
    System Profile:
    Model: MacBookPro7,1, BootROM MBP71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 4 GB, SMC 1.62f6
    Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x802C, 0x384A53463235363634485A2D314731443120
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x802C, 0x384A53463235363634485A2D314731443120
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.81.22)
    Bluetooth: Version 4.0.9f33 10885, 2 service, 11 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: Hitachi HTS545025B9SA02, 250.06 GB
    Serial ATA Device: MATSHITADVD-R   UJ-898
    USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24600000 / 2
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
    USB Device: USB-PS/2 Optical Mouse, 0x046d  (Logitech Inc.), 0xc01e, 0x04100000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06600000 / 5
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06610000 / 8
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x06500000 / 4
    USB Device: USB Keyboard, 0x04f2  (Chicony Electronics Co., Ltd.), 0x0116, 0x06400000 / 3
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x06300000 / 2

    There are other reports of kernel panics like this one with FileVault. The cause seems to be an OS bug that only affects certain models and/or aftermarket SSD's. Make sure your system is fully updated. If it is, the only workaround I know of is to deactivate FileVault.

  • IMac - slow to boot, bluetooth not found.

    System:
    iMac 24" (Early 2009) 2.66GHz
    8 GB 1067 MHz DDR3 memory (upgraded from original 4GB with 3rd party memory about 4 years ago)
    Seagate Barracuda ST1000DM003 1TB Disk (upgraded from original 640GB about 2 years ago)
    NVIDIA GeForge 9400
    OS X: 10.10.1
    The issue began about 3 months ago when my mother-in-law had the machine. According to her, the machine became very slow to boot (taking from 20min to over 1 hour) and her wireless mouse was not working. Fortunately she was already using a wired keyboard and had a spare wired mouse, so she was able to use the machine. Other than the slow boot and mouse issue, the system was stable.  We decided to replace her machine in any case, primarily because it's not easily serviceable - especially where she lives (rural Alabama). I took the machine back (it had been mine originally). At that point it was running 10.8.5.
    I observed the following:
    1) The system was, indeed, very slow to boot as she described.
    2) None of the bluetooth devices were working.
    3) The bluetooth device shows as "No information found" in the System Information report
    4) Bluetooth preferences were not visible in system preferences.
    5) Coincident with her first report or problems, the following messages began appearing in the system logs:
    Dec 30 14:25:05 localhost kernel[0]: USBF:    3.195    AppleUSBHubPort::FatalError - Port 3 of Hub at 0x6100000 reported error 0xe00002c0 while doing clearing port feature (1)
    Dec 30 14:25:05 localhost kernel[0]: USBF:    3.195    AppleUSBHubPort::FatalError - Port 1 of Hub at 0x6100000 reported error 0xe00002c0 while doing clearing port feature (1)
    Dec 30 14:25:05 localhost kernel[0]: USBF:    3.206    AppleUSBHubPort::FatalError - Port 2 of Hub at 0x6100000 reported error 0xe00002ed while doing getting port status (4)
    Dec 30 14:25:05 localhost kernel[0]: USBF:    3.206    AppleUSBHubPort::FatalError - Port 2 of Hub at 0x6100000 reported error 0xe00002c0 while doing clearing port feature (2)
    Though she originally had external peripherals attached, all have been removed - the only things plugged into any USB or Firewire port are the keyboard and mouse.
    So, that's how the machine was when I got it back... I have tried the following:
    1) First I tried AHT - booting from the original disks provided with the system (AHT version 3A170). AHT hung while probing system hardware; it just stalled for several hours (I think I let it try overnight, only to return to see no progress). I've tried AHT a couple of times through this ordeal and can never get to the point where I can even initiate the test.
    2) I tried removing the bluetooth preferences file.
    3) I tried resetting NVRAM
    4) I tried resetting SMC
    5) I've booted in verbose mode, but nothing really stood out as clearly (or even vaguely) indicating a problem.
    People did suggest booting in "safe" mode - thought it was never clear what I was supposed to do after that. In any case, an attempt to boot in safe mode caused the machine to just reboot itself. I even set safe mode in the boot-args and sat back and watched as the machine consistently rebooted itself each time... about 7 or 8 times before I got sick of hearing the boot chime. I did have verbose mode turned on in boot-args as well, an each time it rebooted at the same point, while initializing drivers. Interestingly, booting in "normal" mode has never been an issue - save for the exceptional amount of time it takes.
    Since the data on the disk was of no use to me, I created a 10.10.1 install package on a USB stick and installed fresh - verifying and reformatting the hard drive before performing the install. The installation was uneventful (i.e. worked just like it should).
    So, now I am running 10.10.1 and still no Bluetooth. I tried the AHT again and again it gets hung probing the hardware and I can't even initiate the test. I even tried a suggestion from another thread (hold ctl-shift-option and the power button for about 6 sec while the power is off)... that had worked for a number of folks but not for me.
    One other piece of info I just confirmed while writing this, 0x6100000 is the Location ID associated with the BRCM2046 Hub - i.e. the Bluetooth device. Why this shows up as a hub on the USB Bus but the device itself doesn't appear to exist is confusing. I certainly would expect to see this as a USB hub on a correctly functioning system, it's just confusing why it's there when the underlying bluetooth device is not recognized.
    So, I am pretty much convinced it's a hardware issue of some kind - given this is a "spare" Mac that I was simply trying to re-purpose to host a film scanner that requires a FireWire interface, I am not sure how much I want to invest financially in getting this resolved. I have heard that Apple no longer services these machines, but I could be wrong...  As I see it my options are kind of limited:
    1) Take it to a repair facility (even if Apple doesn't work on them, there are at least 2 places near by that do) and pay them $$ just to tell me that it's going to be $$$ fix it.
    2) Get my hands dirty, open this thing up and see if I can fix it.
    I'm leaning towards option 2, but I am really reluctant to go on a fishing expedition. Based on what I have observed, it seems to be a problem with the bluetooth module itself, and as I understand it that is a separate part from the main logic board... which means that I can replace it for about $35 and the cost of the right tools; which all together total about the same amount as the "diagnostic" fee any local repair shop would charge. If it's not that, then it's the logic board and the best price I can find for that puts it in the "not worth the trouble" category anyway. I don't want to rule out some other component - memory, disk drive, or power supply... but any of those, at least to me, seem like the kind of components which would cause more erratic behavior when they fail.
    So, what's my question - simple ... have I missed something here. Before I perform open heart surgery are there any last tricks I can try or is my conclusion that this must be a hardware problem pretty solid?

    If your EHDs are formatted OS X Extended (journaled) and your using them as normal EHDs you don't need all of the WD software installed. The OS can use the disks without it.  Uninstall all of the WD software:
    WDSecurityHelper    Application  (/Applications/WD Security.app/Contents/WDSecurityHelper.app)
    WDDriveUtilityHelper    UNKNOWN  (missing value)
    WDDriveUtilityHelper    Application  (/Applications/WD Drive

  • MacBookPro5,1 + Install Mac 10.9.3 = restart loop (safe boot only)

    Tried installing 10.9.3 from 10.6.8 on my MacBookPro5,1 on 2014/06/03; it goes into a startup loop since then and only starts in Safe mode. I am thankful that Mavericks' Safe mode allows internet browsing; but I have searched in vain so far for a solution.
    Things I have tried with no succes so far:
    Reinstall 10.9.3
    Reset power manager/SMC
    Zap NVRAM
    Puzzled over error logs
    Logged into recovery mode, repaired disk and permissions
    Made bootable installer on external drive
    Install (clean?) 10.9.3 on 900GB partition of external drive, will only start in safe mode from that installation
    Run Apple Hardware Test from original install disk 2, got an error
    Confirmed that AHT error (battery thermal sensor?) was from replacement battery by running test with original battery. Tried but failed to startup with original battery. Internet sources indicate error no real problem.
    Replaced  8GB memory upgrade (from OWC) with original 4GB stock memory, still only starts in safe mode
    Before initially installing Mavericks from Snow Leopard, I:
    Made a Time Machine backup on an external drive
    Verified disk with Disk Utility
    Repaired permissions with DU
    Ran TechTool Pro 6 - Did not run detailed sector check, passed all other tests including SMART, video, RAM, etc.
    Backed up projects, archives, and such on external hard drive, now wish I had done the disk clone option too.
    I am hopeful for a solution to stay with Mavericks rather than rewind back to Snow Leopard...
    Currently running off the clean(?) install on the external hard drive, here is the error message to Apple:
    Thu Jun 12 21:27:24 2014
    panic(cpu 1 caller 0xffffff80022dbf5e): Kernel trap at 0xffffff7f83b84c8b, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000010, CR3: 0x00000000277d3000, CR4: 0x0000000000000660
    RAX: 0xc14b5fdeedbc0000, RBX: 0xffffff8066d83000, RCX: 0x0000000000000000, RDX: 0xffffff8094d339c8
    RSP: 0xffffff8094d33b00, RBP: 0xffffff8094d33b00, RSI: 0x0000000000000000, RDI: 0x0000000000000000
    R8:  0x0000000000000000, R9:  0xffffff8002801910, R10: 0x00000000000003ff, R11: 0xffffffffffffffff
    R12: 0x0000000000000000, R13: 0xffffff8066d83000, R14: 0x00000000e00002bc, R15: 0x0000000000000002
    RFL: 0x0000000000010293, RIP: 0xffffff7f83b84c8b, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000000010, Error code: 0x0000000000000000, Fault CPU: 0x1
    Backtrace (CPU 1), Frame : Return Address
    0xffffff8094d33790 : 0xffffff8002222fa9
    0xffffff8094d33810 : 0xffffff80022dbf5e
    0xffffff8094d339e0 : 0xffffff80022f3456
    0xffffff8094d33a00 : 0xffffff7f83b84c8b
    0xffffff8094d33b00 : 0xffffff7f83b6f2b0
    0xffffff8094d33b50 : 0xffffff7f83b6f1fe
    0xffffff8094d33b70 : 0xffffff7f83b4b2df
    0xffffff8094d33bb0 : 0xffffff7f82ba02f8
    0xffffff8094d33bf0 : 0xffffff7f82ba026e
    0xffffff8094d33c10 : 0xffffff7f82ba447f
    0xffffff8094d33ca0 : 0xffffff7f82b9c675
    0xffffff8094d33ce0 : 0xffffff7f82be92c8
    0xffffff8094d33d30 : 0xffffff8002697993
    0xffffff8094d33d90 : 0xffffff80026ccf05
    0xffffff8094d33e00 : 0xffffff80022b61ab
    0xffffff8094d33e50 : 0xffffff8002226bf1
    0xffffff8094d33e80 : 0xffffff80022139f5
    0xffffff8094d33ef0 : 0xffffff800221e043
    0xffffff8094d33f70 : 0xffffff80022c989d
    0xffffff8094d33fb0 : 0xffffff80022f3c76
          Kernel Extensions in backtrace:
             com.apple.iokit.IOGraphicsFamily(2.4.1)[B889D3AB-CCC0-3FCD-A83E-D2E3E4CB537B]@0 xffffff7f82b93000->0xffffff7f82bcafff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[244D4E48-78E6-3369-8D76-285C66EF9BF4]@0xffffff 7f828be000
             com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[6EB3FF52-A4F6-3496-AE9C-D89B00F DE504]@0xffffff7f82be6000->0xffffff7f82e4efff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[244D4E48-78E6-3369-8D76-285C66EF9BF4]@0xffffff 7f828be000
                dependency: com.apple.iokit.IONDRVSupport(2.4.1)[B93BBFC9-9ED5-3DDD-8CED-5EDA081BB997]@0xff ffff7f82bd6000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[B889D3AB-CCC0-3FCD-A83E-D2E3E4CB537B]@0 xffffff7f82b93000
             com.apple.GeForceTesla(8.2.4)[24ED915E-02F3-3A31-8502-6AA41FFCA420]@0xffffff7f8 3b48000->0xffffff7f83c12fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[244D4E48-78E6-3369-8D76-285C66EF9BF4]@0xffffff 7f828be000
                dependency: com.apple.iokit.IONDRVSupport(2.4.1)[B93BBFC9-9ED5-3DDD-8CED-5EDA081BB997]@0xff ffff7f82bd6000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[B889D3AB-CCC0-3FCD-A83E-D2E3E4CB537B]@0 xffffff7f82b93000
                dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[6EB3FF52-A4F6-3496-AE9C-D89B00F DE504]@0xffffff7f82be6000
    BSD process name corresponding to current thread: WindowServer
    Boot args: -v
    Mac OS version:
    13D65
    Kernel version:
    Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64
    Kernel UUID: ADD73AE6-88B0-32FB-A8BB-4F7C8BE4092E
    Kernel slide:     0x0000000002000000
    Kernel text base: 0xffffff8002200000
    System model name: MacBookPro5,1 (Mac-F42D86C8)
    System uptime in nanoseconds: 71996876916
    last loaded kext at 71995371686: com.apple.driver.AppleHWSensor          1.9.5d0 (addr 0xffffff7f8415c000, size 36864)
    loaded kexts:
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AppleHDAHardwareConfigDriver          2.6.1f2
    com.apple.driver.AppleTyMCEDriver          1.0.2d2
    com.apple.driver.AGPM          100.14.15
    com.apple.driver.AppleMikeyHIDDriver          124
    com.apple.driver.AppleHDA          2.6.1f2
    com.apple.iokit.IOBluetoothSerialManager          4.2.4f1
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleUSBCDC          4.2.1b5
    com.apple.driver.AppleMikeyDriver          2.6.1f2
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleHWAccess          1
    com.apple.GeForceTesla          8.2.4
    com.apple.iokit.IOBluetoothUSBDFU          4.2.4f1
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport          4.2.4f1
    com.apple.driver.AppleUpstreamUserClient          3.5.13
    com.apple.driver.AppleMuxControl          3.5.26
    com.apple.driver.AppleBacklight          170.3.5
    com.apple.driver.AppleUSBOpticalMouse          650.4.0
    com.apple.driver.AppleSMCLMU          2.0.4d1
    com.apple.driver.AppleMCCSControl          1.1.12
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleIntelMCEReporter          104
    com.apple.driver.AppleLPC          1.7.0
    com.apple.nvidia.NVDAStartup          8.2.6
    com.apple.driver.SMCMotionSensor          3.0.4d1
    com.apple.driver.AppleUSBTCButtons          240.2
    com.apple.driver.AppleUSBTCKeyEventDriver          240.2
    com.apple.driver.AppleUSBTCKeyboard          240.2
    com.apple.driver.AppleIRController          325.7
    com.apple.driver.AppleFileSystemDriver          3.0.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          35
    com.apple.iokit.SCSITaskUserClient          3.6.6
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.5.1
    com.apple.driver.AirPort.Brcm4331          700.20.22
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleUSBHub          666.4.0
    com.apple.driver.AppleFWOHCI          5.0.2
    com.apple.driver.AppleAHCIPort          3.0.0
    com.apple.nvenet          2.0.21
    com.apple.driver.AppleUSBEHCI          660.4.0
    com.apple.driver.AppleUSBOHCI          656.4.1
    com.apple.driver.AppleRTC          2.0
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleACPIButtons          2.0
    com.apple.driver.AppleSMBIOS          2.1
    com.apple.driver.AppleACPIEC          2.0
    com.apple.driver.AppleAPIC          1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient          217.92.1
    com.apple.nke.applicationfirewall          153
    com.apple.security.quarantine          3
    com.apple.driver.AppleIntelCPUPowerManagement          217.92.1
    com.apple.AppleGraphicsDeviceControl          3.5.26
    com.apple.driver.DspFuncLib          2.6.1f2
    com.apple.vecLib.kext          1.0.0
    com.apple.iokit.IOAudioFamily          1.9.7fc2
    com.apple.kext.OSvKernDSPLib          1.14
    com.apple.iokit.IOSerialFamily          10.0.7
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSurface          91.1
    com.apple.iokit.IOBluetoothFamily          4.2.4f1
    com.apple.nvidia.classic.NVDANV50HalTesla          8.2.4
    com.apple.iokit.IOBluetoothHostControllerUSBTransport          4.2.4f1
    com.apple.driver.AppleSMBusPCI          1.0.12d1
    com.apple.driver.AppleGraphicsControl          3.5.26
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.iokit.IOFireWireIP          2.2.6
    com.apple.driver.AppleHDAController          2.6.1f2
    com.apple.iokit.IOHDAFamily          2.6.1f2
    com.apple.driver.AppleSMBusController          1.0.11d1
    com.apple.nvidia.classic.NVDAResmanTesla          8.2.4
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.IOPlatformPluginFamily          5.7.0d11
    com.apple.iokit.IONDRVSupport          2.4.1
    com.apple.iokit.IOGraphicsFamily          2.4.1
    com.apple.driver.AppleSMC          3.1.8
    com.apple.driver.AppleUSBMultitouch          240.9
    com.apple.iokit.IOUSBHIDDriver          660.4.0
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.6.6
    com.apple.driver.AppleUSBMergeNub          650.4.0
    com.apple.iokit.IOUSBMassStorageClass          3.6.0
    com.apple.driver.AppleUSBComposite          656.4.1
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.6.6
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOAHCISerialATAPI          2.6.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.6.6
    com.apple.iokit.IO80211Family          630.35
    com.apple.iokit.IOUSBUserClient          660.4.2
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOAHCIFamily          2.6.5
    com.apple.iokit.IONetworkingFamily          3.2
    com.apple.iokit.IOUSBFamily          677.4.0
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleEFINVRAM          2.0
    com.apple.driver.AppleEFIRuntime          2.0
    com.apple.iokit.IOHIDFamily          2.0.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          278.11
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.AppleKeyStore          2
    com.apple.driver.DiskImages          371.1
    com.apple.iokit.IOStorageFamily          1.9
    com.apple.iokit.IOReportFamily          23
    com.apple.driver.AppleFDEKeyStore          28.30
    com.apple.driver.AppleACPIPlatform          2.0
    com.apple.iokit.IOPCIFamily          2.9
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    com.apple.kec.pthread          1
    Model: MacBookPro5,1, BootROM MBP51.007E.B06, 2 processors, Intel Core 2 Duo, 2.53 GHz, 4 GB, SMC 1.33f8
    Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
    Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334448312D4346382020
    Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334448312D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.4f1 13674, 3 services, 23 devices, 0 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: Hitachi HTS543232L9SA02, 320.07 GB
    Serial ATA Device: MATSHITADVD-R   UJ-868
    USB Device: My Book 1140
    USB Device: BRCM2046 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: Built-in iSight
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: IR Receiver
    USB Device: Hub in Apple Pro Keyboard
    USB Device: Apple Optical USB Mouse
    USB Device: Apple Pro Keyboard
    Thunderbolt Bus:
    Here is the EtraCheck report while running in safe mode, external hard drive:
    EtreCheck version: 1.9.11 (43) - report generated June 12, 2014 at 9:32:25 PM PDT
    Hardware Information:
              MacBook Pro (15-inch, Late 2008)
              MacBook Pro - model: MacBookPro5,1
              1 2.53 GHz Intel Core 2 Duo CPU: 2 cores
              4 GB RAM
    Video Information:
              NVIDIA GeForce 9400M - VRAM: 256 MB
              NVIDIA GeForce 9600M GT - VRAM: 512 MB
    System Software:
              OS X 10.9.3 (13D65) - Uptime: 0 days 0:7:3
    Disk Information:
              Hitachi HTS543232L9SA02 disk0 : (320.07 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /Volumes/Macintosh HD: 319.21 GB (99.26 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-868 
    USB Information:
              Western Digital My Book 1140 3 TB
                        EFI (disk1s1) <not mounted>: 314.6 MB
                        Big Mavs (disk1s2) / [Startup]: 949.48 GB (931.14 GB free)
                        Recovery HD (disk1s3) <not mounted>: 650 MB
                        Install OS X Mavericks (disk1s4) /Volumes/Install OS X Mavericks: 49.87 GB (44.35 GB free)
                        Big Mavs Deep (disk1s5) /Volumes/Big Mavs Deep: 2 TB (1.99 TB free)
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Built-in iSight
              Apple, Inc. Apple Internal Keyboard / Trackpad
              Apple Computer, Inc. IR Receiver
              Mitsumi Electric Hub in Apple Extended USB Keyboard
                        Logitech Apple Optical USB Mouse
                        Mitsumi Electric Apple Extended USB Keyboard
    Gatekeeper:
              Mac App Store and identified developers
    Problem System Launch Daemons:
              [failed] com.apple.ucupdate.plist
    Launch Daemons:
              [not loaded] amsdstat.plist Support
    User Login Items:
              iTunesHelper
    Internet Plug-ins:
              Default Browser: Version: 537 - SDK 10.9
              QuickTime Plugin: Version: 7.7.3
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes:
              None
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                   1%          WindowServer
                   0%          fontd
                   0%          ocspd
                   0%          kextd
                   0%          imagent
    Top Processes by Memory:
              127 MB          com.apple.IconServicesAgent
              78 MB          Finder
              57 MB          Problem Reporter
              53 MB          SystemUIServer
              53 MB          com.apple.internetaccounts
    Virtual Memory Information:
              1.70 GB          Free RAM
              1.40 GB          Active RAM
              301 MB          Inactive RAM
              358 MB          Wired RAM
              143 MB          Page-ins
              0 B          Page-outs
    Things I noticed in the two reports:
          Kernel Extensions in backtrace:
    The backtrace looks the same (on cursory examination) whether the error log was generated by the clean external HD install or the internal notebook HD.
    Problem System Launch Daemons:
      [failed] com.apple.ucupdate.plist
    This EtraCheck note was also on both the clean external HD install and the internal notebook HD reports.
    Whew...
    Thanks for your patience with this long winded posting, any help is greatly appreciated!

    Good thought Barney!
    Here is what search for ucupdate in all console messages shows:
    6/12/14 9:27:25.058 PM com.apple.launchd[1]: (com.apple.ucupdate.plist[24]) Exited with code: 1
    6/12/14 9:43:08.598 PM sandboxd[393]: ([390]) TextEdit(390) deny file-write-data /System/Library/LaunchDaemons/com.apple.ucupdate.plist
    And the Full Report reads:
    TextEdit(390) deny file-write-data /System/Library/LaunchDaemons/com.apple.ucupdate.plist
    Process:         TextEdit [390]
    Path:            /Applications/TextEdit.app/Contents/MacOS/TextEdit
    Load Address:    0x1059e3000
    Identifier:      com.apple.TextEdit
    Version:         310 (1.9)
    Build Info:      1-TextEdit~310000000000000
    Code Type:       x86_64 (Native)
    Parent Process:  launchd [182]
    Date/Time:       2014-06-12 21:43:07.929 -0700
    OS Version:      Mac OS X 10.9.3 (13D65)
    Report Version:  8
    Thread 0:
    0   libsystem_kernel.dylib                  0x000000010af3aa1a mach_msg_trap + 10
    1   CoreFoundation                          0x00000001061a8fc5 __CFRunLoopServiceMachPort + 181
    2   CoreFoundation                          0x00000001061a85e9 __CFRunLoopRun + 1161
    3   CoreFoundation                          0x00000001061a7f25 CFRunLoopRunSpecific + 309
    4   HIToolbox                               0x0000000108a58a0d RunCurrentEventLoopInMode + 226
    5   HIToolbox                               0x0000000108a587b7 ReceiveNextEventCommon + 479
    6   HIToolbox                               0x0000000108a585bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    7   AppKit                                  0x00000001064b426e _DPSNextEvent + 1434
    8   AppKit                                  0x00000001064b38bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    9   AppKit                                  0x00000001064a79bc -[NSApplication run] + 553
    10  AppKit                                  0x00000001064927a3 NSApplicationMain + 940
    11  libdyld.dylib                           0x000000010ada25fd start + 1
    Thread 1:
    0   libsystem_kernel.dylib                  0x000000010af3e4a2 __mac_syscall + 10
    1   AppKit                                  0x000000010678bd76 -[NSDocument _autosavingPossibilityConcern] + 211
    2   AppKit                                  0x000000010678bc4d -[NSDocument _checkAutosavingPossibilityAndReturnError:] + 64
    3   AppKit                                  0x000000010678bbff -[NSDocument checkAutosavingPossibilityAndReturnError:] + 17
    4   AppKit                                  0x000000010678bb19 -[NSDocument _checkAutosavingAndReturnError:] + 26
    5   AppKit                                  0x000000010678bad0 -[NSDocument _checkAutosavingAndUpdateLockedState] + 26
    6   AppKit                                  0x000000010691bf45 -[NSDocument _initForURL:withContentsOfURL:ofType:error:] + 422
    7   AppKit                                  0x000000010691c0ab -[NSDocument initForURL:withContentsOfURL:ofType:error:] + 339
    8   AppKit                                  0x000000010696564f -[NSDocumentController makeDocumentForURL:withContentsOfURL:ofType:error:] + 346
    9   AppKit                                  0x0000000106964bd0 __89-[NSDocumentController reopenDocumentForURL:withContentsOfURL:display:completionHandler:]_block_invoke _6 + 55
    10  libdispatch.dylib                       0x000000010ad6f1bb _dispatch_call_block_and_release + 12
    11  libdispatch.dylib                       0x000000010ad6c28d _dispatch_client_callout + 8
    12  libdispatch.dylib                       0x000000010ad6e082 _dispatch_root_queue_drain + 326
    13  libdispatch.dylib                       0x000000010ad6f177 _dispatch_worker_thread2 + 40
    14  libsystem_pthread.dylib                 0x000000010b052ef8 _pthread_wqthread + 314
    15  libsystem_pthread.dylib                 0x000000010b055fb9 start_wqthread + 13
    Thread 2:
    0   libsystem_kernel.dylib                  0x000000010af3f662 kevent64 + 10
    1   libdispatch.dylib                       0x000000010ad6e136 _dispatch_mgr_init + 0
    Thread 3:
    0   libsystem_kernel.dylib                  0x000000010af3ee6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x000000010b055fb9 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib                  0x000000010af3ee6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x000000010b055fb9 start_wqthread + 13
    Thread 5:
    0   libsystem_kernel.dylib                  0x000000010af3ee6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x000000010b055fb9 start_wqthread + 13
    Thread 6:
    0   libsystem_kernel.dylib                  0x000000010af3ee6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x000000010b055fb9 start_wqthread + 13
    Binary Images:
           0x106138000 -        0x10631dfff  com.apple.CoreFoundation (6.9 - 855.16) <a63e680e-e4b2-368b-8564-9dbe0d8ddb91> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
           0x106490000 -        0x107006ff7  com.apple.AppKit (6.9 - 1265.20) <d2a7af23-0fea-3d7d-9cf5-b4e262224577> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
           0x108a2a000 -        0x108cd4ff5  com.apple.HIToolbox (2.1.1) <a388e773-ae7b-3fd1-8662-a98e6e24ea16> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
           0x10ad6b000 -        0x10ad85fff  libdispatch.dylib (339.92.1) <c4e4a18d-3c3b-3c9c-8709-a4270d998de7> /usr/lib/system/libdispatch.dylib
           0x10ad9f000 -        0x10ada2ff7  libdyld.dylib (239.4) <7c9ec3b7-dde3-33ff-953f-4067c743951d> /usr/lib/system/libdyld.dylib
           0x10af29000 -        0x10af45ff7  libsystem_kernel.dylib (2422.100.13) <498aebd7-4194-3cf2-aa16-d5d03ffbd8c0> /usr/lib/system/libsystem_kernel.dylib
           0x10b050000 -        0x10b057ff7  libsystem_pthread.dylib (53.1.4) <ab498556-b555-310e-9041-f67ec9e00e2c> /usr/lib/system/libsystem_pthread.dylib
    ------------ End report above  ----------------------
    I wonder if com.apple.ucupdate.plist is locked?
    Thanks for this suggestion, gives me more info to look up.
    I can tell this 5,1 really wants to run Mavericks, even running in Mavericks Safe Mode is giving longer battery life already...

  • How to install third-party SSD as boot disk in MacPro 5,1

    I had so much trouble with this that I thought I'd post a recipe that others could follow.
    The first thing you should know is that it's not possible to get a non-Apple SSD recognized in a sled slot of a MacPro 5,1.  It just doesn't see them at all, even if (as some suggested) previously partitioned as a GUID partition (which works in a MacBook Pro, but not a MacPro 5,1).  This is true even with the most up-to-date EFI firmware.  You're going to have to use a PCIe adapter card.
    The next thing you should know is that not all PCIe SATA3 SSD adapter cards are bootable on a MacPro 5,1.  For instance, even though the Sonnet Tempo SSD is advertised as working for a boot drive in a Mac Pro, it actually works in any Mac Pro *except* the 5,1.  In a 5,1 drives on the card do not work as boot drives, either with option boot or if you select it as the startup drive after booting from something else.  Also, EFI boot is extended by about a minute -- not the end of the world, but an annoyance.  The Tempo card does work well for add-on drives, its very fast.  I am pretty sure the Tempo Pro variant of the card also does not work, as the Sonnet support guys told me that they have to use use rEFIt for booting 5,1 MacPros in their lab.  I imagine if the Pro worked they would have pointed me at that instead.  (Note that rEFIt has been superseded by rEFInd, http://www.rodsbooks.com/refind/.  I didn't try using rEFIt or rEFInd because I found a better way, but if you want to dual-boot to Linux those utilities are apparently Da Bomb.)
    An Apricorn Velocity x2 Duo card *will* boot, and does not have a long EFI boot delay.  That card is a little more expensive than the Tempo SSD (but not the Tempo Pro SSD) but it works properly.  It's worth the extra money, especially since it's the only card I could find that explicitly claimed to work as a boot drive on a 5,1 MacPro.  And it does.
    One caveat: With the Tempo SSD the SSD drives were invisible until repartitioned in GUID format, which also happens if you try to use a third-party SSD inside a Macbook Pro.  I found that I could repartition one drive, a Crucial MX500 960GB, using a run-of-the-mill USB SATA2 adapter.  Unfortunately this solution did not work with a Samsung Evo 1TB drive, I had to use an external USB3 enclosure.  Moreover, the enclosure supported both FireWire and USB3 but FireWire did not work.  This FireWire issue might be due to the super-cheap enclosure I was using, so YMMV, but keep in mind that it's possible that you'll need either a USB3 expansion card in the MacPro, or a different Mac, to perform the initial repartition to GUID format.
    It's possible that SSDs would be visible on the Velocity card even before repartitioning, I don't know as both of my drives had been repartitioned prior to trying the Velocity.  So, it might work ... but you might need to partition externally.
    I don't know if pre-partitioning is necessary with the Velocity card, as I only ever tried pre-partitioned drives with it.  If you try the Velocity and the drive isn't seen, that's the problem and you'll have to use an external SATA adapter of some sort to repartition before installing on the Velocity card.
    After partitioning the drive and installing on the Velocity card, it worked fine.  Yosemite installed properly and with reboot it blazed.
    Next up, TRIM support.  For some reason known only to Apple, the Apple AHCI driver refuses to enable TRIM support for anything other than Apple drives.  It's possible that there are or were bugs in some of the early SSDs and Apple is just playing it safe, although I would have preferred to have the option to enable TRIM or not if that's the case.  Unfortunately there is no such option, you have to use a substitute AHCI driver.
    Unfortunately if you're using Yosemite you cannot use a substitute driver without disabling kext extensions, because Apple will not sign anyone else's driver (at least not at the time of this writing).  That's unfortunate, I would prefer to have signed extensions if I could, but realistically speaking you're no worse off in terms of security than you were with Mavericks so it's not the end of the world.  With a little luck Apple will either start supporting TRIM on third-party drives or starts signing third-party drivers sometime in the future.
    So: Before you can start TRIMming drives, you first need to run this command, or something like it:
    sudo nvram boot-args=“kext-dev-mode=1”
    I rather like seeing the boot process, rather than just the Apple logo, so I use this:
    sudo nvram boot-args=“-v kext-dev-mode=1”
    I tried both Trim Enabler (http://www.cindori.org/software/trimenabler/) and Chameleon SSD Optimizer (http://chameleon.alessandroboschini.com/).  As of this writing the Chameleon driver is more up-to-date, and comes with some additional utilities that are pretty nice.  Take your pick, though, both worked fine in my experiments.
    With a TRIM-enabled AHCI driver, kext signing disabled, a Velocity card, and your favorite SSD you are in business.
    The only weird thing after all of this is that non-boot SSDs on the Velocity card (or on the Tempo) are ejectable.  As far as I can determine there’s no way to mark them as non-ejectable.  That’s a minor annoyance compared to the performance you get out of the SSD, though.
    Because, with this stuff in there, yowza is the MacPro 5,1 a fast machine.  You Will Like It.  Enjoy!

    Then you should read these.
    http://forums.macrumors.com/showthread.php?t=1804704&highlight=sonnet+tempo+pro
    http://forums.macrumors.com/showthread.php?t=1721573&highlight=sonnet+tempo+pro
    This was strange but has to do with how startup disk and nvram interact
    http://forums.macrumors.com/showthread.php?t=1795765
    I think your problems were solvable and not that the Sonnet card and 5,1 is not bootable, in fact the 5,1 is easier, there are more supported cards.
    I have the 1,1 where the Sonnet Pro is recommended but for data only and are not bootable because of the 32-bit EFI firmware. NOT the 4,1 and 5,1. The 2008's are problem child and have a mix of PCIe 1.1 slots, first implementation of EFI64 that also has problems. Also the 4,1 has two PCIe 2.x slots 3 and 4 that share a controller but that simply limits bandwidth.
    I would have left the TRIM support and NVRAM changes in Yosemite to a separate thread if you wanted to focus on the Sonnet Tempo Pro support in Mac Pro 2010-12 5,1s.
    Also the make of SSD can vary and they also have their own firmware as do bootable controllers along with the EFI of the Mac, all of which have to work together.  Meaning it might be that Samsung 840 va 840 EVO vs 840 Pro will all be slightly different but my experience is Samsungs work well (as do others like Crucial with the proper firmware - and there was/is an issue with the firmware of the Samsung 840 but not with booting).
    The PCIe card gets seen and treated as external and therefore 'eject' but of course you can't when it is the system boot drive.
    One thing I found last week and meant to mention:  After installing or changing PCIe cards, RESET SMC made all the difference in the world with the long boot delay. Some PCIe cards will add a few seconds, system has to search the device tree which now shows another controller with multiple devices - and sometimes NVRAM and SMC are what I will call "dirty" and need to be rebuilt and reset.

  • Yosemite 10.10.1 will not boot regulary

    Hello everybody
    This is my first request here. I have big problems since I did the 10.10.1 update on my iMac with Yosemite.
    The issue is, when I start the machine, it hangs with a gray screen on boot sequence, before the login window comes up. Only in save mode, I can get access to my PC. An other thing is also wrong. In iPhoto, I can't edit pictures by iPhoto. Only a black placeholder instead of the picture appears. With preview I can edit the pictures.
    Prior to this issue I had a boot camp partition with Win 8.1 (32 bit) on the HDD. But Win 8.1 would also not boot any more. The Win HDD was grayed out on choosing window.
    After that, I was trying several things, I read on the web, but nothing was helpful! I also did a clean installation with only one partition, but nothing changed. I also made a reset for PRAM and the SMC and did a single user start a.s.o., but, the same thing happened as before!
    At this moment, I work in save mode with the time machine backup I restored with several restrictions of course. I know, many people has similar problems. I wonder, why Apple does nothing against it!
    I'm very thankful, if anybody could give me an idea to resolve my problems! Thanks in advance!
    Supportix says Merry Christmas to all!

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of it have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Bluetooth SerialATA Fonts 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' \*dropbox \*genieo\* \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB 'com.adobe.AAM.Updater-1.0 com.adobe.AAM.Updater-1.0 com.adobe.AdobeCreativeCloud com.adobe.CS4ServiceManager com.adobe.CS5ServiceManager com.adobe.fpsaud com.adobe.SwitchBoard com.adobe.SwitchBoard com.apple.aelwriter com.apple.AirPortBaseStationAgent com.apple.FolderActions.enabled com.apple.installer.osmessagetracing com.apple.mrt.uiagent com.apple.ReportCrash.Self com.apple.rpmuxd com.apple.SafariNotificationAgent com.apple.usbmuxd com.citrixonline.GoToMeeting.G2MUpdate com.google.keystone.agent com.google.keystone.daemon com.microsoft.office.licensing.helper com.oracle.java.Helper-Tool com.oracle.java.JavaUpdateHelper com.oracle.java.JavaUpdateHelper org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.startx' '879294308 4071182229 461455494 3627668074 1083382502 1274181950 1855907737 2758863019 1848501757 464843899 3694147963 1233118628 2456546649 2806998573 2778718105 2636415542 842973933 2051385900 3301885676 891055588 998894468 695903914 1443423563 4136085286 523110921 2883943871 3873345487' 51 5120 files 4 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/faceb/s/(at\.)[^.]+/\1NAME/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[46]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: (E[^m]|[^EO])|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<10) print "com.apple.";} ' ' { sub(/ :/,"");print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:.+//p ' '/^root$/p' ' !/^\/[AD]|\/Contents\/.+\/Contents\//&&/\/(Lib|usr).+\/(.+\.framework|Contents|Info\.plist|Resources|Versions)$/ { n++;sub(/\/Info\.plist$/,"");sub(/\/(Content|Resource|Version)s(\/.+)?/,"");print|"sort|uniq";} END { if(n<1100) print "/System/";} ' '/\.dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { split("'"${p[41]}"'",b);split("'"${p[42]}"'",c);for(i in b) print b[i]".plist\t"c[i];if(n<500) print "Launch";} ' ' /^\/[AD]/d;p;' 's/Pr.+n //p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&& $3!~/(255\.){3}0/)||(/v6:/&&$2!~/A/) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p);if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"cksum "F|getline C;split(C, A);C="checksum "A[1];"file -b "F|getline T;if(T~/^Apple b/) { f="";l=0;while("PlistBuddy -c Print "F|getline g) { l++;if(l<=L) f=f"\n   "g;};};if(T!~/^(AS.+ (En.+ )?text(, with v.+)?$|(Bo|PO).+ sh.+ text ex|XM)/) F=F" ("T", "C")";else F=F" ("C")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9|"sort|uniq";} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */   /;' ' s/^.+ |\(.+\)$//g;p ' '/\.(appex|pluginkit)\/Contents\/Info\.plist$/p' ' /2/{print "WARN"};/4/{print "CRITICAL"};' ' /EVHF|MACR|^s/d;s/^.+: //p;' ' $3~/^[1-9][0-9]{0,2}(\.[1-9][0-9]{0,2}){2}$/ { i++;n=n"\n"$1"\t"$3;} END { if(i>1) print n;} ' ' s/:[^:]+$//;s/ +([0-9]+)(.+)/\2 x\1/p;' ' { gsub(/[()"]/,"",$3);if(!$3) $3="N/A";print $3;} ' ' 1,/\(P/d;/e: Pe/{ n;s/^.+://;b0'$'\n'' };/^ +Man.+: ./{ s/ \(0x.+\)//;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n//;p;' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps crontab iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl smcDiagnose sysctl\ -n defaults\ read stat lsbom 'mdfind -onlyin /' ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' pluginkit scutil dtrace profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil lsof test osascript\ -e netstat mdls );S1() { printf kMDItemContentTypeTree=com.apple.$1'|sort';};S2() { printf 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :'$1'" {} \;|uniq';};c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'|tr , \\\n" "`S2 CFBundleDisplayName`" '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '-F \$Message -k Sender kernel -k Message CSeq "I/O e"|sort|uniq -c' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$(RefProc): \$Message' -k Sender Req 'fsev|kern|launchd' -k RefProc Rne 'Aq|WebK' -k Message Rne '08012|Goog|ksadm|probe|Roame|SMC:|smcD|sserti|suhel| VALI|ver-r|xpma' -k Message Req 'abn|bad |Beac|caug|corru|dead[^bl]|FAIL|fail|GPU |hfs: Ru|idle ex|inval|jnl:|last value [1-9]|NVDA\(|pagin|pci pa|proc: t|Roamed|rror|SL|TCON|Throttli|tim(ed? ?|ing )o|WARN' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '/S*/*/Ca*/*xpc* >&- ||echo No' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' "`S1 bundle`" "`S1 mach-o-dylib`" `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" -m 'L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.???????|wc -l' kern.memorystatus_vm_pressure_level '3>&1 >&- 2>&3' " -F '\$Time \$Message' -k Sender kernel -k Message CSeq 'n Cause: -' " -i '-app Safari UserStyleSheetEnabled' -name\ kMDItem${p[35]} "`S2 ${p[35]}`" );N1=${#c2[@]};for j in {0..10};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files I/O\ errors 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents XPC\ cache Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors App\ extensions Lockfiles Memory\ pressure SMC Shutdowns Nets Stylesheet );N3=${#l[@]};for i in {0..3};do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};A'$((7+i))'() { v=` eval sudo "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};';done;A9(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "${s[63]}"<<<"$v"`&&C1 1 $1;};for i in 1 2 7 8;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 0 $((N1+8)) 71 $((N3+3));D13 1 10 7 9;D13 1 11 8 10;B1&&D73 19 53 67 55;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D13 5 5 69 1;D13 5 54 30 56;D23 5 14 12 14;D22 6 36 13 15;D22 20 52 66 54;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D82 35 49 61 51;D82 11 17 17 20;for i in 0 1;do D82 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A8 18 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 24 22 29;B7 12;B2 14;A4 39 57 70 14;B2 15;B6 14 15 4;C3 29;A1 24 23 32;B7 13;C3 30;B3 4 0 65;A3 14 6 32 0;B4 0 16 11;A1 26 50 64;B7 16;C3 52;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D73 21 0 32 19;D73 10 42 32 40;D82 29 35 46 39;};D23 14 1 62 42;D12 34 43 53 44;D12 22 20 32 25;D22 0 $((N1+10)) 51 32;D13 4 8 41 6;D12 21 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 38 55 68 57;D23 33 34 42 37;B1&&D83 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 10 42 32 41;D13 37 2 48 43;A1 4 3 60;B2 30;A1 4 58 60;B2 31;B6 30 31 4;C3 5;D12 21 56 35 58;D12 21 48 49 49;B3 4 22 57;A1 21 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D12 4 51 32 53;D23 22 9 37 7;A9;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Why my Startup Manager does not appear when I hold the Option key when starting to boot.

    I no longer have the Startup Manager appearing when I hold the Option key when starting to boot.
    Instead, the system just boots into whichever OS was last selected in the Startup Disk Preference.
    How to get back my Startup Manager so that I can boot up from my external hard disk.
    Thank you.

    Can you please run the following in terminal and post the output in your reply:
    diskutil list; echo; nvram -p | grep boot-args; echo

Maybe you are looking for

  • Screen gone Dull on Satellite Pro A200

    I have a Satellite Pro A200 that works fine on an external monitor, but is very dull on the laptop monitor. Does anyone know if it is backlit, and if the lights are replaceable, or do I need a new screen? Fn + F5/F6 doesn't do anything. Correcting th

  • IPhone 3GS has stopped recording video - please help

    Hi - I have recently updated my iPhone to iOS 5...... I don't know if my problem is related to that fact - but yesterday the iPhone stopped recording video..... It has been recording video fine recently (after the up-date) - but now when I click onto

  • Nokia 6350 Error in Address Book.

    I just updated my phone using Nokia Ovi Suite and restored from a backup, now when I go to the Address Book, after 3 seconds it gives me "No settings found.  Contact your service provider." error.  I only use this phone for calling, no email/im servi

  • Fusion application sysadmin training

    what's the future of fusion apps sysadmin jobs? I am oracle dba but checking better options, any training classes/docs/material would help.

  • Flv video max duration

    Hi, I have a problem with video FLV that surpass 16777 seconds, in this point the video stops and the audio goes on. So I used Flash Video Encder with default parameters and later I tested the videos with flvcheck, that I downloaded from macromedia's