Jump to content

Chameleon 2.4svn Official PKG Installer


ErmaC
 Share

4,261 posts in this topic

Recommended Posts

Did you set any of SMkey related to CPU (SMcpuexternalclock, SMcpumaxspeed, etc.) in your plist?

 No, I don't have any CPU related SMKey entries in my SMBios.plist.

 

Chameleon 2.2svn (svn-r2267 TEST-3) [2013-11-02 03:54:34]

msr(519): ia32_perf_stat 0x0600471b

max: 7.5 current: 71.5

CPU: Brand String:             Intel® Core2 Quad  CPU   Q9300  @ 2.50GHz

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

CPU: Model/ExtModel/Stepping:  0x17/0x1/0x7

CPU: MaxCoef/CurrCoef:         0x7/0x47

CPU: MaxDiv/CurrDiv:           0x1/0x1

CPU: TSCFreq:                  2499MHz

CPU: FSBFreq:                  333MHz

CPU: CPUFreq:                  23831MHz

CPU: NoCores/NoThreads:        4/4

CPU: Features:                 0x0000025f

 

Link to comment
Share on other sites


Chameleon 2.2svn (svn-r2267 TEST-3) [2013-11-02 03:54:34]
msr(519): ia32_perf_stat 0x06004c22
max: 12.5 current: 76.5
CPU: Brand String:             Intel(R) Core(TM)2 Duo CPU     T9300  @ 2.50GHz
CPU: Vendor/Family/ExtFamily:  0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping:  0x17/0x1/0x6
CPU: MaxCoef/CurrCoef:         0xc/0x4c
CPU: MaxDiv/CurrDiv:           0x1/0x1
CPU: TSCFreq:                  2493MHz
CPU: FSBFreq:                  199MHz
CPU: CPUFreq:                  15261MHz
CPU: NoCores/NoThreads:        2/2
CPU: Features:                 0x0000035f
Link to comment
Share on other sites

I did an investigation in trunk r2266, found in cpu.c line 457/520:

- currcoef = bitfield(msr, 12, 8); <- 2265
+ currcoef = bitfield(msr, 15, 8); <- 2266

Can you try this attachicon.gifboot_trunk2266_test.zip?

Hi Bungo,

That fixed it.

 

Thanks a lot

 

Chameleon 2.2svn (svn-r2266) [2013-11-22 16:46:26]

msr(519): ia32_perf_stat 0x0600471b

max: 7.5 current: 7.5

CPU: Brand String:             Intel® Core2 Quad  CPU   Q9300  @ 2.50GHz

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

CPU: Model/ExtModel/Stepping:  0x17/0x1/0x7

CPU: MaxCoef/CurrCoef:         0x7/0x7

CPU: MaxDiv/CurrDiv:           0x1/0x1

CPU: TSCFreq:                  2499MHz

CPU: FSBFreq:                  333MHz

CPU: CPUFreq:                  2499MHz

CPU: NoCores/NoThreads:        4/4

CPU: Features:                 0x0000025f

Link to comment
Share on other sites

I did an investigation in trunk r2266, found in cpu.c line 457/520:

- currcoef = bitfield(msr, 12, 8); <- 2265
+ currcoef = bitfield(msr, 15, 8); <- 2266

Can you try this attachicon.gifboot_trunk2266_test.zip?

Chameleon 2.2svn (svn-r2266) [2013-11-22 16:46:26]
msr(519): ia32_perf_stat 0x06004c22
max: 12.5 current: 12.5
CPU: Brand String:             Intel(R) Core(TM)2 Duo CPU     T9300  @ 2.50GHz
CPU: Vendor/Family/ExtFamily:  0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping:  0x17/0x1/0x6
CPU: MaxCoef/CurrCoef:         0xc/0xc
CPU: MaxDiv/CurrDiv:           0x1/0x1
CPU: TSCFreq:                  2493MHz
CPU: FSBFreq:                  199MHz
CPU: CPUFreq:                  2493MHz
CPU: NoCores/NoThreads:        2/2
CPU: Features:                 0x0000035f
Link to comment
Share on other sites

I'm not sure what the detection routine is for, there are most needed data in the SMBIOS, e.g CPU freq. -> table Type 4:

Type: 4, Length: 42, Handle: 0x4
ProcessorInformation:
        ...
	externalClock: 133MHz
	maximumClock: 2394MHz
	currentClock: 2399MHz
        ...

Link to comment
Share on other sites

I did an investigation in trunk r2266, found in cpu.c line 457/520:

- currcoef = bitfield(msr, 12, 8); <- 2265
+ currcoef = bitfield(msr, 15, 8); <- 2266

Can you try this attachicon.gifboot_trunk2266_test.zip?

Thanks Bungo :)

 

This fixed the CPU frequency detection on my Core 2 Duo T9300.  Strangely enough, no difference for my desktop i5 750 where both your fixed version and the original v2266 gave the correct CPU frequency in "About this Mac" but incorrect bus ratio (200 instead of 20).

 

Laptop T9300

Chameleon 2.2svn (svn-r2266) [2013-11-22 16:46:26]

msr(519): ia32_perf_stat 0x06004c22

max: 12.5 current: 12.5

CPU: Brand String:             Intel® Core2 Duo CPU     T9300  @ 2.50GHz

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

CPU: Model/ExtModel/Stepping:  0x17/0x1/0x6

CPU: MaxCoef/CurrCoef:         0xc/0xc

CPU: MaxDiv/CurrDiv:           0x1/0x1

CPU: TSCFreq:                  2493MHz

CPU: FSBFreq:                  199MHz

CPU: CPUFreq:                  2493MHz

CPU: NoCores/NoThreads:        2/2

CPU: Features:                 0x0000035f

 

Desktop i5 750

Chameleon 2.2svn (svn-r2266) [2013-11-22 16:46:26]

msr(431): platform_info 40031400

msr(435): flex_ratio 00000000

Sticking with [bCLK: 133Mhz, Bus-Ratio: 200]

CPU: Brand String:             Intel® Core i5 CPU         750  @ 2.67GHz

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

CPU: Model/ExtModel/Stepping:  0x1e/0x1/0x5

CPU: MaxCoef/CurrCoef:         0x0/0x14

CPU: MaxDiv/CurrDiv:           0x0/0x0

CPU: TSCFreq:                  2664MHz

CPU: FSBFreq:                  133MHz

CPU: CPUFreq:                  2664MHz

CPU: NoCores/NoThreads:        4/4

CPU: Features:                 0x0000027f

Link to comment
Share on other sites

Thanks Bungo :)

 

This fixed the CPU frequency detection and CPU stuck on max speed on my Core 2 Duo T9300.  Strangely enough, no difference for my desktop i5 750 where both your fixed version and the original v2266 gave the correct CPU frequency in "About this Mac" but incorrect bus ratio (200 instead of 20).

Previous bug was related to old CPUs.

 

Desktop i5 750

Chameleon 2.2svn (svn-r2266) [2013-11-22 16:46:26]

msr(431): platform_info 40031400

msr(435): flex_ratio 00000000

Sticking with [bCLK: 133Mhz, Bus-Ratio: 200] <--

---

CPU: MaxCoef/CurrCoef:         0x0/0x14 <--

---

CPU: TSCFreq:                  2664MHz

CPU: FSBFreq:                  133MHz

CPU: CPUFreq:                  2664MHz

---

I think this bug it's only wrong readout in conslole

verbose("Sticking with [BCLK: %dMhz, Bus-Ratio: %d]\n", myfsb, max_ratio); <--- max_ratio need to be devided by 10

try this boot_trunk_r2266_bug2.zip

  • Like 1
Link to comment
Share on other sites

Previous bug was related to old CPUs.

 

I think this bug it's only wrong readout in conslole

verbose("Sticking with [BCLK: %dMhz, Bus-Ratio: %d]\n", myfsb, max_ratio); <--- max_ratio need to be devided by 10

try this attachicon.gifboot_trunk_r2266_bug2.zip

This fixed the cosmetic issue in the console for the i5 750. 

 

Desktop i5 750

Chameleon 2.2svn (svn-r2266-CPU bug2) [2013-11-23 13:02:18]

msr(431): platform_info 40031400

msr(435): flex_ratio 00000000

Sticking with [bCLK: 133Mhz, Bus-Ratio: 20]

CPU: Brand String:             Intel® Core i5 CPU         750  @ 2.67GHz

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

CPU: Model/ExtModel/Stepping:  0x1e/0x1/0x5

CPU: MaxCoef/CurrCoef:         0x0/0x14

CPU: MaxDiv/CurrDiv:           0x0/0x0

CPU: TSCFreq:                  2664MHz

CPU: FSBFreq:                  133MHz

CPU: CPUFreq:                  2664MHz

CPU: NoCores/NoThreads:        4/4

CPU: Features:                 0x0000027f

 

Link to comment
Share on other sites

I have a strange problem here my ga ep35-ds3r q6600 insists on only rumning 64bit mode what ever I do. Can this be something related to later chameleon versions I mean is there a setting I am mot aware of?

 

I did try arch i386 in every way I could find info about. Also the bios is set to 32 bit.

 

Any ideas on what could be wrong?

 

I am running 10.6.8 and like always I have two partitions, one for the osx dmg and all bootfiles and a big one for the installation. Cham is installed to the partition with the osx dmg. I always do it like this cause I dont need to use usb flashdrives for my installations then and it goes fast to install and I always have a way to get back up running if it breaks.

Did you try to put it into com.apple.Boot.plist on partition you're booting?

My c.a.B.plist on 10.6.8:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Kernel Architecture</key>
	<string>x86_64</string>
	<key>Kernel Flags</key>
	<string>arch=i386</string>
</dict>
</plist>
Link to comment
Share on other sites

@ Bungo 

 

In last your version with cpu fix, are there also all previous fixes about smbios committed lately, in the last period, by Erma?

No. I have no access to 2267 sources unfortunately. Got some source files (2267) from ErmaC but I'm not familiar with svn and xcode. Can I simply replace downloaded 2266 files with his files? What about revison?

Link to comment
Share on other sites

No. I have no access to 2267 sources unfortunately. Got some source files (2267) from ErmaC but I'm not familiar with svn and xcode. Can I simply replace downloaded 2266 files with his files? What about revison?

 

If you have 2267 source files about smbios patched only, you can replace these in 2266 sources without problems, at least in theory. So let me know man ;)

Link to comment
Share on other sites

If you have 2267 source files about smbios patched only, you can replace these in 2266 sources without problems, at least in theory. So let me know man ;)

I don't think so:

 

 

Chameleon 2.2svn (r2267-TEST-3+CPU_bugs_fix) [2013-11-24 17:13:58]
msr(431): platform_info 20011200
msr(435): flex_ratio 00000000
Sticking with [BCLK: 133Mhz, Bus-Ratio: 18]
CPU: Brand String:             Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz
CPU: Vendor/Family/ExtFamily:  0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping:  0x25/0x2/0x2
CPU: MaxCoef/CurrCoef:         0x0/0x12
CPU: MaxDiv/CurrDiv:           0x0/0x0
CPU: TSCFreq:                  2394MHz
CPU: FSBFreq:                  133MHz
CPU: CPUFreq:                  2394MHz
CPU: NoCores/NoThreads:        2/4
CPU: Features:                 0x000002ff

...

Type: 0, Length: 24, Handle: 0x0
BIOSInformation:
	vendor: Apple Inc.
	version: MBP61.88Z.0057.B0F.1112091028
	releaseDate: 12/09/11

Type: 1, Length: 27, Handle: 0x1
SystemInformation:
	manufacturer: Apple Inc.
	productName: MacBookPro6,1
	version: 1.0
	serialNumber: C02CJ2DNDC79
	uuid: ***********
	wakeupReason: 0x70
	skuNumber: 
	family: 

Type: 2, Length: 15, Handle: 0x2
BaseBoard:
	manufacturer: Apple Inc.
	product: Mac-F22589C8
	version: To be filled by O.E.M.
	serialNumber: C02014200FPDCMVA2
	assetTagNumber: Base Board Asset Tag#
	locationInChassis: Part Component
	boardType: 0x70

Type: 3, Length: 21, Handle: 0x3
SystemEnclosure:
	manufacturer: Apple Inc.
	type: 10
	version: Mac-F22589C8
	serialNumber: ************
	assetTagNumber: None

Type: 4, Length: 42, Handle: 0x4
ProcessorInformation:
	socketDesignation: U2E1
	processorType: 6
	processorFamily: 0x2
	manufacturer: Intel(R) Corporation
	processorID: 0xBFEBFBFF
	processorVersion: ÛÓ
	externalClock: 133MHz
	maximumClock: 2400MHz
	currentClock: 5MHz
	serialNumber: CPU 1
	assetTag: Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz
	partNumber: Not Specified

...

MemoryDevice:
	deviceLocator: ÛÓ
	bankLocator: ÛÓ
	memoryType: EDRAM
	memorySpeed: 1541MHz
	errorHandle: ffff
	manufacturer: ÛÓ
	serialNumber: ÛÓ
	assetTag: ÛÓ
	partNumber: 

Type: 20, Length: 19, Handle: 0x2c
Type: 17, Length: 28, Handle: 0x2e
MemoryDevice:
	deviceLocator: ÛÓ
	bankLocator: ÛÓ
	memoryType: EDRAM
	memorySpeed: 1541MHz
	errorHandle: ffff
	manufacturer: ÛÓ
	serialNumber: ÛÓ
	assetTag: ÛÓ
	partNumber:  

 

 

Link to comment
Share on other sites

I don't think so:

 

 

Chameleon 2.2svn (r2267-TEST-3+CPU_bugs_fix) [2013-11-24 17:13:58]
msr(431): platform_info 20011200
msr(435): flex_ratio 00000000
Sticking with [BCLK: 133Mhz, Bus-Ratio: 18]
CPU: Brand String:             Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz
CPU: Vendor/Family/ExtFamily:  0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping:  0x25/0x2/0x2
CPU: MaxCoef/CurrCoef:         0x0/0x12
CPU: MaxDiv/CurrDiv:           0x0/0x0
CPU: TSCFreq:                  2394MHz
CPU: FSBFreq:                  133MHz
CPU: CPUFreq:                  2394MHz
CPU: NoCores/NoThreads:        2/4
CPU: Features:                 0x000002ff

...

Type: 0, Length: 24, Handle: 0x0
BIOSInformation:
	vendor: Apple Inc.
	version: MBP61.88Z.0057.B0F.1112091028
	releaseDate: 12/09/11

Type: 1, Length: 27, Handle: 0x1
SystemInformation:
	manufacturer: Apple Inc.
	productName: MacBookPro6,1
	version: 1.0
	serialNumber: C02CJ2DNDC79
	uuid: ***********
	wakeupReason: 0x70
	skuNumber: 
	family: 

Type: 2, Length: 15, Handle: 0x2
BaseBoard:
	manufacturer: Apple Inc.
	product: Mac-F22589C8
	version: To be filled by O.E.M.
	serialNumber: C02014200FPDCMVA2
	assetTagNumber: Base Board Asset Tag#
	locationInChassis: Part Component
	boardType: 0x70

Type: 3, Length: 21, Handle: 0x3
SystemEnclosure:
	manufacturer: Apple Inc.
	type: 10
	version: Mac-F22589C8
	serialNumber: ************
	assetTagNumber: None

Type: 4, Length: 42, Handle: 0x4
ProcessorInformation:
	socketDesignation: U2E1
	processorType: 6
	processorFamily: 0x2
	manufacturer: Intel(R) Corporation
	processorID: 0xBFEBFBFF
	processorVersion: ÛÓ
	externalClock: 133MHz
	maximumClock: 2400MHz
	currentClock: 5MHz
	serialNumber: CPU 1
	assetTag: Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz
	partNumber: Not Specified

...

MemoryDevice:
	deviceLocator: ÛÓ
	bankLocator: ÛÓ
	memoryType: EDRAM
	memorySpeed: 1541MHz
	errorHandle: ffff
	manufacturer: ÛÓ
	serialNumber: ÛÓ
	assetTag: ÛÓ
	partNumber: 

Type: 20, Length: 19, Handle: 0x2c
Type: 17, Length: 28, Handle: 0x2e
MemoryDevice:
	deviceLocator: ÛÓ
	bankLocator: ÛÓ
	memoryType: EDRAM
	memorySpeed: 1541MHz
	errorHandle: ffff
	manufacturer: ÛÓ
	serialNumber: ÛÓ
	assetTag: ÛÓ
	partNumber:  

 

 

Really strange man, are you sure that your smbios patch source is complete, full?  Because i think this is the problem. If that source is complete there should be not problem in theory i think. 

Link to comment
Share on other sites

Hi to all,

 

chameleon is a very good option for AMD platforms, but does not help reboot after installing OS X due to kernel, would there be a way to include the kernel legacy in the Extra folder or elsewhere on the usb key to force the reader legacy kernel instead of vanilla kernel written during installation?

 

thank you

Link to comment
Share on other sites

Wouldn't that be the purpose of Kernel flag in org.chameleon.boot.plist?

Kernel=<file>
The filename of your kernel you wish to boot. This can be different from mach_kernel, but be sure to create a symlink that points to the new kernel you're booting with a name of mach_kernel to allow all software to be compatible. Note that this is necessary for you to boot a differently named kernel, because osx naively tries to load the symlink itself as the kernel and not the file that the symlink points to if you don't tell the bootloader! [Default mach_kernel]
 
Link to comment
Share on other sites

 

Hi to all,
 
chameleon is a very good option for AMD platforms, but does not help reboot after installing OS X due to kernel, would there be a way to include the kernel legacy in the Extra folder or elsewhere on the usb key to force the reader legacy kernel instead of vanilla kernel written during installation?
 
thank you

 

Name your legacy kernel e.g. amd_kernel instead of mach_kernel and add to o.c.B.plist:

	<key>Kernel</key>
	<string>amd_kernel</string>

You can place it in Extra (or anywhere you want) if you add a path to it.

Link to comment
Share on other sites

just wondering if anybody is working on Clover-like UEFI implementation so Chameleon can also load an UEFI Windows install \EFI\Microsoft\Boot\Bootmgfw.efi on legacy BIOS based computers?

 

Synced MBR/GPT is inconvenient above a certain # of partitions, and right now I'd prefer to stick with Chameleon, shunning the Clover learning curve.

 

I am aware of dmazar's Re: Can Chameleon EFI-boot Windows on a GPT-based disk? from April 12, 2012 and hope by now relevant code is being shared between Clover (which is an awesome bootloader, just very new to me) and Chameleon.

 

Thanks,

Bugs

Link to comment
Share on other sites

 Share

×
×
  • Create New...