Kernel panic : Processor context corrupt

Discussion in 'MacBook Pro' started by rick78, Nov 8, 2012.

  1. rick78 macrumors newbie

    Joined:
    Nov 8, 2012
    #1
    Hi,
    I am experiencing constant crashing on my MacBook Pro 15" from primo 2011. When it occured the first time, I was encoding a MKV file with Xilosoft, and copying files to my NAS at the same time over wireless. I was awway from the machine and wwhen I came back, it had restarted and froze. Now it crashes and restarts constantly. If it is off, for a ling time, I can get to login, but within a minute or two, it crashes and restarts.
    With that info, it could be related to a cpu fan or something. I was able to get a report after getting to login with enough time to send the report via mail. I will paste the report below.
    I bought this MacBook Pro in the US, but I live in Denmark. We only have a reseller here. It is out of warranty now.

    If I could get a clear message about the hardware that is malfunctioning, I can replace it myself.
    More info, i have installed my own SSD drive and have Mountain Lion installed on it. I tried placing the original HDD I have with Lion installed. It does not change anything, as far as I can tell.
    I have tried to boot up on an install DVD, but it still crashes.
    Safe mode crashes before I get in as well. The shift button does not seem to do anythng during boot. Option during boot gets me to the Boot menu, wwhere I have HDD, Recovery, or DVD.

    The two fans do turn on and are working.

    I found the hardware test on the second disk that came with my Macbook Pro. Holding the D key down during boot now loads the hardware test. I did an extended test and there were no errors.

    I have also tried SMC and PROM reset procedures. No change.

    As I said already, if it is off for a long period of time, it can get into the login for a while before crash.
    I have an external laptop fan, and if I use this I am able to log in for a long time (was in for over an hour before crashing).

    If this is heat related, could it is be that the heat sinks are not having a good connection to the CPU and graphic chip? I will try to follow a guide I have for putting new paste on.

    Thanks in advance for any help on this issue,
    Rick

    Report:

    Interval Since Last Panic Report: 589711 sec
    Panics Since Last Report: 3
    Anonymous UUID: 89EFB590-AFD4-454B-AFF9-E712FBADBDDF

    Sun Nov 4 00:28:04 2012
    Machine-check capabilities (cpu 0) 0x0000000000000c09:
    family: 6 model: 42 stepping: 7 microcode: 26
    Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz
    9 error-reporting banks
    threshold-based error status present
    extended corrected memory error handling present
    Machine-check status 0x0000000000000005:
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0xbe2000000005110a valid
    MCA error code: 0x110a
    Model specific error code: 0x0005
    Other information: 0x00000000
    Threshold-based status: Undefined
    Status bits:
    Processor context corrupt
    ADDR register valid
    MISC register valid
    Error enabled
    Uncorrected error
    IA32_MC5_ADDR(0x416): 0x0000000000000740
    IA32_MC5_MISC(0x417): 0x0000005082000086
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    Package 0 logged:
    IA32_MC8_STATUS(0x421): 0x0020000000000000 invalid
    panic(cpu 0 caller 0xffffff80002d0238): Machine Check thread:0xffffff800b7c6588 at 0xffffff800022df14, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000100dfe000, CR3: 0x0000000000100000, CR4: 0x0000000000040660
    RAX: 0xffffff7f80879cc0, RBX: 0xffffff80008430d8, RCX: 0x0000000080000000, RDX: 0x0000000000000fa1
    RSP: 0xffffff805dc8b558, RBP: 0xffffff805dc8b5f0, RSI: 0x0000000000000000, RDI: 0xffffff80008438a0
    R8: 0x0000000000000001, R9: 0x0000000000000000, R10: 0x0000000000000000, R11: 0xffffff7f80863d71
    R12: 0x0000000000000007, R13: 0x0000000000000007, R14: 0x0000000000000000, R15: 0xffffff800aaeec00
    RFL: 0x0000000000000046, RIP: 0xffffff800022df14, CS: 0x0000000000000008, SS: 0x0000000000000010
    Error code: 0x0000000000000000

    Backtrace (CPU 0), Frame : Return Address
    0xffffff800083cd10 : 0xffffff8000204d15
    0xffffff800083ce10 : 0xffffff80002d0238
    0xffffff800083cf00 : 0xffffff80002e48ff
    0xffffff805dc8b5f0 : 0xffffff800022e409
    0xffffff805dc8b610 : 0xffffff80002083a4
    0xffffff805dc8b650 : 0xffffff8000208fec
    0xffffff805dc8b6e0 : 0xffffff8000209ab2
    0xffffff805dc8b750 : 0xffffff8000206076
    0xffffff805dc8b790 : 0xffffff800051ffd7
    0xffffff805dc8b7c0 : 0xffffff7f810594d8
    0xffffff805dc8b7f0 : 0xffffff800053a805
    0xffffff805dc8b840 : 0xffffff7f810523d4
    0xffffff805dc8b890 : 0xffffff7f810493df
    0xffffff805dc8b900 : 0xffffff7f814270fa
    0xffffff805dc8b930 : 0xffffff7f81428f10
    0xffffff805dc8b980 : 0xffffff7f81418ecb
    0xffffff805dc8b9e0 : 0xffffff7f8141c666
    0xffffff805dc8bad0 : 0xffffff7f814036d3
    0xffffff805dc8bb10 : 0xffffff7f81403e57
    0xffffff805dc8bb70 : 0xffffff7f814060d5
    0xffffff805dc8bcc0 : 0xffffff7f814006de
    0xffffff805dc8bce0 : 0xffffff800053c215
    0xffffff805dc8bd50 : 0xffffff7f813fdbdc
    0xffffff805dc8bd70 : 0xffffff7f81360cd2
    0xffffff805dc8bda0 : 0xffffff7f814054c2
    0xffffff805dc8bea0 : 0xffffff7f81405972
    0xffffff805dc8bf20 : 0xffffff800053a805
    0xffffff805dc8bf70 : 0xffffff7f81400049
    0xffffff805dc8bfa0 : 0xffffff80002c8527
    Kernel Extensions in backtrace (with dependencies):
    com.apple.driver.AppleHDA(2.0.5f13)@0xffffff7f813f9000->0xffffff7f814a8fff
    dependency: com.apple.driver.AppleHDAController(2.0.5f13)@0xffffff7f81050000
    dependency: com.apple.iokit.IONDRVSupport(2.2)@0xffffff7f80ff1000
    dependency: com.apple.iokit.IOAudioFamily(1.8.3fc2)@0xffffff7f8135c000
    dependency: com.apple.iokit.IOHDAFamily(2.0.5f13)@0xffffff7f81048000
    dependency: com.apple.iokit.IOGraphicsFamily(2.2)@0xffffff7f80e24000
    dependency: com.apple.driver.DspFuncLib(2.0.5f13)@0xffffff7f8137c000
    com.apple.iokit.IOAudioFamily(1.8.3fc2)@0xffffff7f8135c000->0xffffff7f81377fff
    dependency: com.apple.kext.OSvKernDSPLib(1.3)@0xffffff7f81357000
    com.apple.driver.AppleHDAController(2.0.5f13)@0xffffff7f81050000->0xffffff7f810 65fff
    dependency: com.apple.iokit.IOPCIFamily(2.6.3)@0xffffff7f80804000
    dependency: com.apple.iokit.IOHDAFamily(2.0.5f13)@0xffffff7f81048000
    dependency: com.apple.iokit.IOGraphicsFamily(2.2)@0xffffff7f80e24000
    com.apple.iokit.IOHDAFamily(2.0.5f13)@0xffffff7f81048000->0xffffff7f8104ffff

    BSD process name corresponding to current thread: kernel_task

    Mac OS version:
    10J4139

    Kernel version:
    Darwin Kernel Version 10.7.4: Mon Apr 18 21:24:17 PDT 2011; root:xnu-1504.14.12~3/RELEASE_X86_64
    System model name: MacBookPro8,2 (Mac-94245A3940C91C80)

    System uptime in nanoseconds: 121699854571
    unloaded kexts:
    (none)
    loaded kexts:
    com.apple.driver.AppleHWSensor 1.9.3d0
    com.apple.driver.AudioAUUC 1.57
    com.apple.driver.AppleUpstreamUserClient 3.5.7
    com.apple.driver.AppleMikeyHIDDriver 1.2.0
    com.apple.driver.AppleMCCSControl 1.0.20
    com.apple.driver.AppleIntelPenrynProfile 17
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleMikeyDriver 2.0.5f13
    com.apple.kext.ATIFramebuffer 6.3.4
    com.apple.driver.AppleIntelHDGraphics 6.3.4
    com.apple.driver.AppleIntelNehalemProfile 11
    com.apple.driver.AppleHDA 2.0.5f13
    com.apple.driver.AudioIPCDriver 1.1.6
    com.apple.ATIRadeonX3000 6.3.4
    com.apple.driver.SMCMotionSensor 3.0.1d2
    com.apple.driver.AppleIntelMeromProfile 19
    com.apple.driver.AppleGraphicsControl 2.10.6
    com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.0a1
    com.apple.driver.AppleLPC 1.5.1
    com.apple.driver.AppleBacklight 170.0.46
    com.apple.kext.AppleSMCLMU 1.5.2d10
    com.apple.driver.AppleIntelSNBGraphicsFB 6.3.4
    com.apple.driver.DiskImages.SparseDiskImage 289
    com.apple.driver.DiskImages.ReadWriteDiskImage 289
    com.apple.driver.DiskImages.UDIFDiskImage 289
    com.apple.driver.DiskImages.RAMBackingStore 289
    com.apple.driver.DiskImages.HTTPBackingStore 289
    com.apple.driver.DiskImages.FileBackingStore 289
    com.apple.driver.AppleUSBTCButtons 201.2
    com.apple.driver.AppleUSBTCKeyEventDriver 201.2
    com.apple.driver.AppleIRController 303.8
    com.apple.driver.AppleUSBTCKeyboard 201.2
    com.apple.iokit.SCSITaskUserClient 2.6.8
    com.apple.iokit.IOAHCIBlockStorage 1.6.4
    com.apple.driver.AppleUSBHub 4.2.0
    com.apple.BootCache 31
    com.apple.driver.AppleSDXC 1.0.2
    com.apple.iokit.AppleBCM5701Ethernet 3.0.5b8
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.driver.AppleFWOHCI 4.7.3
    com.apple.driver.AirPort.Brcm4331 432.11.3
    com.apple.driver.AppleUSBEHCI 4.2.0
    com.apple.driver.AppleSmartBatteryManager 160.0.0
    com.apple.driver.AppleAHCIPort 2.1.7
    com.apple.driver.AppleEFINVRAM 1.4.0
    com.apple.driver.AppleUSBUHCI 4.2.0
    com.apple.driver.AppleACPIButtons 1.3.6
    com.apple.driver.AppleRTC 1.3.1
    com.apple.driver.AppleHPET 1.5
    com.apple.driver.AppleSMBIOS 1.7
    com.apple.driver.AppleACPIEC 1.3.6
    com.apple.driver.AppleAPIC 1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient 142.6.0
    com.apple.security.sandbox 1
    com.apple.security.quarantine 0
    com.apple.nke.applicationfirewall 2.1.11
    com.apple.driver.AppleIntelCPUPowerManagement 142.6.0
    com.apple.driver.AppleProfileKEventAction 10 - last loaded 120221798797
    com.apple.driver.AppleProfileCallstackAction 20
    com.apple.iokit.IOSurface 74.2
    com.apple.iokit.IOBluetoothSerialManager 2.4.5f1
    com.apple.iokit.IOSerialFamily 10.0.3
    com.apple.driver.AppleHDAHardwareConfigDriver 2.0.5f13
    com.apple.driver.DspFuncLib 2.0.5f13
    com.apple.iokit.IOAudioFamily 1.8.3fc2
    com.apple.kext.OSvKernDSPLib 1.3
    com.apple.driver.AppleSMBusController 1.0.10d0
    com.apple.iokit.IOFireWireIP 2.0.3
    com.apple.iokit.AppleProfileFamily 41
    com.apple.driver.AppleHDAController 2.0.5f13
    com.apple.iokit.IOHDAFamily 2.0.5f13
    com.apple.driver.IOPlatformPluginFamily 4.7.0a1
    com.apple.driver.AppleSMBusPCI 1.0.10d0
    com.apple.driver.AppleBacklightExpert 1.0.1
    com.apple.iokit.IONDRVSupport 2.2
    com.apple.driver.AppleSMC 3.1.0d5
    com.apple.driver.AppleThunderboltEDMSink 1.0.5
    com.apple.driver.AppleThunderboltEDMSource 1.0.5
    com.apple.driver.AppleThunderboltDPOutAdapter 1.2.0
    com.apple.kext.ATI6000Controller 6.3.4
    com.apple.kext.ATISupport 6.3.4
    com.apple.iokit.IOGraphicsFamily 2.2
    com.apple.driver.DiskImages.KernelBacked 289
    com.apple.driver.AppleThunderboltDPInAdapter 1.2.0
    com.apple.driver.AppleThunderboltDPAdapterFamily 1.2.0
    com.apple.driver.AppleThunderboltPCIDownAdapter 1.1.5
    com.apple.driver.BroadcomUSBBluetoothHCIController 2.4.5f1
    com.apple.driver.AppleUSBBluetoothHCIController 2.4.5f1
    com.apple.iokit.IOBluetoothFamily 2.4.5f1
    com.apple.driver.AppleUSBMultitouch 207.5
    com.apple.iokit.IOUSBHIDDriver 4.2.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.8
    com.apple.iokit.IOBDStorageFamily 1.6
    com.apple.iokit.IODVDStorageFamily 1.6
    com.apple.iokit.IOCDStorageFamily 1.6.1
    com.apple.driver.AppleUSBMergeNub 4.2.2
    com.apple.driver.AppleUSBComposite 3.9.0
    com.apple.driver.XsanFilter 402.1
    com.apple.iokit.IOAHCISerialATAPI 1.2.6
    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.8
    com.apple.driver.AppleThunderboltNHI 1.2.3
    com.apple.iokit.IOThunderboltFamily 1.3.5
    com.apple.iokit.IOUSBUserClient 4.2.0
    com.apple.iokit.IOFireWireFamily 4.2.6
    com.apple.iokit.IO80211Family 320.1
    com.apple.iokit.IONetworkingFamily 1.10
    com.apple.driver.AppleFileSystemDriver 2.0
    com.apple.iokit.IOAHCIFamily 2.0.6
    com.apple.iokit.IOUSBFamily 4.2.2
    com.apple.driver.AppleEFIRuntime 1.4.0
    com.apple.iokit.IOHIDFamily 1.6.6
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.TMSafetyNet 6
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.driver.DiskImages 289
    com.apple.iokit.IOStorageFamily 1.6.3
    com.apple.driver.AppleACPIPlatform 1.3.6
    com.apple.iokit.IOPCIFamily 2.6.3
    com.apple.iokit.IOACPIFamily 1.3.0
    Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2 GHz, 4 GB, SMC 1.69f3
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
    Graphics: AMD Radeon HD 6490M, AMD Radeon HD 6490M, PCIe, 256 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.81.20)
    Bluetooth: Version 4.0.9f8 10405, 2 service, 18 devices, 1 incoming serial ports
    Serial ATA Device: SanDisk SDSSDX120GG25, 120,03 GB
    Serial ATA Device: MAT****ADVD-R UJ-8A8, 8,54 GB
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
    USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0245, 0xfa120000 / 5
    USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 6
    USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
    MacBook Pro
     
  2. AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #2
    I think there is overheating. In this case, apply a new thermal paste.
    There are some great reviews of different thermal pastes, one of them includes 80 different thermal pastes:
    http://benchmarkreviews.com/index.php?option=com_content&task=view&id=150&Itemid=62
    This review is old (from 2009), but should give you a clue about which manufacturer to choose.
    A or A+ would be the best.
     
  3. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #3
    Thanks AppleMacFinder.

    Nice to know that I might be on the right track.
     
  4. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #4
    Update

    Last night I followed the ifixit guide to remove the logic board, then their guide for applying new thermal paste.I did this and everything went fine, although I was nervous with all the small cables.
    My application of the thermal paste looked real nice and clean.

    When I booted up the first time, it crashed again within 2 minutes.
    I did manage to get SMC fan control, and could see the fans were running at about 2000 RPM, and the CPU at at 79 C just as it crashed.
    That seems hot, compared to my iMac that is around 40 C.

    This morning I booted up again to see the temp and it was at 39 C. I did not have much time to test this morning, but it did not crash in the few minutes it was up. I adjusted the fan RPM to 4000 to see what happened, but I need more time to see if this would help.
    Another note: When it crashes with a kernal panic during boot, I see a lot of screen output, which I cannot save. The errors are different than the report I get once I log in. I took a photo of it.
    The output does have this in it:

    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0x0020000000000000 invalid
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    Package 0 logged:
    IA32_MC8_STATUS(0x421): 0xe2000000005110a invalid
    Channel number: 10
    Memory Operation: generic
    Machine-specific error: Read ECCWrite parity


    Is that related to the RAM?

    Thanks again for any input.

    Regards,
    Rick
     
  5. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #5
    Update

    Today I tried the 2x2GB RAM blocks from my 2011 iMac. It is doing the same thing. I am not sure if I can rule out the RAM or not.

    It seems that when the temp gets up over 50 C, it tends to crash.
    I can do normal browsing and other non-CPU intensive things, for quite some time. However, if I start Safari and run NFL Gamepass video stream, it crashes as soon as the temp get to about 53 C.
    I am positive that I did the heatsinc good.

    Here is the latest report after a few crashed this evening:

    Interval Since Last Panic Report: 8633 sec
    Panics Since Last Report: 14
    Anonymous UUID: 89EFB590-AFD4-454B-AFF9-E712FBADBDDF

    Fri Nov 9 19:14:03 2012
    Machine-check capabilities 0x0000000000000c09:
    family: 6 model: 42 stepping: 7 microcode: 26
    Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz
    9 error-reporting banks
    threshold-based error status present
    extended corrected memory error handling present
    Processor 0: machine-check status 0x0000000000000005:
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0x0020000000000000 invalid
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    Package 0 logged:
    IA32_MC8_STATUS(0x421): 0xbe2000000005110a valid
    Channel number: 10
    Memory Operation: generic
    Machine-specific error: Read ECC Write parity
    COR_ERR_CNT: 0
    Status bits:
    Processor context corrupt
    ADDR register valid
    MISC register valid
    Error enabled
    Uncorrected error
    IA32_MC8_ADDR(0x422): 0x0000000000000e00
    IA32_MC8_MISC(0x423): 0x0000005082000086
    RTID: 134
    DIMM: 0
    Channel: 0
    Syndrome: 0x50
    Processor 1: machine-check status 0x0000000000000005:
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0x0020000000000000 invalid
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    IA32_MC8_STATUS(0x421): 0xbe2000000005110a valid
    MCA error code: 0x110a
    Model specific error code: 0x0005
    Other information: 0x00000000
    Threshold-based status: Undefined
    Status bits:
    Processor context corrupt
    ADDR register valid
    MISC register valid
    Error enabled
    Uncorrected error
    IA32_MC8_ADDR(0x422): 0x0000000000000e00
    IA32_MC8_MISC(0x423): 0x0000005082000086
    Processor 2: machine-check status 0x0000000000000005:
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0x0020000000000000 invalid
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    IA32_MC8_STATUS(0x421): 0xbe2000000005110a valid
    MCA error code: 0x110a
    Model specific error code: 0x0005
    Other information: 0x00000000
    Threshold-based status: Undefined
    Status bits:
    Processor context corrupt
    ADDR register valid
    MISC register valid
    Error enabled
    Uncorrected error
    IA32_MC8_ADDR(0x422): 0x0000000000000e00
    IA32_MC8_MISC(0x423): 0x0000005082000086
    Processor 3: machine-check status 0x0000000000000005:
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0x0020000000000000 invalid
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    IA32_MC8_STATUS(0x421): 0xbe2000000005110a valid
    MCA error code: 0x110a
    Model specific error code: 0x0005
    Other information: 0x00000000
    Threshold-based status: Undefined
    Status bits:
    Processor context corrupt
    ADDR register valid
    MISC register valid
    Error enabled
    Uncorrected error
    IA32_MC8_ADDR(0x422): 0x0000000000000e00
    IA32_MC8_MISC(0x423): 0x0000005082000086
    Processor 4: machine-check status 0x0000000000000005:
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0x0020000000000000 invalid
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    IA32_MC8_STATUS(0x421): 0xbe2000000005110a valid
    MCA error code: 0x110a
    Model specific error code: 0x0005
    Other information: 0x00000000
    Threshold-based status: Undefined
    Status bits:
    Processor context corrupt
    ADDR register valid
    MISC register valid
    Error enabled
    Uncorrected error
    IA32_MC8_ADDR(0x422): 0x0000000000000e00
    IA32_MC8_MISC(0x423): 0x0000005082000086
    Processor 5: machine-check status 0x0000000000000005:
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0x0020000000000000 invalid
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    IA32_MC8_STATUS(0x421): 0xbe2000000005110a valid
    MCA error code: 0x110a
    Model specific error code: 0x0005
    Other information: 0x00000000
    Threshold-based status: Undefined
    Status bits:
    Processor context corrupt
    ADDR register valid
    MISC register valid
    Error enabled
    Uncorrected error
    IA32_MC8_ADDR(0x422): 0x0000000000000e00
    IA32_MC8_MISC(0x423): 0x0000005082000086
    Processor 6: machine-check status 0x0000000000000005:
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0x0020000000000000 invalid
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    IA32_MC8_STATUS(0x421): 0xbe2000000005110a valid
    MCA error code: 0x110a
    Model specific error code: 0x0005
    Other information: 0x00000000
    Threshold-based status: Undefined
    Status bits:
    Processor context corrupt
    ADDR register valid
    MISC register valid
    Error enabled
    Uncorrected error
    IA32_MC8_ADDR(0x422): 0x0000000000000e00
    IA32_MC8_MISC(0x423): 0x0000005082000086
    Processor 7: machine-check status 0x0000000000000005:
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32_MC0_STATUS(0x401): 0x0000000000000000 invalid
    IA32_MC1_STATUS(0x405): 0x0980000000000000 invalid
    IA32_MC2_STATUS(0x409): 0x0000000000000000 invalid
    IA32_MC3_STATUS(0x40d): 0x0000000000000000 invalid
    IA32_MC4_STATUS(0x411): 0x0000000000000000 invalid
    IA32_MC5_STATUS(0x415): 0x0020000000000000 invalid
    IA32_MC6_STATUS(0x419): 0x0020000000000000 invalid
    IA32_MC7_STATUS(0x41d): 0x0020000000000000 invalid
    IA32_MC8_STATUS(0x421): 0xbe2000000005110a valid
    MCA error code: 0x110a
    Model specific error code: 0x0005
    Other information: 0x00000000
    Threshold-based status: Undefined
    Status bits:
    Processor context corrupt
    ADDR register valid
    MISC register valid
    Error enabled
    Uncorrected error
    IA32_MC8_ADDR(0x422): 0x0000000000000e00
    IA32_MC8_MISC(0x423): 0x0000005082000086
    panic(cpu 0 caller 0xffffff80022b8389): "Machine Check at 0xffffff7f83cab92f, registers:\n" "CR0: 0x0000000080010033, CR2: 0x0000000108180000, CR3: 0x0000000083e63029, CR4: 0x00000000000606e0\n" "RAX: 0x0000000000000001, RBX: 0xffffff800d06a800, RCX: 0x0000000000000001, RDX: 0x0000000000000000\n" "RSP: 0xffffff80b31b3c20, RBP: 0xffffff80b31b3c50, RSI: 0x0000000000000007, RDI: 0x0000000000000007\n" "R8: 0x0000000000000000, R9: 0x7ffffffffffffffe, R10: 0x0000000000000c00, R11: 0x0000000000000206\n" "R12: 0x0000000000000001, R13: 0xffffff800d1bc340, R14: 0x0000000000000000, R15: 0x0000000000000148\n" "RFL: 0x0000000000000046, RIP: 0xffffff7f83cab92f, CS: 0x0000000000000008, SS: 0x0000000000000010\n" "Error code: 0x0000000000000000\n"@/SourceCache/xnu/xnu-2050.7.9/osfmk/i386/
    Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2 GHz, 4 GB, SMC 1.69f3
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
    Graphics: AMD Radeon HD 6490M, AMD Radeon HD 6490M, PCIe, 256 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3231554538424655302D444A2D4620
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3231554538424655302D444A2D4620
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.81.20)
    Bluetooth: Version 4.0.9f8 10405, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: SanDisk SDSSDX120GG25, 120,03 GB
    Serial ATA Device: MAT****ADVD-R UJ-8A8, 8,05 GB
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
    USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0245, 0xfa120000 / 5
    USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 6
    USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
     
  6. AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #6
    That is quite strange, because computer shouldn't be crashing at such a low temperatures.
    For example, I can go up to 97 C (CPU Die) without any problems (except loud fans)

    If you are sure that its tendency to crash is a direct consequence of temperature above 50 C,
    maybe some computer element got corrupted and became prone to high temperatures.

    Perform a clean install of Mac OS X, and reset PRAM & NVRAM & SMC,
    (and maybe even force EFI update, if it is possible)
    to put software-related problems out of equation.
     
  7. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #7
    Thanks for the reply.
    I have taken the software out of the picture:
    Boot up on another Lion HD - Fails during load
    Boot on USB Lion Install and DVD Install - Fails during load

    I have had crashes when the temp is below 40 now. I have my fan speeds at 4000 plus an external fan under the laptop. It crashed after 40 minutes. I was only browsing, so the temp was low.

    I see the following sometimes on the output, if it errors while booting:
    Kernel Extension in backtrace:
    com.apple.drive.iokit.IOStorageFamily(1.7.).....
    com.apple.driver.AppleIntelCPUPowerManagement(1...
    com.apple.driver.XsanFilter(404.8)88c61259-c748-3.....

    Is that an error with the CPU itself?

    I have been thinking about ordering a new logic board if I can find one for under 600 USD.
    I have also seen a few place in the US that claim they can fix the logic boards for about 300 USD.
    My problem is that I would like to know where the problem is, so I know it will be fixed. I hate guessing and dropping money on a problem without fixing it.

    This has not been dropped or had liquid around it at all. It was sitting on a table converting video from MKV to MP4 files, when it crashed for the first time ever.

    Thanks again for looking at this thread.

    Regards,
    Rick
     
  8. AppleMacFinder, Nov 10, 2012
    Last edited: Nov 10, 2012

    AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #8
    Code:
    [B]MCA[/B] error code: 0x110A
    Model specific error code: 0x0005
    MCA stands for Machine Check Architecture, which uses MCA registers to record a state.
    For Intel Atom, error 0x110A means L2 Cache error.

    At the first look, this problem seems to be a hardware one.
    However, I have found a man (nickname descuidado) who successfully solved it in a software way:

    http://www.tonymacx86.com/hp-probook-4530s/36885-guide-installing-lion-4530s-version-3-a-160.html

    (160-162 pages of the thread)

    That means, this problem still could be caused by software.
    Lets be optimists and make a research of the software case - unlike the hardware case, it does not require money;
    so totally worth to try everything with software.

    If this is a software problem, the question is "which level of software? high level, or low level?"

    Hardware -> Low-level software (BIOS/EFI) -> High-level Software (OS)

    If this problem is not caused by operating system (if your "Booting from DVD" crashes were
    before the start of OS Installation) - high level, it could be caused by EFI - low level.

    I think, it is possible to reinstall EFI on Macbook Pro - by downloading the latest EFI update from Apple website
    and applying it manually. Because of the unstable state of your computer, it is a dangerous thing to try:
    if it crashes during the update before its completion, EFI will be corrupted, and it would be really difficult (if possible) to restore. That means, it should be tried only after you try everything else, and with a cold temperature.
    From Apple website: Operating temperature: 50° to 95° F (10° to 35° C)
    To reduce the risk, it should be tried at the lower range of allowed operating temperature. e.g. 12° C.
    But you must guess where to get this temperature. Would be great if weather allows.

    I would like you to try two things with a high-level software:
    1) Booting from Snow Leopard Install DVD
    2) Booting from Ubuntu LiveCD (http://www.ubuntu.com/)

    Please post the results, and any questions if you need answers.

    P.S. Probably the better way of posting long log files is copying them to http://pastebin.com/ and providing a link.
    This way, it would be easier for people to read the thread, and you would get more replies as result.
     
  9. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #9
    Update

    Thank you very much for the reply AppleMacFinder.

    I agree very much in being an optimist and try to solve it before dumping money into it.
    I took a look at the link about the guy doing EFI update, but I cannot make sense out of that thread. Yes, He has the same error, but I am not sure what he does to solve it.
    I looked into updating the EFI and downloaded version 2.7, but when I run that pkg (MacBookPro2011EFIUp2.7.dmg) it says:
    "This software is not supported on your system."
    That is strange because mine is an early 2011. So unless it is because I already updated the firmware during a previous update, I cannot see why it should error.
    I would really like to force an update/rewrite of the EFI so I know it is updated or rewritten.
    My current version : MBP81.0047.B27
    SMC: 1.69f3

    I see that EFI 8.2 has fixed some CPU hanging problems, but it seems only for mid 2012 models.

    I would like to understand more about the EFI, so make sure I can rule this out.

    I have also downloaded and run memtest
    I ran 10 tests and no terrors. It ran for about 30 minutes, with the CPU at 55 -70 C for the whole time before crashing. With that and using other RAM blocks, I feel it is not the RAM.

    Thanks for the hint on pastebin. I will use this from now on.

    Thanks,
    Rick
     
  10. AppleMacFinder, Nov 11, 2012
    Last edited: Nov 18, 2012

    AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #10
    Please, check the following post: http://forums.macrumors.com/showthread.php?t=1229014&p=13547007

    With a terminal command, this guy marked the existing EFI image file for reinstallation on the next reboot.

    If I am right, your EFI file should have the following name:

    Code:
    MBP81_0047_27B_LOCKED.scap
    If you don't rely on the existing file (think it might be corrupted),
    or cannot find this existing file (lost because of OS reinstallation),
    you could get a new one:

    -------------------------------------------------------------------------------------------------------------------------------
    1) Mount MacBookPro2011EFIUp2.7.dmg
    2) Get the unpkg application from http://www.timdoug.com/unpkg/ and open it
    3) From a mounted .dmg, drag MacBookPro2011EFIUpdate.pkg on unpkg window, as specified in the instruction.

    Then, you will notice a new folder MacBookPro2011EFIUpdate on your desktop, which contains:

    Code:
    MacBookPro2011EFIUpdate/System/Library/CoreServices/
    Firmware Updates/MacBookProEFIUpdate-2.7/[B]MBP81_0047_27B_LOCKED.scap[/B]
    -------------------------------------------------------------------------------------------------------------------------------

    Then, use the instructions of the post I mentioned above:
    http://forums.macrumors.com/showthread.php?t=1229014&p=13547007

    Also, a successful story of one guy, who did this procedure on his MB late '08:
    http://pubmem.wordpress.com/2011/04/09/flash-efi-firmware-update-manually-on-a-macbook-51/
    His steps are a bit different, but from his story I learned about how to get a new .scap file.
     
  11. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #11
    Update: Ubuntu load

    Thanks again AppleMacFinder. I will pursue your recommendation above.

    Regarding the Ubuntu recomendation:
    I have now tried to load Ubuntu 12.10. Perhaps I have the incorrect iso because the name of the image is:
    ubuntu-12.10-desktop-amd64
    I cannot seem to find an Intel version. Is this an incorrect image for the Mac?

    During boot I get the following error:
    Hardware Error : CPU 5:Machine check Exception: 5 Bank 7: be2000000005110a
    RIP !INEXACT! 10:<ffffffff8139018b> intel_idle+0xbb/0x150
    TSC 306f90734d ADDR 7c0 MISC 1082000086
    PROCESSOR 0:206a7 TIME 1352638916 SOCKET 0 APIC 7 microcode 1a
    Run above through 'mcelog --ascii'


    then it repeats the error but with CPU 0, then CPU 6, CPU 7, etc.

    Is this because I have the incorrect Ubuntu image, or is this showing more detail to my problem?

    Thanks,
    Rick
     
  12. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #12
    Update: re-applied EFI update 2.2

    I followed the instructions from YHLien at this thread

    The scap file was not on my system. I used upkg to get a new file and placed the version 2.7 scap into the correct location and ran the command.
    Here is the output:

    EFI found at IODeviceTree:/efi
    GPT detected
    No auxiliary booter partition required
    System partition found
    Returning booter information dictionary:
    <CFBasicHash 0x7f8cf0e026d0 [0x10d83c190]>{type = mutable dict, count = 3,
    entries =>
    0 : <CFString 0x10d57df10 [0x10d83c190]>{contents = "System Partitions"} = (
    disk0s1
    )
    1 : <CFString 0x10d57e590 [0x10d83c190]>{contents = "Data Partitions"} = (
    disk0s2
    )
    2 : <CFString 0x10d57e5b0 [0x10d83c190]>{contents = "Auxiliary Partitions"} = (
    )
    }

    Substituting ESP disk0s1
    Mounting at /Volumes/bless.EaN3
    Executing "/sbin/mount"
    Returned 0
    Creating /Volumes/bless.EaN3//EFI/APPLE/FIRMWARE if needed
    Deleting previous contents of /Volumes/bless.EaN3//EFI/APPLE/FIRMWARE
    Opened dest at /Volumes/bless.EaN3//EFI/APPLE/FIRMWARE//MBP81_0047_27B_LOCKED.scap for writing
    preallocation not supported on this filesystem for /Volumes/bless.EaN3//EFI/APPLE/FIRMWARE//MBP81_0047_27B_LOCKED.scap

    /Volumes/bless.EaN3//EFI/APPLE/FIRMWARE//MBP81_0047_27B_LOCKED.scap created successfully
    Relative path of /Volumes/bless.EaN3//EFI/APPLE/FIRMWARE//MBP81_0047_27B_LOCKED.scap is \EFI\APPLE\FIRMWARE\MBP81_0047_27B_LOCKED.scap
    IOMedia disk0s1 has UUID 71A5EBA4-998A-4AD1-9E23-33BB2A551CE8
    Write to RTC: 0
    Setting EFI NVRAM:
    <CFBasicHash 0x7f8cf1b000e0 [0x10d83c190]>{type = mutable dict, count = 1,
    entries =>
    2 : <CFString 0x10d57deb0 [0x10d83c190]>{contents = "efi-apple-recovery"} = <CFString 0x7f8cf0e02db0 [0x10d83c190]>{contents = "<array><dict><key>IOMatch</key><dict><key>IOProviderClass</key><string>IOMedia</string><key>IOPropertyMatch</key><dict><key>UUID</key><string>71A5EBA4-998A-4AD1-9E23-33BB2A551CE8</string></dict></dict><key>BLLastBSDName</key><string>disk0s1</string></dict><dict><key>IOEFIDevicePathType</key><string>MediaFilePath</string><key>Path</key><string>\EFI\APPLE\FIRMWARE\MBP81_0047_27B_LOCKED.scap</string></dict></array>"}
    }

    Executing "/sbin/umount"
    Returned 0

    Then I did a sudo reboot.
    I must say, I was very nervous it would crash during the update.

    It made a long solid, low, beep. Then rebooted.
    It made a chime similar, but different to the normal startup chime.
    The it showed the grey screen with a status bar on the bottom.
    However, the bar did not even start to fill and move to the right before it rebooted. It did that 3 or 4 times before starting up.
    Did it update anything? I am not sure.

    The problem is still occurring. If I take it easy and do not do anything, it seems to stay booted. However, if I start opening a couple of browsers, bam it freezes and restarts.

    Thanks.

    Rick
     
  13. AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #13
    I don't remember how long it took for my last EFI update, so couldn't determine if your EFI was refreshed, or not.
    Try searching for the reviews of people who have installed this update. How long it took for them?

    Also, I guess about a different way to refresh the EFI :
    manually edit the Distribution script, which is inside MacBookPro2011EFIUpdate.pkg ,
    to make the system check functions "return true" instead of "return false" in correct places - as result,
    you wouldn't get the "This software is not supported on your system" warning message
    and would be able to proceed with installation - use Apple's official way to install EFI.
    However, I don't know if anybody done it yet.

    Have you tried it? If yes, what are the results?
     
  14. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #14
    I tried the Ubuntu LiveCD boot and posted my experience in #11 above. Again, I am not sure if I used an incorrect ISO (says AMD).

    I think my Macbook Pro came with Snow Leopard. So yes I have tried to boot on that. It restarts during the boot process.

    I will pursue the different way to update the EFI.

    Thanks again,
    Rick
     
  15. AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #15
    That is why it's important to put long log files to pastebin.
    I totally missed #11 post - probably because it was really small, compared to next #12 post.

    It is correct. AMD64 is just another name for x86_64 architecture,
    it suits Intel CPUs as well. I used this image on my Mac without any problems.

    Somebody had this error in the following thread:
    http://www.webhostingtalk.com/showthread.php?t=1200617
    It should be the same "0x110A" error as you were getting before, but in a different form.

    Yes, I think it's a good idea - because, at the moment, I have no other ideas about what to try.
    If you will have any problems with manual script editing, post there and I could do it for you.

    ----------

    Also, some manual page about decoding MCE errors:
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005184
     
  16. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #16
    There was no way to get the Ubuntu logs on the LiveCD startup. I took a photo of the screen and wrote them by hand.

    I unpacked the pkg file and had a look at the Distribution script. There are a lot of arguments in there. I am not sure which ones I should change to true.

    I placed the script in my pastebin:
    http://pastebin.com/1DsinWSn


    Also, I am not sure how to package it again. I am not able to 'show contents', so I used Unarchiver to unpack it. How to I re-package it once it is edited?

    Thanks,
    Rick
     
  17. AppleMacFinder, Nov 14, 2012
    Last edited: Nov 18, 2012

    AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #17
    At the moment, I am away from my Mac, so I cannot check for sure.
    I think, the check fails because your BootROM version "MBP81.0047.B27" is not in the following list:

    Code:
    var versions = ['MBP81.88Z.0047.B00.1101231136',
    'MBP81.88Z.0047.B04.1102071707','MBP81.88Z.0047.B0E.1104221557',
    'MBP81.88Z.0047.B1E.1109091244','MBP81.88Z.0047.B22.1109281426',
    'MBP81.88Z.0047.B24.1110141131','MBP81.88Z.0047.B26.1110311252',];
    There are two ways to solve this problem:

    1) Add you BootROM version number to this list:

    Until you find out the full value of version, in the following format:
    "MBP81.88Z.0047.B27.1234567890", you cannot add it to this list.
    It just will not work, you need the full value.

    2) Disable the check for "versions" list:

    Replace the line:

    Code:
    if (!rom || !(rom.version) || versions.indexOf(rom.version) == -1) {
    with the following line:

    Code:
    if (!rom || !(rom.version) == -1) {
    This way, it will not check this "versions" list.

    Yes, it turned out to be difficult to package it back.
    It seems I got it, but you need to review my solution.

    Tools:

    I have XCode, and Auxiliary Tools for XCode - contains Package Maker.
    They are completely free. How to get them, if you don't have:

    1) XCode: from Mac App Store
    2) Auxiliary Tools for XCode: from https://developer.apple.com/downloads/index.action ,
    or from my custom mirror if you want to get it faster.

    First of all, open the Terminal and change the current working directory. In example:

    Code:
    cd /Users/Admin/Desktop/temp
    Then, unpackage MacBookPro2011EFIUpdate.pkg with the following command:

    Code:
    pkgutil --expand ./MacBookPro2011EFIUpdate.pkg ./expanded
    Edit the Distribution script, according to instruction I provided above.

    Then, we need to package it back, and verify our results -
    by expanding new package and comparing its structure with old package.

    At the moment, I found three ways to package:

    1) Package Maker from Auxiliary Tools for XCode: FAIL

    At startup, to make OK button active, type company name in "com.Example" format.

    Perhaps I wasn't trying hard enough, but I could not build it so I get new package
    with the same structure as the old one. The whole size is much smaller (200-300KB), and structure is different.
    Of course, it launches, and even without Distribution check, but don't even try to install it - dangerous!

    2) pkgbuild: FAIL

    Code:
    pkgbuild --identifier com.Apple --root ./expanded Output2.pkg
    
    pkgbuild: Inferring bundle components from contents of ./expanded
    pkgbuild: Wrote package to Output.pkg
    Same result as 1): size is much smaller, struction is different - dangerous to try.

    3) productbuild: FAIL

    First of all, I tried it the following way:

    Code:
    cd /Users/Admin/Desktop/temp/expanded
    
    productbuild --distribution ./Distribution --resources ./Resources /Users/Admin/Desktop/temp/Output3.pkg
    productbuild: error: Cannot copy package "MacBookPro2011EFIUpdate.pkg" into product. (Bundle-style package "MacBookPro2011EFIUpdate.pkg" is not supported.)
    But, as you see, I got a strange error, was unable to find a solution for it.

    Then, I altered this way a bit:

    Code:
    cd /Users/Admin/Desktop/temp
    
    productbuild --distribution ./expanded/Distribution --resources ./expanded/Resources Output3.pkg
    
    productbuild: warning: package MacBookPro2011EFIUpdate.pkg could not be loaded
    productbuild: Wrote product to Output3.pkg
    Now, if you expand it and check the structure, you will see that it got "double-packaged":

    Code:
    pkgutil --expand ./Output3.pkg ./expanded3
    
    cp ./expanded3/MacBookPro2011EFIUpdate.pkg ./Temporary.pkg
    
    pkgutil --expand ./Temporary.pkg ./expanded-temporary
    Inner package MacBookPro2011EFIUpdate.pkg inside the "expanded3" folder
    should contain "BOM", "PackageInfo", "Payload" files and a "Scripts" folder -
    not "Distribution" script, Resources folder, and another MacBookPro2011EFIUpdate.pkg package!

    From the first glance, it seems that it is OK just to use the inner MacBookPro2011EFIUpdate.pkg .
    But, its size is slightly bigger than your original package, although the structure is similar.
    Probably, that is because Resources folder with language files was compressed earlier,
    and now they are uncompressed - in this case, it should be safe.

    We need to check if it is true - by comparing all the file checksums (e.g. SHA-1), to ensure the safety!

    Good Instruction about 2) and 3), with examples!

    For now, please take a view on my third solution: maybe you could improve it so it doesn't get double-packaged.
    And also, please verify all the checksums - it is relatively easy, but time consuming, and I don't have much time.
     
  18. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #18
    AppleMacFinder,
    Thank you very much for taking the time to write all the details above.
    I will go through it when I get home tonight.

    Thank you,
    Rick
     
  19. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #19
    I have had a look through this and did some testing.
    I am a network engineer (Cisco stuff) and have not much software development experience. I had Xcode installed because I was planning to learn a bit, but I have not started.
    I did the same procedure as you did on the last test, and I see the script folder does not show correctly in the inner pkg file.
    I am not sure if that is why the size is different or not. The other files seem to be the same size.The script files are preinstall and postinstall, with action folders for each script.
    Perhaps if the re-package did not mess that folder up, it would be the same size.
     
  20. AppleMacFinder, Nov 14, 2012
    Last edited: Nov 18, 2012

    AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #20
    Here is my "Output3.pkg" :

    http://www.mediafire.com/?9wbgxhrjk8nn3t6

    I have edited the "Distribution" script (2nd way - removed check for versions list)
    and now the check passes - no more warning anymore! :)

    However, when I extract the inner package (which should be the final package)
    and try to open it, I get the following error:

    Code:
    The operation couldn't be completed.
    (com.apple.installer.pagecontroller error
    -1.)
    
    Couldn't open "MacBookPro2011EFIUpdate.pkg"
    For some reason, I couldn't expand it with pkgutil (sorry, I did a mistake:
    in the previous instruction, I was "expanding" it with right click + "Show Package Contents" -
    for some reason, this option was available; - and wrote it as if I was expanding it with pkgutil)

    The structure of this package seems correct, but the whole package is weird, and probably unusable.
    So, it seems 3rd way is still unusable - we need to improve this way, or previous ways.
     
  21. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #21
    I am not sure why we cannot show the contents of the original pkg file. I can show contents on a package I create with pkgbuild.

    I attempted to use PackageMaker to create a new pkg file, but when I add all the files and then build, it makes a seperate inner pkg for each file. I can't seem to understand how to use that yet.

    I downloaded Hex Fiend and opened the original pkg file. However, I cannot see how to view it in a way to find the line to edit. It is Hex on the left, of course, but on the right it is just code.
    Sorry, I am not to wise in this area.

    I will try another Hex edotor.

    Thanks,
    Rick
     
  22. rick78 thread starter macrumors newbie

    Joined:
    Nov 8, 2012
    #22
    I tried a couple of hex editors, including FlexHEX on Windows 7. The Ansi pane is not readable, and the unicode pane is in Chinese or something.

    Is a hex editor supposed to be able to open the kg file and edit it when it is packed with other files?
     
  23. AppleMacFinder, Nov 16, 2012
    Last edited: Nov 19, 2012

    AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #23
    Because the .pkg archive has compression,
    Distribution script is compressed as well - that is why this line cannot be found in a readable form.
    See my post below for solution of Distribution script substitution problem.
     
  24. AppleMacFinder, Nov 18, 2012
    Last edited: Nov 18, 2012

    AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #24
    Finally, I have succeeded! :):cool:;)

    What I did: found Flat Package Editor (part of XCode). I didn't knew about this excellent utility before.
    Then, I opened original MacBookPro2011EFIUpdate.pkg, deleted old Distribution script, added new Distribution script,
    and saved the changes. Later, I found a great article about packages. What's a pity I haven't found it before! :eek:

    The only thing I changed is that line in "Distribution" script. There are no any other changes.

    Download link: New MacBookPro2011EFIUpdate.pkg

    The new file size is a bit smaller than original (4,363,486 bytes vs 4,366,023 bytes),
    but I believe, everything is all right. Probably, a bit more compression.
    At least, the verification below is successful.

    After you download this file, open Terminal and do the following command:

    Code:
    [B]cd[/B] [COLOR="DarkOrchid"]/Users/[username]/Downloads[/COLOR]
    
    [B]openssl sha1[/B] [COLOR="DarkOrchid"]./MacBookPro2011EFIUpdate.pkg[/COLOR]
    You should receive the following output:

    Code:
    [COLOR="Red"]SHA1[/COLOR][COLOR="Blue"](./MacBookPro2011EFIUpdate.pkg)[/COLOR]= [COLOR="Green"]e1656df0e0f2fca09087ab4cd5f40a05597a0dcd[/COLOR]
    
    If your SHA-1 checksum is different, re-download the file again.
    This SHA-1 check is needed to ensure your download is not corrupted.

    When I open the new MacBookPro2011EFIUpdate.pkg, the check is successful,
    and it allows me to proceed with installation. I have no desire to try it on my own MacBook Pro:
    no reason when everything is working + if it works, don't fix it. But I believe, everything should be right!

    Please, don't forget about temperature. Best wishes!

    Verification: SUCCESSFUL

    During the main part of EFI installation process, only internal MacBookPro2011EFIUpdate.pkg is used.
    Thus, I have verified only this internal file (previously extracted from original and new .pkg files with BetterZip)

    If you try to go straightforward, you will receive "Is a directory" error from SHA-1 calculation utility.
    To verify, I compressed the internal .pkg files both from original .pkg file and new .pkg file,
    with BetterZip, No compression. Then I have checked these .zip archives, and their checksums are the same:

    Code:
    [COLOR="Red"]SHA1[/COLOR] = [COLOR="Green"]9ca2fdccd72026dda3c7efe0878c6693ee3e5df8[/COLOR]
    If you just use original built-in Mac OS X archiver: right click + "Compress MacBookPro2011EFIUpdate.pkg",
    you will get different SHA-1 checksums for unknown reasons!
    Even if you take the same file and compress it two times this way, you would get the same file size in bytes,
    but different checksums! Really strange, don't know why it happens. :confused:

    To conduct verification with valid results, you need to do the following with these two extracted internal .pkg files:

    I don't advertise BetterZip, but this archiver helped me to conduct verification with valid results -
    unlike original built-in Mac OS X archiver. You could download a free trial, and delete after it expires.
     
  25. AppleMacFinder macrumors 6502a

    AppleMacFinder

    Joined:
    Dec 7, 2009
    #25
    Hi Rick,

    What are the news? Have you recovered your MacBook Pro?

    AppleMacFinder
     

Share This Page