Jump to content

AnVAL (ACPI Loader)


valv
 Share

1,538 posts in this topic

Recommended Posts

@b004004, boot.plist & smbios.plist please.

am working on next update since some days. I think it would fix your problem.

btw, did u try FixFSB or ForceFSB keys?

 

@spyguy007,

not sure but, seems like u missed some step. I myself have no ati (I fail to help on this). But one of the guys that got his card working would probably help by (e.g. FKA).

Link to comment
Share on other sites

@b004004, boot.plist & smbios.plist please.

am working on next update since some days. I think it would fix your problem.

btw, did u try FixFSB or ForceFSB keys?

 

Hi valv. Attachments are boot.plist & smbios.plist. Thanks very much!

I dont try the FixFSB or ForceFSB keys ... I think it's not safe to stay long in 4GHz case. Sorry!

Can you help me fix the "Unsynchronized TSC for cpu 1: 0x00000006281b4670, delta 0x8afa8" problem?

Boot.tiff

Bios.tiff

dmesg.tiff

Link to comment
Share on other sites

graphic enabler is not working with my GeForce 8800 gts 512 (g92)

can just use vesa resolutions.

it's working with official rc4

i use this flags:

AutoResolution=Yes
GraphicsEnabler=Yes

Normally should work.

What dev ID has your GPU (seen in System Profiler GPU)?

Already in RC5/valv : { 0x10DE0193, "GeForce 8800 GTS" } - if you have diff ID tell it valv. Dont forget to add that 0193 into nv50 driver .plist!

Do you use native drivers or some modded (someones driver packs)?

Be sure to remove any DSDT gpu things and any graphics string (boot.plist) if you want to use RC5+ Graphicsenabler!

Graphicsenabler works for me (no dsdt gpu parts + no graphicsstring in boot.plist!!)

I have 9600GT and must only add the dev id (every time after systemupdate) in the NV50 driver to get QE/CI/3D.

Link to comment
Share on other sites

sorry for the hassle,

I need to find where the problem is sitting; but as of now, I don't see what did break the code.

Please try those boot files and let me know which one worked for u (if any): Archive.zip

Link to comment
Share on other sites

sorry for the hassle,

I need to find where the problem is sitting; but as of now, I don't see what did break the code.

Please try those boot files and let me know which one worked for u (if any): Archive.zip

the only one passed with out restart

boot 3

here is the log

Config: [hd(0,1)/Extra/com.apple.Boot.plist] 383 bytes.
CPU: AMD Phenom(tm) II X4 955 Processor
16.0
CPU: Vendor/Family/ExtFamily:	  0x68747541/0xf/0x1
CPU: Model/ExtModel/Stepping:	  0x4/0x0/0x2
CPU: Multipliers x10:			  max=320, min=0
CPU: MaxDiv/CurrDiv:			   0x0/0x2
CPU: TSCFreq:					  3210MHz
CPU: CPUFreq:					  3210MHz
CPU: FSBFreq:					  100MHz
CPU: NoCores/NoThreads:			1/4
CPU: Features:					 0x36900221
Chipset is UNKNOWN (pci id 0x96001022)
We have an AtomBios Card
Creating 1 Mode Tables
New table with id : 0
Standard VESA Table at offset * 0x12
Using DTD Format modelines
Aspect Ratio is 16/10
Patching Table #0 : 
Mode 320x200 -> 320x900
Theme: [hd(0,1)]/Extra/Themes/Default
Resolution : 1440x900 (Graphics Mode key)
Theme: [hd(0,1)]/Extra/Themes/Default
Found mode 1152x864 in VESA Table
Config: [hd(1,1)/Extra/com.apple.Boot.plist] 494 bytes.
Setting boot-uuid to: 30186830-A749-399A-BBC2-F8D80F590FBB
Closing VBios
Table #0 : Freeing backup	[OK]
Table #0 : Freeing		[OK]
Freeing map			[OK]
Loading Darwin 10.6
Loading kernel mach_kernel
LoadDrivers: bt(0,0)/Extra/Extensions.mkext
LoadDrivers: /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext
ACPI: [hd(1,1)/Extra/DSDT.aml] 59273 bytes.
Using PCI-Root-UID value: 0
ATI VGA Controller [1002:68b8] :: PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0) 
old pci command - 7
boot display - 0
dumping pci config space, 256 bytes
Found bios image
Adding binimage to card 68b8 from mmio space with size f800
Patched DMI Table
Found SMBIOS System Information Table 1
Customizing SystemID with : e013001e-8c00-01da-754e-00248c85d040
ACPI: [hd(1,1)/Extra/DSDT.aml] 59273 bytes.
Not an Intel platform: Restart Fix not applied !!!
Not an Intel platform: Restart Fix not applied !!!
Patched ACPI version 2 DSDT
Starting Darwin x86

Link to comment
Share on other sites

boot 3 but give panic on io audio will try boot on safe mode to take log
try with -f arg instead. Also, try to boot again (boot 3), since kext related panics (at boot time) are common.
Link to comment
Share on other sites

on kernel log i see this with your new and previous boot file 5.0.9

Jan 10 17:22:29 localhost kernel[0]: npvhash=4095
Jan 10 17:22:29 localhost kernel[0]: PAE enabled
Jan 10 17:22:29 localhost kernel[0]: 64 bit mode enabled
Jan 10 17:22:29 localhost kernel[0]: rtclock_init: Taking bus ratio path 3 (AMD Phenom)
Jan 10 17:22:29 localhost kernel[0]: rtclock_init: Phenom MSR 0xc0010071 returned: 0x80000048002010
Jan 10 17:22:29 localhost kernel[0]: TSC: Verification of clock speed PASSED.
Jan 10 17:22:29 localhost kernel[0]: TSC: Frequency =   3210.891553MHz, FSB frequency =  200.680722MHz, bus ratio = 16
Jan 10 17:22:29 localhost kernel[0]: Darwin Kernel Version 10.6.0: Sun Jan  9 16:31:48 EST 2011; legacy kernel v6 :xnu-1504.9.26/BUILD/obj/RELEASE_I386

 

@Mohamed Khairy,

ok. next step: would u mind trying this one also: amd_boot_5.zip regarding fsb, we'll come to that next :|

tested auto restart :|

Link to comment
Share on other sites

ok, I see now where the problem is lying. Just to be sure before code upload, try this one:

amd_boot_6.zip

booted but now log is

CPU: AMD Phenom(tm) II X4 955 Processor
CPU: Vendor/Family/ExtFamily:	  0x68747541/0xf/0x1
CPU: Model/ExtModel/Stepping:	  0x4/0x0/0x2
CPU: Multipliers x10:			  max=160, min=0
CPU: MaxDiv/CurrDiv:			   0x0/0x0
CPU: TSCFreq:					  3210MHz
CPU: CPUFreq:					  0MHz
CPU: FSBFreq:					  0MHz
CPU: NoCores/NoThreads:			1/4
CPU: Features:					 0x36900221

 

and now kernel log

 

Jan 10 17:53:55 localhost kernel[0]: npvhash=4095
Jan 10 17:53:55 localhost kernel[0]: PAE enabled
Jan 10 17:53:55 localhost kernel[0]: 64 bit mode enabled
Jan 10 17:53:55 localhost kernel[0]: rtclock_init: Taking bus ratio path 3 (AMD Phenom)
Jan 10 17:53:55 localhost kernel[0]: rtclock_init: Phenom MSR 0xc0010071 returned: 0x80000048002010
Jan 10 17:53:55 localhost kernel[0]: TSC: Reported FSB:  200.0000MHz, corrected FSB:  200.676216MHz
Jan 10 17:53:55 localhost kernel[0]: TSC: Verification of clock speed failed. Fallback correction was performed. Please upgrade bootloader.
Jan 10 17:53:55 localhost kernel[0]: TSC: Frequency =   3210.819458MHz, FSB frequency =  200.676216MHz, bus ratio = 16
Jan 10 17:53:55 localhost kernel[0]: Darwin Kernel Version 10.6.0: Sun Jan  9 16:31:48 EST 2011; legacy kernel v6 :xnu-1504.9.26/BUILD/obj/RELEASE_I386

Link to comment
Share on other sites

let's go,

here is the next attempt, hopefully fixing fsb (also): amd_boot_7.zip

now it is good

 

CPU: AMD Phenom(tm) II X4 955 Processor
CPU: Vendor/Family/ExtFamily:	  0x68747541/0xf/0x1
CPU: Model/ExtModel/Stepping:	  0x4/0x0/0x2
CPU: Multipliers x10:			  max=160, min=0
CPU: MaxDiv/CurrDiv:			   0x0/0x1
CPU: TSCFreq:					  3210MHz
CPU: CPUFreq:					  3210MHz
CPU: FSBFreq:					  200MHz
CPU: NoCores/NoThreads:			1/4
CPU: Features:					 0x36900221

 

Jan 10 18:48:54 localhost kernel[0]: npvhash=4095
Jan 10 18:48:54 localhost kernel[0]: PAE enabled
Jan 10 18:48:54 localhost kernel[0]: 64 bit mode enabled
Jan 10 18:48:54 localhost kernel[0]: rtclock_init: Taking bus ratio path 3 (AMD Phenom)
Jan 10 18:48:54 localhost kernel[0]: rtclock_init: Phenom MSR 0xc0010071 returned: 0x80000048002010
Jan 10 18:48:54 localhost kernel[0]: TSC: Verification of clock speed PASSED.
Jan 10 18:48:54 localhost kernel[0]: TSC: Frequency =   3210.888354MHz, FSB frequency =  401.361044MHz, bus ratio = 8
Jan 10 18:48:54 localhost kernel[0]: Darwin Kernel Version 10.6.0: Sun Jan  9 16:31:48 EST 2011; legacy kernel v6 :xnu-1504.9.26/BUILD/obj/RELEASE_I386

 

but on kernel fsb is doubled and busratio is half

Link to comment
Share on other sites

now it is very good

busratio and fsb :D

no, I don't think so :) fsb is passed to legacy kernel as being 400.

I need some "back-work" to get it right :tomato:

Link to comment
Share on other sites

This my friend, is happening on the legacy kernel's side. To be more specific, just take a look at this:

		// blackknight; added for corrected FSB detection for Phenoms and Shanghais
	switch (cpuid_family()) {
		case CPU_FAMILY_AMD_PHENOM:
		case CPU_FAMILY_AMD_SHANGHAI: {
			busFreq = 2 * EFI_FSB_frequency();
		}

hereby, blackknight was apparently fixing the wrong value passed from boot-loader.

I think this fix, with most respect to its author, is no more needed to be there.

Link to comment
Share on other sites

This my friend, is happening on the legacy kernel's side. To be more specific, just take a look at this:
		// blackknight; added for corrected FSB detection for Phenoms and Shanghais
	switch (cpuid_family()) {
		case CPU_FAMILY_AMD_PHENOM:
		case CPU_FAMILY_AMD_SHANGHAI: {
			busFreq = 2 * EFI_FSB_frequency();
		}

hereby, blackknight was apparently fixing the wrong value passed from boot-loader.

I think this fix, with most respect to its author, is no more needed to be there.

ok this means that your last boot is the ok

and kernel patched based on old bootloader

so now we need to return kernel value to

  busFreq = EFI_FSB_frequency();

Link to comment
Share on other sites

yep, exactly. So now we have choice:

  1. stick with wrong values and let the kernel correct them
  2. or correct the kernel and let it trust the boot-loader's values

Link to comment
Share on other sites

 Share

×
×
  • Create New...