Jump to content

Mac OS X Lion (Developer Preview) Released


harrydeo
 Share

1,521 posts in this topic

Recommended Posts

Newest XPC (UEFI boot) Version from 19.3.2011

http://www.mediafire.com/?3f7cs4c6x1bp4al

Very helpful if [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] didnt run well (depends on mainboard / mainboard BIOS ).

 

Keys for XPC usage:

KEYS for XPC usage

Newest XPC Versions always at irce.moofspeak.net #UEFI-boot

 

It works on my P5ql SE. no reboot after kext load. just with the clean installation (bios patched on my mobo). Voodoohda works well, ati 4650 not works, no reboot.

 

It doesn't works on my P6T SE. GUI not appears..

Link to comment
Share on other sites

I've completed the work on the Atom Lion mach_kernel and kernelcache.

I'll post them tomorrow (because right now I'm studying for network administrator).

It booted succesfully on my test laptop (with AppleIntelCPUPowerManagement support too!).

:):D

Link to comment
Share on other sites

I've completed the work on the Atom Lion mach_kernel and kernelcache.

I'll post them tomorrow (because right now I'm studying for network administrator).

It booted succesfully on my test laptop (with AppleIntelCPUPowerManagement support too!).

;):D

Wow.. Great work Andy (again)

I'm sure many users will be interested.

Link to comment
Share on other sites

testes xpc .. duetohdd onto fat32 (already checked with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] ok) not running

 

is there a better way from mac to be sure that xpc is good written?

because I have mbrfereidsfder

I mean.. mbr start is not really written.. is a weird text.. bah

 

try XPC Boot Prepare Tool to prepare/format your flash

and then you can just copy Efildr20 and Efi folder to it

Link to comment
Share on other sites

I've completed the work on the Atom Lion mach_kernel and kernelcache.

I'll post them tomorrow (because right now I'm studying for network administrator).

It booted succesfully on my test laptop (with AppleIntelCPUPowerManagement support too!).

:wink2: :P

 

Great work :D

Can't wait to test :P

Link to comment
Share on other sites

Hi All

 

Mac OSX Lion has been released to mac developer program members. If you are a Mac developer program member you can start at

 

http://developer.apple.com/devcenter/mac/c.../lion/index.php

 

I am downloading it right now. It is only available via Mac App Store.

 

Will only run on Core 2 Duo onwards.

Exist some sort of function like graphics enabler in XPC?

Link to comment
Share on other sites

just started getting a new KP. Appears to replace the usuel DF panic I get lols

 

post-413183-1300729423_thumb.jpg

 

Any ideas guys? Chameleon RC3 ofc.

XPC = no audio (even with 10.6.6 AppleHDA.kext =/ can only guess its not fully loading my DSDT) [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] gives me problems too -.-

Link to comment
Share on other sites

just started getting a new KP. Appears to replace the usuel DF panic I get lols

 

post-413183-1300729423_thumb.jpg

 

Any ideas guys? Chameleon RC3 ofc.

XPC = no audio (even with 10.6.6 AppleHDA.kext =/ can only guess its not fully loading my DSDT) [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] gives me problems too -.-

It seems to be a floating point exception (in osfmk/i386/cpu.c on line 814).

It seems to be _ml_set_interrupts_enabled that fails (in function _fpextovrflt).

Here is the code (in assembly) that calls this:

_fpextovrflt:
+0	002bacc0  55					  pushl		  %ebp
+1	002bacc1  89e5					  movl		  %esp,%ebp
+3	002bacc3  53					  pushl		  %ebx
+4	002bacc4  57					  pushl		  %edi
+5	002bacc5  56					  pushl		  %esi
+6	002bacc6  83ec1c				  subl		  $0x1c,%esp
+9	002bacc9  658b3504000000		  movl		  %gs:0x00000004,%esi
  +16	002bacd0  c7042400000000		  movl		  $0x00000000,(%esp)
  +23	002bacd7  e8b4a50000			  calll		  _ml_set_interrupts_enabled
  +28	002bacdc  8945f0				  movl		  %eax,0xf0(%ebp)
  +31	002bacdf  65a120000000			  movl		  %gs:0x00000020,%eax
  +37	002bace5  85c0					  testl		  %eax,%eax
  +39	002bace7  740c					  je		  0x002bacf5

  +41	002bace9  c70424e8e56a00		  movl		  $0x006ae5e8,(%esp)			"FPU segment overrun exception  at interrupt context\n"@/SourceCache/xnu/xnu-1699.21.15/osfmk/i386/fpu.c:812
  +48	002bacf0  e85b50f6ff			  calll		  _panic

[b]   +53	002bacf5  65a104000000			  movl		  %gs:0x00000004,%eax
  +59	002bacfb  8b0de0828400			  movl		  0x008482e0,%ecx				_kernel_task
  +65	002bad01  398880020000			  cmpl		  %ecx,0x00000280(%eax)
  +71	002bad07  750c					  jne		  0x002bad15

  +73	002bad09  c7042458e66a00		  movl		  $0x006ae658,(%esp)			"FPU segment overrun exception in kernel thread context\n"@/SourceCache/xnu/xnu-1699.21.15/osfmk/i386/fpu.c:814
  +80	002bad10  e83b50f6ff			  calll		  _panic
[/b]

I've marked the part that fails in fat bold text...

It happens (the panic) right after comparing _kernel_task (which got put in %ecx) with 0x00000280(%eax).

It is actually a kernel or user trap that occurs...

Link to comment
Share on other sites

It seems to be a floating point exception (in osfmk/i386/cpu.c on line 814).

It seems to be _ml_set_interrupts_enabled that fails (in function _fpextovrflt).

Here is the code (in assembly) that calls this:

_fpextovrflt:
+0	002bacc0  55					  pushl		  %ebp
+1	002bacc1  89e5					  movl		  %esp,%ebp
+3	002bacc3  53					  pushl		  %ebx
+4	002bacc4  57					  pushl		  %edi
+5	002bacc5  56					  pushl		  %esi
+6	002bacc6  83ec1c				  subl		  $0x1c,%esp
+9	002bacc9  658b3504000000		  movl		  %gs:0x00000004,%esi
  +16	002bacd0  c7042400000000		  movl		  $0x00000000,(%esp)
  +23	002bacd7  e8b4a50000			  calll		  _ml_set_interrupts_enabled
  +28	002bacdc  8945f0				  movl		  %eax,0xf0(%ebp)
  +31	002bacdf  65a120000000			  movl		  %gs:0x00000020,%eax
  +37	002bace5  85c0					  testl		  %eax,%eax
  +39	002bace7  740c					  je		  0x002bacf5

  +41	002bace9  c70424e8e56a00		  movl		  $0x006ae5e8,(%esp)			"FPU segment overrun exception  at interrupt context\n"@/SourceCache/xnu/xnu-1699.21.15/osfmk/i386/fpu.c:812
  +48	002bacf0  e85b50f6ff			  calll		  _panic

[b]   +53	002bacf5  65a104000000			  movl		  %gs:0x00000004,%eax
  +59	002bacfb  8b0de0828400			  movl		  0x008482e0,%ecx				_kernel_task
  +65	002bad01  398880020000			  cmpl		  %ecx,0x00000280(%eax)
  +71	002bad07  750c					  jne		  0x002bad15

  +73	002bad09  c7042458e66a00		  movl		  $0x006ae658,(%esp)			"FPU segment overrun exception in kernel thread context\n"@/SourceCache/xnu/xnu-1699.21.15/osfmk/i386/fpu.c:814
  +80	002bad10  e83b50f6ff			  calll		  _panic
[/b]

I've marked the part that fails in fat bold text...

It happens (the panic) right after comparing _kernel_task (which got put in %ecx) with 0x00000280(%eax).

It is actually a kernel or user trap that occurs...

 

That's odd (I think :P)

 

Only just noticed Quick Boot is set to yes in my com.apple.boot.plist. tried without it... if I let it use a timeout then I get DF again =/ pressing a key to enter boot options and waiting for 2-6 secs appears to stop me getting a DF. Sometimes it boots at this point, other times it doesn't (either another KP relating to AppleHDA (rare) or it just freezes and never boots) :S

 

hate assembly >:

Link to comment
Share on other sites

That's odd (I think :D)

 

Only just noticed Quick Boot is set to yes in my com.apple.boot.plist. tried without it... if I let it use a timeout then I get DF again =/ pressing a key to enter boot options and waiting for 2-6 secs appears to stop me getting a DF. Sometimes it boots at this point, other times it doesn't (either another KP relating to AppleHDA (rare) or it just freezes and never boots) :S

 

hate assembly >:

Yeah... it would be a lot easier if Apple would pre-release the kernel sources to fix issues like this.

Too bad they don't do it and we have to figure out solutions for ourself... :)

Link to comment
Share on other sites

Great work :P

Can't wait to test :P

Well, I won't keep you waiting and upload it using my cell phone edge modem today.

 

I split it in multiple sitx files (in case the connection should drop, unstuff with StuffIt Expander).

* kernelcache.part01.sitx -> kernelcache.part42.sitx are the patched kernelcache file.

* mach_kernel_atom.part01.sitx -> mach_kernel_atom.part11.sitx are the patched kernel.

Sorry for this many files but otherwise I couldn't upload it today...

 

You can probably make a custom kernelcache file using kextcache and mach_kernel_atom under OS X Lion too...

(haven't tested it yet but have had reports that the kernelcache can be regenerated with the following command, even with the Lion installer).

I have tested it under Snow Leopard though and it generated a non-bootable kernelcache (really needs Lion kextcache tool...)

 

kextcache -K "/Volumes/<BOOT_DRIVE>/mach_kernel_atom" -L -c "/Volumes/<BOOT_DRIVE>/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache" "/Volumes/<BOOT_DRIVE>/Extra/Extensions" "/Volumes/<BOOT_DRIVE>/System/Library/Extensions"

 

I only could test it with Netkas's Lion booter with kernelcache support so I only tested it till single user entry but it booted fine without kp so that at least is good (look at attached picture).

Still I get sometimes double fault kernel panics but I know that that is boot loader related.

I unfortunetely can't use [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] or XPC on my computer so I will be searching to implement better Lion chameleon boot support from now on (I know many people are working on this).

The attached pics of are my netbook with an Intel Atom N280 cpu booted in single user from a custom Mac OS X Lion USB install stick with new kernelcache.

 

The kernel is patched in such a way that it always set the CPU model to 0x0F (15), which is same as Core 2 (codename Conroe in cpu-x).

I patched both the i386 and the x86_64 part so it should work for 32+64 bit booting (haven't tested 64-bit kernel yet because my machine is 32-bit only...)

It can probably work for some non-standard-supported other newer Intel CPU's too...

 

I put a lot of effort into it, examined disassembled code for 3 hours, studied the new kernel a bit and took about 30 minutes to patch + reconstruct both the kernel and the kernelcache. :P

So have fun everybody... :D

 

NOTE: lol, it takes longer to upload it than any other connection... edge is very slow (upload speeds 2-3KB/s...)

It took me less time to hack and modify both binaries than uploading them... ;)

It would be cool if somebody added a new download host for these 2 binaries (and maybe zipped instead of stuffed)...

EDIT: Finally fully uploaded....

post-100023-1300729853_thumb.jpg

post-100023-1300730240_thumb.jpg

mach_kernel_atom.part01.sitx

mach_kernel_atom.part02.sitx

mach_kernel_atom.part03.sitx

mach_kernel_atom.part04.sitx

mach_kernel_atom.part05.sitx

mach_kernel_atom.part06.sitx

mach_kernel_atom.part07.sitx

mach_kernel_atom.part08.sitx

mach_kernel_atom.part09.sitx

mach_kernel_atom.part10.sitx

mach_kernel_atom.part11.sitx

kernelcache.part01.sitx

kernelcache.part02.sitx

kernelcache.part03.sitx

kernelcache.part04.sitx

kernelcache.part05.sitx

kernelcache.part06.sitx

kernelcache.part07.sitx

kernelcache.part08.sitx

kernelcache.part09.sitx

kernelcache.part10.sitx

kernelcache.part11.sitx

kernelcache.part12.sitx

kernelcache.part13.sitx

kernelcache.part14.sitx

kernelcache.part15.sitx

kernelcache.part16.sitx

kernelcache.part17.sitx

kernelcache.part18.sitx

kernelcache.part19.sitx

kernelcache.part20.sitx

kernelcache.part21.sitx

kernelcache.part22.sitx

kernelcache.part23.sitx

kernelcache.part24.sitx

kernelcache.part25.sitx

kernelcache.part26.sitx

kernelcache.part27.sitx

kernelcache.part28.sitx

kernelcache.part29.sitx

kernelcache.part30.sitx

kernelcache.part31.sitx

kernelcache.part32.sitx

kernelcache.part33.sitx

kernelcache.part34.sitx

kernelcache.part35.sitx

kernelcache.part36.sitx

kernelcache.part37.sitx

kernelcache.part38.sitx

kernelcache.part39.sitx

kernelcache.part40.sitx

kernelcache.part41.sitx

kernelcache.part42.sitx

Link to comment
Share on other sites

Just realised how annoying auto-correct is going to be in Safari :)

Inverted scrolling is a lil odd too. Used to it on my iPhone but its a lil weird on a computer lol. I know I can turn it off btw :P

 

Also annoyed by not being able to use iStat. Guess it'll get an update eventually... But all good on Chameleon RC3 now as long as I wait x secs before trying to boot. Still don't get that though. Why does waiting x amount of secs allow it to boot? :S

Link to comment
Share on other sites

latest XPC does well..

got few issues though..

- Bluetooth Setup Assistant always runs on startup, even though i already unchecked its options in Bluetooth pref..

- Wifi (BCM4312) does not auto-connects.. and took a long time to connect to an AP..

Link to comment
Share on other sites

latest XPC does well..

got few issues though..

- Bluetooth Setup Assistant always runs on startup, even though i already unchecked its options in Bluetooth pref..

- Wifi (BCM4312) does not auto-connects.. and took a long time to connect to an AP..

 

Did you check your users startup items?

Link to comment
Share on other sites

Prior to 10.7, I had to put away 2 old ATI cards, 3650HD and 5450. I now can boot unaltered using the 5450 card, using [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url], in native resolution with QE/CI. But the Radeon 3650HD would only boot into 1400x1050 with no QE/CI.

I also tried various things in 10.6.x to no success, all using the Lion subset of ATI kexts.The device ID of 0x95981002 is already in the info.plist of Radeon2000.kext.

I am sorry for not being able to capture the screen image. So here I attach a camera shot of the system profiler.

Does anyone have any idea on how to get this Radeon 3650HD going full rsolution with QE/CI?

post-147443-1300839007_thumb.jpg

Link to comment
Share on other sites

@Andy Vandijck

Wanted to try your work,on my 10v, but wanted to use xpc, or [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url]. Can't get a 32bit efi. How's your atom working? I'd hate to waste my dual boot to attempt using rc3 if it's not working for you. Thanks, p.s., is there a better explanation why rc3 DoubleFaults on most peoples hardware, thanks again, johnm

Link to comment
Share on other sites

@Andy Vandijck

Wanted to try your work,on my 10v, but wanted to use xpc, or [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url]. Can't get a 32bit efi. How's your atom working? I'd hate to waste my dual boot to attempt using rc3 if it's not working for you. Thanks, p.s., is there a better explanation why rc3 DoubleFaults on most peoples hardware, thanks again, johnm

Over here working fine.

Booted with following arguments:

-v -usecache arch=i386 -x32

Put kernelcache file under /System/Library/Caches/com.apple.kext.caches/Startup/

...

Link to comment
Share on other sites

Thanks for posting the XPC updates mitch as it's great to see the development continuing. This version is great and boots Lion fine, of course after I've entered the data like my CPU type.

 

After a quick test, the only issue I see is it reports I have 6GB of RAM and not 4GB. My actual physical RAM is 2 x 2GB in slot 1 and slot 3 of the mobo. This new version of XPC presents me the option of adding details for two banks of RAM which is good (the last version you posted offered me six banks).

 

Populating data both banks in XPC's GUI, shows me the following after boot.

post-331032-1300868663_thumb.png

 

Where as I should have this (note: it's a screenshot from a previous post booted with Netkas RC3):

post-331032-1300868751_thumb.png

 

So it's almost there but not quite just yet.

Off to work now, but I'll do more testing this evening.

Link to comment
Share on other sites

New XPC (22.3.11) 0.82.2 (as second chance if [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] fails with your system)

http://www.mediafire.com/?i4e7d14mgvvhobb

Changes: Added: Memory detection, Dimm SPD parsing, Smbios fix, Bootgraphics-Fix"

 

thanx a lot..

XPC is the only booter that works on my setup,

a bit slow on startup (blackscreen with cursor), but OK..

 

 

@blackosx

we can always set how many memory banks needed by editing /EFI/XPC/settings.plist, right?

Link to comment
Share on other sites

 Share

×
×
  • Create New...