Jump to content

Clover General discussion


ErmaC
29,818 posts in this topic

Recommended Posts

This issue brings back some memories and to be honest I've not really looked in to it for a long time. Anyway, if it helps, I've run some tests today, booting using Revoboot, Chameleon and Clover. I also have data from an older boot of Ozmosis as I don't currently have that running.

 

For the record, my system runs pretty well from each of these booted systems.

RevoBoot
========
 
sysctl -a | grep freq
hw.busfrequency = 100000000
hw.cpufrequency = 3411000000
hw.tbfrequency = 1000000000
hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 3411000000
hw.cpufrequency_min: 3411000000
hw.cpufrequency_max: 3411000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3411138402
 
Chameleon
=========
 
sysctl -a | grep freq
hw.busfrequency = 4294967295
hw.cpufrequency = 3411000000
hw.tbfrequency = 1000000000
hw.busfrequency: 25400000000
hw.busfrequency_min: 25400000000
hw.busfrequency_max: 25400000000
hw.cpufrequency: 3411000000
hw.cpufrequency_min: 3411000000
hw.cpufrequency_max: 3411000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3411165058
 
Clover (QPI=0)
==============
 
sysctl -a | grep freq
hw.busfrequency = 400000000
hw.cpufrequency = 3411000000
hw.tbfrequency = 1000000000
hw.busfrequency: 400000000
hw.busfrequency_min: 400000000
hw.busfrequency_max: 400000000
hw.cpufrequency: 3411000000
hw.cpufrequency_min: 3411000000
hw.cpufrequency_max: 3411000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3411125379
 
Clover (QPI=4800)
==============
 
sysctl -a | grep freq
hw.busfrequency = 4294967295
hw.cpufrequency = 3411000000
hw.tbfrequency = 1000000000
hw.busfrequency: 4800000000
hw.busfrequency_min: 4800000000
hw.busfrequency_max: 4800000000
hw.cpufrequency: 3411000000
hw.cpufrequency_min: 3411000000
hw.cpufrequency_max: 3411000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3411130139
 
Ozmosis
=======
 
sysctl -a | grep freq
hw.busfrequency = 100000000
hw.cpufrequency = 3400000000
hw.tbfrequency = 1000000000
hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 3400000000
hw.cpufrequency_min: 3400000000
hw.cpufrequency_max: 3400000000
hw.tbfrequency: 1000000000

EDIT: Here's an image of the Intel Power Gadget running on the system booted using Revoboot, Chameleon and Clover (QPI=0)

post-331032-0-64317700-1398455571_thumb.jpg

 

EDIT2: The hw.busfrequency reported by Chameleon is also incorrect and as stated by Sam is the limiter set by AppleSMBIOS.  

 

If it helps, here's a DarwinDump from each booted system (with BIOS.rom removed to save space).

 

EDIT: Dumps removed

 

Link to comment
Share on other sites

Sure, like toleda explained already: Issue with Ivy Bridge and Haswell; Sandy Bridge OK."

Different code path in the binary file.

 

By the way. What Sandy Bridge CPU is that (120 Watt package power)? Also. Which version of OS X are you using?

Something here I am not understanding. What is 120Watt??? Did you see my screenshot? There is 8.40Watt.

This is system #1 in signature. i3-2120 3.3GHz. OSX 10.9.2 (13C1021).

 

Did you propose I never see reports from IvyBridge and Haswell owners? Or Clover created first time in the history? 6000 downloads every week.

  • Like 1
Link to comment
Share on other sites

I think he is talking about the Top Value, yours is 120, blackosx is 80, mine is 50.

Temperature Max also varies as well

Don't eat my brain!

Screen Shot 2014-04-26 at 13.29.25.png Screen Shot 2014-04-26 at 13.30.47.png

I aslo try to set CPU/QPI=100 to see a difference

 slice$ sysctl -a | grep freq
hw.busfrequency = 100000000
hw.cpufrequency = 3292000000
hw.tbfrequency = 1000000000
hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 3292000000
hw.cpufrequency_min: 3292000000
hw.cpufrequency_max: 3292000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3292517349

This is that you thirst for?

Link to comment
Share on other sites

I think he is talking about the Top Value, yours is 120, blackosx is 80, mine is 50.

Temperature Max also varies as well

Correct. Set automatically when you install the Intel Power Gadget, and thus 120 Watt is off the scale for his i3-2120

:blush: strange on mine haswell 4770k i dont see IA W

 

attachicon.gifSchermata 2014-04-26 alle 11.46.09.png

In case you were referring to the estimated maximum package power used, then that's because MSR 611 is zero.

Link to comment
Share on other sites

:rolleyes: so?

what i need?

Sorry. UEFI BIOS bug. You need one with a fix for this.

 I only eat Lambs Brains too...I'm NOT a Zombie...Brains.... ^_^

LOL Feel like a monkey now :-)

@Slice,

 

Can you please check the value of cpuType->externalClock (SMBIOS type 4) because if that is a non-zero value, then AppleSMBIOS.kext will multiply the value, which shouldn't happen on Sandy Bridge, Ivy Bridge and Haswell based platforms.

 

Also. I am in no way trying to insult you, your knowledge, nor that of Clover users, but I am trying to help you/them, so please don't read anything bad into what I say here, but clearly something is wrong and what I hope is that we can solve this issue.

 

Thank you for your cooperation,

 

Pike

Link to comment
Share on other sites

Sorry. UEFI BIOS bug. You need one with a fix for this.

 

are you referring to msr locked?
or this ?
Apr 26 15:03:28 prodimagnifico kernel[0]: AICPUPMI: MSR_PKG_ENERGY_STATUS......(0x611) : 0xB4787B
 
PS:
 
sincere wishes for your new baby that is going to be born
Link to comment
Share on other sites

I decided switch to clover.I made a  clover usb  and a seperate os installer usb with clover installed too.


I managed to installed the os with slide=0 flag ,but now i can't find and boot  to my HDD to finish the installation.


What i have may done wrong?


Thanks


Link to comment
Share on other sites

Sorry. UEFI BIOS bug. You need one with a fix for this.

LOL Feel like a monkey now :-)

@Slice,

 

Can you please check the value of cpuType->externalClock (SMBIOS type 4) because if that is a non-zero value, then AppleSMBIOS.kext will multiply the value, which shouldn't happen on Sandy Bridge, Ivy Bridge and Haswell based platforms.

 

Also. I am in no way trying to insult you, your knowledge, nor that of Clover users, but I am trying to help you/them, so please don't read anything bad into what I say here, but clearly something is wrong and what I hope is that we can solve this issue.

 

Thank you for your cooperation,

 

Pike

 

i've compile clover and forced table 4 :  cpuType->externalClock = 0; (i5 3570K)

QPI = 0 table 132 dropped;

it works

 

hw.busfrequency = 100000000

hw.cpufrequency = 3403000000

hw.tbfrequency = 1000000000

hw.busfrequency: 100000000

hw.busfrequency_min: 100000000

hw.busfrequency_max: 100000000

hw.cpufrequency: 3403000000

hw.cpufrequency_min: 3403000000

hw.cpufrequency_max: 3403000000

hw.tbfrequency: 1000000000

machdep.tsc.frequency: 3403339548

 

Fred

Link to comment
Share on other sites

Thanks for the input Pike.

And Fred, yes I can confirm for a test that forcing ExternalClock to 0 works.

hw.busfrequency = 100000000
hw.cpufrequency = 3411000000
hw.tbfrequency = 1000000000
hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 3411000000
hw.cpufrequency_min: 3411000000
hw.cpufrequency_max: 3411000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3411127928 

I inserted this in to smbios.c at line #812

newSmbiosTable.Type4->ExternalClock = 0;

SMBIOS table type 4 External Clock now shows Unknown as opposed to 100 MHz.

And with QPI=0, Table type 132 is no present.

 

Link to comment
Share on other sites

Hi everyone, I have gotten Clover installed to a USB and cannot access or boot any partitions on it. I have tried many different combinations of installations of Clover but have not gotten my OS X or Windows Partitions seen by Clover at all.

 

Someone please help me out,

 

 

Specs 

Intel C2D

GMA 4500 (I know OS X isn't compatible with this GPU, I was just testing out Clover on several laptops)

HP UEFI Based Computer

Link to comment
Share on other sites

how many Boot drive you are getting in Clover BootMenu ??1,,post a image 

 

HfsPlus.efi is Required for Mac OSX Journaled and Ntfs.efi for Ntfs formattted drive make have in Clover drivers

 

and also use Latest version of Clover Bootloader ..

Link to comment
Share on other sites

Thanks everyone. You see. Now we have figured out a way to get the same result as a Mac, by dropping table 132 like a Mac, and by setting ExternalClock to 0. My mission is done here.

 

@ magnifico,

 

Thanks you very much!

 

Ok so that value is not zero. Let me try to come up with a solution/workaround for this problem as well. Will keep you posted when I found one.

 

Have fun all ;)

  • Like 2
Link to comment
Share on other sites

Hey guys,

 

I'm a n00bie the the community so let me know if I need to fix my posts or anything.

 

Anywho, I just switched from Chimera to Clover and I've ran into an odd issue – I can't access my UEFI. Usually I continually press 'delete' until the GUI pops up but now I just get a black screen and nothing happens. Also I've noticed I get an "American Megatrends" screen before everything kicks in (which is new) and it states to press 'F2' or 'delete' to access the setup. Obviously that doesn't work.

 

OS X does boot properly, so I got that going for me. I'm on a Gigabyte mobo.

 

Thanks all!

Link to comment
Share on other sites

Thanks for the input Pike.

And Fred, yes I can confirm for a test that forcing ExternalClock to 0 works.

hw.busfrequency = 100000000
hw.cpufrequency = 3411000000
hw.tbfrequency = 1000000000
hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 3411000000
hw.cpufrequency_min: 3411000000
hw.cpufrequency_max: 3411000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3411127928 

I inserted this in to smbios.c at line #812

newSmbiosTable.Type4->ExternalClock = 0;

SMBIOS table type 4 External Clock now shows Unknown as opposed to 100 MHz.

And with QPI=0, Table type 132 is no present.

 

newSmbiosTable.Type4->ExternalClock = 25 also works fine and profiler show correct value in profiler. (4*25 ;) )

 

Version: Intel® Core i5-3570K CPU @ 3.40GHz         

Voltage: 1.2 V         

External Clock: 25 MHz         

Max Speed: 3403 MHz         

Current Speed: 3800 MHz       

Status: Populated, Enabled

 

 

Fred

 

Link to comment
Share on other sites

newSmbiosTable.Type4->ExternalClock = 25 also works fine and profiler show correct value in profiler. (4*25 ;) )

 

Version: Intel® Core i5-3570K CPU @ 3.40GHz         

Voltage: 1.2 V         

External Clock: 25 MHz         

Max Speed: 3403 MHz         

Current Speed: 3800 MHz       

Status: Populated, Enabled

 

 

Fred

Hi Fred.

 

Yes, you're right. I've just tested and a value of 25 does also work but is an External Clock of 25Mhz a correct number to display in the SMBIOS table? Can't we just set this to 0 like the other loaders do? Looking at the SMBIOS reference specification v2.8.0 (page40) I see the description for External Clock is 'External Clock Frequency, in MHz If the value is unknown, the field is set to 0.'

Maybe Slice can commit this as Final Revision +

Hi STLVNUB

 

Yes, but it needs to be conditional based on processor type. Here's where Chameleon does it.  http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/trunk/i386/libsaio/smbios_getters.c#L28

And I think this is where RevoBoot does it. https://github.com/Piker-Alpha/RevoBoot/blob/clang/i386/libsaio/cpu/Intel/dynamic_data.h#L410

Link to comment
Share on other sites

Hello

Test : config.plist/CPU/QPI=100

hw.busfrequency = 100000000
hw.cpufrequency = 3500000000
hw.tbfrequency = 1000000000
hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 3500000000
hw.cpufrequency_min: 3500000000
hw.cpufrequency_max: 3500000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3500007176

5nu3ic.jpg

 

Fabio

Link to comment
Share on other sites

×
×
  • Create New...