March 6, 2011
About Chameleon and Lion
PCEFI 10.6 can be compiled just fine with new boot.h from Lion’s SDK, it allows it to boot lion’s kernel just fine, pass kexts to it and etc, but then kernel has double fault, in one of its many threads, so its very hard to track down.
Here is the sorry, wrong file, will uplaod proper one in a few if you want, but keep in mind, it DOES NOT WORK with snow leopard.
Not sharing sources because its same as 10.6.
Now about possible reasons for panic, it’s:
- Not new format of passing kext/mkext to kernel, I compiled snow leopard kernel with new boot.h (so new boot_args, everything else is old), new boot.efi can boot it just fine, as well as booter I posted before.
- Not new devicetree format, same reason as above.
There is actualy not much reason which can cause double fault, so feel free to investigate 😛
Thanks to cparm for idea about kernelcache, here is booter for lion which will use kernelcache if u specify option -usecache
They way you will be able to boot Lion, but double fault seems to happen sometimes still (like if you use Wait=y argument, it will DF)
Binary and Sources (fixed kernelcache/prelink detection)
No /Extra mkext/kexts if kernelcache used. and this booter doesnt work with snowleopard
If getting DF – try to boot Snow with old chameleon, then reboot and boot lion with new, sometimes helps
device-properties doesn’t seem to work.
For people who can’t see Lion on their PC, a nice review to pass time about new features in french but should be translate thru google clouds w/o problem. http://www.macbidouille.com/articles/379/page1
(I have no link with macBidouille)
I use this new boot with legacy grub and kernel /boot command. However this boot file will give me wrong multiboot magic error and auto reboot. If I replaced it with my original boot file, it is OK.
The fact that switching the power supply off makes a difference suggests that the boot process is reading memory locations where Chameleon didn’t store anything (what would be called an uninitialized variable in a programming language.) Turning off the power supply almost certainly changes what’s in memory, most likely setting more of it to zeros. I wish I had a solution, but that’s the problem I would look for.
Lion is running smooth with iBoot. Does anybody know how to enable audio? How to patch AppleHDA Binary in Lion using hexedit?
Many Thanks.
I can say now that ever since I turned my power supply off for 10 seconds and back on I have never gotten a double panic since. I didn’t change anything and have rebooted multiple times.
2 youminbuluo
I have same problem with netkas’s boot.
So I took boot from Chameleon_v2.0_RC5_Lion.zip
No wrong multiboot magic error and auto reboot but still DP.
>The fact that switching the power supply off makes a difference suggests that the boot process is reading memory locations where Chameleon didn’t store anything
Not really, just booted Lion off a cold start.
can’t boot lion.
Still DP with “can’t perform kext scan”…
I feel sad…
@Nandor690
The key “Kernel Cashe” is a mistype ? “Kernel Cache” should be read ??
I installed lion without any problem by using iBOOT, my 6850 and wireless card worked OOB seamlessly. Shutdown works OOB also. For sound and IDE i used 10.6 kexts and they starting working too. So far my easiest OSX installation. I don’t have fast graphics and/or RTC, USB issues too. I have Asus P5Q PRO board and C2D E7200
@Dr. Bretto i just used my snow leo applehda kext and it started working.
@LoLL
You are correct. Sorry for the typo.
No luck either with power supply off.
[…] […]
hi netkas , i boot lion several times with cpu i5, but can’t install it , because my sistem profiler always say i have a dual core xeon, fix several times smbios.plist imac 11.1 macbookpro and always dual core intel xeon . and i can’ t install lion, no problems in booting…. any ideas help help anyone
thanks
Never have a chance to boot into lion again. Thousands of tries, 0 success. It’s strange for such non-determisticity.
@ arthur-pt
10.7 identifies your System with the Serialnumber.
chosse right serialnumber and Board-ID, e.g. F-227BEC8, so it will be working.
use google, to Look for a smbios.plist file and insert this in Library/Preferences/SystemConfiguration
@ N3, asapreta
my System now Boots and is Lear perfect… pppfffff
hold bzw. klick the Cursor-Down Button several times after the System (Chameleon) is JUST begin to Booting the System…
Have Set the Lion-Partition in com.apple.Boot.plist (Folder Extra) like Default Partition -> hd(x,x) and use the Chameleon V2.0 RC5 Bootloader (found at http://www.root86.org).
Set Quiet Boot -> Yes and Graphics Enabler -> YES in Boot.plist too.
So, After Bios ist started and comes up “Loading Operating System” and the Cursor is spinnig, hold or press Cursor-Down.
So my System here (GA-P55-USB3) with DSDT.aml from Tonymacs is just Booting fine. Change the ID for my Graphic-Card in NVDANV50HAL.kext to my ones 9600GT (to 0x062210de… from 0x060110de…) brings me full reolution (changeable and with QE/CI).
Needed Kexts in S/L/E: FakeSMC, NullCPUPowerm, AppleHDA und HDAEnabler from 10.6 System give Audio too.
sorry, had to disable the automatic Text correction!
installed chameleon 2 RC 3 – and used netkas boot file
strange thing – i get no kp but it just do a reboot – endless
tried different kernel flags – nothing works
has anyone an idea how to solve
thanks
@ crc
have a look at the setting, do you boot zhe right Partition? (where you have Lion installed?)
The Bootloader reboots on SnowLeo, maybe the cause?
With Chameleon 2 rc3 installed on a Lion partition..it’s always third time is a charm. First and second boot result in kp..weird 😀
@ Ezhoon
Not here, only the Booter with RC5 works here, and only with the exact Timimg from showing Lion-Partition in Bootmanager to Press the “Return”-Key, not the “Enter” one… just about 3/4 Second here.. counting (einundzw.. in german)
funny…
@ rene It’s difficult to understand why the timing matters. and cutting off power supply, or booting snowleo ahead of lion don’t work here.
on my laptop rc3 works well in the beginning, from installation to booting the system for the first few times (50% chance of successful boot). But now I only get 1 boot out of 70 tries.
It should be a problem of memory address. on successful boot(still kp but caused by something else) the first line of address is 0xffffff80xxxxbd30 : 0xffffff8000220412, but it is 0xffffff80xxxxbd20 : 0xffffff8000220412 whenever I get DF
@rene And I find the memory address varies if you press the arrow keys!!!
Maybe the key press uses some buffer and changes address?
@ N3,
i do not know why this happens,
but my experiense is that it is a timing problem here..
try booting with the RC5-Booter posted on root86, this one works here like as i had described it.
like posted before, the RC3-Loader did not work here,after trying 50x Times to boot, i gave up and was looking for an other solution.
@ N3, post 7.19 am
Maybe? i dont know…
try iboot 1.4 stable, seems to get me further loading install but i still get a cpu panic and reset.
iboot 1.4, copy fakesmc and nullcpupowermanagement to S/L/E to the base install drive, Installed Lion successfully and booted perfectly. No errors, no KP’s, perfect!
У меня получилось добиться 90% загрузки хама rc3, если в момент таймаута перед загрузкой системы выбрать раздел со львом и подождать 5 секунд. затем энтер.
может кому поможет.
dear atleeit and russians..
ok fakesmc from 2.5 to 3.1.0 are fine
i’ve tested from pcefi 10.5 to 10.6.. chamaleon 2 rc3 v431 to 2.0 rc5 pre8.. with or wothout the boot file above
no way.. no way to boot !
always a restart!!
tested into 2 OOTB motherboards.. with MCP79a chipset and Intel board.
The only way I got booting to work some of the time was to remove my DSDT.aml file. It doesn’t seem to be the contents of the DSDT, because I tried using an unmodified one and still never booted. It seems that what Chameleon does to load the DSDT breaks booting on my machine (GA-X58A-UDR3 MB, Core i7 950.) Of course no DSDT causes other problems. I think I’m going to need at least NullCPUPowerManagement.
still the same problem as ugokind has 🙁
tried everything but always reboot
why the source is rc3? i replace the boot, but it’s shows rc3 ?
anyone can send me a new version thanks. zt2620zt@163.com
The new XPC (18.03.2011) is 相当给力.
Works great on notebook. Loads DSDT without problem just like pcefi does!
pcefi always give me double fault, I can only use xpc for this time; otherwise, I like chameleon over xpc because xpc loads slow.
DP here (intel DG35EC).
http://www.imgplace.com/viewimg153/1779/31img0059.jpg
FPU panic here =/ not seen that one before xD
GA-EX58-UD5
When using XPC the activity monitor is only showing 3.25gb ram? (i have 8gb)
Does anyone know why?
It is happening in 32/64bit in both Snow and Lion.
When booting in Chameleon in Snow it shows 8gb.
Cant get Lion to boot in Chameleon though. 😛
Yo double panickers, check out this post here:
http://trick77.com/2011/03/27/asus-p6t-mac-os-x-lion-10-7-dev-preview-using-xpc-boot-loader/
I got rid of the DP using this UEFI XPC boot loader. Maybe it works on your computer too, give it a try.
LION 10.7
My Geforce 9800 GTX + Worked fine after I added the device id 0x061210de & 0xffe0ffff in NVDANV50Hal.kext/Contents/Info.plist with NVEnabler.kext
boot netkess lion
Hello everyone who is getting the double Panic. READ the POST!!! USE RC3 not RC5 the modded boot file has been altered to accept your core i3,i5,i7,i9 and other current intel chips. I know, I was in a DP loop until I installed the RC3 loaded too.
@netkas, it might be easier for some if you shot a link to the RC3 installer below the boot file in the first post.
hbp112358
@hbp112358: can you share your rc3 installer?
in / Library / Preferences / SystemConfiguration / com.apple.Boot.plist
busratio cpus = 4 = 21 arch = x86_64-v-useCache
increased by 70% after the boot put these flags
deleted any kernel flags in / Extra / com.apple.Boo.plist leaving only kernel flags em/Library/Preferences/SystemConfiguration/com.apple.Boot.plistbash-3.2 # cat / Library / Preferences / SystemConfiguration / com.apple. Boot.plist
Kernel Flags
busratio cpus = 4 = 21 arch = x86_64-v-useCache
cpus=4 busratio=21 arch=x86_64 -v -usecache
kexts dot com is your friend, go to boot loaders and search RC3
If I is not talking nonsense, it would not be possible to compile the EFI Boot XPC http://irc.netsplit.de/channels/details.php?room 23UEFI =% = & net-boot MoofSpeak
for the native BSD MAC OS? EFI BOOT XPC works so well on FAT32
EFI BOOT XPC is light years ahead of the chameleon boot loader. without kernel panic.
Hi Netkas,
Your boot file works great on a LV-677. However if I build this one from source on Lion, I do get the double fault. I’d like to build from source as somehow it is misinjecting the smbios vars. I’m also wondering what this does differently than the current Chameleons as they keep me on “waiting for dsmos”
Cheers.
////dunno what’s wrong, the fix for double fault is in boot2/boot.c, the place where it masks interrupts before launching kernel.