Jump to content

Chameleon RC5 mode with mem detection enabled and automatic P-States & C-States generation for native power managment


kozlek
 Share

1,214 posts in this topic

Recommended Posts

Add -v in kernel flags or just look in kernel.log instead of whatever log you're looking at.

 

Thanks for the reply.

-v at flags did the work, so simple finally.

 

Kernel.log is the tab i check but 100% not showing me on correct way more than one latest boot. Only the whole last one usually, dont know why.

Anyway the fact is i dont know why i get some random KP.

At first was PCIFamily....change that fixed. Then VoodooPS2. Remove that random KP again. Then voodooHDA etc etc. Now i must see on verbose what causes KP.

 

HP DV5 1130ev

Link to comment
Share on other sites

Check my bench in cinemabench 11.5

 

 

in the picture show the test on windows 7 x64 and snowleopard 10.6.4

 

the process you see clearly the performance between in the two operating systems with same machine.

 

I'm not talking about performance in the OS, i'm talking about performance in Chameleon bootlaoder, before the OS is booted.

 

most likely its because of the MTRR for the framebuffer is no longer is setup to use write combining in the bios, its now left to the graphics driver to setup.

 

Aha, looks like you have the answer to the poor performance. But i must admit the full implications of this are beyond my understanding. is this an issue that can be resolved by somehow enabling the write combining for the new chipsets? Or would this require writing a "driver" in chameleon (yikes!)?

 

I am hoping there must be a way to make the interface responsive on the new chips.

Thanks,

g\

Link to comment
Share on other sites

I'm not talking about performance in the OS, i'm talking about performance in Chameleon bootlaoder, before the OS is booted.

 

 

 

Aha, looks like you have the answer to the poor performance. But i must admit the full implications of this are beyond my understanding. is this an issue that can be resolved by somehow enabling the write combining for the new chipsets? Or would this require writing a "driver" in chameleon (yikes!)?

 

I am hoping there must be a way to make the interface responsive on the new chips.

Thanks,

g\

 

my problem is this: after i installed the chameleon RC5 r416 the functionality is better and even it recognized successfully my CPU and ram without needing the file smbios.plist and for last i can tell you also that recognized the C-States, but my question is this, why the performance of Mac's OS running with chameleon is not the same to the smoothness of the real mac running, i talked with the base on the performance of the interface.

 

just in case i'm going to clear this.

 

VIDEO CARD :GTX 260

 

<key>GraphicsEnabler</key>

<string>Yes</string>

 

In conclusion i want you to notice that it doesn't seem like a driver of the video card's problem, but is beyond my knowledge. Which is the real reason of the poor performance over the system's interface? :(

Link to comment
Share on other sites

And here the rev. 428 (trunk 428) with default new (from 405) theme no kext

 

- The package make a directory "Util" locate in /Extra with the bin bdmesg for the Boot dump tool ;)

 

thank all people again for this job!

 

removed: reason, I post a new version

 

last trunk 428 info

zef: Added device ID 0x10DE086C for "GeForce 9300/nForce 730i"

last trunk 416 info

zef: Refactored matchVolumeToString(), fixed NTFSGetUUID's return value. Now "Hide Partition" can accept NTFS volume serials as well.

last trunk 408 info

Kabyl: Make sure there is no (null) before another messsage is added to the log, make bdmesg work in Leopard when compiled on Snow Leopard (native arch is used for now, not a fat binary)

last trunk 405 info

blackosx: Added the latest set of theme files I have to get something in here. To be honest there's not much else I can add without going over the top as I want to keep it simple and it still has to fit most if not all resolutions. The device icons are larger than the embedded theme to make use of the quality of the renders, so as a consequence I have set the max_devices to 4. I hope they're not deemed too big for small screen sizes, and if so I can either reduce their size (which I don't really want to do), or lower the mac_devices further.

 

BootHelp.txt

[size=1]The boot: prompt waits for you to type advanced startup options.
If you don't type anything, the computer continues starting up normally. It
uses the kernel and configuration files on the startup device, which it also
uses as the root device. 

Advanced startup options use the following syntax:

   [device]<kernel> [arguments]

Example arguments include

device: rd=<BSD device name>       (e.g. rd=disk0s2)
        rd=*<IODeviceTree path>    (e.g. rd=*/PCI0@0/CHN0@0/@0:1)

kernel: kernel name                (e.g. "mach_kernel" - must be in "/" )

flags: -v (verbose)                -s (single user mode)
       -x (safe mode)              -f (ignore caches)
       -F (ignore "Kernel Flags" specified in boot configuration file)

"Graphics Mode"="WIDTHxHEIGHTxDEPTH" (e.g. "1024x768x32")

kernel flags                       (e.g. debug=0x144)
io=0xffffffff                      (defined in IOKit/IOKitDebug.h)

Example: mach_kernel rd=disk0s1 -v "Graphics Mode"="1920x1200x32"

If the computer won't start up properly, you may be able to start it up 
using safe mode.  Type -x to start up in safe mode, which ignores all 
cached driver files.

Special booter hotkeys:
 F5            Rescans optical drive.
 F10           Scans and displays all BIOS accessible drives.

Special booter commands:
 ?memory       Displays information about the computer's memory.
 ?video        Displays VESA video modes supported by the computer's BIOS.
 ?norescan     Leaves optical drive rescan mode.

Additional useful command-line options:
 config=<file>             Use an alternate Boot.plist file.

Options useful in the com.apple.Boot.plist file:
 Wait=Yes|No             Prompt for a key press before starting the kernel.
 "Quiet Boot"=Yes|No     Use quiet boot mode (no messages or prompt).
 Timeout=8               Number of seconds to pause at the boot: prompt.
 "Instant Menu"=Yes      Force displaying the partition selection menu. 

 "Default Partition"     Sets the default boot partition,
   =hd(x,y)|             where 'x' & 'y' are the disk and partition numbers
   =<UUID>                 or specify the selected volume UUID string.
 "Hide Partition"        Remove unwanted partition(s) from the boot menu.
   =hd(x,y) [hd(m,n)]      only non mac osx boot partitions can be hidden.

 "Rename Partition"        Rename partition(s) for the boot menu.
   =hd(x,y) <alias> [;hd(m,n) <alias2> ...]

 GUI=No                  Disable the GUI (enabled by default).
 "Boot Banner"=Yes|No    Show boot banner in GUI mode (enabled by default).
 "Legacy Logo"=Yes|No    Use the legacy grey apple logo (disabled by default).

 PciRoot=<value>         Use an alternate value for PciRoot (default value 0).

 GraphicsEnabler=Yes|No  Automatic device-properties generation for gfx cards.
 UseAtiROM=Yes|No        Use an alternate Ati ROM image 
                           (path: /Extra/<vendorid>_<devid>.rom)
 UseNvidiaROM=Yes|No     Use an alternate Nvidia ROM image 
                           (path:  /Extra/<vendorid>_<devid>.rom)
 VBIOS=Yes|No            Inject VBIOS to device-properties.

 EthernetBuiltIn=Yes|No  Automatic "built-in"=yes device-properties generation
                         for ethernet interfaces.

 USBBusFix=Yes           Enable all USB fixes below:
 EHCIacquire=Yes         Enable the EHCI fix (disabled by default).
 UHCIreset=Yes           Enable the UHCI fix (disabled by default).
 USBLegacyOff=Yes        Enable the USB Legacy fix (disabled by default).

 ForceHPET=Yes|No        Force Enable HPET.

 Wake=No                 Disable wake up after hibernation (default: enabled).
 ForceWake=Yes           Force using the sleepimage (disabled by default).
 WakeImage=<file>        Use an alternate sleepimage file. 
                           (default path is /private/var/vm/sleepimage).

 DropSSDT=Yes            Skip the SSDT tables while relocating the ACPI tables.
 DSDT=<file>             Use an alternate DSDT.aml file 
                           (default path: /DSDT.aml /Extra/DSDT.aml).

 SMBIOS=<file>           Use an alternate smbios.plist file 
                           (default path: /smbios.plist /Extra/smbios.plist
                            bt(0,0)/Extra/smbios.plist).

 SMBIOSdefaults=No       Don't use the Default values for SMBIOS overriding
                           if smbios.plist doesn't exist, factory
                           values are kept.

 "Scan Single Drive"     Scan the drive only where the booter got loaded from.
   =Yes|No               Fix rescan pbs when using a DVD reader in AHCI mode. 
 Rescan=Yes              Enable CD-ROM rescan mode.
 "Rescan Prompt"=Yes     Prompts for enable CD-ROM rescan mode.
 SystemId=<UUID>         Set manually the system id UUID,
                         SMUUID in smbios config (reserved field) isn't used.
 SystemType=<n>          Set the system type where n is between 0..6
                         (default =1 (Desktop)
 md0=<file>              Load raw img file into memory for use as XNU's md0
                         ramdisk. /Extra/Postboot.img is used otherwise.
[/size]

 

Fabio

Link to comment
Share on other sites

after reading all the posts I understood so far that my xeon cpus are still not supported - pstates can´t be generated.

could someone explain why speedstep with voodoopstate.kext and pstatechanger is working with my dual cpu nehalem board, but not with this bootloader?

 

Asus Z8NA-D6 wit 2 x Xeon E5520. I added the bdmesg

Log_E5520.txt

Link to comment
Share on other sites

this probably isn't the answer you've been looking for , but, i think their are some guides on your mobo/CPU, they may help

 

hahahaaa.......I wrote the guides myself :D

 

I´m just trying to understand why pstate.kext is generating p-states with my board and rc5 isn´t - maybe rekursor could explain the difference

Link to comment
Share on other sites

Hi,

 

I get this error in log:

"No UUID present in SMBIOS System Information Table

[ERROR] UUID='0123456789ABCDEF' syntax error"

 

And this error in Console: GetHostUUIDString: unable to determine UUID for host. Error: 35

 

With AsereBLN Booter I didn't had this isssue!

 

How can I solve this?

Link to comment
Share on other sites

Great Work!

 

I just bought me a Q9400 (4x2.66GHz) and added the LPC and HPET Hack to my DSDT. After that using the last posted Package here (RC5 r428) the P and C-States are working instantly.

 

But i got some questions. According to MSR Tools it only gets down to 1,1V and 2GHz per Core. This gives me an idle temp of around 50°C with stock cooler (was 39°C with my E6300). I know 65W vs. 95W here - but i don't need 2ghz on each core when idleing ...

 

Is there any possibility to get further down with the frequency? (according ioreg there are only 3 p-states) or core voltage?

 

And is there a tool like MSR Tools which works for 64bit mode? I know of cpu-x but this doesn't show the current speed step frequency.

 

So - keep up the good work.

 

ciao

 

Memphis

Link to comment
Share on other sites

Hi,

 

I get this error in log:

"No UUID present in SMBIOS System Information Table

[ERROR] UUID='0123456789ABCDEF' syntax error"

 

And this error in Console: GetHostUUIDString: unable to determine UUID for host. Error: 35

 

With AsereBLN Booter I didn't had this isssue!

 

How can I solve this?

 

I also have this problem only with this variant of chameleon. Although I don't recieve the "Error: 35" in logs.

 

No platform UUID kext and nothing in SMBIOS.plist that would cause such an error.

 

Question MasterLen - are you booting from a software RAID?

 

D

Link to comment
Share on other sites

I also have this problem only with this variant of chameleon. Although I don't recieve the "Error: 35" in logs.

 

No platform UUID kext and nothing in SMBIOS.plist that would cause such an error.

 

Question MasterLen - are you booting from a software RAID?

 

D

 

No, I am not booting from a RAID!

 

Do I have to add a flag in com.apple.boot.plist?

Link to comment
Share on other sites

No, I am not booting from a RAID!

 

Do I have to add a flag in com.apple.boot.plist?

 

You can get rid of the UUID Error: 35 by adding your LAN device to DSDT with 'built in' key

 

eg.

 

                Device (LAN0)
               {
                   Name (_ADR, Zero)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x08)
                           {
                               "location", 
                               Buffer (0x02)
                               {
                                   "1"
                               }, 

                               "built-in", 
                               Buffer (0x02)
                               {
                                   0x01
                               }, 

                               "device_type", 
                               Buffer (0x09)
                               {
                                   "ethernet"
                               }, 

                               "name", 
                               Buffer (0x24)
                               {
                                   "Realtek RTL8168/8111C PCI-E Gigabit"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }
           }

 

EDIT or EthernetBuiltIn=Yes in boot.plist - if that's still an option with RC5 ??

 

D

Link to comment
Share on other sites

I keep getting the errors below in bold and underlined for a while maybe since rev. 361 if I remember correctly. What needs to changed to correct this issue? Thanks in advance.

 

Below from bsmseg

 

msr(204): platform_info 00011401

msr(207): flex_ratio 00011400

CPU: Vendor/Model/ExtModel: 0x756e6547/0x1a/0x1

CPU: Family/ExtFamily: 0x6/0x0

CPU: MaxCoef/CurrCoef: 0x0/0x14

CPU: MaxDiv/CurrDiv: 0x0/0x0

CPU: TSCFreq: 4000MHz

CPU: FSBFreq: 200MHz

CPU: CPUFreq: 4000MHz

CPU: NoCores/NoThreads: 8/16

CPU: Features: 0x000002ff

Attempting to read GPT

Read GPT

.... cut from message

Setting boot-uuid to: 33A28CAA-DFFE-3323-911A-E8DBAB2692B5

Read HFS+ file: [hd(0,2)/System/Library/CoreServices/SystemVersion.plist] 479 bytes.

Loading Darwin 10.6

Loading kernel mach_kernel

Read HFS+ file: [hd(0,2)/mach_kernel] 4096 bytes.

Read HFS+ file: [hd(0,2)/mach_kernel] 7444208 bytes.

LoadDrivers: Loading from [/Extra/Extensions.mkext]

Read HFS+ file: [hd(0,2)/Extra/Extensions.mkext] 4096 bytes.

Read HFS+ file: [hd(0,2)/Extra/Extensions.mkext] 30342 bytes.

LoadDrivers: Loading from [/system/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext]

Read HFS+ file: [hd(0,2)/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext] 4096 bytes.

Read HFS+ file: [hd(0,2)/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext] 4924845 bytes.

Read HFS+ file: [hd(0,2)/Extra/DSDT.aml] 23452 bytes.

Using PCI-Root-UID value: 1

LAN Controller [168c:001b] :: PciRoot(0x1)/Pci(0x1e,0x0)/Pci(0x0,0x0)

Setting up lan keys

Read HFS+ file: [hd(0,2)/Extra/smbios.plist] 869 bytes.

Slot: 0 Type 24 2048MB (DDR3 SDRAM) 1066MHz Vendor=OCZ

PartNo=OCZ3G2000LV2G SerialNo=00000000

Slot: 2 Type 24 2048MB (DDR3 SDRAM) 1066MHz Vendor=OCZ

PartNo=OCZ3G2000LV2G SerialNo=00000000

Slot: 4 Type 24 2048MB (DDR3 SDRAM) 1066MHz Vendor=OCZ

PartNo=OCZ3G2000LV2G SerialNo=00000000

CPU is Intel® Core i7 CPU 930 @ 2.80GHz, family 0x6, model 0x1a

Patched DMI Table

Found SMBIOS System Information Table 1

No UUID present in SMBIOS System Information Table

[ERROR] UUID='0123456789ABCDEF' syntax error

Customizing SystemID with :

Read HFS+ file: [hd(0,2)/Extra/DSDT.aml] 23452 bytes.

FADT: Restart Fix applied!

FADT: Using custom DSDT!

Found ACPI CPU: CPU0

Found ACPI CPU: CPU1

Found ACPI CPU: CPU2

Found ACPI CPU: CPU3

Found ACPI CPU: CPU4

Found ACPI CPU: CPU5

Found ACPI CPU: CPU6

Found ACPI CPU: CPU7

Found ACPI CPU: CPU8

Found ACPI CPU: CPU9

Found ACPI CPU: CPUA

Found ACPI CPU: CPUB

Found ACPI CPU: CPUC

Found ACPI CPU: CPUD

Found ACPI CPU: CPUE

Found ACPI CPU: CPUF

SSDT with CPU C-States generated successfully

RSDT: Added 1 SSDT table(s)

Starting Darwin x86

 

 

Hi,

 

I get this error in log:

"No UUID present in SMBIOS System Information Table

[ERROR] UUID='0123456789ABCDEF' syntax error"

 

And this error in Console: GetHostUUIDString: unable to determine UUID for host. Error: 35

 

With AsereBLN Booter I didn't had this isssue!

 

How can I solve this?

 

Same here. Getting the error message since maybe RC5 rev. 361 or so.

Link to comment
Share on other sites

 Share

×
×
  • Create New...