Jump to content

E6220 Sierra Memory allocation error


ianinsane

Recommended Posts

I tried to install HS Sierra on my E6220 and after several days of unsuccessful attempts, I used Enoch and this guide, which brought me to a succesful installation.

 

However, during step 3) Post-installation fine-tuning, something must have gone wrong, since I've been receiving memory allocation errors on startup since.

 

One thing where I had to deviate from the guide:

When it said

  Quote

copy all kexts from /Extra/Extensions to /Library/Extensions

Expand  

the /Extra folder was empty aside from the two standard files, also there was no E/E folder. So I copied it from the USB Installer drive to this location and proceeded with the guide. So that happened after I installed Enoch on the new OS X HDD. Don't know if that might have been the problem?

 

I then proceeded to copy all the kexts like it said in the guide, repaired permissions and rebuilt the cache and generated my own CPU-specific SSDT.

 

But when I then tried to reboot I got this error: Right after the bootloader screen exits and OS X would start to load it crushes, without ever showing the Apple logo. The message reads like this:

 

Memory allocation error! Addr: 0x180ffff0, Size: 0x10, File: xml.c, Line: 1176

This is a non recoverable error! System HALTED!!!

 

Do you have any idea where I should start to troubleshoot? Either in the existing installation or - by avoiding the same mistake that led me here - by setting up anew?

 

I already tried all the hardware stuff, swapping the RAM modules, trying with either one of them, cleaning and reseating them...

Link to comment
Share on other sites

  • Administrators

Try & boot without the cache through the following Enoch options & flags:

KernelBooter_kexts=Yes -f -v

 

Once at the High Sierra desktop, rebuild your cache:

sudo touch -f /L*/E*
sudo kextcache -Boot -U /

 

Then install the latest Enoch version r2921. It'll not remove anything from /Extra, merely update it if required. DSDT, SSDT & Enoch config files will remain the same.

https://www.insanelymac.com/forum/files/file/71-enoch/

 

Link to comment
Share on other sites

I'm going to try to go back step by step und try to move the files one by one to the extensions folder, rebuilding the cache after each, then booting after each and see when the error starts to appear...

 

EDIT: Didn't work, same error. I'll reinstall the system from the USB installer and start again from there.

Link to comment
Share on other sites

Something seems not working with this Terminal command during post-installation:

 

  Quote

cp -R /Extra /Volumes/<your fresly made 10.12 partition name>

Expand  

in my case:

cp -R /Extra /Volumes/Macintosh SSD

 

I only get the "usage: cp" response...

 

EDIT: Proceeded anyway and yes, there was no Extra folder on Macintosh SSD. Copied it from the USB Installer first thing after completing the 1st boot installation finalisation, booted then again, still from USB installer since no Enoch installed yet.

 

EDIT: Chamelon Installer Log:

  Reveal hidden contents

 

Link to comment
Share on other sites

OK, what I tried now:

 

- Manually copied Extra to Root HDD ✅

- Installed Enoch r2921 ✅ (Installer Log see post above)

- Disabled Hibernation ✅

- Copied the Sierra patched AICPUPM kext to /System/Library/Extensions (I used 10.12.6 - hope that's right!) ✅

- Edited /Extra/kernel.plist and set KernelBooter_kexts parameter to No ✅

- repaired kexts permissions and rebuilt cache ❓ (did prompt some error messages...)

- did a test reboot ❌ --> Memory allocation error.

 

Do you have any idea where the problem is located?

 

Link to comment
Share on other sites

  • Administrators

Having booted the USB Installer, at the main screen, open up Terminal and try:

cp -Rf /Extra /Volumes/SSD/

or

sudo cp -Rf /Extra /Volumes/SSD/

but I think sudo isn't supported from the installer.

 

Link to comment
Share on other sites

×
×
  • Create New...