Jump to content

Clover Problems and Solutions


ErmaC
3,206 posts in this topic

Recommended Posts

Some issue Clover here

appears after Clover r4098, 4098 OK

today I update Clover r4101

 

Missing Logo box thème in_box

 

 

 

screen14.png

 

This is what its like in 4101 :(

screen15.png

 

 

Its wrong r4100 commit. I didnt touch any code about theme in r4101.

 

Need to report it to @Needy

 

나의 LG-F800S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

Its wrong r4100 commit. I didnt touch any code about theme in r4101.

 

나의 LG-F800S 의 Tapatalk에서 보냄

I know, I see  :)  Thanks

Edit

wait @Needy

Link to comment
Share on other sites

I get

hw.busfrequency: 1600000000

 

All good !

 

 

okay. i did fixed all potential issue about cpu when not use any cpu setting in config.plist or set cpu setting in config.plist

 

especailly,

QPI

<key>QPI</key>
<string>4800</string>
System Profiler calls it Processor Bus Speed or Bus Speed. Chameleon has an algorithm for calculating this value for Nehalem CPUs (, which is however not correct). Clover has a corrected algorithm according to Intel data sheets. AppleSmbios sources describe two variants: either SMBIOS already contains this value as specified by the vendor, or it is calculated by the formulae BusSpeed*4. After a long argument this value was sourced into the configuration file - write what you want (in MHz). This is a purely cosmetic value. Apparently this value only makes sense for Nehalems, the rest should use the formula stated above - or nothing at all.

Note: Real Mac’s report a hw.busfrequency = 100000000

To achieve that with Clover here’s what to do:
1 - Drop SMBIOS table type 132 for Sandy Bridge and newer CPU’s. Clover does this if you set QPI to a string value of 0.
2 - Set SMBIOS table type 4->ExternalClock to 0 (or 25Mhz as a real Mac). This currently has to be done in the source code and re-compile Clover.

If you don’t do step 2 then for Sandy Bridge and newer CPU’s, AppleSMBIOS.kext will multiply any non zero values reported by SMBIOS table type 4 -> External Clock by 4. See DHP’s posts for ref.

To achieve that with Clover here’s what to do:

-> i fixed. clover automately think each user's cpu. and dicide to use table type 132 or not. nehalem always use type132 like realmac, ofc, user of other cpu(sandy, etc) can use if set any value in qpi.

Priority -> if set both BusSpeedkHz and QPI, clover use QPI value on Table type 132.

 

please test with follow process

1. no set any cpu in config.plist, get clover log, get sysctl hw.busfrequency in terminal

2. set BusSpeedkHz = 333,330 in config.plist and get cloverlog, get sysctl hw.busfrequency in terminal

3.set BusSpeedkHz = 400,000 in config.plist and get cloverlog, get sysctl hw.busfrequency in terminal

 

please correctly seperate each test and get each clover log and hw.busfrequency and report.

 

thanks in advance.

 

add.

i need nehalem cpu clover full log. does anyone help me?

RC2.zip

  • Like 1
Link to comment
Share on other sites

@Slice

i fixed all. last i have a question.
TSC frequency Calibration generated incorrected Bus Speed and CPUFrequency.
Bus=100193kHz CPU=2304MHz.
Sometimes BUS/CPU values are different each boot. But there is no big difference.


then clover continually use this value on smbios table and datahubcpu. ofc we can correct FSB and cpu frequency.
normally, if we put only 100,000 on busspeed in config.plist, we will get correct Bus = 100,000khz and CPU frequency=2300mhz.

incorrected bus speed causes problem.
in my pentium skylake g4500, it causes distored sound(after some seconds, lose spk and hp). i should that put only 100,000 on bus speed in config.plist. then problem is resolved(sound issue).

Values are being calculated correctly in GetCPUProperties. but Why Clover uses TSC frequency Calibration after GetCPUProperties?
after GetCPUProperties, some values will be overriden by TSC frequency Calibration.

i did read https://en.wikipedia.org/wiki/Time_Stamp_Counter. also i check sysctl in terminal. there are facts of TSC.

I’m consider this as last. also i see DataHubCPU.
It does not mean completely excluding the TSC.
This means that we will only use the necessary elements for datahubcpu.


I was able to discover your tremendous effort through this deep debug. Thanks again for that effort.

sorry for my english.

 

add.

http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/?p=2015234

http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page-213

  • Like 2
Link to comment
Share on other sites

@ Sherlocks:

With RC2 and nothing in CPU section, i've got hw.busfrequency: 1600000000 and :

0:100  0:100  MemLog inited, TSC freq: 3199879029
0:100  0:000  LegacyRegion2: Chipset/proc: 0x2E208086
0:100  0:000   Intel Series 4 and similar (PAM 0x90-0x96)
0:100  0:000   Test PAM1=(0x41=90, 0x5a=00, 0x81=00, 0x91=11) at chipset 2E208086
0:100  0:000  , Install = Success
0:109  0:009  BiosVideoDriverBindingStart!
0:109  0:000  BiosVideoCheckForVbe
0:109  0:000  EdidOverride not found
0:170  0:060   Edid1-
0:190  0:020   Edid0+
0:190  0:000   found Detail Timing 1680x1050
0:235  0:044     0 640x480 attr=3BF - ok, edid+, 640x480, working, highest, pref=0
0:236  0:001     1 800x600 attr=3BF - ok, edid+, 800x600, working, highest, pref=1
0:238  0:001     2 1024x768 attr=3BF - ok, edid+, 1024x768, working, highest, pref=2
0:239  0:001     3 1280x1024 attr=3BF - ok, edid+, working, highest, pref=3
0:249  0:009     4 1680x1050 attr=3BF - ok, edid+, working, highest, pref=4
0:250  0:001     5 1280x800 attr=3BF - ok, edid-
0:250  0:000  BV new mode: 4 1680x1050
0:543  0:292   SetMode pref 4 (4) = Success
3:103  2:560  
3:103  0:000  Now is 1.7.2017,  21:58:16 (GMT)
3:103  0:000  Starting Clover revision: 4101 on CLOVER EFI
3:103  0:000  Build with: [Args: -mc --no-usb -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -t XCODE8 | -D DISABLE_USB_SUPPORT -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE8 -n 5 | OS: 10.12.6 | XCODE: 8.3.3]
3:103  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,GPT,37CBC476-9882-4946-9EAA-1D98B743AA2C,0x28,0x64000) @DE441D98
3:103  0:000  SelfDirPath = \EFI\CLOVER
3:103  0:000  === [ Get Smbios ] ========================================
3:103  0:000  Type 16 Index = 0
3:103  0:000  Total Memory Slots Count = 4
3:103  0:000  Type 17 Index = 0
3:103  0:000  SmbiosTable.Type17->Speed = 1066MHz
3:103  0:000  SmbiosTable.Type17->Size = 2048MB
3:103  0:000  SmbiosTable.Type17->Bank/Device = BANK0 DIMM0
3:103  0:000  SmbiosTable.Type17->Vendor = Manufacturer00
3:103  0:000  SmbiosTable.Type17->SerialNumber = SerNum00
3:103  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber00
3:103  0:000  Type 17 Index = 1
3:103  0:000  SmbiosTable.Type17->Speed = 1066MHz
3:103  0:000  SmbiosTable.Type17->Size = 2048MB
3:103  0:000  SmbiosTable.Type17->Bank/Device = BANK1 DIMM1
3:103  0:000  SmbiosTable.Type17->Vendor = Manufacturer01
3:103  0:000  SmbiosTable.Type17->SerialNumber = SerNum01
3:103  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber01
3:103  0:000  Type 17 Index = 2
3:103  0:000  SmbiosTable.Type17->Speed = 1066MHz
3:103  0:000  SmbiosTable.Type17->Size = 2048MB
3:103  0:000  SmbiosTable.Type17->Bank/Device = BANK2 DIMM2
3:103  0:000  SmbiosTable.Type17->Vendor = Manufacturer02
3:103  0:000  SmbiosTable.Type17->SerialNumber = SerNum02
3:103  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber02
3:103  0:000  Type 17 Index = 3
3:103  0:000  SmbiosTable.Type17->Speed = 1066MHz
3:103  0:000  SmbiosTable.Type17->Size = 2048MB
3:103  0:000  SmbiosTable.Type17->Bank/Device = BANK3 DIMM3
3:103  0:000  SmbiosTable.Type17->Vendor = Manufacturer03
3:103  0:000  SmbiosTable.Type17->SerialNumber = SerNum03
3:103  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber03
3:103  0:000  Boot status=0
3:103  0:000  Running on: 'System Product Name' with board 'P5Q DELUXE'
3:103  0:000  === [ GetCPUProperties ] ==================================
3:103  0:000  CPU Vendor = 756E6547 Model=1067A
3:103  0:000   The CPU supported SSE4.1
3:103  0:000  got cores from CPUID_1 = 4
3:103  0:000  The CPU not supported turbo
3:103  0:000  BrandString = Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz
3:103  0:000   Calibrated TSCFrequency =3199879029 =3199MHz
3:103  0:000  MSR dumps:
3:103  0:000  	@0x00CD=80000A04
3:103  0:000  	@0x0198=616081F0600081F
3:103  0:000  QPI(1)ExternalClock: 400 MHz
3:103  0:000  Take FSB: 475000 kHz
3:103  0:000  FSBFrequency = 475 MHz, DMI FSBFrequency = 400 MHz, 
3:103  0:000  (2)FSBFrequency : 400 MHz
3:103  0:000  Corrected FSBFrequency = 400 MHz
3:103  0:000  PIS(1): 400 MHz
3:103  0:000  PIS(2): 1600000 kHz
3:103  0:000  PIS(3): 1600 MHz
3:103  0:000  MaxSpeed(1): 3200 MHz
3:103  0:000  MaxDiv/MinDiv: 8.0/6
3:103  0:000  Turbo: 9/0/0/0
3:103  0:000  Features: 0xBFEBFBFF
3:103  0:000  Threads: 4
3:103  0:000  Cores: 4
3:103  0:000  FSB: 400 MHz
3:103  0:000  CPU: 3800 MHz
3:103  0:000  TSC: 3800 MHz
3:103  0:000  PIS: 1600 MHz
3:103  0:000  ExternalClock: 400 MHz
3:103  0:000  === [ GetDevices ] ========================================
3:103  0:000  PCI (00|00:00.00) : 8086 2E20 class=060000
3:103  0:000  PCI (00|00:01.00) : 8086 2E21 class=060400
3:103  0:000  PCI (00|01:00.00) : 10DE 1284 class=030000
3:103  0:000   - GFX: Model=Asus GeForce GT 630 family 108 (Nvidia)
3:103  0:000  PCI (00|01:00.01) : 10DE 0E0F class=040300
3:103  0:000   - HDMI Audio: 
3:103  0:000  PCI (00|00:1A.00) : 8086 3A37 class=0C0300
3:103  0:000  PCI (00|00:1A.01) : 8086 3A38 class=0C0300
3:103  0:000  PCI (00|00:1A.02) : 8086 3A39 class=0C0300
3:103  0:000  PCI (00|00:1A.07) : 8086 3A3C class=0C0320
3:103  0:000  PCI (00|00:1B.00) : 8086 3A3E class=040300
3:103  0:000  PCI (00|00:1C.00) : 8086 3A40 class=060400
3:103  0:000  PCI (00|04:00.00) : 14E4 43A0 class=028000
3:103  0:000   - WIFI: Vendor=Broadcom
3:103  0:000  PCI (00|00:1C.02) : 8086 3A44 class=060400
3:103  0:000  PCI (00|03:00.00) : 1B73 1100 class=0C0330
3:103  0:000  PCI (00|00:1C.05) : 8086 3A4A class=060400
3:103  0:000  PCI (00|02:00.00) : 11AB 4364 class=020000
3:103  0:000   - LAN: 0 Vendor=Marvell
3:103  0:000  PCI (00|00:1D.00) : 8086 3A34 class=0C0300
3:103  0:000  PCI (00|00:1D.01) : 8086 3A35 class=0C0300
3:104  0:000  PCI (00|00:1D.02) : 8086 3A36 class=0C0300
3:104  0:000  PCI (00|00:1D.07) : 8086 3A3A class=0C0320
3:104  0:000  PCI (00|00:1E.00) : 8086 244E class=060401
3:104  0:000  PCI (00|05:03.00) : 11C1 5811 class=0C0010
3:104  0:000  PCI (00|00:1F.00) : 8086 3A16 class=060100
3:104  0:000  PCI (00|00:1F.02) : 8086 3A22 class=010601
3:104  0:000  PCI (00|00:1F.03) : 8086 3A30 class=0C0500
3:104  0:000  === [ GetDefaultSettings ] ================================
3:104  0:000  Clover load options size = 0 bytes
3:106  0:002  EFI\CLOVER\config.plist loaded: Success
3:106  0:000  === [ GetListOfThemes ] ===================================
3:106  0:000  - [00]: embedded
3:108  0:001  - [00]: random
3:108  0:000  - [00]: bootcamp
3:111  0:003  === [ Found config plists ] ===============================
3:111  0:000  - config.plist
3:112  0:000  === [ GetEarlyUserSettings ] ==============================
3:112  0:000  timeout set to 5
3:112  0:000  Custom boot CUSTOM_BOOT_DISABLED (0x0)
3:112  0:000  KextsToPatch: 3 requested
3:112  0:000   - [00]: IOAHCIBlockStorage (activation TRIM) :: BinPatch :: data len: 11
3:112  0:000   - [01]: AppleHDA (AD2000B dans AppleHDA) :: BinPatch :: data len: 4
3:112  0:000   - [02]: AppleHDA (suppression logs AppleHDA) :: BinPatch :: data len: 16
3:112  0:000  Default theme: bootcamp
3:112  0:000  === [ LoadDrivers ] =======================================
3:113  0:000  Loading AppleImageCodec-64.efi  status=Success
3:114  0:000  Loading AppleKeyAggregator-64.efi  status=Success
3:114  0:000  Loading AppleUITheme-64.efi  status=Success
3:114  0:000  Loading FirmwareVolume-64.efi  status=Success
3:114  0:000  Loading FSInject-64.efi  status=Success
3:114  0:000  Loading SMCHelper-64.efi  status=Success
3:114  0:000  Loading HFSPlus-64.efi  status=Success
3:115  0:001   - driver needs connecting
3:115  0:000  Loading XhciDxe-64.efi  status=Success
3:116  0:000   - driver needs connecting
3:116  0:000  2 drivers needs connecting ...
3:116  0:000  PlatformDriverOverrideProtocol->GetDriver overriden
3:116  0:000  HFS+ driver loaded
3:125  0:009  PciIo started
3:125  0:000  HcDevicePath found
3:125  0:000  attribute saved=700
3:125  0:000  attribute supports=8700 Status=Success
3:125  0:000  device enable status=Success
3:125  0:000  Create USB2HC
3:125  0:000  will not apply workaround to test, N=8
3:125  0:000  Xhc HCI version=0
3:125  0:000  PageSize = 1
3:125  0:000  XhcCreateUsb3Hc: Capability length 0x80
3:125  0:000  XhcCreateUsb3Hc: ExtCapRegBase 0x8000
3:125  0:000  XhcCreateUsb3Hc: HcSParams1 0x8000820
3:125  0:000  XhcCreateUsb3Hc: HcSParams2 0xFC000054
3:125  0:000  XhcCreateUsb3Hc: HcCParams 0x200071E1
3:125  0:000  XhcCreateUsb3Hc: DBOff 0x3000
3:125  0:000  XhcCreateUsb3Hc: RTSOff 0x2000
3:125  0:000  XhcCreateUsb3Hc: UsbLegSupOffset 0x330
3:125  0:000  XhcCreateUsb3Hc: DebugCapSupOffset 0x340
3:125  0:000  XhcIntelQuirks
3:125  0:000  XhcResetHC
3:127  0:002  Initialize the schedule
3:127  0:000  Start the Host Controller
3:127  0:000  XhcDriverBindingStart: XHCI started for controller @ DF4DF318
3:226  0:098  XhcReset: status Success
3:226  0:000  XhcGetState: current state 0
3:226  0:000  XhcSetState: status Success
3:226  0:000  XhcGetCapability: 8 ports, 64 bit capable=1
3:266  0:039  === [ InitScreen ] ========================================
3:266  0:000  Console modes reported: 4, available modes:
3:266  0:000   - [01]: 80x25
3:266  0:000   - [02]: 80x50
3:266  0:000   - [03]: 100x31
3:266  0:000   - [04]: 210x55 (current mode)
3:266  0:000  SetScreenResolution: 1680x1050 - already set
3:266  0:000  reinit: self device path=PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,GPT,37CBC476-9882-4946-9EAA-1D98B743AA2C,0x28,0x64000)
3:266  0:000  === [ GetMacAddress ] =====================================
3:266  0:000  === [ ScanSPD ] ===========================================
3:266  0:000  SMBus device : 8086 3A30 class=0C0500 status=Success
3:266  0:000  SMBus CmdReg: 0x3
3:266  0:000  Scanning SMBus [8086:3A30], mmio: 0xFCFFF404, ioport: 0x400, hostc: 0x1
3:266  0:000  Slots to scan [8]...
3:267  0:000  SPD[0]: Type 8 @0x50
3:281  0:014  DDR speed 800MHz
3:281  0:000  Slot: 0 Type 19 2048MB 800MHz Vendor=G Skill Intl PartNo=F2-8500CL5-2GBPK SerialNo=0000000000000000
3:282  0:000  SPD[1]: Type 8 @0x51
3:296  0:014  DDR speed 800MHz
3:296  0:000  Slot: 1 Type 19 2048MB 800MHz Vendor=G Skill Intl PartNo=F2-8500CL5-2GBPK SerialNo=0000000000000000
3:297  0:000  SPD[2]: Type 8 @0x52
3:311  0:014  DDR speed 800MHz
3:311  0:000  Slot: 2 Type 19 2048MB 800MHz Vendor=G Skill Intl PartNo=F2-8500CL5-2GBPK SerialNo=0000000000000000
3:312  0:000  SPD[3]: Type 8 @0x53
3:327  0:014  DDR speed 800MHz
3:327  0:000  Slot: 3 Type 19 2048MB 800MHz Vendor=G Skill Intl PartNo=F2-8500CL5-2GBPK SerialNo=0000000000000000
3:327  0:000  === [ GetAcpiTablesList ] =================================
3:327  0:000  Get Acpi Tables List from RSDT:
3:327  0:000   - [00]: FACP  OEMFACP  len=132
3:327  0:000   - [01]: APIC  OEMAPIC  len=108
3:327  0:000   - [02]: MCFG  OEMMCFG  len=60
3:327  0:000   - [03]: OEMB  AMI_OEM  len=137
3:327  0:000   - [04]: HPET  OEMHPET  len=56
3:327  0:000   - [05]: OSFR  OEMOSFR  len=176
3:327  0:000   - [06]: SSDT  CpuPm len=2684
3:327  0:000  === [ GetUserSettings ] ===================================
3:327  0:000  USB FixOwnership: yes
3:327  0:000   - final DSDT Fix mask=00000000
3:327  0:000  EnableC4: yes
3:327  0:000  EnableC2: yes
3:327  0:000  C3Latency: 999
3:327  0:000  MinMultiplier: 6
3:327  0:000  MaxMultiplier: 8
3:327  0:000  ResetAddr: 0xCF9
3:327  0:000  Calc ResetVal: 0x6
3:327  0:000  ResetVal: 0x6
3:327  0:000  ChassisType: 0xD
3:327  0:000  FirmwareFeatures: 0xE907F537
3:327  0:000  PlatformFeature: 0x1
3:327  0:000  Converted CustomUUID 9EE73425-D509-4467-9581-91743221C88E
3:328  0:000  === [ ScanVolumes ] =======================================
3:328  0:000  Found 7 volumes with blockIO
3:328  0:000  - [00]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)
3:328  0:000          Result of bootcode detection: bootable unknown (legacy)
3:328  0:000  - [01]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)
3:328  0:000  - [02]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x3,0x0,0x0)
3:328  0:000          Found optical drive
3:328  0:000  - [03]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,GPT,37CBC476-9882-4946-9EAA-1D98B743AA2C,0x28,0x64000)
3:329  0:000          Result of bootcode detection: bootable Clover (clover)
3:329  0:000          This is SelfVolume !!
3:329  0:000  - [04]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(2,GPT,99249595-DA06-4D03-8DCA-569D6021BD56,0x64028,0x1BD8A540)
3:330  0:000          Result of bootcode detection: bootable unknown (legacy)
3:330  0:000  - [05]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(3,GPT,FB5D9A09-8A39-4BC2-9DB5-8E95676BBFB5,0x1BDEE568,0x135F20)
3:330  0:000  - [06]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)\HD(1,MBR,0x58D76484,0x2,0x3A38602E)
3:330  0:000          Result of bootcode detection: bootable unknown (legacy)
3:330  0:000  Loading nvram.plist from Vol 'EFI' - loaded, size=2377
3:331  0:000  === [ PutNvramPlistToRtVars ] =============================
3:331  0:000   Adding Key: EFIBluetoothDelay: Size = 2, Data: B8 0B 
3:331  0:000   Adding Key: EFILoginHiDPI: Size = 4, Data: 00 00 00 00 
3:331  0:000   Adding Key: LocationServicesEnabled: Size = 1, Data: 01 
3:331  0:000   Adding Key: SystemAudioVolume: Size = 1, Data: 27 
3:331  0:000   Adding Key: SystemAudioVolumeDB: Size = 1, Data: 00 
3:331  0:000   Adding Key: bluetoothActiveControllerInfo: Size = 16, Data: 8D 82 AC 05 00 00 00 00 13 3A B4 18 D1 F3 43 12 
3:331  0:000   Adding Key: bluetoothInternalControllerInfo: Size = 14, Data: 8D 82 AC 05 00 00 13 3A B4 18 D1 F3 43 12 
3:331  0:000   Adding Key: bootercfg: Size = 2, Data: 28 00 
3:331  0:000   Adding Key: csr-active-config: Size = 4, Data: 03 00 00 00 
3:331  0:000   Adding Key: fakesmc-key-#KEY-ui32: Size = 4, Data: 00 00 00 18 
3:331  0:000   Adding Key: fakesmc-key-$Adr-ui32: Size = 4, Data: 00 00 03 00 
3:331  0:000   Adding Key: fakesmc-key-$Num-ui8: Size = 1, Data: 01 
3:331  0:000   Adding Key: fakesmc-key-BATP-flag: Size = 1, Data: 00 
3:331  0:000   Adding Key: fakesmc-key-BEMB-flag: Size = 1, Data: 00 
3:331  0:000   Adding Key: fakesmc-key-BNum-ui8: Size = 1, Data: 00 
3:331  0:000   Adding Key: fakesmc-key-CLKH-{clh: Size = 8, Data: 00 00 70 80 00 01 19 40 
3:331  0:000   Adding Key: fakesmc-key-CLKT-ui32: Size = 4, Data: 00 01 3F 52 
3:331  0:000   Adding Key: fakesmc-key-EPCI-ui32: Size = 4, Data: 07 A0 07 00 
3:331  0:000   Adding Key: fakesmc-key-LSSS-ui16: Size = 2, Data: 02 00 
3:331  0:000   Adding Key: fakesmc-key-MSAc-ui16: Size = 2, Data: 00 00 
3:331  0:000   Adding Key: fakesmc-key-MSDW-ui8: Size = 1, Data: 01 
3:331  0:000   Adding Key: fakesmc-key-MSFW-ui8: Size = 2, Data: 01 00 
3:331  0:000   Adding Key: fakesmc-key-MSLD-ui8: Size = 1, Data: 00 
3:331  0:000   Adding Key: fakesmc-key-MSPS-ui16: Size = 2, Data: 00 03 
3:331  0:000   Adding Key: fakesmc-key-MSTc-ui8: Size = 1, Data: 00 
3:331  0:000   Adding Key: fakesmc-key-MSWr-ui8: Size = 1, Data: 00 
3:331  0:000   Adding Key: fakesmc-key-NATJ-ui8: Size = 1, Data: 02 
3:331  0:000   Adding Key: fakesmc-key-NATi-ui16: Size = 2, Data: 00 1E 
3:331  0:000   Adding Key: fakesmc-key-NTOK-ui8: Size = 1, Data: 01 
3:331  0:000   Adding Key: fakesmc-key-RBr -ch8*: Size = 8, Data: 6A 31 36 6A 31 37 00 00 
3:331  0:000   Adding Key: fakesmc-key-REV -ch8*: Size = 6, Data: 02 15 0F 00 00 07 
3:331  0:000   Adding Key: fakesmc-key-RMde-char: Size = 1, Data: 41 
3:331  0:000   Adding Key: fakesmc-key-RPlt-ch8*: Size = 8, Data: 6A 31 37 00 00 00 00 00 
3:331  0:000   Adding Key: flagstate: Size = 32, Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
3:331  0:000   Adding Key: fmm-computer-name: Size = 4, Data: 4B 32 53 4F 
3:331  0:000   Adding Key: prev-lang:kbd: Size = 4, Data: 66 72 3A 30 
3:331  0:000   Adding Key: security-mode: String: Size = 4, Val = 'none'
3:331  0:000  === [ InitTheme ] =========================================
3:332  0:000  Using theme 'bootcamp' (EFI\CLOVER\themes\bootcamp)
3:333  0:001  Loading font from ThemeDir: Success
3:333  0:000  Choosing theme bootcamp
3:333  0:000  after NVRAM boot-args=
3:333  0:000  === [ Dump SMC keys from NVRAM ] ==========================
3:333  0:000  found AppleSMC protocol
3:333  0:000  === [ ScanLoader ] ========================================
3:333  0:000  - [03]: 'EFI'
3:334  0:001  - [04]: 'Macintosh SSD'
3:336  0:001          AddLoaderEntry for Volume Name=Macintosh SSD
3:337  0:001      hibernated: set as never
3:343  0:005  - [05]: 'Recovery HD'
3:343  0:000          AddLoaderEntry for Volume Name=Recovery HD
3:345  0:001  === [ AddCustomTool ] =====================================
3:346  0:000  === [ GetEfiBootDeviceFromNvram ] =========================
3:346  0:000   - found entry 0. 'Boot macOS from Macintosh SSD', Volume 'Macintosh SSD', DevicePath 'PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(2,GPT,99249595-DA06-4D03-8DCA-569D6021BD56,0x64028,0x1BD8A540)\System\Library\CoreServices\boot.efii'
3:346  0:000  DefaultIndex=0 and MainMenu.EntryCount=6
3:465  0:119  GUI ready
14:144  10:679  BootVariable of the entry is empty
14:144  0:000  === [ StartLoader ] =======================================
14:144  0:000  Finally: Bus=400000kHz CPU=3200MHz
14:144  0:000  QPI: disable table132
14:144  0:000  Loading boot.efi  status=Success
14:192  0:047  GetOSVersion: 10.12.5 (16F73)
14:192  0:000  CSR_CFG: CSR_ALLOW_UNTRUSTED_KEXTS | CSR_ALLOW_UNRESTRICTED_FS
14:192  0:000  Filtering KextPatches:
14:192  0:000   - [00]: IOAHCIBlockStorage (activation TRIM) :: BinPatch :: [OS: 10.12.5 | MatchOS: All | MatchBuild: All] ==> allowed
14:192  0:000   - [01]: AppleHDA (AD2000B dans AppleHDA) :: BinPatch :: [OS: 10.12.5 | MatchOS: All | MatchBuild: All] ==> allowed
14:192  0:000   - [02]: AppleHDA (suppression logs AppleHDA) :: BinPatch :: [OS: 10.12.5 | MatchOS: All | MatchBuild: All] ==> allowed
14:192  0:000  === [ PatchSmbios ] =======================================
14:192  0:000  MaxSpeed(1): 3200 MHz
14:192  0:000  ExternalClock: 400 MHz
14:192  0:000  insert table 9 for dev 0:0
14:192  0:000  insert table 9 for dev 0:1
14:192  0:000  insert table 9 for dev 0:0
14:192  0:000  insert table 9 for dev 0:0
14:192  0:000  insert table 9 for dev 3:0
14:193  0:000  Trusting SMBIOS...
14:193  0:000  Channels: 2
14:193  0:000  Interleave: 0 2 1 3 4 6 5 7 8 10 9 11 12 14 13 15 16 18 17 19 20 22 21 23
14:193  0:000   partNum=ModulePartNumber00
14:193  0:000  SMBIOS Type 17 Index = 0 => 0 0:
14:193  0:000  BANK 0 DIMM0 1066MHz 2048MB
14:193  0:000   partNum=ModulePartNumber02
14:193  0:000  SMBIOS Type 17 Index = 1 => 2 2:
14:193  0:000  BANK 1 DIMM0 1066MHz 2048MB
14:193  0:000   partNum=ModulePartNumber01
14:193  0:000  SMBIOS Type 17 Index = 2 => 1 1:
14:193  0:000  BANK 0 DIMM1 1066MHz 2048MB
14:193  0:000   partNum=ModulePartNumber03
14:193  0:000  SMBIOS Type 17 Index = 3 => 3 3:
14:193  0:000  BANK 1 DIMM1 1066MHz 2048MB
14:193  0:000  mTotalSystemMemory = 8192
14:193  0:000  NumberOfMemoryDevices = 4
14:193  0:000  Type20[0]->End = 0x1FFFFF, Type17[0] = 0x800
14:193  0:000  Type20[1]->End = 0x40FFFF, Type17[2] = 0x2000
14:193  0:000  Type20[2]->End = 0x40FFFF, Type17[3] = 0x4000
14:193  0:000  Disabled SetTable132
14:193  0:000  === [ PatchACPI ] =========================================
14:193  0:000  RSDT 0xDFF70000
14:193  0:000  FADT from RSDT: 0xDFF70200
14:193  0:000  XSDT 0xDFF70100
14:193  0:000  FADT from XSDT: 0xDFF70290
14:193  0:000  Xsdt reallocation done
14:193  0:000  old FADT length=F4
14:193  0:000  DSDT found in Clover volume OEM folder: EFI\CLOVER\ACPI\patched\DSDT.aml
14:194  0:000  Apply DsdtFixMask=0x00000000
14:194  0:000     drop _DSM mask=0x0000
14:194  0:000  === [ FixBiosDsdt ] =======================================
14:194  0:000  VideoCard devID=0x128410DE
14:194  0:000  DisplayADR1[0] = 0x10000, DisplayADR2[0] = 0x0
14:194  0:000  USBADR[0] = 0x1A0000 and PCIe = 0xFFFE
14:194  0:000  USBADR[1] = 0x1A0001 and PCIe = 0xFFFE
14:194  0:000  USBADR[2] = 0x1A0002 and PCIe = 0xFFFE
14:194  0:000  USBADR[3] = 0x1A0007 and PCIe = 0xFFFE
14:194  0:000  Found Airport BCM at 0x1C0000, 0x0
14:194  0:000  USBADR[4] = 0x1C0002 and PCIe = 0x0
14:194  0:000  USBADR[5] = 0x1D0000 and PCIe = 0xFFFE
14:194  0:000  USBADR[6] = 0x1D0001 and PCIe = 0xFFFE
14:194  0:000  USBADR[7] = 0x1D0002 and PCIe = 0xFFFE
14:194  0:000  USBADR[8] = 0x1D0007 and PCIe = 0xFFFE
14:194  0:000  first CPU found at 2A offset 2D
14:194  0:000  score candidate at 26
14:194  0:000  score inserted in acpi_cpu_score _PR_
14:194  0:000  Found ACPI CPU: CPU0 | CPU1 | CPU2 | CPU3 , within the score: _PR_
14:194  0:000  Found PCIROOTUID = 0
14:194  0:000  === [ ACPIDropTables ] ====================================
14:194  0:000  === [ DropSSDT ] ==========================================
14:194  0:000  Drop tables from Xsdt, SIGN=SSDT TableID= Length=0
14:194  0:000   Xsdt has tables count=7
14:194  0:000   Table: SSDT  CpuPm  2684 dropped
14:194  0:000  CPUBase=0 and ApicCPUBase=1 ApicCPUNum=4
14:194  0:000  Initial control=0x600081F
14:194  0:000  Maximum control=0x81F
14:194  0:000  UnderVoltStep=0
14:194  0:000  PLimitDict=0
14:194  0:000  PStates count=5
14:194  0:000  SSDT with CPU P-States generated successfully
14:194  0:000  SSDT with CPU C-States generated successfully
14:194  0:000  === [ RestSetup macOS ] ===================================
14:194  0:000  EdidDiscovered size=128
14:194  0:000  ------- EDID Table
14:194  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  4C  2D
14:194  0:000  010  |  7F  02  32  32  45  4D  06  11  01  03
14:194  0:000  020  |  80  2F  1E  78  2A  D5  15  A4  55  49
14:194  0:000  030  |  9A  27  14  50  54  BF  EF  80  B3  00
14:194  0:000  040  |  81  80  81  40  71  4F  01  01  01  01
14:194  0:000  050  |  01  01  01  01  7C  2E  90  A0  60  1A
14:194  0:000  060  |  1E  40  30  20  36  00  DA  28  11  00
14:194  0:000  070  |  00  1A  00  00  00  FD  00  38  4B  1E
14:194  0:000  080  |  51  0E  00  0A  20  20  20  20  20  20
14:194  0:000  090  |  00  00  00  FC  00  53  79  6E  63  4D
14:194  0:000  100  |  61  73  74  65  72  0A  20  20  00  00
14:194  0:000  110  |  00  FF  00  48  53  41  50  32  30  31
14:194  0:000  120  |  35  35  34  0A  20  20  00  5B
14:194  0:000  NVidia GFX injection not set
14:195  0:000  stringlength = 3450
14:195  0:000  CurrentMode: Width=1680 Height=1050
14:195  0:000  Beginning FSInjection
FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: DE441A98
FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: DE441A98
14:196  0:000  Use origin smbios table type 1 guid.
14:196  0:000  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other
14:196  0:000  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.12
14:196  0:000    Extra kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext
14:201  0:004      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\HWInfo.kext
14:203  0:001      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\IntelCPUMonitor.kext
14:204  0:001      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\W836x.kext
14:207  0:003    Extra kext: EFI\CLOVER\kexts\10.12\Marvell88E8056.kext
14:209  0:001  Custom boot is disabled
14:209  0:000  Closing log

@Sherlocks :

I looked in clover wiki and i still don't understand what you mean by setting BusSpeedkHz = 400,000.

Shouldn't it be 400000 or 1600000 ?

Link to comment
Share on other sites

@ Sherlocks:

With RC2 and nothing in CPU section, i've got hw.busfrequency: 1600000000 and :

0:100  0:100  MemLog inited, TSC freq: 31998790290:100  0:000  LegacyRegion2: Chipset/proc: 0x2E2080860:100  0:000   Intel Series 4 and similar (PAM 0x90-0x96)0:100  0:000   Test PAM1=(0x41=90, 0x5a=00, 0x81=00, 0x91=11) at chipset 2E2080860:100  0:000  , Install = Success0:109  0:009  BiosVideoDriverBindingStart!0:109  0:000  BiosVideoCheckForVbe0:109  0:000  EdidOverride not found0:170  0:060   Edid1-0:190  0:020   Edid0+0:190  0:000   found Detail Timing 1680x10500:235  0:044     0 640x480 attr=3BF - ok, edid+, 640x480, working, highest, pref=00:236  0:001     1 800x600 attr=3BF - ok, edid+, 800x600, working, highest, pref=10:238  0:001     2 1024x768 attr=3BF - ok, edid+, 1024x768, working, highest, pref=20:239  0:001     3 1280x1024 attr=3BF - ok, edid+, working, highest, pref=30:249  0:009     4 1680x1050 attr=3BF - ok, edid+, working, highest, pref=40:250  0:001     5 1280x800 attr=3BF - ok, edid-0:250  0:000  BV new mode: 4 1680x10500:543  0:292   SetMode pref 4 (4) = Success3:103  2:560  3:103  0:000  Now is 1.7.2017,  21:58:16 (GMT)3:103  0:000  Starting Clover revision: 4101 on CLOVER EFI3:103  0:000  Build with: [Args: -mc --no-usb -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -t XCODE8 | -D DISABLE_USB_SUPPORT -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE8 -n 5 | OS: 10.12.6 | XCODE: 8.3.3]3:103  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,GPT,37CBC476-9882-4946-9EAA-1D98B743AA2C,0x28,0x64000) @DE441D983:103  0:000  SelfDirPath = \EFI\CLOVER3:103  0:000  === [ Get Smbios ] ========================================3:103  0:000  Type 16 Index = 03:103  0:000  Total Memory Slots Count = 43:103  0:000  Type 17 Index = 03:103  0:000  SmbiosTable.Type17->Speed = 1066MHz3:103  0:000  SmbiosTable.Type17->Size = 2048MB3:103  0:000  SmbiosTable.Type17->Bank/Device = BANK0 DIMM03:103  0:000  SmbiosTable.Type17->Vendor = Manufacturer003:103  0:000  SmbiosTable.Type17->SerialNumber = SerNum003:103  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber003:103  0:000  Type 17 Index = 13:103  0:000  SmbiosTable.Type17->Speed = 1066MHz3:103  0:000  SmbiosTable.Type17->Size = 2048MB3:103  0:000  SmbiosTable.Type17->Bank/Device = BANK1 DIMM13:103  0:000  SmbiosTable.Type17->Vendor = Manufacturer013:103  0:000  SmbiosTable.Type17->SerialNumber = SerNum013:103  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber013:103  0:000  Type 17 Index = 23:103  0:000  SmbiosTable.Type17->Speed = 1066MHz3:103  0:000  SmbiosTable.Type17->Size = 2048MB3:103  0:000  SmbiosTable.Type17->Bank/Device = BANK2 DIMM23:103  0:000  SmbiosTable.Type17->Vendor = Manufacturer023:103  0:000  SmbiosTable.Type17->SerialNumber = SerNum023:103  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber023:103  0:000  Type 17 Index = 33:103  0:000  SmbiosTable.Type17->Speed = 1066MHz3:103  0:000  SmbiosTable.Type17->Size = 2048MB3:103  0:000  SmbiosTable.Type17->Bank/Device = BANK3 DIMM33:103  0:000  SmbiosTable.Type17->Vendor = Manufacturer033:103  0:000  SmbiosTable.Type17->SerialNumber = SerNum033:103  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber033:103  0:000  Boot status=03:103  0:000  Running on: 'System Product Name' with board 'P5Q DELUXE'3:103  0:000  === [ GetCPUProperties ] ==================================3:103  0:000  CPU Vendor = 756E6547 Model=1067A3:103  0:000   The CPU supported SSE4.13:103  0:000  got cores from CPUID_1 = 43:103  0:000  The CPU not supported turbo3:103  0:000  BrandString = Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz3:103  0:000   Calibrated TSCFrequency =3199879029 =3199MHz3:103  0:000  MSR dumps:3:103  0:000  	@0x00CD=80000A043:103  0:000  	@0x0198=616081F0600081F3:103  0:000  QPI(1)ExternalClock: 400 MHz3:103  0:000  Take FSB: 475000 kHz3:103  0:000  FSBFrequency = 475 MHz, DMI FSBFrequency = 400 MHz, 3:103  0:000  (2)FSBFrequency : 400 MHz3:103  0:000  Corrected FSBFrequency = 400 MHz3:103  0:000  PIS(1): 400 MHz3:103  0:000  PIS(2): 1600000 kHz3:103  0:000  PIS(3): 1600 MHz3:103  0:000  MaxSpeed(1): 3200 MHz3:103  0:000  MaxDiv/MinDiv: 8.0/63:103  0:000  Turbo: 9/0/0/03:103  0:000  Features: 0xBFEBFBFF3:103  0:000  Threads: 43:103  0:000  Cores: 43:103  0:000  FSB: 400 MHz3:103  0:000  CPU: 3800 MHz3:103  0:000  TSC: 3800 MHz3:103  0:000  PIS: 1600 MHz3:103  0:000  ExternalClock: 400 MHz3:103  0:000  === [ GetDevices ] ========================================3:103  0:000  PCI (00|00:00.00) : 8086 2E20 class=0600003:103  0:000  PCI (00|00:01.00) : 8086 2E21 class=0604003:103  0:000  PCI (00|01:00.00) : 10DE 1284 class=0300003:103  0:000   - GFX: Model=Asus GeForce GT 630 family 108 (Nvidia)3:103  0:000  PCI (00|01:00.01) : 10DE 0E0F class=0403003:103  0:000   - HDMI Audio: 3:103  0:000  PCI (00|00:1A.00) : 8086 3A37 class=0C03003:103  0:000  PCI (00|00:1A.01) : 8086 3A38 class=0C03003:103  0:000  PCI (00|00:1A.02) : 8086 3A39 class=0C03003:103  0:000  PCI (00|00:1A.07) : 8086 3A3C class=0C03203:103  0:000  PCI (00|00:1B.00) : 8086 3A3E class=0403003:103  0:000  PCI (00|00:1C.00) : 8086 3A40 class=0604003:103  0:000  PCI (00|04:00.00) : 14E4 43A0 class=0280003:103  0:000   - WIFI: Vendor=Broadcom3:103  0:000  PCI (00|00:1C.02) : 8086 3A44 class=0604003:103  0:000  PCI (00|03:00.00) : 1B73 1100 class=0C03303:103  0:000  PCI (00|00:1C.05) : 8086 3A4A class=0604003:103  0:000  PCI (00|02:00.00) : 11AB 4364 class=0200003:103  0:000   - LAN: 0 Vendor=Marvell3:103  0:000  PCI (00|00:1D.00) : 8086 3A34 class=0C03003:103  0:000  PCI (00|00:1D.01) : 8086 3A35 class=0C03003:104  0:000  PCI (00|00:1D.02) : 8086 3A36 class=0C03003:104  0:000  PCI (00|00:1D.07) : 8086 3A3A class=0C03203:104  0:000  PCI (00|00:1E.00) : 8086 244E class=0604013:104  0:000  PCI (00|05:03.00) : 11C1 5811 class=0C00103:104  0:000  PCI (00|00:1F.00) : 8086 3A16 class=0601003:104  0:000  PCI (00|00:1F.02) : 8086 3A22 class=0106013:104  0:000  PCI (00|00:1F.03) : 8086 3A30 class=0C05003:104  0:000  === [ GetDefaultSettings ] ================================3:104  0:000  Clover load options size = 0 bytes3:106  0:002  EFI\CLOVER\config.plist loaded: Success3:106  0:000  === [ GetListOfThemes ] ===================================3:106  0:000  - [00]: embedded3:108  0:001  - [00]: random3:108  0:000  - [00]: bootcamp3:111  0:003  === [ Found config plists ] ===============================3:111  0:000  - config.plist3:112  0:000  === [ GetEarlyUserSettings ] ==============================3:112  0:000  timeout set to 53:112  0:000  Custom boot CUSTOM_BOOT_DISABLED (0x0)3:112  0:000  KextsToPatch: 3 requested3:112  0:000   - [00]: IOAHCIBlockStorage (activation TRIM) :: BinPatch :: data len: 113:112  0:000   - [01]: AppleHDA (AD2000B dans AppleHDA) :: BinPatch :: data len: 43:112  0:000   - [02]: AppleHDA (suppression logs AppleHDA) :: BinPatch :: data len: 163:112  0:000  Default theme: bootcamp3:112  0:000  === [ LoadDrivers ] =======================================3:113  0:000  Loading AppleImageCodec-64.efi  status=Success3:114  0:000  Loading AppleKeyAggregator-64.efi  status=Success3:114  0:000  Loading AppleUITheme-64.efi  status=Success3:114  0:000  Loading FirmwareVolume-64.efi  status=Success3:114  0:000  Loading FSInject-64.efi  status=Success3:114  0:000  Loading SMCHelper-64.efi  status=Success3:114  0:000  Loading HFSPlus-64.efi  status=Success3:115  0:001   - driver needs connecting3:115  0:000  Loading XhciDxe-64.efi  status=Success3:116  0:000   - driver needs connecting3:116  0:000  2 drivers needs connecting ...3:116  0:000  PlatformDriverOverrideProtocol->GetDriver overriden3:116  0:000  HFS+ driver loaded3:125  0:009  PciIo started3:125  0:000  HcDevicePath found3:125  0:000  attribute saved=7003:125  0:000  attribute supports=8700 Status=Success3:125  0:000  device enable status=Success3:125  0:000  Create USB2HC3:125  0:000  will not apply workaround to test, N=83:125  0:000  Xhc HCI version=03:125  0:000  PageSize = 13:125  0:000  XhcCreateUsb3Hc: Capability length 0x803:125  0:000  XhcCreateUsb3Hc: ExtCapRegBase 0x80003:125  0:000  XhcCreateUsb3Hc: HcSParams1 0x80008203:125  0:000  XhcCreateUsb3Hc: HcSParams2 0xFC0000543:125  0:000  XhcCreateUsb3Hc: HcCParams 0x200071E13:125  0:000  XhcCreateUsb3Hc: DBOff 0x30003:125  0:000  XhcCreateUsb3Hc: RTSOff 0x20003:125  0:000  XhcCreateUsb3Hc: UsbLegSupOffset 0x3303:125  0:000  XhcCreateUsb3Hc: DebugCapSupOffset 0x3403:125  0:000  XhcIntelQuirks3:125  0:000  XhcResetHC3:127  0:002  Initialize the schedule3:127  0:000  Start the Host Controller3:127  0:000  XhcDriverBindingStart: XHCI started for controller @ DF4DF3183:226  0:098  XhcReset: status Success3:226  0:000  XhcGetState: current state 03:226  0:000  XhcSetState: status Success3:226  0:000  XhcGetCapability: 8 ports, 64 bit capable=13:266  0:039  === [ InitScreen ] ========================================3:266  0:000  Console modes reported: 4, available modes:3:266  0:000   - [01]: 80x253:266  0:000   - [02]: 80x503:266  0:000   - [03]: 100x313:266  0:000   - [04]: 210x55 (current mode)3:266  0:000  SetScreenResolution: 1680x1050 - already set3:266  0:000  reinit: self device path=PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,GPT,37CBC476-9882-4946-9EAA-1D98B743AA2C,0x28,0x64000)3:266  0:000  === [ GetMacAddress ] =====================================3:266  0:000  === [ ScanSPD ] ===========================================3:266  0:000  SMBus device : 8086 3A30 class=0C0500 status=Success3:266  0:000  SMBus CmdReg: 0x33:266  0:000  Scanning SMBus [8086:3A30], mmio: 0xFCFFF404, ioport: 0x400, hostc: 0x13:266  0:000  Slots to scan [8]...3:267  0:000  SPD[0]: Type 8 @0x503:281  0:014  DDR speed 800MHz3:281  0:000  Slot: 0 Type 19 2048MB 800MHz Vendor=G Skill Intl PartNo=F2-8500CL5-2GBPK SerialNo=00000000000000003:282  0:000  SPD[1]: Type 8 @0x513:296  0:014  DDR speed 800MHz3:296  0:000  Slot: 1 Type 19 2048MB 800MHz Vendor=G Skill Intl PartNo=F2-8500CL5-2GBPK SerialNo=00000000000000003:297  0:000  SPD[2]: Type 8 @0x523:311  0:014  DDR speed 800MHz3:311  0:000  Slot: 2 Type 19 2048MB 800MHz Vendor=G Skill Intl PartNo=F2-8500CL5-2GBPK SerialNo=00000000000000003:312  0:000  SPD[3]: Type 8 @0x533:327  0:014  DDR speed 800MHz3:327  0:000  Slot: 3 Type 19 2048MB 800MHz Vendor=G Skill Intl PartNo=F2-8500CL5-2GBPK SerialNo=00000000000000003:327  0:000  === [ GetAcpiTablesList ] =================================3:327  0:000  Get Acpi Tables List from RSDT:3:327  0:000   - [00]: FACP  OEMFACP  len=1323:327  0:000   - [01]: APIC  OEMAPIC  len=1083:327  0:000   - [02]: MCFG  OEMMCFG  len=603:327  0:000   - [03]: OEMB  AMI_OEM  len=1373:327  0:000   - [04]: HPET  OEMHPET  len=563:327  0:000   - [05]: OSFR  OEMOSFR  len=1763:327  0:000   - [06]: SSDT  CpuPm len=26843:327  0:000  === [ GetUserSettings ] ===================================3:327  0:000  USB FixOwnership: yes3:327  0:000   - final DSDT Fix mask=000000003:327  0:000  EnableC4: yes3:327  0:000  EnableC2: yes3:327  0:000  C3Latency: 9993:327  0:000  MinMultiplier: 63:327  0:000  MaxMultiplier: 83:327  0:000  ResetAddr: 0xCF93:327  0:000  Calc ResetVal: 0x63:327  0:000  ResetVal: 0x63:327  0:000  ChassisType: 0xD3:327  0:000  FirmwareFeatures: 0xE907F5373:327  0:000  PlatformFeature: 0x13:327  0:000  Converted CustomUUID 9EE73425-D509-4467-9581-91743221C88E3:328  0:000  === [ ScanVolumes ] =======================================3:328  0:000  Found 7 volumes with blockIO3:328  0:000  - [00]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)3:328  0:000          Result of bootcode detection: bootable unknown (legacy)3:328  0:000  - [01]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)3:328  0:000  - [02]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x3,0x0,0x0)3:328  0:000          Found optical drive3:328  0:000  - [03]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,GPT,37CBC476-9882-4946-9EAA-1D98B743AA2C,0x28,0x64000)3:329  0:000          Result of bootcode detection: bootable Clover (clover)3:329  0:000          This is SelfVolume !!3:329  0:000  - [04]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(2,GPT,99249595-DA06-4D03-8DCA-569D6021BD56,0x64028,0x1BD8A540)3:330  0:000          Result of bootcode detection: bootable unknown (legacy)3:330  0:000  - [05]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(3,GPT,FB5D9A09-8A39-4BC2-9DB5-8E95676BBFB5,0x1BDEE568,0x135F20)3:330  0:000  - [06]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)\HD(1,MBR,0x58D76484,0x2,0x3A38602E)3:330  0:000          Result of bootcode detection: bootable unknown (legacy)3:330  0:000  Loading nvram.plist from Vol 'EFI' - loaded, size=23773:331  0:000  === [ PutNvramPlistToRtVars ] =============================3:331  0:000   Adding Key: EFIBluetoothDelay: Size = 2, Data: B8 0B 3:331  0:000   Adding Key: EFILoginHiDPI: Size = 4, Data: 00 00 00 00 3:331  0:000   Adding Key: LocationServicesEnabled: Size = 1, Data: 01 3:331  0:000   Adding Key: SystemAudioVolume: Size = 1, Data: 27 3:331  0:000   Adding Key: SystemAudioVolumeDB: Size = 1, Data: 00 3:331  0:000   Adding Key: bluetoothActiveControllerInfo: Size = 16, Data: 8D 82 AC 05 00 00 00 00 13 3A B4 18 D1 F3 43 12 3:331  0:000   Adding Key: bluetoothInternalControllerInfo: Size = 14, Data: 8D 82 AC 05 00 00 13 3A B4 18 D1 F3 43 12 3:331  0:000   Adding Key: bootercfg: Size = 2, Data: 28 00 3:331  0:000   Adding Key: csr-active-config: Size = 4, Data: 03 00 00 00 3:331  0:000   Adding Key: fakesmc-key-#KEY-ui32: Size = 4, Data: 00 00 00 18 3:331  0:000   Adding Key: fakesmc-key-$Adr-ui32: Size = 4, Data: 00 00 03 00 3:331  0:000   Adding Key: fakesmc-key-$Num-ui8: Size = 1, Data: 01 3:331  0:000   Adding Key: fakesmc-key-BATP-flag: Size = 1, Data: 00 3:331  0:000   Adding Key: fakesmc-key-BEMB-flag: Size = 1, Data: 00 3:331  0:000   Adding Key: fakesmc-key-BNum-ui8: Size = 1, Data: 00 3:331  0:000   Adding Key: fakesmc-key-CLKH-{clh: Size = 8, Data: 00 00 70 80 00 01 19 40 3:331  0:000   Adding Key: fakesmc-key-CLKT-ui32: Size = 4, Data: 00 01 3F 52 3:331  0:000   Adding Key: fakesmc-key-EPCI-ui32: Size = 4, Data: 07 A0 07 00 3:331  0:000   Adding Key: fakesmc-key-LSSS-ui16: Size = 2, Data: 02 00 3:331  0:000   Adding Key: fakesmc-key-MSAc-ui16: Size = 2, Data: 00 00 3:331  0:000   Adding Key: fakesmc-key-MSDW-ui8: Size = 1, Data: 01 3:331  0:000   Adding Key: fakesmc-key-MSFW-ui8: Size = 2, Data: 01 00 3:331  0:000   Adding Key: fakesmc-key-MSLD-ui8: Size = 1, Data: 00 3:331  0:000   Adding Key: fakesmc-key-MSPS-ui16: Size = 2, Data: 00 03 3:331  0:000   Adding Key: fakesmc-key-MSTc-ui8: Size = 1, Data: 00 3:331  0:000   Adding Key: fakesmc-key-MSWr-ui8: Size = 1, Data: 00 3:331  0:000   Adding Key: fakesmc-key-NATJ-ui8: Size = 1, Data: 02 3:331  0:000   Adding Key: fakesmc-key-NATi-ui16: Size = 2, Data: 00 1E 3:331  0:000   Adding Key: fakesmc-key-NTOK-ui8: Size = 1, Data: 01 3:331  0:000   Adding Key: fakesmc-key-RBr -ch8*: Size = 8, Data: 6A 31 36 6A 31 37 00 00 3:331  0:000   Adding Key: fakesmc-key-REV -ch8*: Size = 6, Data: 02 15 0F 00 00 07 3:331  0:000   Adding Key: fakesmc-key-RMde-char: Size = 1, Data: 41 3:331  0:000   Adding Key: fakesmc-key-RPlt-ch8*: Size = 8, Data: 6A 31 37 00 00 00 00 00 3:331  0:000   Adding Key: flagstate: Size = 32, Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3:331  0:000   Adding Key: fmm-computer-name: Size = 4, Data: 4B 32 53 4F 3:331  0:000   Adding Key: prev-lang:kbd: Size = 4, Data: 66 72 3A 30 3:331  0:000   Adding Key: security-mode: String: Size = 4, Val = 'none'3:331  0:000  === [ InitTheme ] =========================================3:332  0:000  Using theme 'bootcamp' (EFI\CLOVER\themes\bootcamp)3:333  0:001  Loading font from ThemeDir: Success3:333  0:000  Choosing theme bootcamp3:333  0:000  after NVRAM boot-args=3:333  0:000  === [ Dump SMC keys from NVRAM ] ==========================3:333  0:000  found AppleSMC protocol3:333  0:000  === [ ScanLoader ] ========================================3:333  0:000  - [03]: 'EFI'3:334  0:001  - [04]: 'Macintosh SSD'3:336  0:001          AddLoaderEntry for Volume Name=Macintosh SSD3:337  0:001      hibernated: set as never3:343  0:005  - [05]: 'Recovery HD'3:343  0:000          AddLoaderEntry for Volume Name=Recovery HD3:345  0:001  === [ AddCustomTool ] =====================================3:346  0:000  === [ GetEfiBootDeviceFromNvram ] =========================3:346  0:000   - found entry 0. 'Boot macOS from Macintosh SSD', Volume 'Macintosh SSD', DevicePath 'PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(2,GPT,99249595-DA06-4D03-8DCA-569D6021BD56,0x64028,0x1BD8A540)\System\Library\CoreServices\boot.efii'3:346  0:000  DefaultIndex=0 and MainMenu.EntryCount=63:465  0:119  GUI ready14:144  10:679  BootVariable of the entry is empty14:144  0:000  === [ StartLoader ] =======================================14:144  0:000  Finally: Bus=400000kHz CPU=3200MHz14:144  0:000  QPI: disable table13214:144  0:000  Loading boot.efi  status=Success14:192  0:047  GetOSVersion: 10.12.5 (16F73)14:192  0:000  CSR_CFG: CSR_ALLOW_UNTRUSTED_KEXTS | CSR_ALLOW_UNRESTRICTED_FS14:192  0:000  Filtering KextPatches:14:192  0:000   - [00]: IOAHCIBlockStorage (activation TRIM) :: BinPatch :: [OS: 10.12.5 | MatchOS: All | MatchBuild: All] ==> allowed14:192  0:000   - [01]: AppleHDA (AD2000B dans AppleHDA) :: BinPatch :: [OS: 10.12.5 | MatchOS: All | MatchBuild: All] ==> allowed14:192  0:000   - [02]: AppleHDA (suppression logs AppleHDA) :: BinPatch :: [OS: 10.12.5 | MatchOS: All | MatchBuild: All] ==> allowed14:192  0:000  === [ PatchSmbios ] =======================================14:192  0:000  MaxSpeed(1): 3200 MHz14:192  0:000  ExternalClock: 400 MHz14:192  0:000  insert table 9 for dev 0:014:192  0:000  insert table 9 for dev 0:114:192  0:000  insert table 9 for dev 0:014:192  0:000  insert table 9 for dev 0:014:192  0:000  insert table 9 for dev 3:014:193  0:000  Trusting SMBIOS...14:193  0:000  Channels: 214:193  0:000  Interleave: 0 2 1 3 4 6 5 7 8 10 9 11 12 14 13 15 16 18 17 19 20 22 21 2314:193  0:000   partNum=ModulePartNumber0014:193  0:000  SMBIOS Type 17 Index = 0 => 0 0:14:193  0:000  BANK 0 DIMM0 1066MHz 2048MB14:193  0:000   partNum=ModulePartNumber0214:193  0:000  SMBIOS Type 17 Index = 1 => 2 2:14:193  0:000  BANK 1 DIMM0 1066MHz 2048MB14:193  0:000   partNum=ModulePartNumber0114:193  0:000  SMBIOS Type 17 Index = 2 => 1 1:14:193  0:000  BANK 0 DIMM1 1066MHz 2048MB14:193  0:000   partNum=ModulePartNumber0314:193  0:000  SMBIOS Type 17 Index = 3 => 3 3:14:193  0:000  BANK 1 DIMM1 1066MHz 2048MB14:193  0:000  mTotalSystemMemory = 819214:193  0:000  NumberOfMemoryDevices = 414:193  0:000  Type20[0]->End = 0x1FFFFF, Type17[0] = 0x80014:193  0:000  Type20[1]->End = 0x40FFFF, Type17[2] = 0x200014:193  0:000  Type20[2]->End = 0x40FFFF, Type17[3] = 0x400014:193  0:000  Disabled SetTable13214:193  0:000  === [ PatchACPI ] =========================================14:193  0:000  RSDT 0xDFF7000014:193  0:000  FADT from RSDT: 0xDFF7020014:193  0:000  XSDT 0xDFF7010014:193  0:000  FADT from XSDT: 0xDFF7029014:193  0:000  Xsdt reallocation done14:193  0:000  old FADT length=F414:193  0:000  DSDT found in Clover volume OEM folder: EFI\CLOVER\ACPI\patched\DSDT.aml14:194  0:000  Apply DsdtFixMask=0x0000000014:194  0:000     drop _DSM mask=0x000014:194  0:000  === [ FixBiosDsdt ] =======================================14:194  0:000  VideoCard devID=0x128410DE14:194  0:000  DisplayADR1[0] = 0x10000, DisplayADR2[0] = 0x014:194  0:000  USBADR[0] = 0x1A0000 and PCIe = 0xFFFE14:194  0:000  USBADR[1] = 0x1A0001 and PCIe = 0xFFFE14:194  0:000  USBADR[2] = 0x1A0002 and PCIe = 0xFFFE14:194  0:000  USBADR[3] = 0x1A0007 and PCIe = 0xFFFE14:194  0:000  Found Airport BCM at 0x1C0000, 0x014:194  0:000  USBADR[4] = 0x1C0002 and PCIe = 0x014:194  0:000  USBADR[5] = 0x1D0000 and PCIe = 0xFFFE14:194  0:000  USBADR[6] = 0x1D0001 and PCIe = 0xFFFE14:194  0:000  USBADR[7] = 0x1D0002 and PCIe = 0xFFFE14:194  0:000  USBADR[8] = 0x1D0007 and PCIe = 0xFFFE14:194  0:000  first CPU found at 2A offset 2D14:194  0:000  score candidate at 2614:194  0:000  score inserted in acpi_cpu_score _PR_14:194  0:000  Found ACPI CPU: CPU0 | CPU1 | CPU2 | CPU3 , within the score: _PR_14:194  0:000  Found PCIROOTUID = 014:194  0:000  === [ ACPIDropTables ] ====================================14:194  0:000  === [ DropSSDT ] ==========================================14:194  0:000  Drop tables from Xsdt, SIGN=SSDT TableID= Length=014:194  0:000   Xsdt has tables count=714:194  0:000   Table: SSDT  CpuPm  2684 dropped14:194  0:000  CPUBase=0 and ApicCPUBase=1 ApicCPUNum=414:194  0:000  Initial control=0x600081F14:194  0:000  Maximum control=0x81F14:194  0:000  UnderVoltStep=014:194  0:000  PLimitDict=014:194  0:000  PStates count=514:194  0:000  SSDT with CPU P-States generated successfully14:194  0:000  SSDT with CPU C-States generated successfully14:194  0:000  === [ RestSetup macOS ] ===================================14:194  0:000  EdidDiscovered size=12814:194  0:000  ------- EDID Table14:194  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  4C  2D14:194  0:000  010  |  7F  02  32  32  45  4D  06  11  01  0314:194  0:000  020  |  80  2F  1E  78  2A  D5  15  A4  55  4914:194  0:000  030  |  9A  27  14  50  54  BF  EF  80  B3  0014:194  0:000  040  |  81  80  81  40  71  4F  01  01  01  0114:194  0:000  050  |  01  01  01  01  7C  2E  90  A0  60  1A14:194  0:000  060  |  1E  40  30  20  36  00  DA  28  11  0014:194  0:000  070  |  00  1A  00  00  00  FD  00  38  4B  1E14:194  0:000  080  |  51  0E  00  0A  20  20  20  20  20  2014:194  0:000  090  |  00  00  00  FC  00  53  79  6E  63  4D14:194  0:000  100  |  61  73  74  65  72  0A  20  20  00  0014:194  0:000  110  |  00  FF  00  48  53  41  50  32  30  3114:194  0:000  120  |  35  35  34  0A  20  20  00  5B14:194  0:000  NVidia GFX injection not set14:195  0:000  stringlength = 345014:195  0:000  CurrentMode: Width=1680 Height=105014:195  0:000  Beginning FSInjectionFSInjectionInstall ...- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: DE441A98FSInjectionInstall ...- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: DE441A9814:196  0:000  Use origin smbios table type 1 guid.14:196  0:000  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other14:196  0:000  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.1214:196  0:000    Extra kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext14:201  0:004      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\HWInfo.kext14:203  0:001      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\IntelCPUMonitor.kext14:204  0:001      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\W836x.kext14:207  0:003    Extra kext: EFI\CLOVER\kexts\10.12\Marvell88E8056.kext14:209  0:001  Custom boot is disabled14:209  0:000  Closing log
@Sherlocks :

I looked in clover wiki and i still don't understand what you mean by setting BusSpeedkHz = 400,000.

Shouldn't it be 400000 or 1600000 ?

please test with follow process

1. no set any cpu in config.plist, get clover log, get sysctl hw.busfrequency in terminal

2. set BusSpeedkHz = 333,330 in config.plist and get cloverlog, get sysctl hw.busfrequency in terminal

3.set BusSpeedkHz = 400,000 in config.plist and get cloverlog, get sysctl hw.busfrequency in terminal

 

please correctly seperate each test and get each clover log and hw.busfrequency and report.

 

above report. Not bad. But lack of information to check by me.

Check 1,2,3 and report. Also no need to report copy and paste log on here. Just get cloverlog and rename each test. And attach it with terminal result.

 

No need to consider overlock on test.

Thanks in advance

 

나의 LG-F800S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

Right, i do raise my external FSB from 333 to 400MHz which is known for QX9750, but with 12M cache :rolleyes: .

So your are right too, original quad FSB is 1333 MHz for Q9400 and 1066 for your dual core CPU.

 

In my logs, i always had these lines which i don't understand :

3:105 0:000 FSBFrequency = 475 MHz, DMI FSBFrequency = 400 MHz,  -> FSB is always false detected and corrected by DMI, perhaps because of my overclock ?

 

and :

3:105 0:000 Turbo: 9/0/0/-> what is this "9" value for a Penryn CPU with no turbo ?

Please avoid RealClockSpeed > 399 because of some bug in BIOS or macOS.

Instead of 400 you have to set 399 in BIOS.

@Slice

 

i fixed all. last i have a question.

TSC frequency Calibration generated incorrected Bus Speed and CPUFrequency.

Bus=100193kHz CPU=2304MHz.

Sometimes BUS/CPU values are different each boot. But there is no big difference.

 

 

then clover continually use this value on smbios table and datahubcpu. ofc we can correct FSB and cpu frequency.

normally, if we put only 100,000 on busspeed in config.plist, we will get correct Bus = 100,000khz and CPU frequency=2300mhz.

 

incorrected bus speed causes problem.

in my pentium skylake g4500, it causes distored sound(after some seconds, lose spk and hp). i should that put only 100,000 on bus speed in config.plist. then problem is resolved(sound issue).

 

Values are being calculated correctly in GetCPUProperties. but Why Clover uses TSC frequency Calibration after GetCPUProperties?

after GetCPUProperties, some values will be overriden by TSC frequency Calibration.

 

i did read https://en.wikipedia.org/wiki/Time_Stamp_Counter. also i check sysctl in terminal. there are facts of TSC.

 

I’m consider this as last. also i see DataHubCPU.

It does not mean completely excluding the TSC.

This means that we will only use the necessary elements for datahubcpu.

 

 

I was able to discover your tremendous effort through this deep debug. Thanks again for that effort.

 

sorry for my english.

 

add.

http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/?p=2015234

http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page-213

I think the value from config.plist must be in priority on calibrated value.

And value from GUI menu is highest priority

Link to comment
Share on other sites

Please avoid RealClockSpeed > 399 because of some bug in BIOS or macOS.

Instead of 400 you have to set 399 in BIOS.

 

I think the value from config.plist must be in priority on calibrated value.

 

And value from GUI menu is highest priority

Thank you for reply.

Like you said, i did it and checked all.

Remains only old cpu test.

 

We need to change Busspeedkhz to RealClockSpeed?

 

Now, in clover, some names cause to confuse to make code. Im checking now.

 

나의 LG-F800S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

The source code hasn’t been updated with the fix for that specific issue. Expect updates tomorrow.

 

Best regards.

ok thank you

have a nice Day  :)

  • Like 1
Link to comment
Share on other sites

No, Just tell users do not confuse like different OEMs.

@Slice

 

here is result(Summary)

example(old cpu)

1:763 0:000 BrandString = Intel® Core2 Duo CPU E7200 @ 2.53GHz

1:763 0:000 MSR dumps:

1:763 0:000 @0x00CD=800

1:763 0:000 @0x0198=61A491F0600491F

1:763 0:000 QPI(1)ExternalClock: 267 MHz

1:763 0:000 Take FSB: 266631 kHz

1:763 0:000 FSBFrequency = 266 MHz, DMI FSBFrequency = 267 MHz,

1:763 0:000 (2)FSBFrequency : 267 MHz

1:763 0:000 Corrected FSBFrequency = 267 MHz

1:763 0:000 PIS(1): 267 MHz

1:763 0:000 PIS(2): 1068000 kHz

1:763 0:000 PIS(3): 1068 MHz

1:763 0:000 MaxSpeed(1): 2536 MHz

1:763 0:000 MaxDiv/MinDiv: 9.5/6

1:763 0:000 Turbo: 10/0/0/0

1:763 0:000 Features: 0xBFEBFBFF

1:763 0:000 Threads: 2

1:763 0:000 Cores: 2

1:763 0:000 FSB: 267 MHz

1:763 0:000 CPU: 2533 MHz

1:763 0:000 TSC: 2533 MHz

1:763 0:000 PIS: 1068 MHz

1:763 0:000 ExternalClock: 267 MHz

 

external clock=266,660khz(we also can see realmac dmi dump)

FSB = external clock*4

10666640khz = 266660*4 <- this also can see realmac and intel website

http://ark.intel.com/products/35348/Intel-Core2-Duo-Processor-E7200-3M-Cache-2_53-GHz-1066-MHz-FSB

Bus Speed 1066 MHz FSB

 

CPU frequency calculation in old cpu.

CPU frequency = external clock*maxdiv(multiplier)

2536mhz = 266,660*9.5

 

 

https://ark.intel.com/products/88180/Intel-Core-i3-6100U-Processor-3M-Cache-2_30-GHz

my cpu(sandy and over)

external clock(real)=100,000khz <- not divide external clock by 4. cpu original

FSB = external clock*4

400,000khz = 100000*4

CPU frequency = external clock*maxdiv(multiplier)

230,000khz = 100,000khz*23

 

but realmac with sandy and over

0:100 0:000 FSBFrequency = 100 MHz, DMI FSBFrequency = 100 MHz, Corrected FSBFrequency = 100 MHz

0:100 0:000 MaxDiv/MinDiv: 23.0/4

0:100 0:000 Turbo: 23/23/23/23

0:100 0:000 Features: 0xBFEBFBFF

0:100 0:000 Threads: 4

0:100 0:000 Cores: 2

0:100 0:000 FSB: 100 MHz

0:100 0:000 CPU: 2300 MHz

external clock(real)/4=25,000khz(we also can see realmac dmi dump, to match like realmac, divide external clock by 4)

FSB = external clock*4

FSB =25,000khz*4=100,000khz

CPU frequency = external clock*maxdiv(multiplier) <-- this is original calculation. but can't adapt here, so

CPU frequency = FSB*maxdiv(multiplier) <-- maybe realmac new method since sandy?

230,000 = 100,000*23

 

 

do i have a wrong part?

 

i followed intel cpu info and realmac dmi dump.

code is ready now(tested old cpu and pike's script). We dont need to consider QPI=0. Since long time ago, clover has this features. But not automately work and also consider external clock. I did it. i just want to check your opinion. because you mentioned before.

 

In old cpu case, need to improve some name(FSB and external clock to clear) in getcpuproperties

  • Like 1
Link to comment
Share on other sites

There are three values:

1. External BusSpeed as written into SMBIOS table4. 

For Core2Duo in RealMac it was 266MHz

But for Sandy it is 25MHz, 4 times less then needed 100MHz

2. "FSBFrequency" field in DataHub that used by kernel XNU.

https://opensource.apple.com/source/xnu/xnu-3789.51.2/osfmk/i386/tsc.c.auto.html

There must be 266 and 100  else the kernel will work wrong.

3. QPI value the shown as "Bus Speed" or "Processor Interconnect speed' in System profiler. Write here what you want.
 

Снимок экрана 2017-07-04 в 07.48.15.png

 

Link to comment
Share on other sites

There are three values:

1. External BusSpeed as written into SMBIOS table4.

For Core2Duo in RealMac it was 266MHz

But for Sandy it is 25MHz, 4 times less then needed 100MHz

2. "FSBFrequency" field in DataHub that used by kernel XNU.

https://opensource.apple.com/source/xnu/xnu-3789.51.2/osfmk/i386/tsc.c.auto.html

There must be 266 and 100 else the kernel will work wrong.

3. QPI value the shown as "Bus Speed" or "Processor Interconnect speed' in System profiler. Write here what you want.

 

attachicon.gifСнимок экрана 2017-07-04 в 07.48.15.png

1. External BusSpeed as written into SMBIOS table4.

For Core2Duo in RealMac it was 266MHz

But for Sandy it is 25MHz, 4 times less then needed 100MHz

 

-> yes

 

 

2. "FSBFrequency" field in DataHub that used by kernel XNU.

https://opensource.apple.com/source/xnu/xnu-3789.51.2/osfmk/i386/tsc.c.auto.html

There must be 266 and 100 else the kernel will work wrong.

 

->i saw datahubcpu.c FSBfrequency from log. clover correctly put fsbfrequency value from config.plist or tsc calibrated

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/DataHubCpu.c#l406

 

 

 

3. QPI value the shown as "Bus Speed" or "Processor Interconnect speed' in System profiler. Write here what you want.

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/smbios.c#l1867

 

->hw.busfrequency means external clock? like you said 266, should be shown hw.busfrequency: 266,000,000hz

i understand. but realmac macmini3,1 still shown 1.07ghz without table type 132. where is 1.07ghz value in realmac?

 

"Write here what you want." -> yes if i set what want, i can shown bus speed in SP.

if i set 400, hw.busfrequency shown 400,000,000hz according to https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/smbios.c#l1868

but have table type 132. some realmac model doesn't have type132. i saw that macpro5,1 has only table type132 in dmi dump(nehalem)

 

sorry repeat question. but i want to clear hw.busfrequency that means externalclock*4 or just externalclock.

now

sandy and over <- i understand

hw.busfrequency shown external clock*4(clover) or externalclock(cpu original)

 

old cpu <- i wonder

hw.busfrequency shown external clock*4 or externalclock(cpu original). clover now divide external clock(266) by 4, then try use externalclock(66mhz)*4 again for hw.busfrequency, then get 266mhz.

tester reported me that shown externalclock 66mhz in their dmi dump. its not correct external clock.

 

http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page-213

http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page-212?do=findComment&comment=2014943

thanks in advance

Link to comment
Share on other sites

See AppleSmbios sources. It explains why *4 or not.

I have both old and new CPU and all is fine here. I just don't want to see 1.06GHz as some users.

Снимок экрана 2017-07-04 в 17.38.46.png

Sergeys-iMac:~ sergey$ sysctl -a | grep bus
vm.pageout_cleaned_busy: 0
hw.busfrequency: 332000000
hw.busfrequency_min: 332000000
hw.busfrequency_max: 332000000
machdep.xcpm.maxbusdelay: 0

  • Like 1
Link to comment
Share on other sites

See AppleSmbios sources. It explains why *4 or not.

I have both old and new CPU and all is fine here. I just don't want to see 1.06GHz as some users.

attachicon.gifСнимок экрана 2017-07-04 в 17.38.46.png

Sergeys-iMac:~ sergey$ sysctl -a | grep bus
vm.pageout_cleaned_busy: 0
hw.busfrequency: 332000000
hw.busfrequency_min: 332000000
hw.busfrequency_max: 332000000
machdep.xcpm.maxbusdelay: 0

Okay. In latest clover, did you get external clock 333mhz in dmi table type4?

 

나의 LG-F800S 의 Tapatalk에서 보냄

 

added

i check real macbookair3,1 true

 

 

 

Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64

hw.ncpu = 2
hw.cpufrequency = 1400000000
hw.availcpu = 2
kern.setthread_cpupercent: 0
hw.ncpu: 2
hw.activecpu: 2
hw.physicalcpu: 2
hw.physicalcpu_max: 2
hw.logicalcpu: 2
hw.logicalcpu_max: 2
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 2028621756
hw.cpufrequency: 1400000000
hw.cpufrequency_min: 1400000000
hw.cpufrequency_max: 1400000000
machdep.cpu.max_basic: 13
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel® Core2 Duo CPU     U9400  @ 1.40GHz
machdep.cpu.family: 6
machdep.cpu.model: 23
machdep.cpu.extmodel: 1
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 10
machdep.cpu.feature_bits: 3219913727 67691517
machdep.cpu.extfeature_bits: 537921536 1
machdep.cpu.signature: 67194
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE
machdep.cpu.extfeatures: SYSCALL XD EM64T LAHF
machdep.cpu.logical_per_package: 2
machdep.cpu.cores_per_package: 2
machdep.cpu.microcode_version: 2567
machdep.cpu.processor_flag: 7
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 51520032
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 0
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 0
machdep.cpu.thermal.fine_grain_clock_mod: 0
machdep.cpu.thermal.package_thermal_intr: 0
machdep.cpu.thermal.hardware_feedback: 1
machdep.cpu.thermal.energy_policy: 0
machdep.cpu.xsave.extended_state: 3 576 576 0
machdep.cpu.arch_perf.version: 2
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 12
machdep.cpu.cache.size: 3072
machdep.cpu.tlb.inst.small: 128
machdep.cpu.tlb.inst.large: 8
machdep.cpu.tlb.data.small: 16
machdep.cpu.tlb.data.small_level1: 256
machdep.cpu.tlb.data.large: 16
machdep.cpu.tlb.data.large_level1: 32
machdep.cpu.address_bits.physical: 36
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 2
machdep.cpu.thread_count: 2
hw.machine = x86_64
hw.model = MacBookAir3,1
hw.ncpu = 2
hw.byteorder = 1234
hw.physmem = 1879048192
hw.usermem = 1618579456
hw.pagesize = 4096
hw.epoch = 0
hw.vectorunit = 1
hw.busfrequency = 800000000
hw.cpufrequency = 1400000000
hw.cachelinesize = 64
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = 1
hw.l2cachesize = 3145728
hw.tbfrequency = 1000000000
hw.memsize = 2147483648
hw.availcpu = 2
net.link.ether.inet.apple_hwcksum_tx: 1
net.link.ether.inet.apple_hwcksum_rx: 1
hw.ncpu: 2
hw.byteorder: 1234
hw.memsize: 2147483648
hw.activecpu: 2
hw.physicalcpu: 2
hw.physicalcpu_max: 2
hw.logicalcpu: 2
hw.logicalcpu_max: 2
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 2028621756
hw.cacheconfig: 2 1 2 0 0 0 0 0 0 0
hw.cachesize: 1879048192 32768 3145728 0 0 0 0 0 0 0
hw.pagesize: 4096
hw.busfrequency: 800000000
hw.busfrequency_min: 800000000
hw.busfrequency_max: 800000000
hw.cpufrequency: 1400000000
hw.cpufrequency_min: 1400000000
hw.cpufrequency_max: 1400000000
hw.cachelinesize: 64
hw.l1icachesize: 32768
hw.l1dcachesize: 32768
hw.l2cachesize: 3145728
hw.tbfrequency: 1000000000
hw.packages: 1
hw.optional.floatingpoint: 1
hw.optional.mmx: 1
hw.optional.sse: 1
hw.optional.sse2: 1
hw.optional.sse3: 1
hw.optional.supplementalsse3: 1
hw.optional.sse4_1: 1
hw.optional.sse4_2: 0
hw.optional.x86_64: 1
hw.optional.aes: 0
hw.optional.avx1_0: 0
hw.optional.rdrand: 0
hw.optional.f16c: 0
hw.optional.enfstrg: 0
machdep.pmap.hashwalks: 132101

 

 

 

 모델명: MacBook Air

  모델 식별자: MacBookAir3,1

  프로세서 이름: Intel Core 2 Duo

  프로세서 속도: 1.4 GHz

  프로세서 개수: 1

  코어 개수: 2

  L2 캐시: 3 MB

  메모리: 2 GB

  버스 속도: 800 MHz

  Boot ROM 버전: MBA31.0061.B07

  SMC 버전(시스템): 1.67f10

Quote

Version: Intel(R) Core(TM)2 Duo CPU     U9400  @ 1.40GHz
Voltage: 1.6 V
External Clock: 200 MHz
Max Speed: 1400 MHz
Current Speed: 1400 MHz
Status: Populated, Enabled

 

 

 

macbook5,1 too.

 

 

 

     Model Name: MacBook

      Model Identifier: MacBook5,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.4 GHz
      Number of Processors: 1
      Total Number of Cores: 2
      L2 Cache: 3 MB
      Memory: 2 GB
      Bus Speed: 1.07 GHz
      Boot ROM Version: MB51.007D.B03
      SMC Version (system): 1.32f8
      Sudden Motion Sensor:
          State: Enabled

 

Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386

hw.ncpu = 2
hw.cpufrequency = 2400000000
hw.availcpu = 2
hw.ncpu: 2
hw.activecpu: 2
hw.physicalcpu: 2
hw.physicalcpu_max: 2
hw.logicalcpu: 2
hw.logicalcpu_max: 2
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 2028621756
hw.cpufrequency: 2400000000
hw.cpufrequency_min: 2400000000
hw.cpufrequency_max: 2400000000
machdep.cpu.max_basic: 10
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel® Core2 Duo CPU     P8600  @ 2.40GHz
machdep.cpu.family: 6
machdep.cpu.model: 23
machdep.cpu.extmodel: 1
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 6
machdep.cpu.feature_bits: 3219913727 582653
machdep.cpu.extfeature_bits: 537921536 1
machdep.cpu.signature: 67190
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1
machdep.cpu.extfeatures: SYSCALL XD EM64T LAHF
machdep.cpu.logical_per_package: 2
machdep.cpu.cores_per_package: 2
machdep.cpu.microcode_version: 1548
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 51520032
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 0
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 0
machdep.cpu.thermal.fine_grain_clock_mod: 0
machdep.cpu.thermal.package_thermal_intr: 0
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 0
machdep.cpu.arch_perf.version: 2
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 6
machdep.cpu.cache.size: 3072
machdep.cpu.tlb.inst.small: 128
machdep.cpu.tlb.inst.large: 8
machdep.cpu.tlb.data.small: 16
machdep.cpu.tlb.data.small_level1: 256
machdep.cpu.tlb.data.large: 16
machdep.cpu.tlb.data.large_level1: 32
machdep.cpu.address_bits.physical: 36
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 2
machdep.cpu.thread_count: 2
hw.machine = i386
hw.model = MacBook5,1
hw.ncpu = 2
hw.byteorder = 1234
hw.physmem = 1879048192
hw.usermem = 1603198976
hw.pagesize = 4096
hw.epoch = 0
hw.vectorunit = 1
hw.busfrequency = 1064000000
hw.cpufrequency = 2400000000
hw.cachelinesize = 64
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = 1
hw.l2cachesize = 3145728
hw.tbfrequency = 1000000000
hw.memsize = 2147483648
hw.availcpu = 2
net.link.ether.inet.apple_hwcksum_tx: 1
net.link.ether.inet.apple_hwcksum_rx: 1
hw.ncpu: 2
hw.byteorder: 1234
hw.memsize: 2147483648
hw.activecpu: 2
hw.physicalcpu: 2
hw.physicalcpu_max: 2
hw.logicalcpu: 2
hw.logicalcpu_max: 2
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 2028621756
hw.cacheconfig: 2 1 2 0 0 0 0 0 0 0
hw.cachesize: 1879048192 32768 3145728 0 0 0 0 0 0 0
hw.pagesize: 4096
hw.busfrequency: 1064000000
hw.busfrequency_min: 1064000000
hw.busfrequency_max: 1064000000
hw.cpufrequency: 2400000000
hw.cpufrequency_min: 2400000000
hw.cpufrequency_max: 2400000000
hw.cachelinesize: 64
hw.l1icachesize: 32768
hw.l1dcachesize: 32768
hw.l2cachesize: 3145728
hw.tbfrequency: 1000000000
hw.packages: 1
hw.optional.floatingpoint: 1
hw.optional.mmx: 1
hw.optional.sse: 1
hw.optional.sse2: 1
hw.optional.sse3: 1
hw.optional.supplementalsse3: 1
hw.optional.sse4_1: 1
hw.optional.sse4_2: 0
hw.optional.x86_64: 1
hw.optional.aes: 0
machdep.pmap.hashwalks: 335206

 

 

 

Imac8,1 still shown like macbookair3,1 macmini3,1, macbook5,1 above

 

macpro3,1

 

 

 

Processor Information

Socket Designation: CPU-A ( 0 )
Type: Central Processor
Family: Xeon
Manufacturer: Intel® Corporation
ID: 76 06 01 00 FF FB EB BF
Signature: Type 0, Family 6, Model 23, Stepping 6
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel® Xeon® CPU           E
Voltage: 1.6 V
External Clock: 400 MHz
Max Speed: 2800 MHz
Current Speed: 2800 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x0002
L2 Cache Handle: No L2 Cache
L3 Cache Handle: No L3 Cache
Serial Number: Not Specified
Asset Tag: Unknown
Part Number: Not Specified

 

 

Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64

hw.ncpu = 8
hw.cpufrequency = 2800000000
hw.availcpu = 8
kern.setthread_cpupercent: 0
hw.ncpu: 8
hw.activecpu: 8
hw.physicalcpu: 8
hw.physicalcpu_max: 8
hw.logicalcpu: 8
hw.logicalcpu_max: 8
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 2028621756
hw.cpufrequency: 2800000000
hw.cpufrequency_min: 2800000000
hw.cpufrequency_max: 2800000000
machdep.cpu.max_basic: 10
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel® Xeon® CPU           E5462  @ 2.80GHz
machdep.cpu.family: 6
machdep.cpu.model: 23
machdep.cpu.extmodel: 1
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 6
machdep.cpu.feature_bits: 3219913727 844733
machdep.cpu.extfeature_bits: 537921536 1
machdep.cpu.signature: 67190
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1
machdep.cpu.extfeatures: SYSCALL XD EM64T LAHF
machdep.cpu.logical_per_package: 4
machdep.cpu.cores_per_package: 4
machdep.cpu.microcode_version: 1547
machdep.cpu.processor_flag: 6
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 8736
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 0
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 0
machdep.cpu.thermal.fine_grain_clock_mod: 0
machdep.cpu.thermal.package_thermal_intr: 0
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 0
machdep.cpu.arch_perf.version: 2
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 24
machdep.cpu.cache.size: 6144
machdep.cpu.tlb.inst.small: 128
machdep.cpu.tlb.inst.large: 8
machdep.cpu.tlb.data.small: 16
machdep.cpu.tlb.data.small_level1: 256
machdep.cpu.tlb.data.large: 16
machdep.cpu.tlb.data.large_level1: 32
machdep.cpu.address_bits.physical: 38
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 4
machdep.cpu.thread_count: 4
hw.machine = x86_64
hw.model = MacPro3,1
hw.ncpu = 8
hw.byteorder = 1234
hw.physmem = 2147483648
hw.usermem = 1011392512
hw.pagesize = 4096
hw.epoch = 0
hw.vectorunit = 1
hw.busfrequency = 1600000000
hw.cpufrequency = 2800000000
hw.cachelinesize = 64
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = 1
hw.l2cachesize = 6291456
hw.tbfrequency = 1000000000
hw.memsize = 17179869184
hw.availcpu = 8
net.link.ether.inet.apple_hwcksum_tx: 1
net.link.ether.inet.apple_hwcksum_rx: 1
net.athwowtimeout: 0 0
hw.ncpu: 8
hw.byteorder: 1234
hw.memsize: 17179869184
hw.activecpu: 8
hw.physicalcpu: 8
hw.physicalcpu_max: 8
hw.logicalcpu: 8
hw.logicalcpu_max: 8
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 2028621756
hw.cacheconfig: 8 1 2 0 0 0 0 0 0 0
hw.cachesize: 17179869184 32768 6291456 0 0 0 0 0 0 0
hw.pagesize: 4096
hw.busfrequency: 1600000000
hw.busfrequency_min: 1600000000
hw.busfrequency_max: 1600000000
hw.cpufrequency: 2800000000
hw.cpufrequency_min: 2800000000
hw.cpufrequency_max: 2800000000
hw.cachelinesize: 64
hw.l1icachesize: 32768
hw.l1dcachesize: 32768
hw.l2cachesize: 6291456
hw.tbfrequency: 1000000000
hw.packages: 2
hw.optional.floatingpoint: 1
hw.optional.mmx: 1
hw.optional.sse: 1
hw.optional.sse2: 1
hw.optional.sse3: 1
hw.optional.supplementalsse3: 1
hw.optional.sse4_1: 1
hw.optional.sse4_2: 0
hw.optional.x86_64: 1
hw.optional.aes: 0
hw.optional.avx1_0: 0
hw.optional.rdrand: 0
hw.optional.f16c: 0
hw.optional.enfstrg: 0
machdep.pmap.hashwalks: 196758
 

 

 

  모델명: Mac Pro

  모델 식별자: MacPro3,1

  프로세서 이름: Quad-Core Intel Xeon

  프로세서 속도: 2.8 GHz

  프로세서 개수: 2

  코어 개수: 8

  L2 캐시(프로세서당): 12 MB

  메모리: 16 GB

  버스 속도: 1.6 GHz

  Boot ROM 버전: MP31.006C.B05

  SMC 버전(시스템): 1.25f4

 

 

 

 

added. i found why "hw.busfrequency shown external clock*4(clover) or externalclock(cpu original)" happen.

clover determined externalclock of each generation cpu. but clover now alway divide external clock by 4 in all generation intel cpu.

old cpu

266/4 -> 66 external clock.

sandy cpu

100/4 -> 25 external clock.

 

after determined external clock by clover. then 

according to applesmbios.cpp

https://opensource.apple.com/source/AppleSMBIOS/AppleSMBIOS-42/AppleSMBIOS.cpp.auto.html

 

followed this

 

 

SMBAnchor     anchor;

uint32_t busSpeedMTs = 0;

uint32_t itcSpeedMTs = 0;

uint32_t cpuSpeedMHz = 0;

SMBWord cpuType = 0;

 

// Fetch Processor Type from Type 131 structure (optional).

 

SMB_ANCHOR_RESET(&anchor);

if (findSMBIOSStructure(&anchor, kSMBTypeOemProcessorType,

sizeof(SMBOemProcessorType)))

{

const SMBOemProcessorType * processorType =

(const SMBOemProcessorType *) anchor.header;

 

cpuType = processorType->ProcessorType;

DEBUG_LOG("SMBIOS: processor type = 0x%04x\n", cpuType);

}

 

// Fetch bus transfer rate from Type 132 structure (optional). <----- we passed this except nehalem cpu

 

SMB_ANCHOR_RESET(&anchor);

if (findSMBIOSStructure(&anchor, kSMBTypeOemProcessorBusSpeed,

sizeof(SMBOemProcessorBusSpeed)))

{

const SMBOemProcessorBusSpeed * speed =

(const SMBOemProcessorBusSpeed *) anchor.header;

 

busSpeedMTs = itcSpeedMTs = speed->ProcessorBusSpeed;

DEBUG_LOG("SMBIOS: Bus speed (MT/s) = %u\n", busSpeedMTs);

}

 

// Fetch cpu and bus nominal frequencies. <--------- we enter this

 

SMB_ANCHOR_RESET(&anchor);

if (findSMBIOSStructure(&anchor, kSMBTypeProcessorInformation,

kSMBProcessorInformationMinSize))

{

const SMBProcessorInformation * cpuInfo =

(const SMBProcessorInformation *) anchor.header;

 

cpuSpeedMHz = cpuInfo->maximumClock;

DEBUG_LOG("SMBIOS: CPU speed (MHz) = %u\n", cpuSpeedMHz);

if (busSpeedMTs == 0)

{

busSpeedMTs = cpuInfo->externalClock; <----- we got old cpu 66 external clock, sandy cpu 25 external clock above from clover(tsc calibrated or busfrequecny value on cpu in config.plist)

busSpeedMTs *= 4; // Assume quad-pumped FSB <--- then busSpeedMTs calculated(old cpu 66*4= 266mhz, sandy cpu 25*4=100mhz)

DEBUG_LOG("SMBIOS: FSB speed (MT/s) = %u\n", busSpeedMTs);

}

}

 

if (busSpeedMTs) <----- enter because of "(old cpu 66*4= 266mhz, sandy cpu 25*4=100mhz)"

{

uint64_t rateInTs = ((uint64_t) busSpeedMTs) * 1000000ULL;

 

gPEClockFrequencyInfo.bus_frequency_hz = rateInTs; <------ (old cpu 266mh-> 266,000,000hz, sandy cpu 100mhz->100,000,000hz)

gPEClockFrequencyInfo.bus_frequency_min_hz = rateInTs;

gPEClockFrequencyInfo.bus_frequency_max_hz = rateInTs;

gPEClockFrequencyInfo.bus_clock_rate_hz =

(rateInTs < (1ULL << 32)) ? (uint32_t) rateInTs : 0xFFFFFFFF;

}

 

if (cpuSpeedMHz)

{

uint64_t rateInHz = ((uint64_t) cpuSpeedMHz) * 1000000ULL;

 

gPEClockFrequencyInfo.cpu_frequency_max_hz = rateInHz;

gPEClockFrequencyInfo.cpu_frequency_min_hz = rateInHz;

gPEClockFrequencyInfo.cpu_frequency_hz = rateInHz;

gPEClockFrequencyInfo.cpu_clock_rate_hz = rateInHz;

}

 
then after followed source above, we can see sandy's "hw.busfrequency: 100000000(sandy cpu 100mhz->100,000,000hz))" in terminal.
 
Why does Clover now divide the external clock (266) value by 4 when calculating the external clock in the old CPU? Now the Sandy Bridge cpu is no problem with the external clock calculation.
This is an analysis of Apple's source. And this is demonstrated on realmac's dmi dump (kernel info) and the Intel website.
I really want to know what went wrong.
 
thanks in advance

macbookair31.zip

macmini31.zip

macbook5,1.zip

iMac8,1_F227BEC8_X64_DarwinDumper.zip

  • Like 2
Link to comment
Share on other sites

@Slice, please tell me if is recommended for my CPU E7200 set to 266 in config.plist? Or just leave it without set this value?

CPU

BusSpeedkHz
266000
 
Because seems to works better in my system, more responsive and fluid. Or maybe is just a placebo effect. Thank you.
  • Like 2
Link to comment
Share on other sites

@Slice, please tell me if is recommended for my CPU E7200 set to 266 in config.plist? Or just leave it without set this value?

<key>CPU</key>

<dict>

<key>BusSpeedkHz</key>

<integer>266000</integer>

</dict>

 

Because seems to works better in my system, more responsive and fluid. Or maybe is just a placebo effect. Thank you.

Itis not placebo. If you use bus freqeuncy(clover put your wrote value in external clock) in config.plist, that is correct. Because this code is no problem for old cpu. Auto code is not correct now. Lets see.

Your original.

Cpu frequency 2.53ghz

Bus speed(in mac, called external clock) 266.7mhz

FSB frequency(in mac, called hw.busfrequncy-based on applesmbios source)- bus speed*4=266.7*4=1066.8mhz

Mulitiplier 9.5

Cpu frequency = bus speed * mulitplier

266.7*9.5 = 2.53ghz

 

This is based realmac dmi dump(kernel log) and your intel cpu document.

 

Now, clover always divide external clock by 4 in all generation intel cpu. Not consider old cpu case. Old code is consider external clock(only factory). So in my skylake cpu, shown bus speed "400"(factory, my intel cpu document) in SP. Since clover 4043, that is correct like realmac.

 

Because apple only changed external clock since sandy(100mhz(factory)->25mhz)

 

I fixed all related this issue before. Fixed code is ready. I'm waiting Slice's think

 

Thanks.

 

3097c775257d81226a90136d4472b2cc.jpg

 

나의 LG-F800S 의 Tapatalk에서 보냄

  • Like 1
Link to comment
Share on other sites

Ok, I'm forced to speak, as you're getting things mixed up. The base clock is multiplied by 4 to give the front side bus frequency with a quad-pumped bus, however not all CPUs use a quad-pumped bus - this is important as not even all newer CPUs use quad-pumped buses. You should use bus here with a grain of salt, as core-i's do not have a bus in the sense of front side bus, it is a connection interface. Should also be noted, with the introduction of QPI, the interface (bus) has a multiplier of the base clock just like the CPU effective base frequency but it also has the ability to be 1x, 2x, or 4x directional depending on the CPU configuration and whether the CPU/interface/other devices are damaged or not working. DMI may have only a x2 instead of x4 depending on the CPU. Also the base clock, should either be referred to as base or external clock, IT IS NOT A BUS SPEED, this is literally nothing more than the electricity being fed into the CPU/buses/other devices at a specific interval. I do not know why CPU-Z would use such atrocious naming for the clock and bus speed. I'm not sure where this dividing by four came from, I don't think that it needs to be divided at all, but I guess that's a terrible assumption by macOS/firmware developers. I also don't think that FSB matters at all. You should be putting the base clock speed in pretty much every place except table 132. For this table, should DETERMINE the bus/interface speed from the CPU. Not sure if this table is needed for anything other than QPI as I can only find it in dumps with QPI. Now for what you need:

 

From Core2Duo iMac 10,1:

	Version: Intel(R) Core(TM)2 Duo CPU     E7600  @ 3.06GHz
	External Clock: 266 MHz
	Max Speed: 3060 MHz
	Current Speed: 3060 MHz

From i7-860 iMac 11,1 (this also has table 132 in addition to table 4):

	Version: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
	External Clock: 133 MHz
	Max Speed: 2800 MHz
	Current Speed: 2800 MHz

From i5-2400S iMac 12,1 (goodbye external clock speed, this the same in every dump I could find of iMac12,1/2):

	Version: Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
	External Clock: Unknown
	Max Speed: 2500 MHz
	Current Speed: 2522 MHz

From i5-2470S iMac 13,1 (hello weird incorrect 25MHz external clock):

	Version: Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz
	External Clock: 25 MHz
	Max Speed: 2900 MHz
	Current Speed: 2900 MHz

Every CPU after SB has 25MHz external clock speed. Not sure why on earth this decision was ever made as it's clearly terrible and completely incorrect. So you should be putting the base clock in table 4 for older than SB, and the base clock divided by 4 for SB or newer. That's it. Then QPI should go in table 132. Front side bus should never come into this at all, and anyone claiming that the clock should be any higher than 400MHz (barring overclocking higher than that) is incorrect.

 

EDIT: I used iMac to illustrate my point more easily but I looked at the other SMBIOSes too and they follow this as well.

EDIT2: I should be more clear, ONLY table 4 should have base clock divided by four, every where else it should be the actual base clock speed.

EDIT3: Clover also uses the naming of BusSpeedkHz (I forgot) but this is also not correct and comes from when the bus speed was the clock speed.

EDIT4: Also according to Intel specs, clocks ending in 6 should be completed with 6's and a 7, not zeroes, and ending in 3 should be completed with 3's: 366MHz is 366666667Hz and 333MHz is 333333333Hz.

  • Like 4
Link to comment
Share on other sites

Ok, I'm forced to speak, as you're getting things mixed up. The base clock is multiplied by 4 to give the front side bus frequency with a quad-pumped bus, however not all CPUs use a quad-pumped bus - this is important as not even all newer CPUs use quad-pumped buses. You should use bus here with a grain of salt, as core-i's do not have a bus in the sense of front side bus, it is a connection interface. Should also be noted, with the introduction of QPI, the interface (bus) has a multiplier of the base clock just like the CPU effective base frequency but it also has the ability to be 1x, 2x, or 4x directional depending on the CPU configuration and whether the CPU/interface/other devices are damaged or not working. DMI may have only a x2 instead of x4 depending on the CPU. Also the base clock, should either be referred to as base or external clock, IT IS NOT A BUS SPEED, this is literally nothing more than the electricity being fed into the CPU/buses/other devices at a specific interval. I do not know why CPU-Z would use such atrocious naming for the clock and bus speed. I'm not sure where this dividing by four came from, I don't think that it needs to be divided at all, but I guess that's a terrible assumption by macOS/firmware developers. I also don't think that FSB matters at all. You should be putting the base clock speed in pretty much every place except table 132. For this table, should DETERMINE the bus/interface speed from the CPU. Not sure if this table is needed for anything other than QPI as I can only find it in dumps with QPI. Now for what you need:

 

From Core2Duo iMac 10,1:

	Version: Intel(R) Core(TM)2 Duo CPU     E7600  @ 3.06GHz
	External Clock: 266 MHz
	Max Speed: 3060 MHz
	Current Speed: 3060 MHz

From i7-860 iMac 11,1 (this also has table 132 in addition to table 4):

	Version: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
	External Clock: 133 MHz
	Max Speed: 2800 MHz
	Current Speed: 2800 MHz

From i5-2400S iMac 12,1 (goodbye external clock speed, this the same in every dump I could find of iMac12,1/2):

	Version: Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
	External Clock: Unknown
	Max Speed: 2500 MHz
	Current Speed: 2522 MHz

From i5-2470S iMac 13,1 (hello weird incorrect 25MHz external clock):

	Version: Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz
	External Clock: 25 MHz
	Max Speed: 2900 MHz
	Current Speed: 2900 MHz

Every CPU after SB has 25MHz external clock speed. Not sure why on earth this decision was ever made as it's clearly terrible and completely incorrect. So you should be putting the base clock in table 4 for older than SB, and the base clock divided by 4 for SB or newer. That's it. Then QPI should go in table 132. Front side bus should never come into this at all, and anyone claiming that the clock should be any higher than 400MHz (barring overclocking higher than that) is incorrect.

 

EDIT: I used iMac to illustrate my point more easily but I looked at the other SMBIOSes too and they follow this as well.

EDIT2: I should be more clear, ONLY table 4 should have base clock divided by four, every where else it should be the actual base clock speed.

EDIT3: Clover also uses the naming of BusSpeedkHz (I forgot) but this is also not correct and comes from when the bus speed was the clock speed.

EDIT4: Also according to Intel specs, clocks ending in 6 should be completed with 6's and a 7, not zeroes, and ending in 3 should be completed with 3's: 366MHz is 366666667Hz and 333MHz is 333333333Hz.

 

Every CPU after SB has 25MHz external clock speed. Not sure why on earth this decision was ever made as it's clearly terrible and completely incorrect. So you should be putting the base clock in table 4 for older than SB, and the base clock divided by 4 for SB or newer. That's it. Then QPI should go in table 132. Front side bus should never come into this at all, and anyone claiming that the clock should be any higher than 400MHz (barring overclocking higher than that) is incorrect.
-->right. i made code like you said. this is same my think.

 

post-980913-0-69682500-1499313204_thumb.png

I just used cpuz pictures to help make them easier to understand.
In fact, my the fsb entry is not used in windows.

 

 

    Version: Intel® Core i7 CPU 860 @ 2.80GHz

    External Clock: 133 MHz

    Max Speed: 2800 MHz

    Current Speed: 2800 MHz

 

actually external clock 133mhz like you said. but latest clover now divide 133mhz by 4 to get hw.busfreqeuncy 133300000. so shown external clock 33mhz in type 4. users already reported this true to me.

 

EDIT2: I should be more clear, ONLY table 4 should have base clock divided by four

->  now has only sandy and over. but clover now always divide base clock(external clock) by 4 in all cpu(old and new)

 

EDIT3: Clover also uses the naming of BusSpeedkHz (I forgot) but this is also not correct and comes from when the bus speed was the clock speed.

 -> yes. you are right. clover now use BusSpeedkHz name. but actuatlly clover put BusSpeedkHz value in baseclock(external clock). its not correct.

 

EDIT4: Also according to Intel specs, clocks ending in 6 should be completed with 6's and a 7, not zeroes, and ending in 3 should be completed with 3's: 366MHz is 366666667Hz and 333MHz is 333333333Hz.

-> i consider last number always is 0. because 

	<key>CPU</key>
	<dict>
		<key>#BusSpeedkHz</key>
		<integer>133330</integer>

https://sourceforge.net/p/cloverefiboot/code/4103/tree/CloverPackage/CloverV2/EFI/CLOVER/config-sample.plist

https://clover-wiki.zetam.org/Configuration/CPU

according you said, 133,333,333hz -> 133,333khz in config.plist. thank your for clear. 

 

windows 

bus speed

FSB frequency = bus speed *4

cpu frequency = bus speed * multiplier

 

mac(old cpu)

external clock

FSB speed = external clock *4 https://opensource.apple.com/source/AppleSMBIOS/AppleSMBIOS-42/AppleSMBIOS.cpp.auto.html

cpu frequency = external clock * multiplier

 

mac(since sandy)

external clock = external clock / 4 (to match 25mhz in table type 4 and hw.busfreqeuncy = 100000000)

FSB speed = external clock * 4

-not shown in windows. but https://ark.intel.com/products/88180/Intel-Core-i3-6100U-Processor-3M-Cache-2_30-GHz, bus speed 4gt/s. if i put 100,000khz on BusSpeedkHz(actually external clock)  in config.plist, clover use external clock 100,000(factory) and then get bus speed 400 in system profiler. but in realmac(sandy and over), not correct. because external clock use 25mhz. we can check in table type 4.

cpu frequency = FSB speed * multiplier. (100* 23= 2.3ghz) or external clock(original) * multiplier.

 

add.

i'm considered nehalem case about table type 132.

Clover judges the CPU type and decides whether to use 132 tables if it is Nehalem.
Of course, putting the qpi value in config.plist makes it possible to activate type 132 arbitrarily if you have other cpu. except nehalem, no need qpi for other cpu users.
From i7-860 iMac 11,1 (this also has table 132 in addition to table 4):
	Version: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
	External Clock: 133 MHz
	Max Speed: 2800 MHz
	Current Speed: 2800 MHz

thanks in advance.

Link to comment
Share on other sites

Well, the weird thing here is that iMac11,1 and every other Nehalem based Mac. I don't understand why the clock needs to be divided by four for IB or newer but not for Nehalem (also SB seems to be fine with zero here). Since it does not have a FSB either and the base clock is 133MHz. So does putting a value in table 132 make it so that the interface/bus speed is that instead of the clock speed multiplied by 4? I wonder if just setting table 4 and table 132 for Nehalem SB or newer CPUs to base clock (100MHz) will give the correct outcome? Why is zero OK on SB??

 

EDIT: Forgot, yeah that ending in 6 and 3 conversion is in every Intel CPU reference documentation I could find, back to Pentium, at least.

EDIT2: Obviously table 132 needs populated with the QPI speed, if QPI is present. I think it is testable whether QPI is present in the CPU. ICR if QPI is tested for now or if it just happens only for Nehalem.

EDIT3: I posted earlier that more than just Nehalem CPUs have QPI, so testing for QPI presence would be better, if that's not going on already. I don't have time to look currently.

EDIT4: I think that is the outcome that we want actually is using table 132. It overrides the assumption of quad-pumped FSB:

    // Fetch bus transfer rate from Type 132 structure (optional).

    SMB_ANCHOR_RESET(&anchor);
    if (findSMBIOSStructure(&anchor, kSMBTypeOemProcessorBusSpeed,
        sizeof(SMBOemProcessorBusSpeed)))
    {
        const SMBOemProcessorBusSpeed * speed =
            (const SMBOemProcessorBusSpeed *) anchor.header;
        
        busSpeedMTs = itcSpeedMTs = speed->ProcessorBusSpeed;
        DEBUG_LOG("SMBIOS: Bus speed (MT/s) = %u\n", busSpeedMTs);
    }

    // Fetch cpu and bus nominal frequencies.

    SMB_ANCHOR_RESET(&anchor);
    if (findSMBIOSStructure(&anchor, kSMBTypeProcessorInformation,
        kSMBProcessorInformationMinSize))
    {
        const SMBProcessorInformation * cpuInfo =
            (const SMBProcessorInformation *) anchor.header;

        cpuSpeedMHz = cpuInfo->maximumClock;
        DEBUG_LOG("SMBIOS: CPU speed (MHz) = %u\n", cpuSpeedMHz);
        if (busSpeedMTs == 0)
        {
            busSpeedMTs = cpuInfo->externalClock;
            busSpeedMTs *= 4;  // Assume quad-pumped FSB
            DEBUG_LOG("SMBIOS: FSB speed (MT/s) = %u\n", busSpeedMTs);
        }
    }

EDIT5: I didn't really realize what a s h i t algorithm is used for determining the CPU properties. lol

EDIT6: Ok, not sure that will actually work since it sets the interconnect speed as well as bus speed, not sure if there is consequence to setting interconnect if it's not QPI.

Link to comment
Share on other sites

 

Well, the weird thing here is that iMac11,1 and every other Nehalem based Mac. I don't understand why the clock needs to be divided by four for IB or newer but not for Nehalem (also SB seems to be fine with zero here). Since it does not have a FSB either and the base clock is 133MHz. So does putting a value in table 132 make it so that the interface/bus speed is that instead of the clock speed multiplied by 4? I wonder if just setting table 4 and table 132 for Nehalem SB or newer CPUs to base clock (100MHz) will give the correct outcome? Why is zero OK on SB??

 

EDIT: Forgot, yeah that ending in 6 and 3 conversion is in every Intel CPU reference documentation I could find, back to Pentium, at least.

EDIT2: Obviously table 132 needs populated with the QPI speed, if QPI is present. I think it is testable whether QPI is present in the CPU. ICR if QPI is tested for now or if it just happens only for Nehalem.

EDIT3: I posted earlier that more than just Nehalem CPUs have QPI, so testing for QPI presence would be better, if that's not going on already. I don't have time to look currently.

EDIT4: I think that is the outcome that we want actually is using table 132. It overrides the assumption of quad-pumped FSB:

    // Fetch bus transfer rate from Type 132 structure (optional).

    SMB_ANCHOR_RESET(&anchor);
    if (findSMBIOSStructure(&anchor, kSMBTypeOemProcessorBusSpeed,
        sizeof(SMBOemProcessorBusSpeed)))
    {
        const SMBOemProcessorBusSpeed * speed =
            (const SMBOemProcessorBusSpeed *) anchor.header;
        
        busSpeedMTs = itcSpeedMTs = speed->ProcessorBusSpeed;
        DEBUG_LOG("SMBIOS: Bus speed (MT/s) = %u\n", busSpeedMTs);
    }

    // Fetch cpu and bus nominal frequencies.

    SMB_ANCHOR_RESET(&anchor);
    if (findSMBIOSStructure(&anchor, kSMBTypeProcessorInformation,
        kSMBProcessorInformationMinSize))
    {
        const SMBProcessorInformation * cpuInfo =
            (const SMBProcessorInformation *) anchor.header;

        cpuSpeedMHz = cpuInfo->maximumClock;
        DEBUG_LOG("SMBIOS: CPU speed (MHz) = %u\n", cpuSpeedMHz);
        if (busSpeedMTs == 0)
        {
            busSpeedMTs = cpuInfo->externalClock;
            busSpeedMTs *= 4;  // Assume quad-pumped FSB
            DEBUG_LOG("SMBIOS: FSB speed (MT/s) = %u\n", busSpeedMTs);
        }
    }

Well, the weird thing here is that iMac11,1 and every other Nehalem based Mac. I don't understand why the clock needs to be divided by four for IB or newer 

but not for Nehalem (also SB seems to be fine with zero here). Since it does not have a FSB either and the base clock is 133MHz. 

—> we have to consider nehalem case between base clock and qpi

 

So does putting a value in table 132 make it so that the interface/bus speed is that instead of the clock speed multiplied by 4? I wonder 

—>yes. here https://sourceforge.net/p/cloverefiboot/code/4043/tree/rEFIt_UEFI/Platform/smbios.c#l1853

 

if just setting table 4 and table 132 for Nehalem or newer CPUs to base clock (100MHz) will give the correct outcome? 

qpi>base clock https://sourceforge.net/p/cloverefiboot/code/4043/tree/rEFIt_UEFI/Platform/smbios.c#l1853

if (no set qpi, set bus frequency(actually base clock)=100,000, enable 132)

newSmbiosTable.Type132->ProcessorBusSpeed = (UINT16)(LShiftU64(DivU64x32(gSettings.BusSpeed(our value), kilo), 2)); 

base clock *4= 100,000*4= 400,000. then we can actually see hw.busfrequency “400,000,000”

 

 

// Fetch bus transfer rate from Type 132 structure (optional).   <---- enter here. bacause we have "newSmbiosTable.Type132->ProcessorBusSpeed = (UINT16)(LShiftU64(DivU64x32(gSettings.BusSpeed(our value), kilo), 2)); "

 

SMB_ANCHOR_RESET(&anchor);

if (findSMBIOSStructure(&anchor, kSMBTypeOemProcessorBusSpeed,

sizeof(SMBOemProcessorBusSpeed)))

{

const SMBOemProcessorBusSpeed * speed =

(const SMBOemProcessorBusSpeed *) anchor.header;

 

busSpeedMTs = itcSpeedMTs = speed->ProcessorBusSpeed;

DEBUG_LOG("SMBIOS: Bus speed (MT/s) = %u\n", busSpeedMTs);

}

 

// Fetch cpu and bus nominal frequencies.      <----------- skipped, because we use type 132 now. 

 

SMB_ANCHOR_RESET(&anchor);

if (findSMBIOSStructure(&anchor, kSMBTypeProcessorInformation,

kSMBProcessorInformationMinSize))

{

const SMBProcessorInformation * cpuInfo =

(const SMBProcessorInformation *) anchor.header;

 

cpuSpeedMHz = cpuInfo->maximumClock;

DEBUG_LOG("SMBIOS: CPU speed (MHz) = %u\n", cpuSpeedMHz);

if (busSpeedMTs == 0)

{

busSpeedMTs = cpuInfo->externalClock;

busSpeedMTs *= 4; // Assume quad-pumped FSB

DEBUG_LOG("SMBIOS: FSB speed (MT/s) = %u\n", busSpeedMTs);

}

}

 

 

 

Why is zero OK on SB??

—>what is sb? aha sandy bridge. no if set 100,000. have to shown external clock 100mhz in type4. because we consider external clock in config.plist. if set qpi, still consider external clock(not related qpi to calcuate external clock in type 4)

 

EDIT: Forgot, yeah that ending in 6 and 3 conversion is in every Intel CPU reference documentation I could find, back to Pentium, at least.

—> okay. anyway this part is user choice.

EDIT2: Obviously table 132 needs populated with the QPI speed, if QPI is present. I think it is testable whether QPI is present in the CPU. ICR if QPI is tested for now or if it just happens only for Nehalem.

—> yes, i considered this. also checked here https://en.wikipedia.org/wiki/Xeon. but we can adjust qpi on cpu in config.plist

lists

3500-series "Bloomfield"

5500-series "Gainestown"

3600/5600-series "Gulftown" & "Westmere-EP"

6500/7500-series "Beckton"

 

EDIT3: I posted earlier that more than just Nehalem CPUs have QPI, so testing for QPI presence would be better, if that's not going on already. I don't have time to look currently.

--> i tested.

EDIT4: I think that is the outcome that we want actually is using table 132. It overrides the assumption of quad-pumped FSB:

---> already considered in my fixed code.

Link to comment
Share on other sites

×
×
  • Create New...