Jump to content

Mac OS X Lion (Developer Preview) Released


harrydeo
 Share

1,521 posts in this topic

Recommended Posts

Chameleon trunk 752 with Andy's patches for Lion and Snow Leopard

Chameleon_RC5_752_Lion_Snow.pkg.zip

 

http://www.insanelymac.com/forum/index.php...t&p=1674711

 

All the credits go to the Chameleon team, Andy Vandijck, cparm, netkas, and all involved in the development in any way.

 

This is so great that I almost wanted to type in bold capitals. It just simply works, with all the bells and whistles that comes with Chameleon.

I think you need to put this on a separate thread. So many people would find this info valuable.

Again, you have my respect.

Link to comment
Share on other sites

Can you share or show how? I am dying to learn.

Hmmm....this quotes a quote of a quote so, what you want to know is a little lost. I'm going to take a guess.

 

AnV posted binaries for a modified PC_EFI 10.6 that works on SL and Lion. I believe that you were having trouble with getting a Chameleon-style GUI working. But you can't do that with the PC_EFI, only with Chameleon.

 

MaLd0n posted an installer package for the Chameleon version with the necessary fixes. This one will allow the GUI to work. oldnapalm posted the binaries and sources for the patched Chameleon version. The installer and binaries can be found in MaLd0n's posting: http://www.insanelymac.com/forum/index.php?showtopic=255866

 

But when booting Lion, the new style kernelcache does not get read properly yet, so all of the kexts get read during boot. To fix that, oldnapalm suggested making an mkext:

sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions

If this doesn't cover what you need, I guess you'll have to ask again.

Link to comment
Share on other sites

Hi Andy,

 

Would it be possible for you to make the kernel 32bit compatible for Atom CPU's?

 

All the best,

 

NSCXP2005

For the moment not a chance.

RC1 kernel allows at least boot untill launchd has started but with a 32bit atom (like mine) it'll just boot with a black screen on kernel init.

I need the sources of the kernel to find out why...

Link to comment
Share on other sites

Does anyone know if newer XPC also support MBR part type volumes ?

I ask because non of my MBR part type volumes (i dont have any GPT/GUID type partitions) are seen with XPC >= 0.75.

Only XPC 0.75 shows my volumes to select bootvolume (and boots with sucess). All newer XPC says: No boot volumes found.

Link to comment
Share on other sites

XPC commands at the GUI:

 

Y - Detects possible screen modes, you can set these in setting.plist (replace 326)

8 - Enables debug mode

4 - Loads efi apps/drivers

1 - Shows efi variables

D - Sets default boot drive

I - Dsdt backup on stick

M - Edits settings.plist

F - Rescans boot drives or install dvd

R - Reboots System

S - Starts Shell, needs shell.efi placed in EFI folder

 

try with F !!! :(

 

no problem here with XPC last versions !!! :D

Link to comment
Share on other sites

Yep, F= rescan shows always "no boot volume found" at my MBR system.

I dont tried with OS X install DVD, only with my HDs (SL/Lion partitions in MBR type)

 

Do you have also MBR part type (insted of GPT/GUID) or someone else that i can shorten the problemparts for me ?

Link to comment
Share on other sites

Yep, F= rescan shows always "no boot volume found" at my MBR system.

I dont tried with OS X install DVD, only with my HDs (SL/Lion partitions in MBR type)

 

Do you have also MBR part type (insted of GPT/GUID) or someone else that i can shorten the problemparts for me ?

 

 

yes, to install Lion on MBR I must have made 2 partitions, 1 for XPC in MS-DOS and other one for Lion in HFS journalised !!

 

In that way, my 2 partitions were seen by XPC !!!

 

My HD was in MBR and then I cloned Lion over !!!

Link to comment
Share on other sites

Yep, i already have LION installed (installed on 8 GB GUID Stick , than cloned to MBR HD) + running. Only problem is that XPC cant find any boot volumes if i use >= Version 0.75. I use / installed older XPC version which shows all my boot volumes.

Not a real problem for me if XPC 0.75 works and soon Chameleon also works from HD.

Link to comment
Share on other sites

Yep, i already have LION installed (installed on 8 GB GUID Stick , than cloned to MBR HD) + running. Only problem is that XPC cant find any boot volumes if i use >= Version 0.75. I use / installed older XPC version which shows all my boot volumes.

Not a real problem for me if XPC 0.75 works and soon Chameleon also works from HD.

 

You do realise that there is already a working version of chameleon for lion? Have a look at netkas latest post on his site. It wont boot snow leopard (without some work at least) so no use for multi boot builds but by all accounts works with lion without errors.

Link to comment
Share on other sites

You do realise that there is already a working version of chameleon for lion? Have a look at netkas latest post on his site. It wont boot snow leopard (without some work at least) so no use for multi boot builds but by all accounts works with lion without errors.

 

It's not because the chameleon new went out that he owes forcing to use it and to leave XPC which, you should not forget it, was even for 2/3 days the only one a bootloader who could boot Lion without DF !!! :D

 

If you know how to use XPC, you will see that he has qualities and defects as the chameleon new !!! :)

 

Respect

Link to comment
Share on other sites

The new loader works without dp :)

 

But my System is so slow, the only boot loader that works is anval (snow and lion version).

 

bdmesg output of both versions.

 

result with this new loader:

 

 

msr(221): ia32_perf_stat 0x00002200

max: 4 current: 2

CPU: Vendor/Model/ExtModel: 0x756e6547/0x2a/0x2

CPU: Family/ExtFamily: 0x6/0x0

CPU: MaxCoef/CurrCoef: 0x4/0x2

CPU: MaxDiv/CurrDiv: 0x0/0x0

CPU: TSCFreq: 3400MHz

CPU: FSBFreq: 850MHz

CPU: CPUFreq: 1700MHz

CPU: NoCores/NoThreads: 8/16

CPU: Features: 0x000002ff

 

 

and the older anval loader:

 

PU: Mobile Intel® Core i7-2600K CPU @ 3.40GHz

CPU: Flex-Ratio = 34

Sticking with [bCLK: 100Mhz, Bus-Ratio: ?]

CPU: Tjmax ~ 98°C Temperature= ~ 47°C

CPU: IDA: Enabled!

CPU: Vendor/Family/ExtFamily: 0x756e6547/0x6/0x0

CPU: Model/ExtModel/Stepping: 0x2a/0x2/0x7

CPU: Multipliers x10: max=340, min=160

Turbo Ratio: 59/59/59/59

CPU: MaxDiv/CurrDiv: 0x0/0x0

CPU: TSCFreq: 3400MHz

CPU: CPUFreq: 3400MHz

CPU: FSBFreq: 100MHz

CPU: Enhanced SpeedStep: 1

CPU: NoCores/NoThreads: 4/8

CPU: Features: 0x36d803a3

 

i hope for a new anval release soon -_-

Link to comment
Share on other sites

The new loader works without dp ;)

 

But my System is so slow, the only boot loader that works is anval (snow and lion version).

 

bdmesg output of both versions.

 

result with this new loader:

 

 

msr(221): ia32_perf_stat 0x00002200

max: 4 current: 2

CPU: Vendor/Model/ExtModel: 0x756e6547/0x2a/0x2

CPU: Family/ExtFamily: 0x6/0x0

CPU: MaxCoef/CurrCoef: 0x4/0x2

CPU: MaxDiv/CurrDiv: 0x0/0x0

CPU: TSCFreq: 3400MHz

CPU: FSBFreq: 850MHz

CPU: CPUFreq: 1700MHz

CPU: NoCores/NoThreads: 8/16

CPU: Features: 0x000002ff

 

 

and the older anval loader:

 

PU: Mobile Intel® Core™ i7-2600K CPU @ 3.40GHz

CPU: Flex-Ratio = 34

Sticking with [bCLK: 100Mhz, Bus-Ratio: ?]

CPU: Tjmax ~ 98°C Temperature= ~ 47°C

CPU: IDA: Enabled!

CPU: Vendor/Family/ExtFamily: 0x756e6547/0x6/0x0

CPU: Model/ExtModel/Stepping: 0x2a/0x2/0x7

CPU: Multipliers x10: max=340, min=160

Turbo Ratio: 59/59/59/59

CPU: MaxDiv/CurrDiv: 0x0/0x0

CPU: TSCFreq: 3400MHz

CPU: CPUFreq: 3400MHz

CPU: FSBFreq: 100MHz

CPU: Enhanced SpeedStep: 1

CPU: NoCores/NoThreads: 4/8

CPU: Features: 0x36d803a3

 

i hope for a new anval release soon :)

 

i have the same mobo with u,

my system and graphics running so slow, can u provide the older anval loader?

or just yours.

Link to comment
Share on other sites

please, run opencl test on your machine

oclinfo_0.2.zip

 

my result

1 OpenCL platform found!

[Platform 0]
Name: 		Apple
Vendor: 	Apple
Version: 	OpenCL 1.1 (Apr 21 2011 19:54:46)
Profile: 	FULL_PROFILE
Extensions: 			cl_APPLE_SetMemObjectDestructor 
                                               cl_APPLE_ContextLoggingFunctions 
                                               cl_APPLE_clut cl_APPLE_query_kernel_names 
                                               cl_APPLE_gl_sharing cl_khr_gl_event


[OpenCL-only Context]
1 OpenCL device found!

[Device 0]
Name: 			Intel® Core(tm) i7 CPU         870  @ 2.93GHz
Vendor: 		Intel
Type: 			CPU 
Device Version: 	OpenCL 1.1 
Driver Version: 	1.1
Compute Units: 		8
Work Group Size: 	1024
Clock: 			2931 MHz
Global Memory (Total): 	4096 MB
Global Memory (Host): 	4096 MB
Global Memory (PCIe): 	0 MB
Local Memory: 		32 KB
Cache Size: 		0.0625 KB
Cache Line Size: 	8388608 Bytes
Available: 		Yes
Double-Precision: 	Yes
Extensions: 
			cl_APPLE_SetMemObjectDestructor
			cl_APPLE_ContextLoggingFunctions
			cl_APPLE_clut
			cl_APPLE_query_kernel_names
			cl_APPLE_gl_sharing
			cl_khr_gl_event
			cl_khr_fp64
			cl_khr_global_int32_base_atomics
			cl_khr_global_int32_extended_atomics
			cl_khr_local_int32_base_atomics
			cl_khr_local_int32_extended_atomics
			cl_khr_byte_addressable_store
			cl_khr_int64_base_atomics
			cl_khr_int64_extended_atomics
			cl_khr_3d_image_writes
			cl_APPLE_fp64_basic_ops
			cl_APPLE_fixed_alpha_channel_orders
			cl_APPLE_biased_fixed_point_image_formats

 

 

my GTX 470 was not found

But with 430e all work ;)

 

Sorry for my english...

Link to comment
Share on other sites

works here

1 OpenCL platform found!

[Platform 0]
Name: 		Apple
Vendor: 	Apple
Version: 	OpenCL 1.1 (Apr 21 2011 19:54:46)
Profile: 	FULL_PROFILE
Extensions: 			cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event


[OpenCL-only Context]
2 OpenCL devices found!

[Device 0]
Name: 			Intel(R) Core(TM)2 Duo CPU	 E8400  @ 3.00GHz
Vendor: 		Intel
Type: 			CPU 
Device Version: 	OpenCL 1.1 
Driver Version: 	1.1
Compute Units: 		2
Work Group Size: 	1024
Clock: 			3000 MHz
Global Memory (Total): 	6144 MB
Global Memory (Host): 	6144 MB
Global Memory (PCIe): 	0 MB
Local Memory: 		32 KB
Cache Size: 		0.0625 KB
Cache Line Size: 	6291456 Bytes
Available: 		Yes
Double-Precision: 	Yes
Extensions: 
			cl_APPLE_SetMemObjectDestructor
			cl_APPLE_ContextLoggingFunctions
			cl_APPLE_clut
			cl_APPLE_query_kernel_names
			cl_APPLE_gl_sharing
			cl_khr_gl_event
			cl_khr_fp64
			cl_khr_global_int32_base_atomics
			cl_khr_global_int32_extended_atomics
			cl_khr_local_int32_base_atomics
			cl_khr_local_int32_extended_atomics
			cl_khr_byte_addressable_store
			cl_khr_int64_base_atomics
			cl_khr_int64_extended_atomics
			cl_khr_3d_image_writes
			cl_APPLE_fp64_basic_ops
			cl_APPLE_fixed_alpha_channel_orders
			cl_APPLE_biased_fixed_point_image_formats

[Device 1]
Name: 			GeForce 9800 GT
Vendor: 		NVIDIA
Type: 			GPU 
Device Version: 	OpenCL 1.0 
Driver Version: 	CLH 1.0
Compute Units: 		14
Work Group Size: 	512
Clock: 			1500 MHz
Global Memory: 		512 MB
Local Memory: 		16 KB
Cache Size: 		0 KB
Cache Line Size: 	0 Bytes
Available: 		Yes
Double-Precision: 	No
Extensions: 
			cl_APPLE_SetMemObjectDestructor
			cl_APPLE_ContextLoggingFunctions
			cl_APPLE_clut
			cl_APPLE_query_kernel_names
			cl_APPLE_gl_sharing
			cl_khr_gl_event
			cl_khr_byte_addressable_store
			cl_khr_global_int32_base_atomics
			cl_khr_global_int32_extended_atomics

[shared OpenCL+OpenGL Context]
2 OpenCL devices found!

[Device 0]
Name: 			GeForce 9800 GT
Vendor: 		NVIDIA
Type: 			GPU 
Device Version: 	OpenCL 1.0 
Driver Version: 	CLH 1.0
Compute Units: 		14
Work Group Size: 	512
Clock: 			1500 MHz
Global Memory: 		512 MB
Local Memory: 		16 KB
Cache Size: 		0 KB
Cache Line Size: 	0 Bytes
Available: 		Yes
Double-Precision: 	No
Extensions: 
			cl_APPLE_SetMemObjectDestructor
			cl_APPLE_ContextLoggingFunctions
			cl_APPLE_clut
			cl_APPLE_query_kernel_names
			cl_APPLE_gl_sharing
			cl_khr_gl_event
			cl_khr_byte_addressable_store
			cl_khr_global_int32_base_atomics
			cl_khr_global_int32_extended_atomics

[Device 1]
Name: 			Intel(R) Core(TM)2 Duo CPU	 E8400  @ 3.00GHz
Vendor: 		Intel
Type: 			CPU 
Device Version: 	OpenCL 1.1 
Driver Version: 	1.1
Compute Units: 		2
Work Group Size: 	1024
Clock: 			3000 MHz
Global Memory (Total): 	6144 MB
Global Memory (Host): 	6144 MB
Global Memory (PCIe): 	0 MB
Local Memory: 		32 KB
Cache Size: 		0.0625 KB
Cache Line Size: 	6291456 Bytes
Available: 		Yes
Double-Precision: 	Yes
Extensions: 
			cl_APPLE_SetMemObjectDestructor
			cl_APPLE_ContextLoggingFunctions
			cl_APPLE_clut
			cl_APPLE_query_kernel_names
			cl_APPLE_gl_sharing
			cl_khr_gl_event
			cl_khr_fp64
			cl_khr_global_int32_base_atomics
			cl_khr_global_int32_extended_atomics
			cl_khr_local_int32_base_atomics
			cl_khr_local_int32_extended_atomics
			cl_khr_byte_addressable_store
			cl_khr_int64_base_atomics
			cl_khr_int64_extended_atomics
			cl_khr_3d_image_writes
			cl_APPLE_fp64_basic_ops
			cl_APPLE_fixed_alpha_channel_orders
			cl_APPLE_biased_fixed_point_image_formats

seems to be a fermi problem

Link to comment
Share on other sites

 Share

×
×
  • Create New...