Cpu caller 0

Mac mid 2010.
Some weeks ago my mac started to shut down randomly. Either i was browsing the internet or using photoshop. When i starts up again by itself it says, "Cpu caller 0, 1, 2 and sometimes 3. I have tried to reinstall OS X, but with no luck. I got this error some minutes ago,
Anonymous UUID:       AF7B863B-BF9F-FA38-90F1-BA47715A2747
Sun Dec 14 20:36:22 2014
*** Panic Report ***
panic(cpu 0 caller 0xffffff7f9955cf63): "GPU Panic: [<None>] 5 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff8132c9b000 0x0a5480a2, D0, P3/4\n"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.7.21/src/Apple MuxControl/kext/GPUPanic.cpp:127
Backtrace (CPU 0), Frame : Return Address
0xffffff8120a4b0f0 : 0xffffff801693a811
0xffffff8120a4b170 : 0xffffff7f9955cf63
0xffffff8120a4b250 : 0xffffff7f974c2b9f
0xffffff8120a4b310 : 0xffffff7f9758c18e
0xffffff8120a4b350 : 0xffffff7f9758c1fe
0xffffff8120a4b3c0 : 0xffffff7f9780b056
0xffffff8120a4b4f0 : 0xffffff7f975af82d
0xffffff8120a4b510 : 0xffffff7f974c95f1
0xffffff8120a4b5c0 : 0xffffff7f974c70fc
0xffffff8120a4b7c0 : 0xffffff7f974c807a
0xffffff8120a4b8a0 : 0xffffff7f98b43446
0xffffff8120a4b8e0 : 0xffffff7f98b52dff
0xffffff8120a4b900 : 0xffffff7f98b81493
0xffffff8120a4b930 : 0xffffff7f98b814ed
0xffffff8120a4b970 : 0xffffff7f98b58a1f
0xffffff8120a4b9c0 : 0xffffff7f98b23027
0xffffff8120a4ba60 : 0xffffff7f98b1eda1
0xffffff8120a4ba90 : 0xffffff7f98b1c873
0xffffff8120a4bad0 : 0xffffff8016f0064c
0xffffff8120a4bb60 : 0xffffff8016f02773
0xffffff8120a4bbc0 : 0xffffff8016f00003
0xffffff8120a4bd00 : 0xffffff80169ea517
0xffffff8120a4be10 : 0xffffff801693e91c
0xffffff8120a4be40 : 0xffffff80169235a3
0xffffff8120a4be90 : 0xffffff8016933e8d
0xffffff8120a4bf10 : 0xffffff8016a0a142
0xffffff8120a4bfb0 : 0xffffff8016a3ac66
      Kernel Extensions in backtrace:
         com.apple.driver.AppleMuxControl(3.7.21)[32B7E2DE-1F9D-3555-B687-7A76A62B81D2]@ 0xffffff7f9954e000->0xffffff7f99561fff
            dependency: com.apple.driver.AppleGraphicsControl(3.7.21)[62689710-EEA7-307A-AC83-B8F25DA88 A6A]@0xffffff7f99546000
            dependency: com.apple.iokit.IOACPIFamily(1.4)[70E2B65E-A91A-3522-A1A0-79FD63EABB4C]@0xfffff f7f973a9000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[766FC23F-452C-3B74-951C-598BB17BCF06]@0xffffff 7f97124000
            dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0 xffffff7f9741b000
            dependency: com.apple.driver.AppleBacklightExpert(1.1.0)[0183904C-6A16-32C4-9405-EEFD7F820B 02]@0xffffff7f99549000
         com.apple.nvidia.classic.NVDAResmanTesla(10.0)[796AE430-39FB-3255-8161-D52AFA28 EE2B]@0xffffff7f97472000->0xffffff7f976dbfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[766FC23F-452C-3B74-951C-598BB17BCF06]@0xffffff 7f97124000
            dependency: com.apple.iokit.IONDRVSupport(2.4.1)[F4738C55-B507-3627-A9CA-3D29A5230A03]@0xff ffff7f97462000
            dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0 xffffff7f9741b000
         com.apple.nvidia.classic.NVDANV50HalTesla(10.0)[7FE40648-F15F-3E18-91E2-FDDDF4C DA355]@0xffffff7f976e6000->0xffffff7f9798ffff
            dependency: com.apple.nvidia.classic.NVDAResmanTesla(10.0.0)[796AE430-39FB-3255-8161-D52AFA 28EE2B]@0xffffff7f97472000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[766FC23F-452C-3B74-951C-598BB17BCF06]@0xffffff 7f97124000
         com.apple.GeForceTesla(10.0)[67CD214F-0F26-3BEF-BAD0-CF0F83C2616D]@0xffffff7f98 b00000->0xffffff7f98bcdfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[766FC23F-452C-3B74-951C-598BB17BCF06]@0xffffff 7f97124000
            dependency: com.apple.iokit.IONDRVSupport(2.4.1)[F4738C55-B507-3627-A9CA-3D29A5230A03]@0xff ffff7f97462000
            dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0 xffffff7f9741b000
            dependency: com.apple.nvidia.classic.NVDAResmanTesla(10.0.0)[796AE430-39FB-3255-8161-D52AFA 28EE2B]@0xffffff7f97472000
BSD process name corresponding to current thread: WindowServer
Mac OS version:
14A389
Kernel version:
Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
Kernel UUID: 89E10306-BC78-3A3B-955C-7C4922577E61
Kernel slide:     0x0000000016600000
Kernel text base: 0xffffff8016800000
__HIB  text base: 0xffffff8016700000
System model name: MacBookPro6,2 (Mac-F22586C8)
System uptime in nanoseconds: 196242648334
last loaded kext at 53942371065: com.apple.driver.AppleHWSensor 1.9.5d0 (addr 0xffffff7f99275000, size 36864)
loaded kexts:
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AudioAUUC 1.70
com.apple.driver.AppleTyMCEDriver 1.0.2d2
com.apple.driver.AGPM 100.14.37
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleOSXWatchdog 1
com.apple.iokit.IOBluetoothSerialManager 4.3.0f10
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleMikeyDriver 266.5
com.apple.driver.AppleHDAHardwareConfigDriver 266.5
com.apple.driver.AppleHDA 266.5
com.apple.driver.AppleIntelHDGraphics 10.0.0
com.apple.iokit.IOBluetoothUSBDFU 4.3.0f10
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleLPC 1.7.3
com.apple.driver.AppleIntelHDGraphicsFB 10.0.0
com.apple.GeForceTesla 10.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.3.0f10
com.apple.driver.AppleSMCLMU 2.0.4d1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleHWAccess 1
com.apple.driver.AppleHV 1
com.apple.driver.AppleUpstreamUserClient 3.6.1
com.apple.nvidia.NVDAStartup 10.0.0
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleMuxControl 3.7.21
com.apple.driver.AppleBacklight 170.4.12
com.apple.driver.AppleMCCSControl 1.2.10
com.apple.driver.SMCMotionSensor 3.0.4d1
com.apple.driver.AppleUSBTCButtons 240.2
com.apple.driver.AppleIRController 327.5
com.apple.driver.AppleUSBTCKeyEventDriver 240.2
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.iokit.SCSITaskUserClient 3.7.0
com.apple.driver.AppleUSBCardReader 3.5.0
com.apple.driver.CoreStorageFsck 471
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.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.6.5
com.apple.driver.AirPort.Brcm4331 800.20.24
com.apple.driver.AppleFWOHCI 5.5.2
com.apple.driver.AirPort.Brcm4360 900.19.8
com.apple.driver.AppleUSBHub 705.4.1
com.apple.iokit.AppleBCM5701Ethernet 10.1.2b3
com.apple.driver.AppleAHCIPort 3.0.7
com.apple.driver.AppleUSBEHCI 705.4.14
com.apple.driver.AppleUSBUHCI 656.4.1
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 3.1
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 3.1
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
com.apple.nke.applicationfirewall 161
com.apple.security.quarantine 3
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
com.apple.AppleGraphicsDeviceControl 3.7.21
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 11
com.apple.driver.DspFuncLib 266.5
com.apple.kext.OSvKernDSPLib 1.15
com.apple.iokit.IOAudioFamily 200.6
com.apple.vecLib.kext 1.2.0
com.apple.iokit.IOFireWireIP 2.2.6
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.nvidia.classic.NVDANV50HalTesla 10.0.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.3.0f10
com.apple.iokit.IOUSBUserClient 705.4.0
com.apple.driver.AppleHDAController 266.5
com.apple.iokit.IOHDAFamily 266.5
com.apple.iokit.IOSurface 97
com.apple.iokit.IOBluetoothFamily 4.3.0f10
com.apple.nvidia.classic.NVDAResmanTesla 10.0.0
com.apple.driver.IOPlatformPluginFamily 5.8.0d49
com.apple.driver.AppleGraphicsControl 3.7.21
com.apple.driver.AppleBacklightExpert 1.1.0
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.driver.AppleSMBusController 1.0.13d1
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.AppleUSBMultitouch 245.2
com.apple.iokit.IOUSBHIDDriver 705.4.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.0
com.apple.iokit.IOUSBMassStorageClass 3.7.0
com.apple.driver.AppleUSBMergeNub 705.4.0
com.apple.driver.AppleUSBComposite 705.4.9
com.apple.driver.CoreStorage 471
com.apple.iokit.IOAHCISerialATAPI 2.6.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.0
com.apple.iokit.IOFireWireFamily 4.5.6
com.apple.iokit.IO80211Family 700.52
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOAHCIFamily 2.7.0
com.apple.iokit.IOUSBFamily 705.4.14
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 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.DiskImages 389.1
com.apple.iokit.IOStorageFamily 2.0
com.apple.iokit.IOReportFamily 31
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 3.1
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
com.apple.kec.Libm 1
com.apple.kec.pthread 1
Model: MacBookPro6,2, BootROM MBP61.0057.B0F, 2 processors, Intel Core i7, 2.66 GHz, 8 GB, SMC 1.58f17
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x802C, 0x31364A5353353132363448592D3147314131
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x802C, 0x31364A5353353132363448592D3147314131
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.98.100.24)
Bluetooth: Version 4.3.0f10 14890, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: INTEL SSDSC2CT120A3, 120.03 GB
USB Device: Hub
USB Device: Internal Memory Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Hub
USB Device: Built-in iSight
USB Device: IR Receiver
Thunderbolt Bus:

Welcome to Apple Support Communities
You have got a Mid 2010 15-inch MacBook Pro, and the kernel panic shows that the NVIDIA GPU is damaged. This is a common problem in these Macs, and Apple repairs them for free if they were purchased less than two years ago.
A solution to prevent this issue is to get gfxCardStatus and set it to use the integrated graphic card, but you will have problems with applications like Adobe Photoshop. Anyway, you should take the computer to an Apple Store to get it repaired

Similar Messages

  • My mac book pro is frozen on a grey screen with an apple in the middle. It is not responding to restarting and has white letters that says panic(cpu caller 0xffffff8027259241) and so on

    panic(cpu 0 caller 0xffffff8027259241) : "Unable to find driver for this platform: \ "ACP\".\n"@/SourceCache/xnu/xnu-2050.20.9/iokit/Kernel/IOPlatformExpert.cpp:154 8
    Debugger called: <panic>
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80a0b1bde0 : 0xffffff8026e1d626
    0xffffff80a0b1be50 : 0xffffff8027259241
    0xffffff80a0b1be60 : 0xffffff802723081b
    0xffffff80a0b1bea0 : 0xffffff802723033e
    0xffffff80a0b1bf30 : 0xffffff802722c2d0
    0xffffff80a0b1bf70 : 0xffffff8027230e99
    0xffffff80a0b1bfb0 : 0xffffff8026eb2957
    BSD process name corresponding to current thread: Unknown
    Mac OS version:
    Not yet set
    Kernel version:
    Darwin Kernel Version 12.2.1 : Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20.9~2/RELEASE_X86_64
    Kernel UUID: 0AFA55FD-872F-3BBE-214EB586A16D
    Kernel slide:              0x0000000026c00000
    Kernel text base:       0xffffff8026e00000
    System uptime in nanoseconds: 507642361

    Press the Power button and hold it down until the computer turns off. Restart. Do you still get the same result? If so, then try booting into Safe Mode, then restart normally. A safe mode startup takes considerably longer than a normal one, so don't panic. You will also see a progress bar at the beginning.

  • Help, panic CPU caller 2

    Hi,
    any help would be great. Was watching a video on you tube when safari crashed (spinning rainbow). I couldn't force quit so i forced the computer to shut down by pressing the power button. I tried to reboot and now on the grey screen with apple logo i now get the below error come up:
    panic(CPU 2 caller 0xffffff80111cdf34): "process 1 exc of /Sabin/launchd failed....... And it keeps going.
    DOes anyone know what this is or how rectify it.. I've tried booting in safe mode and it keeps repeating this long message on the apple logo screen.
    Thanks

    Hello weaves56,
    Performing a Safe Boot is where I would have started as well if I were getting this panic message at the gray loading screen. I would recommend the other troubleshooting steps in the following article to help you isolate and resolve the issue here:
    Mac OS X: Gray screen appears during startup
    Just start at the top, and work your way down to the bottom as needed. 
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • After trying to install update on MacAir error message and then message saying panic (cpu caller 0xffffff800a859241): "Unable to find driver for this platform: \"ACPI\".... I'm worried as all of my work is on my computer and I'm afraid I will lose it all.

    I am totally worried I am going ot lose all my data after trying to install update on MacAir.  Cannot do anything error message saying panic ....."Unablet o find driver for this platform."

    Hi Guys
    No good news I'm afraid. I have been through ALL the system caches and files that were updated at the time of said issue. Reset - rebuild and even gone back to my TimeMachine copy from earlier this AM. Nothing! Can only assume it is something deeper in the /usr or var or private folders.....
    I have cloned the system and core files (/usr, /private) etc etc to an external HD and it still recreates the fault. I am afraid to say I have no more time at the minute to look at so have put my machine back to 2 hours prior via my TimeCapsule.
    I the absense of anyone else or, indeed, Apple fixing in the next 12 hours, will get back onto it from the cloned copy I have kept and see if I can find the offending file/files...
    Sorry I don't have an immedaite solution.

  • I have an old powerbook. i tried to erase the hard drive and it went wonky and now i cannot even start up from a leopard cd. i get a screen filled with code and the top error message reads: panic (cpu 0 caller: 0x002E1EC4): (message continued)

    error message reads:
    panic (cpu ) caller 0x00231EC4): Unable to find driver for this platform: "PowerBook 5,6".
    Lastest stack backtrace for cpu 0
    trying to load in leopard OS cd

    no it wont
    it's the same screen
    after the data above about the platform it reads:
    No debugger configure-dumping debug information
    MSR-00001030
    Latest stack bactrace for cup0:
    Backtrace:
    0x000954F8 0x00095BF8 0x 00026898 0x002E1EC4 0x002c12A0 0x002c1068 0x002cAD0 0x002C20DC 0x000A9714
    Exception stat (sv-0x0052d500)
    PC-0x00000000; MSR-0x0000D030; DAR-0x00000000; SISR-0x00000000; LR-0x00000000; R1-00000000; XCP=00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.11.0; Wed Oct 10 18:26:00 PDT 20007; root: xnu-792.24.17-1/RELEASE_PPC panic: We hanging here....

  • How can I stop a task sequence if a custom HTA preflight check fails?

    In our currently deployment method, we launch an HTA program before initiating the OSD process. This is only when run from the RAP menu, not via PXE.  When a user initiates OSD through that menu, they get a message prompting them to close Outlook, and
    a countdown of 5 mins, then OSD starts.  They also have the ability to click on an 'OK' button to proceed on their own.
    I've created a new script which checks WMI if Outlook and/or OCS are open, and if the machine is running on battery, spit out a "Failed" response and stop the HTA.  I've also added a "recheck" button to re-do the check, and an 'OK
    button if people jsut want to continue.  
    I'm curious if there is a way to prevent the task sequence from continuing if any of those conditions arent met.  Currently it just pops up and says "Failed, Cannot conitue", but if they close the window, the task sequence thinks the program
    has run, and the OSD migration starts.  I'd like to be able and get the script to cancel the OSD process if a check fails.
    Has anyone had success with this, using WINXP? I'd use the MS pre-flight check but it's only for WIN7.

    Interesting. Thanks for the response.  Is there anybody out there that can assist with VBS part of the solution?
    Here's the code I'm working with.  Currently the battery piece isnt working as it should but I can figure that our, eventually.  I'd like to get Jason's proposed solution in the code.  If this isn't the right place, I'll take this somewhere
    else.
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <title>OSD Preflight checks</title>
    <HTA:APPLICATION
    APPLICATIONNAME="OSD Preflight checks"
    ID="objOSDPreReqChecks"
    SCROLL="no"
    CONTEXTMENU="no"
    SINGLEINSTANCE="no"
    MAXIMIZEBUTTON="no"
    MINIMIZEBUTTON="no"
    WINDOWSTATE="normal"/>
    <!-- #region STYLEs-->
    <style type="text/css">
    H1{color:Black;text-align:center;font-family: Arial, Helvetica, sans-serif;font-size: 26px;}
    p{font-family:"Arial";font-size:10px;}
    fail{color:Red;text-align:center;}
    .Version {float:left; font-size:1.0em;font-style:italic;color:#888888;font-weight:bold;}
    .Header1 {width: 180px; text-align: right;font-weight:bold;}<!-- '1st column heading -->
    H2 {font-family: Arial, Helvetica, sans-serif; text-align: center;}
    H3 {font-style: italic;}
    .style2 {width: 180px; text-align: left;}
    .Header2 {width: 150px; text-align: right;font-weight:bold;}<!-- '2nd column heading -->
    .style4 {width: 410px; text-align: left;}
    .StatusBar
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    .hidden {display: none; visibility: hidden;}
    </style><!-- #endregion -->
    </head>
    <script language="VBScript" type="text/vbscript">
    '======================================================================================
    ' Script
    ' Version
    ' Purpose To check a machine is suitable for taking an OS deployment
    '======================================================================================
    'Features
    ' Modular design
    ' Verbose "Debug Mode"
    ' In-built data validation
    ' Custom error handling
    ' Custom error codes - 90x0
    ' Generic WMI handler
    'BUGfix: Change CLng to CDbl to avoid overflow (in GetRAM)
    'fixed - moved head section to top to become head > script > body
    'fixed - fCheckModel display with leading ,
    'fixed - fgetmodels dictionary list
    Option Explicit
    ' #region GLOBAL DECLARATIONS: Persistent fold region
    '======================================================================================
    'GLOBAL Vars
    'Things to just display (in GUI)
    Dim strRAM
    Dim strCPUInfo
    Dim strCPUName
    Dim strCPUDesc
    Dim iCPUCount
    Dim iCPUCoreCount
    Dim iRAM
    Dim strBIOSver, strBIOSDate, strBIOSInfo
    'Time related
    Dim TimerInterval 'timer to refresh HTA at start
    Dim iTimer 'abort timer
    Const iAbortTimeout=300000 'delay before window closes (in milliseconds)
    Dim pbTimerID
    Dim pbHTML
    Dim pbWaitTime
    Dim pbHeight
    Dim pbWidth
    Dim pbBorder
    Dim pbUnloadedColor
    Dim pbLoadedColor
    Dim pbStartTime
    'Dictionary
    Dim objModelsDict,colKeys,strKey 'models
    Dim objApprovedMakesDict
    'Misc GLOBAL vars
    Dim blnDebug 'set TRUE to trigger debug mode
    Dim bAbortBuild 'Boolean flag to abort or not abort
    Dim strTemp 'throwaway/scratch
    Dim strNamespace 'wmi default namespace for ANY machine
    Dim strComputer 'wmi reference to current machine, just .
    Dim strService 'WMI service
    Dim strQuery 'custom WQL
    Dim ErrMsg 'custom error messages
    Dim iErrMode 'State machine for error mode
    Dim lFlags 'WMI flag
    Dim strDisks
    'Pre-requisites - things that will cause build to abort if values do not meet spec
    Dim strHTAVendor 'Make of hardware
    Dim strHTAVendorState
    Dim strHTAModel 'Model of hardware
    Dim strHTAModelState 'Model state
    Dim strHTARAM 'RAM
    Dim strHTARAMState 'RAM state
    Dim strHTACPUSpeed 'Processor speed
    Dim strHTACPUCores 'Number of cores
    Dim strHTACPUFullInfo 'CPU + cores
    Dim strHTAHDD 'Disk info
    Dim strHTAHDDState 'Disk state
    Dim strHTACheckRAW 'NTFS check
    Dim strHTAArchitecture 'Processor support
    Dim strHTAProduct 'Product ID
    Dim strHTAOutlook 'Outlook running
    Dim strHTAOutlookState 'Outlook state
    Dim strHTABattery 'Battery check
    Dim strHTABatteryState 'Battery state
    'for WQL filters
    Dim strWQLPCInfo 'Pre-req - (1) for various inc. domain role (servers)
    Dim strWQLRAM 'Pre-req - (2) RAM
    Dim strWQLCPU 'Pre-req - CPU speed string (not int)
    Dim strWQLBootOrder 'Pre-req - Boot order string
    Dim strWQLSATAMode 'Pre-req - HDD mode
    Dim strWQLGenericBIOS
    Dim strWQLCPUCount 'Pre-req - how many CPUs
    Dim strWQLCPUInfo
    Dim strWQLFSType 'Pre-req - Check HDD not RAW (i.e. is NTFS)
    Dim strWQLDisks 'Disks
    Dim strWQLChassis 'Machine type
    Dim strWQLID 'Unique code from OEM
    Dim strWQLProc 'is Outlook running = False
    Dim strWQLBattery 'is on Battery = False
    'State
    Const cProblem = " Problem!"
    Const cRunAgain =" RunCheck: Run System Check Again"
    Const cSuccess = " Success!"
    Const cPassed=" Pass"
    Const cFail=" Fail"
    'Pre-requisite to check: SET VALUES HERE vvvvvvvvvvvvvvvv
    Const cApprovedOEM="Hewlett-Packard"
    Const LegacyOEM1="Dell Inc."
    Const LegacyOEM2="IBM"
    Const cMinimumMemoryMB = 1000 'RAM in MB
    'Const cMinimumMemoryMB = 1000000 'force fail test data RAM in MB
    Const cMinFS="NTFS"
    ' Const cMinFS="HPFS" 'force fail test data
    Const iMinCores=1
    'Const iMinCores=10099 'force fail cores test data
    Const iMinCPUSpeed=2 '20 'in GHz
    'Const iMinCPUSpeed=90000 'in GHz
    Const iMinCPUArch=32
    'Const iMinCPUArch=64
    ' #endregion
    ' To hide anything use ID.className = "hidden", to show set to "", e.g. NotFoundArea.className = "hidden"
    Sub Window_Onload
    Err.Clear
    VersionSpan.InnerText = objOSDPreReqChecks.Version 'Get version
    self.focus
    self.moveTo 100,100 'Move window top left
    StatusBar.InnerText="Validating machine..."
    document.body.style.cursor = "wait" 'hourglass cursor
    'Call PreflightChecks 'use for testing as a VBS only, otherwise HTA timer will call below
    TimerInterval = window.setInterval("PreflightChecks",10)
    End Sub
    Function PreflightChecks
    ' #region HEADER NOTES: Persistent fold region
    'Version history
    'ver 5 OCTOBER 2011 - added error handler
    'ver 3rd Nov - removed HPonly queries
    '// Solution: Custom Script for use with MDT - Adapted from hardwareinfo.vbs Mikael Nystrom – http://deploymentbunny.com
    'Typical BIOS content
    'Processor Speed = 2133/1066 MHz
    'Boot Order = Network Controller,ATAPI CD-ROM Drive,USB device,Hard Drive,Diskette Drive,PnP Device #2,PnP Device #3,PnP Device #4,PnP Device #5,PnP Device #6,PnP Device #7,PnPe #8,PnP Device #9,PnP Device #10,PnP Device #11
    'SATA (disk) mode: *IDE,--,RAID,-- or IDE,*AHCI,RAID
    'On Error Resume Next
    ' #endregion
    ' #region CONSTANTS: Persistent fold region
    '======================================================================================
    'Fields available in HP BIOS
    Const sAsset = "Notebook Asset Tag"
    Const sOwner = "Notebook Ownership Tag"
    Const sMan = "Manufacturer"
    Const sNoteModel = "Notebook Model"
    Const sCPU = "Processor Type"
    Const sCPUSpeed = "Processor Speed"
    Const sRAM = "Memory Size"
    Const sModel = "Product Name"
    Const sBIOSName ="System BIOS"
    Const sBIOSVer = "BIOS Version"
    Const sBIOSDate = "BIOS Date"
    'Other BIOS stuff you could use too
    'Const sOwnerTag = "Enter Ownership Tag"
    'Const sBIOS = "PCID"
    'Const sBIOS = "Define Custom URL"
    'Const sBIOS = "Set Alarm Time"
    'Const sBIOS = "PCID Version"
    Const TextMode="1" 'text case sensitive for dict obj
    'WMI core constants
    Const wbemFlagReturnImmediately = 16 'wmi - Causes the call to return immediately.
    Const wbemFlagForwardOnly = 32 'wmi - Causes a forward-only enumerator to be returned.
    'Forward-only enumerators are generally much faster and
    'use less memory than conventional enumerators, but don't allow calls to SWbemObject.Clone_
    'Advisory config values - as in "you want to the change these"
    Dim strHTABootOrder
    Dim strHTASATAMode
    'Dim strHTACPU
    ' #endregion
    '======================================================================================
    ' #region WQL: Persistent fold region
    lFlags = wbemFlagReturnImmediately + wbemFlagForwardOnly
    'Queries of things to check (HP)
    strWQLBootOrder = "select Name, value from HP_BIOSSetting where Name='Boot order'"
    strWQLSATAMode = "select Name, value from HP_BIOSSetting where (Name='SATA emulation' or name='SATA device mode')"
    strWQLDisks ="SELECT * FROM Win32_DiskDrive where mediatype like 'Fixed%hard disk%'" 'win32_disk only avail after W7
    strWQLFSType ="SELECT * from Win32_LogicalDisk where DriveType='3'" 'only bother with HDDs
    'Generic WMI query strings
    strWQLGenericBIOS="SELECT Manufacturer,SMBIOSBIOSVersion,ReleaseDate FROM Win32_BIOS WHERE PrimaryBIOS = True"
    strWQLCPUCount= "SELECT NumberOfProcessors,NumberOfLogicalProcessors from Win32_ComputerSystem"
    strWQLCPUInfo="SELECT Name,DataWidth,description,MaxClockSpeed,NumberofCores,NumberOfLogicalProcessors from Win32_Processor"
    strWQLPCInfo="SELECT Domain,DomainRole,SystemType,Manufacturer,Model,TotalPhysicalMemory FROM Win32_ComputerSystem"
    ' strWQLPCInfo="SELECT Domain,DomainRole,SystemType,Manufacturer FROM Win32_ComputerSystem"
    strWQLChassis="SELECT ChassisTypes from Win32_SystemEnclosure"
    strWQLID="SELECT IdentifyingNumber,UUID from Win32_ComputerSystemProduct"
    strWQLRAM="SELECT * FROM Win32_PhysicalMemory"
    strWQLProc="SELECT * FROM Win32_Process"
    strWQLBattery="SELECT * FROM BatteryStatus Where Voltage > 0"
    ' #endregion
    ' #region MAIN algorithm
    '=====================================================================================================
    ' MAIN
    'Algorithm
    '1) Check make (vendor)
    '2) Check model (in list)
    '3) Check RAM >x
    '4) Check HDD TYPE (HDD is not RAW)
    '5) Check CPU architecture
    '6) Check outlook
    '7) Check battery
    '=====================================================================================================
    'Initialise
    window.clearInterval(TimerInterval) 'Reset timer to 0
    ' blnDebug=True
    blnDebug=False
    bAbortBuild=False 'default to DON'T abort
    ' bAbortBuild=True
    'Build list of approved vendors
    Set objApprovedMakesDict = CreateObject("Scripting.Dictionary")
    objApprovedMakesDict.comparemode=VBTextCompare
    objApprovedMakesDict.add cApprovedOEM,"OK"
    objApprovedMakesDict.add LegacyOEM1,"OK"
    objApprovedMakesDict.add LegacyOEM2,"OK"
    objApprovedMakesDict.add "Lenovo","Testdata"
    If blnDebug Then Stop
    '1) all machines check make
    strHTAVendor=fCheckVendor(strWQLGenericBIOS) 'check vendor in BIOS - if vendor not approved ABORT without proceeding
    If bAbortBuild=True Then
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - goodbye cruel world"
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
    Else
    StatusBar.InnerText="Vendor: " & strHTAVendor & vbTab & " " & strHTAVendorState
    '2) Discover current Model
    strHTAModel=fGetModelName(strWQLPCInfo) 'get model name from WMI
    strHTAModel=fUniversalCheckData(strHTAModel,"'Discover Model - fGetModelName'") 'validate
    Call fGetModels 'get list of all valid models (from text file)
    strHTAModel=fCheckModel(strHTAModel)
    '2a) Model number (optional)
    strHTAProduct=fGetComputerSystemProdIDNumber(strWQLID) 'manufacturer's product ID
    strHTAProduct=fUniversalCheckData(strHTAProduct,"'Discover ID - fGetComputerSystemProdIDNumber'")
    ' StatusBar.InnerText=StatusBar.InnerText & VbCrLf & vbTab & "Product Code: " & vbTab & strHTAProduct
    '3) Check installed Memory
    strHTARAM=fGetRAM(strWQLRAM) 'find RAM size
    strHTARAM=fUniversalCheckData(strHTARAM,"'Detect RAM - fCheckRAM'")
    strHTARAM=fCheckRAM(strHTARAM) 'check RAM meets req
    If strHTARAMState=cFail Then Exit Function
    '4) Disk format IS NTFS
    strDisks=fGetDrives(strWQLFSType) 'Get formatting info for all drives
    strHTACheckRAW=fUniversalCheckData(strDisks,"'Detect filesystem - fCheckNTFS'") 'Validate data
    strHTACheckRAW=fCheckNTFS(strDisks) 'Check FS format is acceptable (not RAW)
    If strHTACheckRAW=cFail Then Exit Function
    'Generic CPU calls
    strHTACPUFullInfo="CPUs:" & fGetCPUInfo(strWQLCPUInfo) & " with CPU cores:" & iCPUCoreCount
    strBIOSInfo="BIOS version: " & strBIOSver & ", dated " & strBIOSDate
    '5a) CPU Speed check (info from http://www.robvanderwoude.com/wmiexamples.php)
    strCPUInfo=WMI(strWQLCPUInfo,strNamespace) 'Get CPU details
    strTemp=split(strCPUInfo,"@"): strHTACPUSpeed=strTemp(1)
    strHTACPUSpeed=fUniversalCheckData(strHTACPUSpeed,"'Check processor - fCheckCPUSpeed'") 'Validate data
    strHTACPUSpeed=fCheckCPUSpeed(strHTACPUSpeed) 'Check CPU clock speed
    '5b) cores check
    strHTACPUCores=fUniversalCheckData(iCPUCoreCount,"Check core count - fCheckCores") 'Validate data
    iCPUCoreCount=fCheckCores(iCPUCoreCount) 'pass or fail?
    '5c) CPU address width
    strHTAArchitecture=fUniversalCheckData(strHTAArchitecture,"Check core count - fCheckCores") 'Validate data
    strHTAArchitecture=fCheckCPUArch(strHTAArchitecture)
    '6) Check outlook
    strHTAOutlook=fCheckProcess(strWQLProc)
    '7) Check Battery
    strHTABattery=fCheckBattery(strWQLBattery)
    'end checkss
    document.body.style.cursor = "default"
    'Display hardware values in GUI (in table)
    Vendor.innerhtml = strHTAVendor 'Use str...var..STATE if you want Pass/fail text instead
    Model.innerhtml = strHTAModel
    Product.innerhtml = strHTAProduct
    RAM.innerhtml = strHTARAM
    CPUspeed.innerhtml = strHTACPUSpeed
    CPUInfo.innerhtml = strHTACPUFullInfo
    HDDFS.innerhtml = strHTACheckRAW
    CapableArchitecture.innerhtml=strHTAArchitecture
    BIOSversion.innerhtml = strBIOSver
    BIOSDate.innerhtml = strBIOSDate' CPUName.innerhtml = strCPUDesc 'GetCPUName
    End If
    '======================================================================================
    ' #endregion
    End Function
    'generic WMI queries, by field and namespace
    Function WMI(strQuery,strNameSpace)
    'Aim: generic WMI calls
    'return value of BIOS
    On Error Resume Next
    Dim colItems,objItem
    Dim objWMI
    Const strService = "winmgmts:{impersonationlevel=impersonate}//" 'binding to WMI
    Const strComputer = "." 'this machine
    Set objWMI = GetObject(strService & strComputer & strNamespace) 'GLOBAL wmi
    Set colItems = objWMI.ExecQuery(strQuery,,lFlags)
    For Each objItem In colItems
    If Err Then
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "WMI query: " & strQuery & " in " & strNamespace & objItem.Name
    Call ErrHandler("WMI error " & strQuery,1)
    Else
    WMI=objItem.Name 'Return value
    End If
    Next
    End Function
    Function fGetModelName(strWQLPCInfo)
    'Aim: Get model name from BIOS - WMI field sometimes varies if laptop, so try two
    'Return STRING: Model string from BIOS or "UNKNOWN" if null
    On Error Resume Next
    Dim colPCInfo,objPCItem
    Dim strModel
    Set colPCInfo = GetObject("winmgmts:").ExecQuery(strWQLPCInfo,"WQL",lFlags)
    If Err Then
    Call ErrHandler("fGetModelName: Error querying WMI " & strWQLPCInfo,2)
    Else
    For Each objPCItem In colPCInfo
    If Not IsNull(objPCItem.Model) Then
    strModel=objPCItem.Model
    ' iRAM=objPCItem.TotalPhysicalMemory
    Else
    If (strHTAVendor=cApprovedOEM And IsLaptop = True) Then ' resort to HP specific query for older laptops
    'Notebook
    strModel=QueryHPBIOS(sNoteModel)
    if strModel="" then strModel=QueryHPBIOS(sModel) 'try alt value
    Else
    strModel=QueryHPBIOS(sModel)
    End If
    End If
    Next
    End If
    If strModel = "" Then
    fGetModelName = "UNKNOWN"
    Model.style.visibility="hidden"
    Else
    fGetModelName=strModel
    End If
    End Function
    '====================================================
    '====================================================
    Function fGetRAM(strQuery)
    'Aim: get RAM installed. NB Win32_ComputerSystem::TotalPhysicalMemory may not be accurate
    'Return integer
    On Error Resume Next 'equiv to Err.Clear
    Dim colItems, item
    Dim iTotalMemory
    Set colItems = GetObject("winmgmts:").ExecQuery(strQuery,"WQL",lFlags)
    If Err Then
    Call ErrHandler("fGetRAM: Error querying " & strQuery,2)
    Else
    iTotalMemory = 0
    For Each item In colItems
    iTotalMemory = iTotalMemory + CDBL(item.Capacity)/(1024^2)
    Next
    End If
    If iTotalMemory = "" Then
    fGetRAM = "RAM UNKNOWN"
    RAM.style.visibility="hidden"
    Else
    fGetRAM=iTotalMemory
    End If
    End Function
    '====================================================
    '====================================================
    Function fGetCPUInfo(strQuery)
    'Aim: query WMI for CPU info - number and number of cores
    'Return: function=CPU count, var for the cores: iCPUCoreCount, strHTAArchitecture, strCPUDesc
    On Error Resume Next
    Dim colItems, objItem
    Dim NumberOfProcessors
    Set colItems = GetObject("winmgmts:").ExecQuery(strQuery,"WQL",lFlags)
    If Err Then
    Call ErrHandler("GetCPUInfo: Error querying " & strQuery,2)
    Else
    For Each objItem In colItems
    If Err Then
    Else
    If Not IsNull(objItem.NumberOfCores) Then
    NumberOfProcessors = Trim(objItem.NumberOfCores) 'NumberOfProcessors
    End If
    If Not IsNull(objItem.NumberOfLogicalProcessors) Then
    iCPUCoreCount = Int(Trim(objItem.NumberOfLogicalProcessors))
    End If
    If Not IsNull(objItem.DataWidth) Then
    strHTAArchitecture=Trim(objItem.DataWidth) & "-bit"
    End If
    If Not IsNull(objItem.description) Then
    strCPUDesc = Trim(objItem.description) 'cpu name
    End If
    End If
    Next
    If NumberOfProcessors = "" Then
    NumberOfProcessors = "UNKNOWN"
    End If
    fGetCPUInfo = Int(NumberOfProcessors)
    ' iCPUCoreCount = Int(NumberOfLogicalProcessors)
    End If
    End Function
    '====================================================
    '====================================================
    Function fGetComputerSystemProdIDNumber(strWQLID)
    'Aim: Get UUID from Win32_ComputerSystemProduct
    'Return: great big integer
    Dim colSys,objSys
    Dim strUUID
    On Error resume next
    Set colSys = GetObject("winmgmts:").ExecQuery(strWQLID,"WQL",lFlags)
    If Err then
    Call ErrHandler("fGetComputerSystemProdIDNumber: Error querying " & strWQLID,2)
    Else
    For Each objSys In colSys
    If Not IsNull(objSys.IdentifyingNumber) Then
    strUUID = Trim(objSys.IdentifyingNumber)
    End If
    Next
    If strUUID = "" Then
    fGetComputerSystemProdIDNumber = "UNKNOWN"
    Else
    fGetComputerSystemProdIDNumber = strUUID
    End If
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fGetDrives(strQuery)
    Dim colDisks,objHDD
    Dim strDriveType, strDiskSize, strDisk
    Dim strDiskFSType
    Dim iGBUnits
    On Error Resume Next
    iGBUnits=1073741824
    Dim iRAW
    iRAW=0
    Set colDisks = GetObject("winmgmts:").ExecQuery(strQuery)
    For Each objHDD In colDisks
    Select Case objHDD.DriveType
    Case 1 strDriveType = "Drive could not be determined."
    Case 2 strDriveType = "Removable Drive"
    Case 3 strDriveType = "Local hard disk."
    Case 4 strDriveType = "Network disk."
    Case 5 strDriveType = "Compact disk (CD)"
    Case 6 strDriveType = "RAM disk."
    Case Else strDriveType = "Drive type Problem."
    End Select
    strDiskFSType = objHDD.FileSystem
    'Find C
    If objHDD.Name="C:" Then
    If isNull(objHDD.FreeSpace) Then
    If blnDebug=True then Call ErrHandler("ALERT!! Volume " & objHDD.Name & "is RAW",1) 'Abort/clean
    fCheckDrives="ALERT!! Volume " & objHDD.Name & "is RAW"
    End If
    End If
    strDiskSize = Int(objHDD.Size /iGBUnits) & "GB" 'calc size of disk
    strDisk = strDisk & VbCrLf & "Vol " & objHDD.Name & " (" & strDriveType & ") size: " & strDiskSize & " (free: " & Int(objHDD.FreeSpace /iGBUnits) & "GB), " & strDiskFSType
    fGetDrives=strDisk
    Next
    If (Err.Number <>0) Then
    Call ErrHandler("WMI Property Query Error: [" & Err.Number & "]",2)
    fGetDrives = -1
    Exit Function
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fUniversalCheckData(varData,strStage) 'template
    'Aim: Check value passed...
    'is not blank
    'is in range x..y
    'spelt OK
    'is in a list
    'format is text, numeric
    'return: string: the original value
    On Error Resume Next
    Dim Err
    if blnDebug Then StatusBar.InnerText = StatusBar.InnerText & VbCrLf & "Validating " & strStage & " data..."
    If Err Then
    Call ErrHandler("WARNING: Error discovering value in " & strStage,2) '1=Quit,2=Warn
    strHTAModel="Unknown"
    Else
    Select Case varData
    Case IsEmpty(varData) Or IsNull(varData)
    Call ErrHandler("WARNING: Error in "& strStage,2) '1=Quit,2=Warn
    fUniversalCheckData="Unknown"
    Case IsNumeric(varData)
    If varData<0 Then
    Call ErrHandler("WARNING: Value negative"& strStage,2) '1=Quit,2=Warn
    fUniversalCheckData="Unknown"
    End if
    ' & varData &
    Case IsDate(varData)
    Case Else
    fUniversalCheckData=varData 'Data OK - return value unchanged
    End Select
    End If
    End Function
    '=================================================================================
    'Checks - follow if true DO, if false warn/abort
    '=================================================================================
    Function fCheckBattery(strQuery)
    'Aim: Find if battery is running
    'Return pass/fail
    On Error Resume Next 'equiv to Err.Clear
    Const wbemFlagReturnImmediately = &h10
    Const wbemFlagForwardOnly = &h20
    Dim colItems, item
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
    Set colItems = objWMIService.ExecQuery("SELECT * FROM BatteryStatus Where Voltage > 0", "WQL", _
    wbemFlagReturnImmediately + wbemFlagForwardOnly)
    For Each item In colItems
    if objItem.PowerOnline = True Then
    strHTABattery=objItem.PowerOnline
    strHTABatteryState = cFail
    Err.Raise 9010,"fCheckBattery",strHTABattery & " Laptop running on battery. OSD Cannot continue."
    Call ErrHandler(ucase(strHTABatteryState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - Laptop on Battery. Please plug into an outlet before proceeding."
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
    Else
    strHTABatteryState = cPassed
    End if
    Next
    fCheckBattery=strHTABattery
    End Function
    '====================================================
    Function fCheckProcess(strQuery)
    'Aim: Find if outlook is running
    'Return pass/fail
    On Error Resume Next 'equiv to Err.Clear
    Dim colItems, item
    Set colItems = GetObject("winmgmts:").ExecQuery(strQuery,"WQL",lFlags)
    For Each item In colItems
    if item.Name = "OUTLOOK.EXE" Then
    strHTAOutlook=item.Name
    strHTAOutlookState = cFail
    Err.Raise 9010,"fCheckOutlook",strHTAOutlook & " running. OSD Cannot continue."
    Call ErrHandler(ucase(strHTAOutlookState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - Outlook Running, please close outlook before proceeding."
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
    Elseif item.Name = "communicator.exe" Then
    strHTAOutlook=item.Name
    strHTAOutlookState = cFail
    Err.Raise 9010,"fCheckOutlook",strHTAOutlook & " running. OSD Cannot continue."
    Call ErrHandler(ucase(strHTAOutlookState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - Communicator Running, please close OCS before proceeding."
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
    Else
    strHTAOutlookState = cPassed
    End if
    Next
    fCheckProcess=strHTAOutlook
    End Function
    '====================================================
    '1 - Make
    Function fCheckVendor(strVendor)
    'Aim: Check make is one the OS/build is designed For
    'Return: STRINGS for "Make", BIOS version and BIOS date (generic): strHTAVendorState pass or fail
    On Error Resume Next
    Dim colItems,objItem
    Set colItems = GetObject("winmgmts:").ExecQuery(strVendor, "WQL", lFlags)
    For Each objItem In colItems
    strHTAVendor=objItem.Manufacturer
    if objApprovedMakesDict.exists(strHTAVendor) then
    strBIOSver=objItem.SMBIOSBIOSVersion
    strBIOSDate=Mid( objItem.ReleaseDate, 5, 2 ) & "/" & Mid( objItem.ReleaseDate, 7, 2 ) & "/" & Left( objItem.ReleaseDate, 4 )
    strHTAVendorState=cPassed
    Else
    strHTAVendorState=cFail
    Err.Raise 9010,"fCheckVendor",strHTAVendor & " found. The build will not work on this make of hardware"
    Call ErrHandler(ucase(strHTAVendorState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    bAbortBuild=True
    end if
    Next
    fCheckVendor=strHTAVendor
    End Function
    '=================================================================================
    '=================================================================================
    '2 - Models check
    Function fCheckModel(strThisModel)
    'Aim Check target machine is in list of models
    'Return string
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking model..." & VbCrLf
    If objModelsDict.exists(trim(strThisModel)) then ' if current model in objDict then huzzah
    strHTAModelState=cPassed
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "Model detected: " & vbTab & strHTAModelState
    Else
    strHTAModelState=cFail
    Err.Raise 9010,"fCheckModel",strThisModel & " found. The build will not work on this model of hardware"
    Call ErrHandler(ucase(strHTAModelState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    end if
    fCheckModel=strHTAModel
    End Function
    '=================================================================================
    '=================================================================================
    '3 - RAM
    Function fCheckRAM(strRAM)
    'Aim: Check installed RAM > x
    'Return string digits with units, e.g. 4GB
    'use strHTARAM for value
    '==================================================================
    ' Memory Preflight Check (from MDT2012)
    '==================================================================
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking RAM..."
    If Err.Number <> 0 Then
    Call ErrHandler("Error occurred while calculating computer's memory.",2)
    End If
    fCheckRAM = Int(strRAM/1024) & "GB" 'format in GB
    If Int(strRAM) > cMinimumMemoryMB Then
    strHTARAMState=cPassed 'Sufficient memory - show whole number in GB"
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "RAM installed: " & vbTab & strHTARAMState
    Else
    strHTARAMState=cFail
    Err.Raise 9030 ,"fCheckRAM","Not enough memory in this machine!" & " Required physical memory is: " & cMinimumMemoryMB & " MB."
    Call ErrHandler(ucase(strHTARAMState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1) 'abort build
    End If
    End Function
    '=================================================================================
    '=================================================================================
    '4 - NTFS disk
    Function fCheckNTFS(strDiskFS)
    'Aim: Check HDD is NTFS
    'Return string
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking file system is not RAW..."
    If Instr(1,strDiskFS,cMinFS,VBTextCompare)<>0 Then
    fCheckNTFS=cMinFS 'disk format is OK (NTFS)
    StatusBar.InnerText=StatusBar.InnerText & vbTab & " File system: " & cPassed
    Else
    fCheckNTFS=cFail
    Err.Raise 9040 ,"fCheckNTFS","WARNING: Disk not correct file-system. Type required is: " & cMinFS & "." & VbCrLf & _
    "The deployment will fail unless you reformat the target disk immediately."
    Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",2) 'halt build
    End If
    End Function
    '====================================================
    '=================================================================================
    '5 - CPU checks
    '=================================================================================
    Function fCheckCPUSpeed(strCPU) 'any HW
    'Aim: Check CPU speed
    'Return string = number + appropriate units, e.g. 5HGz (strCPU)
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking CPU spec..."
    Select Case Right(strCPU,3) 'check units
    Case "MHz"
    strCPU=Left(strCPU,4)/1000 'reformat to GHz
    Case "GHz"
    strCPU=strCPU 'unit already OK
    Case Else
    Call ErrHandler("CPU units are unknown",2)
    End Select
    'Check clock speed
    If Int(Left(trim(strCPU),1))>=iMinCPUSpeed Then
    fCheckCPUSpeed=strHTACPUSpeed 'CPU is fine i.e don't change value
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "CPU Speed: " & cPassed
    Else
    fCheckCPUSpeed=cFail 'already in GHz
    Err.Raise 9050,"fCheckCPUSpeed","CPU speed pre-requisite failed. Minimum processor clock speed is: " & iMinCPUSpeed
    Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1) 'halt build
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fCheckCPUArch(strCPUArch) 'any HW
    'Aim: Check CPU width
    'Return string
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking CPU bus width..."
    'Check clock speed
    If Int(Left(trim(strCPUArch),2))>=iMinCPUArch Then
    fCheckCPUArch=strHTAArchitecture 'CPU is fine i.e don't change value
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "CPU width: " & cPassed
    Else
    fCheckCPUArch=cFail 'already in GHz
    Err.Raise 9052,"fCheckCPUArch","CPU width pre-requisite failed. Minimum processor width required is: " & iMinCPUArch
    Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1) 'abort build
    End If
    End Function
    '=================================================================================
    Function fCheckCores(iCores)
    'Aim: Check hardware (CPU) has a minimum number of cores
    'Return Integer
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking CPU cores..."
    If iCores>=iMinCores Then
    fCheckCores=iCores
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "Core count: " & vbTab & cPassed
    'StatusBar.InnerText=StatusBar.InnerText & vbTab & "CPU cores: " & cPassed
    Else
    fCheckCores=cFail
    Err.Raise 9051,"fCheckCores","WARNING: Not enough cores on the CPU to support the build. Minimum CPU cores is: " & iMinCores
    Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",2) 'halt build
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fCheckHPCPUSpeed 'HP ONLY
    'Aim: Check CPU speed
    'return: string
    'Check CPU speed
    On Error Resume Next
    strWQLCPU = "processor speed"
    strTemp=QueryHPBIOS(strWQLCPU,"")
    Select Case Right(strTemp,3)
    Case "MHz"
    strTemp=Left(strTemp,4)/1000 'reformat to GHz
    Case "GHz"
    strTemp 'is OK
    Case Else
    Call ErrHandler("CPU is unknown",2)
    End Select
    'Check clock speed
    If strTemp>=iMinCPUSpeed Then
    fCheckCPUSpeed= strTemp & "GHz"
    Else
    Err.Raise 9050,,"CPU speed pre-requisite failed"
    Call ErrHandler("CPU is too slow",1)
    fCheckCPUSpeed=cFail 'already in GHz
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fGetModels
    'Aim: Read external text file
    'return: dictionary object - models as key, integer as value e.g. Dell Optiplex,12
    'On Error Resume Next
    Dim objFSO
    Dim objFile
    Dim strFile
    Dim strEntry
    Dim n
    Dim strfilepath
    Dim iLineCount 'count lines to avoid listing first item with ,.
    Set objModelsDict = CreateObject("Scripting.Dictionary")
    set objFSO=CreateObject("Scripting.FileSystemObject")
    Const ForReading=1
    strfilepath = Left(window.location.pathname,InStrRev(window.location.pathname,"\"))
    strFile=strfilepath & "Models.txt"
    set objFile=objFSO.OpenTextFile(strFile,ForReading)
    iLineCount=0
    'read in each line of data until you reach the end of the file
    do While objFile.AtEndOfStream<>True
    strEntry=objFile.ReadLine
    'you can now do what ever you want with the line as referenced with the strEntry variable such as
    'echoing it back (e.g. wscript.Echo strEntry) or passing it as a variable to a function of subroutine (e.g. MyFunction strEntry)
    objModelsDict.comparemode=VBTextCompare
    objModelsDict.Add strEntry,iLineCount
    iLineCount=iLineCount+1
    If blnDebug then
    If iLineCount=1 Then
    StatusBar.InnerText=trim(strEntry)
    Else
    StatusBar.InnerText=StatusBar.InnerText & ", " & trim(strEntry) 'list models
    End If
    End If
    Loop
    objFile.Close
    End Function
    '=================================================================================
    '=================================================================================
    '====================================================
    Function ErrHandler(strErrorMsg,iErrMode)
    'Aim: to handle error states
    ' 1 = Abort
    ' 2 = Warn
    'Return 'Appropriate text message explaining the error
    '====================================================
    Const msgTitle="SCCM Deployment Preflight Checklist"
    'On Error Resume Next '< don't use that as we want to KEEP the error properties
    'Abort=1
    If iErrMode=1 Then
    StatusBar.InnerText=strErrorMsg 'overwrite status with Error message
    ' StatusBar.InnerText=StatusBar.InnerText & VbCrLf & " " & strHTAOutlook & " " & strHTAVendor & " " & strHTAVendorState & _
    ' VbCrLf & " " & strHTAModel & strHTAModelState & _
    ' VbCrLf & " " & strHTARAM & strHTARAMState & _
    ' VbCrLf & " " & strHTAHDD & strHTAHDDState
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript") 'Abort (close) after n seconds
    'MsgBox strErrorMsg,vbExclamation,msgTitle
    'ErrBar.class=""
    ElseIf iErrMode=2 Then
    'Warning
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & strErrorMsg & " " '& "(" & Err.Description & " :" & Err.Number & ")"',vbExclamation,msgTitle
    Err.Clear
    End If
    End Function
    '====================================================
    Sub Abort
    'Aim: Quit gracefully
    window.close()
    End Sub
    </script>
    <!-- #region BODY -->
    <body>
    <br />
    <div>
    <span style="version"> <span id="VersionSpan"></span></div>
    <div style="text-align: center;">
    <H1 style="font-family: Arial, Helvetica, sans-serif; font-size: large; text-align: center; color: #000000; text-transform: capitalize">System information</H1>
    <span>
    <table border="1" cellspacing="0" cellpadding="0" style="width: 912px"
    id="SysInfoTable">
    <tr class="h1">
    <td align="right" class="Header1" style="width: 76px; height: 18px">
    </td>
    <td align="right" class="Header1" style="height: 18px"><em id="VendorCaption">Vendor</em></td>
    <td align="left" class="style2" style="height: 18px"><span id="Vendor"></span></td>
    <td align="right" class="Header2" style="height: 18px"><em id="ModelCaption">Model</em></td>
    <td align="center" class="style4" style="width: 400px; height: 18px"><span id="Model"></span></td>
    </tr>
    <tr>
    <td align="right" class="Header1" style="width: 76px">
    </td>
    <td align="right" class="Header1"><em id="ProductCaption">Product ID</em></td>
    <td align="left" class="style2"><span id="Product"></span></td>
    <td align="right" class="Header2"><em id="RAMCaption">Memory(in MB)</em></td>
    <td align="left" class="style4" style="width: 400px"><span id="RAM"></span></td>
    </tr>`
    <tr>
    <td align="right" class="Header1" style="width: 76px">
    </td>
    <td align="right" class="Header1"><em id="CPUCaption">CPU speed (in GHz)</em></td>
    <td align="left" class="style2"><span id="CPUspeed"></span></td>
    <td align="right" class="Header2"><em id="CPUInfoCaption">No: CPU\Cores</em></td>
    <td align="left" class="style4" style="width: 400px"><span id="CPUInfo"></span></td>
    </tr>
    <tr>
    <td align="right" class="Header1" style="width: 76px">
    </td>
    <td align="right" class="Header1"><em id="DiskFSCaption">Filesystem info</em></td>
    <td align="left" class="style2"><span id="HDDFS"></span></td>
    <td align="right" class="Header2"><em id="CapableArchCaption">Architecture</em></td>
    <td align="left" class="style4" style="width: 400px"><span id="CapableArchitecture"></span></td>
    </tr>
    <tr>
    <td align="right" class="Header1" style="width: 76px">
    </td>
    <td align="right" class="Header1"><em id="BIOSVerCaption">BIOS version</em></td>
    <td align="left" class="style2" ><span id="BIOSVERSION"></span></td>
    <td align="right" class="Header2"><em id="BIOSDateCaption">BIOS Date</em></td>
    <td align="left" class="style4" style="width: 400px"><span id="BIOSDate"></span></td>
    </tr>
    </table>
    </span>
    </div>
    <div class="StatusBar">
    <br />
    <Span id="StatusBar">Loading...please wait.</Span>
    </div> <br><br>
    <div align="center">
    <input type="button" name="btnStop" id="btnStop" value="Continue" onclick="Abort">
    <input type="Button" value="Re-Scan Machine" name="button1" onClick="Window_Onload" class="button">
    </div>
    </body><!-- #endregion -->
    </html>

  • MacBook Pro "13 2010 several problems with functionality.

    I've had my computer for about a year now and I've been having many problems since about 3 months after I upgraded to Mavericks. The machine would completely freeze, glitch, make crackling sounds that would persist until I forcefully shut the machine down by holding the power button for several seconds. This is one of the many problems I have with it. When I am typing a paper, or I'm watching a video, the machine's display will change to a solid color at random. After this, I reboot the machine and it gives me cpu caller 0 panic errors. It also will turn itself off and beep several times until I hold the power button down. I've done research and know that these are kernel panics, but I have no idea what causes this. I took it in to the genius bar at my local Apple Store, the guy named Tucker ran the diagnostics on my machine and he told me that the tests came back negative for issues and he then went to check the logs and saw that I had several kernel panic errors. He began to tell me that the 0 in the panics meant that they were software related and insisted that they wipe the cache to see if would help, and then if that didn't work then they offered to wipe it completely and reinstall Mavericks. They did so, and not even a day later the machine began to do the same things again with the solid screen colors, beeping, cpu caller 0's, and the crackling sound and screen rainbows. Even after updating to Yosemite, the problems still persist.
    Can anyone please help me? I don't know what more I can do.

    Here is the most up to date panic report.
    Anonymous UUID:       6F0DF84B-3D91-5C11-47E9-02E15CD93773
    Fri Dec 19 21:11:51 2014
    panic(cpu 0 caller 0xffffff80070dc43e): Kernel trap at 0xffffff8007036768, type 13=general protection, registers:
    CR0: 0x0000000080010033, CR2: 0x00007f9953d8895e, CR3: 0x000000002b526000, CR4: 0x0000000000000660
    RAX: 0xffdfff8018e2fc00, RBX: 0xffffff80076fdbc8, RCX: 0xffffff801ad15288, RDX: 0x00000000000023c9
    RSP: 0xffffff8108d4be10, RBP: 0xffffff8108d4be90, RSI: 0xffffff8018e37c68, RDI: 0x00000115195f3216
    R8:  0x0000000000000000, R9:  0x0000000077265012, R10: 0xffffff8108d4bd80, R11: 0x0000000000000202
    R12: 0xffffff801ad15140, R13: 0xffffff8018e37b20, R14: 0xffffff80076d2ac8, R15: 0xffffff8018e37c68
    RFL: 0x0000000000010046, RIP: 0xffffff8007036768, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x00007f9953d8895e, Error code: 0x0000000000000000, Fault CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80e2cd9c50 : 0xffffff8007022f79
    0xffffff80e2cd9cd0 : 0xffffff80070dc43e
    0xffffff80e2cd9ea0 : 0xffffff80070f3976
    0xffffff80e2cd9ec0 : 0xffffff8007036768
    0xffffff8108d4be90 : 0xffffff8007035d5c
    0xffffff8108d4bed0 : 0xffffff80070168ab
    0xffffff8108d4bef0 : 0xffffff800701e106
    0xffffff8108d4bf70 : 0xffffff80070c9b9d
    0xffffff8108d4bfb0 : 0xffffff80070f4196
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    13F34
    Kernel version:
    Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64
    Kernel UUID: 9477416E-7BCA-3679-AF97-E1EAAD3DD5A0
    Kernel slide:     0x0000000006e00000
    Kernel text base: 0xffffff8007000000
    System model name: MacBookPro7,1 (Mac-F222BEC8)
    System uptime in nanoseconds: 1190131758497
    last loaded kext at 971472814424: com.apple.filesystems.smbfs 2.0.3 (addr 0xffffff7f894ab000, size 335872)
    last unloaded kext at 757946821563: com.apple.driver.AppleUSBCDC 4.2.1b5 (addr 0xffffff7f894ab000, size 16384)
    loaded kexts:
    com.apple.filesystems.smbfs 2.0.3
    com.apple.driver.AudioAUUC 1.60
    com.apple.driver.AppleHWSensor 1.9.5d0
    com.apple.driver.AGPM 100.14.34
    com.apple.filesystems.autofs 3.0
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleHDA 2.6.3f4
    com.apple.driver.AppleSMCLMU 2.0.4d1
    com.apple.iokit.IOUserEthernet 1.0.0d1
    com.apple.iokit.IOBluetoothSerialManager 4.2.7f3
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
    com.apple.driver.AppleMikeyDriver 2.6.3f4
    com.apple.GeForceTesla 8.2.4
    com.apple.driver.AppleUSBDisplays 360.8.14
    com.apple.driver.AppleLPC 1.7.0
    com.apple.driver.AppleUpstreamUserClient 3.5.13
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.7f3
    com.apple.driver.AppleBacklight 170.4.11
    com.apple.driver.AppleMCCSControl 1.2.5
    com.apple.driver.SMCMotionSensor 3.0.4d1
    com.apple.driver.AppleUSBTCButtons 240.2
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.driver.AppleIRController 325.7
    com.apple.driver.AppleUSBTCKeyboard 240.2
    com.apple.driver.AppleUSBCardReader 3.4.1
    com.apple.iokit.SCSITaskUserClient 3.6.7
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.6.0
    com.apple.driver.AppleUSBHub 683.4.0
    com.apple.driver.AppleFWOHCI 5.0.2
    com.apple.driver.AppleAHCIPort 3.0.5
    com.apple.driver.AppleUSBEHCI 660.4.0
    com.apple.driver.AppleUSBOHCI 656.4.1
    com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
    com.apple.driver.AirPort.Brcm4331 700.20.22
    com.apple.driver.AppleSmartBatteryManager 161.0.0
    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.6.22
    com.apple.kext.triggers 1.0
    com.apple.driver.DspFuncLib 2.6.3f4
    com.apple.vecLib.kext 1.0.0
    com.apple.iokit.IOAudioFamily 1.9.7fc2
    com.apple.kext.OSvKernDSPLib 1.14
    com.apple.iokit.IOSurface 91.1
    com.apple.iokit.IOSerialFamily 10.0.7
    com.apple.iokit.IOBluetoothFamily 4.2.7f3
    com.apple.driver.AppleHDAController 2.6.3f4
    com.apple.iokit.IOHDAFamily 2.6.3f4
    com.apple.driver.IOPlatformPluginLegacy 1.0.0
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.nvidia.classic.NVDANV50HalTesla 8.2.4
    com.apple.driver.IOPlatformPluginFamily 5.7.1d6
    com.apple.nvidia.classic.NVDAResmanTesla 8.2.4
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.7f3
    com.apple.driver.AppleBacklightExpert 1.0.4
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.driver.AppleSMBusController 1.0.12d1
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.AppleSMC 3.1.8
    com.apple.driver.AppleUSBHIDKeyboard 170.15
    com.apple.driver.AppleHIDKeyboard 170.15
    com.apple.driver.AppleUSBMultitouch 240.10
    com.apple.iokit.IOUSBHIDDriver 660.4.0
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.7
    com.apple.iokit.IOUSBMassStorageClass 3.6.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.6.7
    com.apple.iokit.IOBDStorageFamily 1.7
    com.apple.iokit.IODVDStorageFamily 1.7.1
    com.apple.iokit.IOCDStorageFamily 1.7.1
    com.apple.driver.AppleUSBMergeNub 650.4.0
    com.apple.driver.AppleUSBComposite 656.4.1
    com.apple.iokit.IOAHCISerialATAPI 2.6.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.7
    com.apple.iokit.IOUSBUserClient 660.4.2
    com.apple.iokit.IOFireWireFamily 4.5.5
    com.apple.iokit.IOAHCIFamily 2.6.5
    com.apple.iokit.IOUSBFamily 686.4.1
    com.apple.iokit.IOEthernetAVBController 1.0.3b4
    com.apple.driver.mDNSOffloadUserClient 1.0.1b5
    com.apple.driver.NVSMU 2.2.9
    com.apple.iokit.IO80211Family 640.36
    com.apple.iokit.IONetworkingFamily 3.2
    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.1
    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.pthread 1
    com.apple.kec.corecrypto 1.0
    Model: MacBookPro7,1, BootROM MBP71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.62f7
    Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x85F7, 0x483634353155373946373036364700000000
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x85F7, 0x483634353155373946373036364700000000
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.7f3 14616, 3 services, 15 devices, 1 incoming serial ports
    Serial ATA Device: Hitachi HTS545025B9SA02, 250.06 GB
    Serial ATA Device: MATSHITADVD-R   UJ-898
    USB Device: Built-in iSight
    USB Device: Internal Memory Card Reader
    USB Device: BRCM2046 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: IR Receiver
    USB Device: Apple Internal Keyboard / Trackpad
    Thunderbolt Bus:

  • Kenel panic

    My powerbook g4 12" 1.33Ghz has a kernel panic!
    jnl: open: journal checksum is bad
    jnl: open: jhdr start looks bad
    hfs: late jnl init: Failed to open/create the journal
    nfs_boot: networking is not initialized
    panic(cpu caller ...): nfsbootinit failed with 6
    I get this sequence when I start on safe mode.
    The laptop won't even start, it goes directly to the kernel panic every time.
    Can someone advice on what to do to fix this??

    Kernel panics are generally caused by hardware issues, like faulty RAM.
    What is a Kernel Panic?
    http://support.apple.com/kb/TS3742
    and  http://support.apple.com/kb/TS1892?viewlocale=en_US
    http://developer.apple.com/mac/library/technotes/tn2002/tn2063.html
    More details here:
    http://www.thexlab.com/faqs/kernelpanics.html
    Useful articles on how to avoid and eliminate kernel panics here:
    http://reviews.cnet.com/8301-13727_7-10344626-263.html?tag=mfiredir
    http://www.macworld.com/article/2027201/how-to-troubleshoot-a-kernel-panic.html# tk.nl_mwhelp

  • Duplicate sessions with dbms_session.reset_package

    Hi
    In our production instance so many sessions are running with the following package, can anyone please tell this is for what? and why its running such long time, it is showing as ACTIVE status however the last cpu call is 1 month before.
    dbms_session.reset_package
    Can anyone please guide me why there is many duplications in this sessions.
    Venkat

    dbms_session.reset_package is used to reset package states, you will see this call if you are using a stateless application. What is the query you use to see the statuses of these sessions?

  • Two public classes in one source file

    Can anyone please explain what is the exact reason why the java source file name should be same as the only allowed public class name in the source file. Answer only if you know the correct answer. No gusses please. I read the other postings on this topic. None of the answers were correct.

    One reason is that some RISC processor architectures
    (like those Sun uses mostly) have hierarchical memory
    architectures. This hierarchy is divided into global
    modules and local (global-accessible) submodules. The
    advantage of this is that the processor needs lesser
    memory access "points" (handles), as the modules
    delegate CPU calls to the submodules.
    The java compiler can utilize this and increase
    performance by loading the entire source files into
    the memory and assign them a CPU handle (the module
    ID). It'll be later used for linking, e.g. The public
    class in a file will be loaded as a module and gets
    the handle, all other non-public classes in that file
    will be submodules.
    If there is no public class, a generic module will be
    used, so that's no problem. But if there are multiple
    public classes, you'd end up with several modules and
    just one handle to assign, thus having ambiguity. The
    CPU won't be able to address the correct module.
    This all only applies to RISC CPUs, but for obviuos
    cross-platform compatibility reasons it was added to
    the standard - it doesn't hurt the other
    architectures, but helps those with hierarchical
    memory management.Thanks, but the rooster explanation makes more sense to me.
    Now could someone please express it a la Majinda?

  • Help in using listagg function for more than 8000 char.

    Hi Friends,
    Need you urgent help in using listagg function for more than 8000 char.
    I did the below sample SQL and in "e_orig" and "d_orig" for upto 4000 char it is working fine but I have to use it for more than 8000 char. and it is giving error,
    I checked the listagg function is having limitation of 4000 char.
    I tried but I am unable to achive this. Can someone provide me a sample example to achive this
    select d.dname,d.loc,e.hiredate
    ,listagg(e.ename,',' ) within group (order by e.deptno) over (partition by e.deptno) as e_orig
    ,listagg(e.ename, ',') within group (order by e.sal) over (partition by e.deptno) as d_orig
    from emp e, dept d
    where e.deptno=d.deptno;[ This is my first post, I gone through the guideline for posting a post , and try to go according to that ( I have not pasted here create table and insert as I have used basic table emp, dept for example), please let me know if still I should give this, I will take care from my next post ]
    Thanks in advance

    Interesting, I didn't know you could do that, but...
    BluShadow wrote:
    You could write some PL/SQL code that does it all for you, but that would involve loops and would be slow.Well, objects are written in PL/SQL aren't they? And presumably there'll be implicit looping too? So it's not at all obvious that this method will be faster than doing the joining in PL/SQL in memory. The only way to find out is to benchmark them - so I have done that.
    I noticed that OP's ref cursor actually only ever retrieves a single record for a bound department number, so I decided the best thing would be to test using a procedure that passes an output string back. I selected all (109) employees and put spaces in to ensure above 4000 characters. I also noticed that as he is using PL/SQL he probably can use a VARCHAR2 type, but just not ListAgg in the query, so I wrote short procedures as follows:
    SimpleAggChr     - bulk collect and array processing, VARCHAR2 output
    ClobAggPrc     - the custom aggregation method, CLOB output
    SimpleAggClob     - bulk collect and array processing, CLOB output
    I then wrote a driving script that calls them in the order above and times each call (I like benchmarking so I have my own timing object to make it easy). I then print the lengths for checking, and my object writes the timings to my output table. Running a few times I got varying results, but generally it looks like there isn't a lot to choose between them for performance.
    Here's the procedure code:
    CREATE OR REPLACE TYPE char100_list_type AS TABLE OF VARCHAR2(100)
    CREATE OR REPLACE PROCEDURE SimpleAggChr (x_out OUT VARCHAR2) IS
      l_enames     char100_list_type;
    BEGIN
      SELECT first_name || '                                        ' || last_name
        BULK COLLECT INTO l_enames
        FROM employees
       ORDER BY salary;
      FOR i IN 1..l_enames.COUNT LOOP
        x_out := x_out || l_enames(i) || ',';
      END LOOP;
    END SimpleAggChr;
    CREATE OR REPLACE PROCEDURE SimpleAggClob (x_out OUT CLOB) IS
      l_enames     char100_list_type;
    BEGIN
      SELECT first_name || '                                        ' || last_name
        BULK COLLECT INTO l_enames
        FROM employees
       ORDER BY salary;
      FOR i IN 1..l_enames.COUNT LOOP
        x_out := x_out || l_enames(i) || ',';
      END LOOP;
    END SimpleAggClob;
    SHO ERR
    PROMPT ClobAggPrc
    CREATE OR REPLACE PROCEDURE ClobAggPrc (x_out OUT CLOB) IS
    BEGIN
      SELECT clobagg(first_name || '                                        ' || last_name || ',')
        INTO x_out
        FROM employees
       ORDER BY salary;
    END ClobAggPrc;
    SHO ERRand the driving script:
    SET SERVEROUTPUT ON
    SET TIMING ON
    DECLARE
      l_enames_c1     CLOB;
      l_enames_c2     CLOB;
      l_enames_v     VARCHAR2(32767);
      l_timer     timer_set_type := timer_set_type ('Aggregation');
    BEGIN
      Utils.g_id := 'Aggregation';
      SimpleAggChr (l_enames_v);
      l_timer.Increment_Time ('SimpleAggChr');
      ClobAggPrc (l_enames_c1);
      l_timer.Increment_Time ('ClobAggPrc');
      SimpleAggClob (l_enames_c2);
      l_timer.Increment_Time ('SimpleAggClob');
      DBMS_Output.Put_Line ('SimpleAggChr returned string of length ' || Length (l_enames_v));
      DBMS_Output.Put_Line ('ClobAggPrc returned string of length ' || Length (l_enames_c1));
      DBMS_Output.Put_Line ('SimpleAggClob returned string of length ' || Length (l_enames_c2));
      l_timer.Write_Times;
    END;
    SET TIMING OFF
    SET LINES 150
    SET PAGES 1000
    COLUMN id FORMAT A30
    COLUMN line_text FORMAT A120
    SELECT line_text
      FROM output_log
    WHERE id = 'Aggregation'
    ORDER BY line_ind
    /and the results:
    SimpleAggChr returned string of length 5779
    ClobAggPrc returned string of length 5779
    SimpleAggClob returned string of length 5779
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:27.05
    LINE_TEXT
    Timer Set: Aggregation, constructed at 03 Nov 2011 16:27:07, written at 16:27:35
    ================================================================================
    [Timer timed: Elapsed (per call): 0.02 (0.000016), CPU (per call): 0.01 (0.000010), calls: 1000, '***' denotes corrected
    line below]
    Timer              Elapsed          CPU          Calls        Ela/Call        CPU/Call
    SimpleAggChr          9.84         0.36              1         9.84400         0.36000
    ClobAggPrc            9.37         0.32              1         9.37400         0.32000
    SimpleAggClob         8.25         0.22              1         8.25000         0.22000
    (Other)               0.00         0.00              1         0.00000         0.00000
    Total                27.47         0.90              4         6.86700         0.22500
    13 rows selected.

  • Volume name of File path / getAbsolutePath, this is driving me insane

    Hello,
    i spent another several hours on this issue i'm having and i think i'm going nuts :=)
    so heres the problem:
    System: Mac OS, two partitions "Mac" and "DATA"
    i have a file "file1.ogg" on the "main" partition (where Mac OS x resides) in the directory tecxx/Music/file1.ogg
    i have a file "file2.ogg" on my NTFS data partition, in the subfolder /DJMUSIC/file2.ogg
    so far, so good.
    when i process these 2 files in my application with a File object and the method "getAbsolutePath()" i get:
    1) /Users/tecx/Music/file1.ogg
    2) /Volumes/DATA/DJMUSIC/file2.ogg
    note that path 1 does not contain any volume name at all, while path 2 contains not just the volume name, but "/Volumes/" in front of the path.
    allright, now here comes the problem. i have another application which uses these 2 files (a dj software). it spits out the filenames of these two tracks in an xml file with these path names:
    1) /Mac/Users/tecxx/Music/file1.ogg
    2) /Data/DJMUSIC/file2.ogg
    Note that this application adds the Volume name to both paths, but NOT /Volumes/.
    what i need to do now is match the filenames against each other. when i process the xml file of the dj app, i extract the filepath, and need to find it in my internal database of my application. but how do i do that, if java returns such strange names, one time without any volume-identifier at all, and the other time with a volume-identifier AND "/Volumes" as a prefx ?
    seriously, this is bugging me for over a week now and i spent the entire day trying to fix this (manually adding "/Volumes/" to the paths, trying different combinations of getAbsolutePath, getCanonicalPath, toURL.toExternalForm; etc,etc), but isn't there an easy solution to get the volume name AND path name of a file somehow?
    in short, i'd like to have a function always return something like this:
    // returns /Mac/somedirectory/somename.ext
    // or        /Data/otherdirectory/someothername.ext
    String getFullPathName(File f)
        return f.getVolumeName() + f.getAbsolutePath();
    }but how do i do the first part (getVolumeName)?
    please help or i will kill myself (just kidding :)
    cheers,
    robert
    Edited by: tecxxtc on May 9, 2008 10:24 AM
    Edited by: tecxxtc on May 9, 2008 10:24 AM

    >
    What program is generating the XML file? What operating system is the third-party software running on?
    I only ask because in my opinion, you should just be working with the absolute pathname, and clearly the third-party app is not doing that.
    >
    traktor dj studio, latest version. it runs either on windows or mac os x. in my case, i run it on windows, but many of my app users run it on mac os x.
    >
    What is the purpose of this application? Is it a script that you're only trying to use on your computer, with your current configuration? Are you trying to distribute it?
    >
    my app has the purpose of managing the song database for traktor dj studio (if you want to take a look.. here's the webpage: http://rrs.at/trakker/ )
    yes, i'm distributing it.
    >
    However, if this is just a script that you want to hack up for yourself, just do some string manipulation on your absolute paths:
    String file = myFile.getAbsolutePath();
    if ( file.startsWith("/Volumes/") {
       //replace "/Volumes" with empty string
    } else {
       //prefix "/Mac"
    }so, this is where i've come to myself. the first part - adding "/volumes/" works fine. but the second part will fail - as i don't know the volume name of the boot partitions of my users. it is not necessarily "/Mac" - thats only true on my own machine :)
    do have a nice idea for me how to solve that?
    i thought about creating a "new File" object for the path i'm reading from the xml, and then iterating my entire "database" of files, creating another "new File" object for each one, and comparing them with "equals". that might work, but that would mean, that for every path in the xml file (up to 2000 or more) i would have to compare to every path in my database (again, up to 2000 or maybe many more). i don't even want to calculate how many cpu calls this will generate... the hashtable lookup would just be way faster, if i could get the paths right.
    anyway, thanks for all the replies yet, you're really helpful. i'm aware of the filepath differences between windows and mac, and thanks again for your thorough explanations, but as i can't change the behaviour of this third party app i'm stuck with a solution here (and my mac os experience is near zero, but it is starting to get better ;=)

  • Several Kernel Panics - Retina Mac Book Pro

    First off before wed I had never had a kernal panic.Some back story (Dunno if it could have effected it).  I ran out of power of tues just before a long car journey and thus I had to forced shutdown the computer  and then put it in its case and went home. When I got back for the first night their was no issues (I charged it to 100% , Surfed the web for a good 3 hrs and rebooted 2 times) so I thought nothing of it. However when i got up the next morning I had a Kernal Panic (Figure 1.) I was out the room for this one (From my POV i thought i hadnt pressed the button hard enough ) this reoccured later that day ( Which I once agin missed ! (it must be noted that 3 or so reboots had no issues). The next day on one of my about 5 boots I saw the Kernal panic (as this was the first time I had seen it I thought i would let it play as the other boots had no issues).But  Yesterday it paniced again on about one of 6 boots and today it paniced once out of 3 times.
    All of them seem to be related to the CPU Caller (but the number changes.). I have a 3 year warrenty on this laptop and can get it to the apple store the only prob is I need my laptop for work and I'v already had the screen out due to the image retention bug.
    I will just post my first panic:
    Figure 1 .
    Wed Aug 21 10:48:07 2013
    panic(cpu 6 caller 0xffffff80272b8655): Kernel trap at 0xffffff7fa8960154, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000010, CR3: 0x0000000011bde032, CR4: 0x00000000001606e0
    RAX: 0x0000000000000001, RBX: 0xffffff80f8d6d000, RCX: 0xffffff80278903b0, RDX: 0xffffff810f5eba38
    RSP: 0xffffff810f5ebb60, RBP: 0xffffff810f5ebb60, RSI: 0x0000000000000000, RDI: 0x0000000000000000
    R8:  0x0000000000000000, R9:  0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
    R12: 0xffffff80f8d6d000, R13: 0x0000000000000000, R14: 0x0000000000000002, R15: 0x0000000000000000
    RFL: 0x0000000000010246, RIP: 0xffffff7fa8960154, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000000010, Error code: 0x0000000000000000, Fault CPU: 0x6
    Backtrace (CPU 6), Frame : Return Address
    0xffffff810f5eb800 : 0xffffff802721d626
    0xffffff810f5eb870 : 0xffffff80272b8655
    0xffffff810f5eba40 : 0xffffff80272ce17d
    0xffffff810f5eba60 : 0xffffff7fa8960154
    0xffffff810f5ebb60 : 0xffffff7fa8949844
    0xffffff810f5ebbb0 : 0xffffff7fa894979a
    0xffffff810f5ebbd0 : 0xffffff7fa892528e
    0xffffff810f5ebc00 : 0xffffff7fa78913a0
    0xffffff810f5ebc40 : 0xffffff7fa789130f
    0xffffff810f5ebc60 : 0xffffff7fa789675c
    0xffffff810f5ebcf0 : 0xffffff7fa788ee50
    0xffffff810f5ebd20 : 0xffffff7fa78e01cf
    0xffffff810f5ebd70 : 0xffffff8027633efb
    0xffffff810f5ebdc0 : 0xffffff8027665297
    0xffffff810f5ebe30 : 0xffffff802729874f
    0xffffff810f5ebe80 : 0xffffff8027220b3d
    0xffffff810f5ebeb0 : 0xffffff8027210448
    0xffffff810f5ebf00 : 0xffffff802721961b
    0xffffff810f5ebf70 : 0xffffff80272a6536
    0xffffff810f5ebfb0 : 0xffffff80272ce9e3
          Kernel Extensions in backtrace:
             com.apple.iokit.IOGraphicsFamily(2.3.7)[990D1A42-DF16-3AB9-ABC1-6A88AC142244]@0 xffffff7fa7885000->0xffffff7fa78bcfff
                dependency: com.apple.iokit.IOPCIFamily(2.7.3)[1D668879-BEF8-3C58-ABFE-FAC6B3E9A292]@0xffff ff7fa7846000
             com.apple.NVDAResman(8.1.2)[96AE69DE-8A37-39D0-B2D3-D8446A6AA670]@0xffffff7fa78 dc000->0xffffff7fa7b81fff
                dependency: com.apple.iokit.IOPCIFamily(2.7.3)[1D668879-BEF8-3C58-ABFE-FAC6B3E9A292]@0xffff ff7fa7846000
                dependency: com.apple.iokit.IONDRVSupport(2.3.7)[6C8CFC18-75F0-3DEF-86C7-CEB2C1FD6BB1]@0xff ffff7fa78c8000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.7)[990D1A42-DF16-3AB9-ABC1-6A88AC142244]@0 xffffff7fa7885000
             com.apple.GeForce(8.1.2)[7EC545A4-4B57-32F1-8DC3-C31023AFBDCB]@0xffffff7fa89210 00->0xffffff7fa89eefff
                dependency: com.apple.NVDAResman(8.1.2)[96AE69DE-8A37-39D0-B2D3-D8446A6AA670]@0xffffff7fa78 dc000
                dependency: com.apple.iokit.IONDRVSupport(2.3.7)[6C8CFC18-75F0-3DEF-86C7-CEB2C1FD6BB1]@0xff ffff7fa78c8000
                dependency: com.apple.iokit.IOPCIFamily(2.7.3)[1D668879-BEF8-3C58-ABFE-FAC6B3E9A292]@0xffff ff7fa7846000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.7)[990D1A42-DF16-3AB9-ABC1-6A88AC142244]@0 xffffff7fa7885000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    12E55
    Kernel version:
    Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64
    Kernel UUID: 896CB1E3-AB79-3DF1-B595-549DFFDF3D36
    Kernel slide:     0x0000000027000000
    Kernel text base: 0xffffff8027200000
    System model name: MacBookPro10,1 (Mac-C3EC7CD22292981F)
    System uptime in nanoseconds: 6093959938
    last loaded kext at 5857927519: com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.5 (addr 0xffffff7fa7804000, size 176128)
    loaded kexts:
    com.AmbrosiaSW.AudioSupport          4.1.2
    com.apple.driver.AGPM          100.12.87
    com.apple.driver.ApplePlatformEnabler          2.0.6d1
    com.apple.driver.X86PlatformShim          1.0.0
    com.apple.iokit.IOBluetoothSerialManager          4.1.4f2
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDAHardwareConfigDriver          2.3.7fc4
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleHDA          2.3.7fc4
    com.apple.driver.AppleIntelHD4000Graphics          8.1.2
    com.apple.iokit.IOBluetoothUSBDFU          4.1.4f2
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.driver.AppleMikeyDriver          2.3.7fc4
    com.apple.driver.AppleSMCPDRC          1.0.0
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.1.4f2
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleLPC          1.6.0
    com.apple.GeForce          8.1.2
    com.apple.driver.AppleSMCLMU          2.0.3d0
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.ApplePolicyControl          3.4.5
    com.apple.driver.AppleMuxControl          3.4.5
    com.apple.driver.AppleBacklight          170.2.5
    com.apple.driver.AppleIntelFramebufferCapri          8.1.2
    com.apple.nvidia.NVDAStartup          8.1.2
    com.apple.driver.AppleMCCSControl          1.1.11
    com.apple.driver.AppleUSBTCButtons          237.1
    com.apple.driver.AppleUSBTCKeyEventDriver          237.1
    com.apple.driver.AppleUSBTCKeyboard          237.1
    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.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.3.1
    com.apple.driver.AppleSDXC          1.4.2
    com.apple.iokit.AppleBCM5701Ethernet          3.6.1b4
    com.apple.driver.AppleUSBHub          5.5.5
    com.apple.driver.AirPort.Brcm4331          615.20.17
    com.apple.driver.AppleAHCIPort          2.5.2
    com.apple.driver.AppleUSBEHCI          5.5.0
    com.apple.driver.AppleUSBXHCI          5.6.0
    com.apple.driver.AppleEFINVRAM          1.7
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleACPIButtons          1.7
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.7
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2.1
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.5
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.driver.DspFuncLib          2.3.7fc4
    com.apple.iokit.IOSurface          86.0.4
    com.apple.iokit.IOAcceleratorFamily          74.5.1
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.1.4f2
    com.apple.iokit.IOBluetoothFamily          4.1.4f2
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.X86PlatformPlugin          1.0.0
    com.apple.driver.IOPlatformPluginFamily          5.3.0d51
    com.apple.nvidia.gk100hal          8.1.2
    com.apple.NVDAResman          8.1.2
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.iokit.IOAudioFamily          1.8.9fc11
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.driver.AppleHDAController          2.3.7fc4
    com.apple.iokit.IOHDAFamily          2.3.7fc4
    com.apple.driver.AppleThunderboltEDMSink          1.1.8
    com.apple.driver.AppleThunderboltEDMSource          1.1.8
    com.apple.driver.AppleThunderboltDPOutAdapter          1.8.9
    com.apple.driver.AppleGraphicsControl          3.4.5
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.iokit.IONDRVSupport          2.3.7
    com.apple.driver.AppleSMBusPCI          1.0.11d0
    com.apple.driver.AppleSMBusController          1.0.11d0
    com.apple.iokit.IOGraphicsFamily          2.3.7
    com.apple.driver.AppleUSBMultitouch          237.3
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.driver.AppleThunderboltDPInAdapter          1.8.9
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.9
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.6
    com.apple.driver.AppleUSBMergeNub          5.5.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.driver.AppleThunderboltNHI          1.7.8
    com.apple.iokit.IOThunderboltFamily          2.4.0
    com.apple.iokit.IOEthernetAVBController          1.0.2b1
    com.apple.iokit.IO80211Family          530.4
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOUSBUserClient          5.5.5
    com.apple.iokit.IOAHCIFamily          2.3.1
    com.apple.iokit.IOUSBFamily          5.6.0
    com.apple.driver.AppleEFIRuntime          1.7
    com.apple.iokit.IOHIDFamily          1.8.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220.3
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          345
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.7
    com.apple.iokit.IOPCIFamily          2.7.3
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    What should I do?
    Thanks for your help

    Its happened again when I booted it up this morning

  • Corel Draw 11 not working in Mountain Lion

    Dear All,
    Please help me.
    I was using OSX lion version and working with corel draw 11 and upgraded into mountain lion and my corel draw 11 error : " You Can't open the application " coreldraw 11 because power pc applications are no longer supported.
    Pleas help me

    Kurt Lang wrote:
    Another possibility is to attempt to install Snow Leopard client into a VM such as Parallels.
    Here is a recent post I made for a similar problem:
    TO: The OP
    Hello! Given your lack of knowledge of Macs, I will try to keep this as simple as possible for you.
    Macs ran from 1996 through 2006 on a Central Processing Unit (CPU) called the PowerPC.  Windows software ran on the Intel CPU platform.  Apple made the decision to switch its complete inventory of Macs to Intel in 2006, but did not want to financially penalize its existing base of users who had a substantial financial investment in their existing PowerPC software.
    So Apple licensed a third party technology, which they called Rosetta and installed it in OS X (at that time Tiger, then Leopard, then optionally Snow Leopard), which transparently and almost magically emulated the PowerPC CPU instructions on the Intel CPU.  Rosetta worked so well that most Mac users had no idea what it was, or what it was doing for many years after 2006.
    The problem is that Apple's license to continue to develop, install and use Rosetta for OS X expired with the release of Lion and now Mountain Lion.  Hence, older PowerPC applications will no longer run natively on Lion or Mountain Lion.
    The best solution, if it is available, is an upgrade for your PowerPC software that has been rewritten to work on the Intel CPU.  If this upgrade is available, there is generally a financial cost to purchase it and many such upgrades are very costly, especially cumulatively.  Presumably, Corel was never rewritten to work on the Intel CPU.
    Since it appears that you have purchased a new Mac, it must boot Mountain Lion, so another alternative, the so-called "dual-boot" approach, is not available to you.
    That leaves using what is called virtualization on your Mac to be able to run this software.
    One solution is to run Windows on your Mac (either in what is called Bootcamp, or in virtualization through the use of a third party program offered by Parallels or VMWare Fusion).  Is there a Windows version of Corel that you would be happy and satisfied to run?  You would have to purchase Windows and presumably the Windows version of Corel as well.
    Another solution is to run Mac OS X Snow Leopard in virtualization on your Mac.  This is the version of OS X that just preceeded Lion and Mountain Lion and is the last one that can have Rosetta installed into it.
    Parallels and VMWare Fusion only support the installation of a version of Snow Leopard called Snow Leopard Server.  While it is easy to install and is supported, it originally sold by Apple for $499+.  While Apple no longer sells it, it is available on eBay and I have seen it selling recently for $51 - $99+.  Parallels and VMWare Fusion each sell for about $79 retail and shopping on the internet can yield some discounts.  You only need one or the other, not the both of Parallels or VMWare.
    There is also a free virtualization program offered by Oracle, called VirtualBox.  I have no experience with this program and I do not know if Snow Leopard or its Server version can be installed on it.
    A more complicated approach is the installation of the normal Snow Leopard into Parallels.  Apple still sells Snow Leopard for $19.99, but you would have to follow the installation instructions I have offered online.  This may be too challenging for you to undertake, but the instructions are located here:
    http://forums.macrumors.com/showthread.php?t=1365439
    You can also download a 14 day free trial of Parallels here:
    http://trial.parallels.com/index.php?lang=en&terr=us
    It will look something like this on your iMac (and the Snow Leopard screen can be enlarged to encompass the complete screen; it is minimized here to show that Lion is running in the background):
                                  [click on image to enlarge]
    I am sure you will have questions; so let me know what they are...

  • Limiting user activity using Oracle Profiles

    I am hoping to reduce the impact of a certain group of users on system performance. I can allocate a separate Oracle profile to them but when I set limits, what happens?
    Composite Limits - I'll leave alone, too much math required!
    Sessions/User - I can't limit that, they may feasibly and reasonably have several sessions
    CPU/Session - Ok, it's not a % of the CPU available but CPU seconds/100. What happens when that number is reached - is the sessions killed or what?
    CPU/Call - See above
    Logical Reads/Session - What happens when this limit is reached? Does the session die?
    Logical Reads/Call - See above
    Idle Time - Set to 300
    Connect Time - I do not wish to restrict this
    Private SGA - I am not sure about this (I don't even know if we are using multi-threaded server architecture!)
    So it seems to me, that none of these will meet my needs and consumer resource groups would be the correct thing... but can anyone please confirm?
    Thanks

    I've used CPU_per_call and logical_reads_per_call for our dynamic search. If user happens to enter such criteria that he cannot get at least a row back within certain limits he gets back certain oracle error and on the screen he gets something like "your query used too much resources, enter better criteria" :)
    The overall impact of such queries was limited because of totla rows limit for search typically 100. So at most users could use 100 * almost resource limit per one search.
    If your users can issue whatever statements they like then this is not usable because for example for aggregate queries logical_reads_per_call will be reached quickly and user won't get back result of quite normal statement.
    So probably you have to use resource groups indeed.
    Gints Plivna
    http://www.gplivna.eu

Maybe you are looking for