Jump to content

P5K PRO - Snow Leopard installation...


  • Please log in to reply
908 replies to this topic

#1
VegasKarma

VegasKarma

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
I have tried MACinized's "[TOTALLY VANILLA] Retail Snow Leopard" without success. Just wondering if any of you have installed Snow Leopard with this motherboard. If so what method did you use, which kexts and such.

I have Leopard 10.5.7 installed now.

#2
bakeradiosk8er16

bakeradiosk8er16

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:USA

I have tried MACinized's "[TOTALLY VANILLA] Retail Snow Leopard" without success. Just wondering if any of you have installed Snow Leopard with this motherboard. If so what method did you use, which kexts and such.

I have Leopard 10.5.7 installed now.


Did you try

Retail Snow Leopard on P5Q - Closest to the real Mac Pro yet!

or

Retail OSX 10.6 on P5Q Deluxe/Others

#3
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

I have tried MACinized's "[TOTALLY VANILLA] Retail Snow Leopard" without success. Just wondering if any of you have installed Snow Leopard with this motherboard. If so what method did you use, which kexts and such.

I have Leopard 10.5.7 installed now.


Important note: NO SUPPORT FOR TORRENTS. ORIGINAL RETAIL DISC ONLY!!! – No links/attachments to/of copyrighted material allowed here.

You have got to tell us a lot more about what you have/are using like (add it to the first post):

1) What BIOS version are you using?
– I am using 1303 which people can get from the support page (link below).

2) Do you have a (patched) dsdt.dsl? If yes attach it.
I'll attach a zipped copy of mine shortly. Done. See attachments.

3) What boot loader are you using?
– I am using Chameleon v1.0.12 with a patched /boot file.

4) Have you AHCI enabled in the BIOS?
– I have SATA Configuration set to AHCI (see page 4.13).

5) What brand/type of hard drive/DVD (interfact SATA/IDE) do you have?
– I have two 1TB and two 300MB SATA hard drives plus a TSSTcorp CDDVDW SH-S223L.

6) RAID or non RAID installation?
– I use a non-RAID installation.

7) Mouse/keyboard type (USB/PS2).
– I use a wired Logitech Apple USB keyboard (MB110N/A) and wireless Logitech mouse.

8) What kexts did you install/use for 10.5.7?
I'll attach a zipped copy of mine shortly. Done. See attachments.
– Please note that the included LegacyAppleAHCIPort.kext includes my patch to fix the orange drive icons without the need for a blockstorage.kext, and that PlatformUUID.kext needs to be changed to match your partitions' GUID.

Also, add a link for future reference, to the used installation method. I'll add a few myself.

References/Links

1) Asus P5K Pro support page.
2) Asus P5K Pro manual
3) ACPI specifications used by me available as download here.
4) The Intel IO Controller Hub (ICH9) Family datasheet.
5) Winbond W836127 DHG-A (see also post #204) datasheet – update available as download here.
6) SMBus (System Management Bus) specifications v2.0 available here.
7) The latest iasl compiler (14122009) available from here (thanks to mitch_de).

Vanilla Snow Leopard Installation
Here's the ultra short/over simplified edition:
1) Make a GUID Partition Table with Disk Utility on a 8GB SanDisk Cruzer (1 * 512MB + 1 * 7GB).
2) Restore the original Snow Leopard Retail DVD with Disk Utility on the second partition.
3) Install Chameleon v2 RC4 with help of Dr Hurt's installer.
4) Boot from the newly setup [USB stick] and installed Snow Leopard.

Note: Use search for the things you don't understand :D

A Note About Chameleon
I personally cannot use Chameleon v2 RC3 simply because it won't even boot (anymore) from a USB stick when my 1TB SAMSUNG HD103SJ is connected to any SATA port of the motherboard. I don't have this problem with the 1TB SAMSUNG HD103UJ so it must be related to the GUID partition simply because I installed Snow Leopard from the very same USB stick on the very same HD. A bug was filed on May 06, 2009, 01:21:50 PM but the Chameleon developers have yet to fix it.

And this was one of the reasons that I started to work on Revolution and ways to speed up the boot process.

DSDT
WARNING: The attached DSDT's includes many patches, including the newly added HDEF/DTGP/LAN/SBUS methods, included USB patches, but most importantly the following Intel Q9300 specific P-State fix to lower the CPU temperature:

Name (_PSS, Package (0x04)
{
	Package (0x06) { 2498, 88000, 10, 10, 0x4720, 0 },
	Package (0x06) { 2331, 59643, 10, 10, 0x071E, 1 },
	Package (0x06) { 2165, 51124, 10, 10, 0x461C, 2 },
	Package (0x06) { 1998, 41880, 10, 10, 0x061A, 3 }
})
You don't necessarily need to fill in the first two values – the core frequency and voltage – because OS X 10.6 will check for illegal values anyway, and when it find one, then it will do the math for you. I however hope to know what I am doing, and thus all values are there already. Too bad there isn't a way wecan verify this all.

And for the record, I used the P State Calculator. I also added the following code snippet to Processor (CPU2... (and 3 and 4):
Processor (CPU2, 0x02, 0x00000810, 0x06)
{
	Alias (\_PR.CPU1._PSS, _PSS)
	Alias (\_PR.CPU1._PSD, _PSD)
	Alias (\_PR.CPU1._CST, _CST)
}
Note: You can also use: Processor (CPU2, 2, 0x810, 6) since this will be converted by the IASL compiler anyway. And the 0x810 used here is the PBlk system IO address which might be different for your hardware – please check your DSDT before using it.

And OS X appears to be looking only for a _CST object under Processor (CPU1... and thus we add it like this:
Name (_CST, Package (0x04){	0x03,  // Number of C-State packages: 3 (C1, C2 and C3).	Package (0x04)	{		ResourceTemplate ()		{			Register (FFixedHW, 			0x01,               // Bit Width			0x02,               // Bit Offset			0x0000000000000000, // Address			0x00,               // Access Size			)		},		One, 		One, 		0x03E8	}, 	Package (0x04)	{		ResourceTemplate ()		{			Register (SystemIO, 			0x08,               // Bit Width			0x00,               // Bit Offset			0x0000000000000814, // Address			,)		},		0x02,		One,		0x01F4	}, 	Package (0x04)	{		ResourceTemplate ()		{			Register (SystemIO, 			0x08,               // Bit Width			0x00,               // Bit Offset			0x0000000000000815, // Address			,)		},		0x03,		0x55,		0xFA	}})
This will also prevent the following errors in kernel.log:
ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed
ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized
You also need some sort of SMBIOS injection, presumably Chameleon, or you can either replace: "MacPro3,1" into "P5K PRO" in:

/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/info.plist

or use my Legacy kext for it (see attachments).

New Methods
Method (MCDP) replacement for DTGP with less arguments.
Method (MCID)
Method (MCBN)
Method (PNOT)

New Devices
Device (LAN0)
Device (SBUS)
Device (EC)

Renamed Devices
I renamed the following Devices in my dsdt.dsl to match a MacPro3,1:

Device (MCEH) // Renamed from: MCH
Device (IPIC) // Renamed from: PIC
Device (DMAC) // Renamed from: DMAD
Device (TIMR) // Renamed from: TMR
Device (RTC) // Renamed from: RTC0
Device (MATH) // Renamed from: COPR
Device (LDRC) // Renamed from: OMSC
Device (PRT0) // Renamed from: CHN0
Device (PRT1) // Renamed from: CHN1
Device (EHCI) // Renamed from: EUSB
Device (UHCI) // Renamed from: USBE

Fix for USBF: error in kernel.log
The USB Hub Channels (12 USB ports) have now also been renamed properly:

Device (UHC1) // Renamed from: USB0
Device (UHC2) // Renamed from: USB1
Device (UHC3) // Renamed from: USB2
Device (UHC4) // Renamed from: USB4
Device (UHC5) // Renamed from: USB5
Device (UHC6) // Renamed from: USB6

Not really a visual trade off, but it takes care of this error in your kernel.log:

Sep 27 10:04:50 localhost kernel[0]: USBF: 5.387 AppleUSBUHCI[0x6e64000]::start unable to initialize UIM

Note: I removed (comment out really) the original Device (USB3) in my dsdt.dsl because it isn't used in the six & six configuration (see also ICH9 datasheet. Link available under: References/Links).

Removed Devices
The following devices have been removed with this update:

Device PS2K (PS2 Keyboard)
Device PS2M (PS2 Mouse)
Device SPKR (Speaker)
Device FDC (Floppy Disk Controller)

Notes: See post #21 for a HOWTO about re-inserting the removed PS2 Devices. And Device (SPKR) is used by Parallels Desktop to BEEP when it starts a virtual machine. Thanks to Beerkex'd for the tip!

Graphics
You will not find any graphics card related patches, simply because they do not belong there! I'll explain this a next time.

I have a NVIDIA GT9600-512MB video card and I used EFI-Studio (search) to generate the following "device-properties" for: /Library/Preferences/SystemConfiguration/com.apple.Boot.plist:
130400000100000008000000600200000d00000002010c00d041030a000000000101060000010101060000007fff04000e0000004e00560050004d0000002000000001000000000000000000000000000000000000000000000000000000220000005600520041004d002c0074006f00740061006c00730069007a006500000008000000000000201c0000006400650076006900630065005f00740079007000650000000f0000004e5644412c506172656e740e0000006e0061006d00650000000b000000646973706c617922000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c617922000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c6179100000006d006f00640065006c0000001a0000006e5669646961204765466f726365203936303020475420000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616314000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4114000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4220000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d6163100000004e00560043004100500000001800000004000000000003000c00000000000007000000001e00000072006f006d002d007200650076006900730069006f006e0000002e0000006e5669646961204765466f7263652039363030204754204f70656e474c20456e67696e65205b4546495d3c0000000100000002010c00d041030a0000000001010600021a7fff0400180000006400650076006900630065002d0069006400000006000000393a3c0000000100000002010c00d041030a0000000001010600001a7fff0400180000006400650076006900630065002d0069006400000006000000373a3c0000000100000002010c00d041030a0000000001010600021d7fff0400180000006400650076006900630065002d0069006400000006000000363a3c0000000100000002010c00d041030a0000000001010600011a7fff0400180000006400650076006900630065002d0069006400000006000000383a3f0000000100000002010c00d041030a0000000001010600051c0101060000007fff0400160000006200750069006c0074002d0069006e00000005000000013c0000000100000002010c00d041030a0000000001010600001d7fff0400180000006400650076006900630065002d0069006400000006000000343a3c0000000100000002010c00d041030a0000000001010600011d7fff0400180000006400650076006900630065002d0069006400000006000000353a
Which looks like junk, and thus here's the more human readable variant in XML format:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict>	<key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>	<dict>		<key>@0,compatible</key>		<string>NVDA,NVMac</string>		<key>@0,device_type</key>		<string>display</string>		<key>@0,name</key>		<string>NVDA,Display-A</string>		<key>@1,compatible</key>		<string>NVDA,NVMac</string>		<key>@1,device_type</key>		<string>display</string>		<key>@1,name</key>		<string>NVDA,Display-B</string>		<key>NVCAP</key>		<data>		BAAAAAAAAwAMAAAAAAAABwAAAAA=		</data>		<key>NVPM</key>		<data>		AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==		</data>		<key>VRAM,totalsize</key>		<string>0x20000000</string>		<key>device_type</key>		<string>NVDA,Parent</string>		<key>model</key>		<string>nVidia GeForce 9600 GT</string>		<key>name</key>		<string>display</string>		<key>rom-revision</key>		<string>nVidia GeForce 9600 GT OpenGL Engine</string>	</dict></dict></plist>
In short: If you need to generate device-properties for your video card, then get going with EFI-Studio.

Graphics Update
DSDT V3.1 includes a placeholder – under Device (P0P2) – for your graphics card, and NVIDIA users may simply use the following code snippet instead of adding the device properties via com.apple.Boot.plist
0x00, 0x00, 0x00, 0x20
},

"device_type",
Buffer (0x0D)
{
"NVDA,Parent"
},

"model",
Buffer (0x17)
{
"nVidia GeForce 9600 GT"
},

"rom-revision",
Buffer (0x2B)
{
"nVidia GeForce 9600 GT OpenGL Engine"
}
}, Local0)

MCDP (Arg2, RefOf (Local0))
Return (Local0)
}
}
}
_linenums:0'>Device (GFX0) // Newly added device. { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package (0x18) { "@0,compatible", Buffer (0x0B) { "NVDA,NVMac" }, "@0,device_type", Buffer (0x08) { "display" }, "@0,name", Buffer (0x0F) { "NVDA,Display-A" }, "@1,compatible", Buffer (0x0B) { "NVDA,NVMac" }, "@1,device_type", Buffer (0x08) { "display" }, "@1,name", Buffer (0x0F) { "NVDA,Display-B" }, "NVCAP", Buffer (0x18) { /* 0000 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, /* 0008 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, /* 0010 */ 0x00, 0x00, 0x00, 0x00 }, "NVPM", Buffer (0x1C) { /* 0000 */ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00 }, "VRAM,totalsize", Buffer (0x04) { 0x00, 0x00, 0x00, 0x20 }, "device_type", Buffer (0x0D) { "NVDA,Parent" }, "model", Buffer (0x17) { "nVidia GeForce 9600 GT" }, "rom-revision", Buffer (0x2B) { "nVidia GeForce 9600 GT OpenGL Engine" } }, Local0) MCDP (Arg2, RefOf (Local0)) Return (Local0) } } }

But make sure to change the marked lines (in red) accordantly.

Known Issues
1) Sleep after an idle period doesn't work with TSSTcorp DVD's.
2) Apple Menu -> Restart doesn't work.
3) FireWire hotplug only works after sleep.

Workarounds
1) Use the Autosleep script.
2) Use my OSXRestart.kext.
3) Sleep hack before connecting FireWire hardware.

Note: The latest version of OSXRestart.kext is now available from here only!

Release Notes
Release notes for the attached DSDT versions can be found throughout the thread, but here are a few pointers to make it easy for you:

DSDT V2.1 post #21 (page 2)
DSDT V2.2 post #28 (page 2)
DSDT V2.3 post #42 (page 3)
DSDT V2.4 post #49 (page 3)
DSDT V2.5 post #58 (page 3)
DSDT V2.6 post #74 (page 4)
DSDT V2.7 post #97 (page 5)
DSDT V2.8 post #104 (page 6)
DSDT V2.9 post #132 (page 7)
DSDT V3.0 post #186 (page 10)
DSDT V3.1 post #272 (page 14)
DSDT V3.2 post #242 (page 22)
DSDT V3.3 post #535 (page 27)
DSDT V3.3.1 post #549 (page 28)
DSDT V3.4 post #571 (page 29) AKA insanely small DSDT (2024 bytes)
DSDT V3.4.1 post #647 (page 33) AKA extremely insane small DSDT (1994 bytes)

And for iasl (20091111) post #319 (page 17) and OSXRestart post #325 (page 17) and post # 432 (page 23).

Updates
I keep working on new updates (for now) and thus we kindly ask you to read the whole thread, before you ask obvious questions. And in case you missed it: the latest version of OSXRestart.kext is available for download here. Don't download the old one attached here!!

Attached Files

Attached Files



#4
VegasKarma

VegasKarma

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
Master Chief,
I have updated my signature with more information. As for the boot loader: I first attempt I followed the MacLoader_SL instructions. SL installs but after installing the boot loader it fails to boot.

As for kexts I have tried both the ones that come with MacLoader and the ones you provided.

#5
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

Master Chief,
I have updated my signature with more information.

Much better. Thanks.

As for the boot loader: I first attempt I followed the MacLoader_SL instructions. SL installs but after installing the boot loader it fails to boot....

Fails how? What's the last thing you see?

#6
VegasKarma

VegasKarma

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Much better. Thanks.


Fails how? What's the last thing you see?

Apple and never ending spinner.
When I boot with "-v -f" these are some of the last things I see:

disk0: ioctL(_IOWR,'d',101,24) is unsupported.

disk0s0: I/O error.

ACPI_SMC_PlatformPlugin: :pushCPU_CSTData - _CST evaluation failed

#7
OsXsO

OsXsO

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts
  • Location:Spain
hello

Just wannted to add my expirence, my progress and my doubts to this topic. As we all want is a perfect running P5K Pro. We had good running system in 10.5

What are the parts we need to ad or modifiy "Patch"

USB UHCI = Setting it up to Internal Resolves Sleep Issues
Yukon = Setting it up as internal for Time Maschine and Device ID to get recognized as lan port
AlC 883 = dsdt and http://www.insanelym...p...t&p=1175940 gives perfect sound no errors
AHCI = Setting it up as internal removes Orange HD Disk and the Device ID to get recognized
Powermanagement = Dsdt edit or disabler to get appleintelpowermanagement.kext loaded
Fakesmc.kext = to get Hackintosh running :(
uuid.kext = seems more cosmetic but prefents some minor errors
smbios = this is important if u want to get vanilla powermanagment speedstepv working
Openhaltrestart = Restart and Shut down fix.. seems not really working on SL
Marvell 88se6102 = Patched ioata to get pata device working

This are the basics what our MB needs.

Most of this could be patched by a single file DSDT.aml. So what we can add to dsdt.aml is setting our usb, sata and Lan device as intern, solve KP by intelpowermanagement.kext and add HDEF support. All this is Generic for our Motherboard if we have all the same Bios. As Master Chief allready pointed out 1303 is the last on Asus Support Page.

Attached you will find my dsdt.dsl with this patches. Intelpowermanagment, Ahci, Usb, HDEF. There is still something wrong cause there are only 5 of 6 UsbUhci ports shown by system profiler.

I think on goal is to include TM Fix on P0P9 in the DSDT or in better words getting a Generic P5K Pro Dsdt with all the fix possible for our board. Excluding CPU and GPU

As for the boot loader: I first attempt I followed the MacLoader_SL instructions. SL installs but after installing the boot loader it fails to boot.


As for me i'm running SL stable booting with Boothink cause Chameleon RC3 resist to boot SL. May theres something i miss but give it a try on a usb stick.

MASTER CHIEF

I would like to add to my Dsdt the speedstep settings of my Q6600 i found this settings of a gigabyte user "AsereBLN"

Scope (_PR)    {        Processor (CPU0, 0x00, 0x00000410, 0x06) {}        Processor (CPU1, 0x01, 0x00000410, 0x06) {}        Processor (CPU2, 0x02, 0x00000410, 0x06) {}        Processor (CPU3, 0x03, 0x00000410, 0x06) {}        Name (PDC0, 0x80000000)        Name (PDC1, 0x80000000)        Name (PDC2, 0x80000000)        Name (PDC3, 0x80000000)        Name (NPCT, Package (0x02)        {            ResourceTemplate ()            {                Register (FFixedHW,                     0x10,                    0x00,                    0x0000000000000199,                    ,)            },             ResourceTemplate ()            {                Register (FFixedHW,                     0x10,                    0x00,                    0x0000000000000198,                    ,)            }        })        Name (NPSS, Package (0x02)        {            Package (0x06)            {                0x0960,                 0x000157C0,                 0xA0,                 0x0A,                 0x0926,                 0x0926            },             Package (0x06)            {                0x0640,                 0xDAC0,                 0xA0,                 0x0A,                 0x061C,                 0x061C            }        })        Name (NCS1, Package (0x04)        {            0x03,             Package (0x04)            {                ResourceTemplate ()                {                    Register (FFixedHW,                         0x00,                        0x00,                        0x0000000000000000,                        ,)                },                 One,                 0x14,                 0x03E8            },            Package (0x04)            {                ResourceTemplate ()                {                    Register (SystemIO,                         0x08,                        0x00,                        0x0000000000000414,                        ,)                },                 0x02,                 0x5A,                 0x02EE            },            Package (0x04)            {                ResourceTemplate ()                {                    Register (SystemIO,                         0x08,                        0x00,                        0x0000000000000415,                        ,)                },                 0x03,                 0x384,                 0x01FC            }        })        Scope (CPU0)        {            Name (HI0, Zero)            Name (HC0, Zero)            Name (TLD0, Zero)            Method (_PDC, 1, NotSerialized)            {                Store ("PDC0", Debug)                CreateDWordField (Arg0, 0x08, CAP0)                Store (CAP0, PDC0)            }            Method (_PPC, 0, NotSerialized)            {                Return (Zero)            }            Method (_PCT, 0, NotSerialized)            {                Return (NPCT)            }            Method (_PSS, 0, NotSerialized)            {                Return (NPSS)            }            Method (_CST, 0, NotSerialized)            {                Return (NCS1)            }        }        Scope (CPU1)        {            Name (HI0, Zero)            Name (HC0, Zero)            Name (TLD0, Zero)            Method (_PDC, 1, NotSerialized)            {                Store ("PDC1", Debug)                CreateDWordField (Arg0, 0x08, CAP0)                Store (CAP0, PDC1)            }            Method (_PPC, 0, NotSerialized)            {                Return (Zero)            }            Method (_PCT, 0, NotSerialized)            {                Return (NPCT)            }            Method (_PSS, 0, NotSerialized)            {                Return (NPSS)            }            Method (_CST, 0, NotSerialized)            {                Return (NCS1)            }        }        Scope (CPU2)        {            Name (HI0, Zero)            Name (HC0, Zero)            Name (TLD0, Zero)            Method (_PDC, 1, NotSerialized)            {                Store ("PDC2", Debug)                CreateDWordField (Arg0, 0x08, CAP0)                Store (CAP0, PDC2)            }            Method (_PPC, 0, NotSerialized)            {                Return (Zero)            }            Method (_PCT, 0, NotSerialized)            {                Return (NPCT)            }            Method (_PSS, 0, NotSerialized)            {                Return (NPSS)            }            Method (_CST, 0, NotSerialized)            {                Return (NCS1)            }        }        Scope (CPU3)        {            Name (HI0, Zero)            Name (HC0, Zero)            Name (TLD0, Zero)            Method (_PDC, 1, NotSerialized)            {                Store ("PDC3", Debug)                CreateDWordField (Arg0, 0x08, CAP0)                Store (CAP0, PDC3)            }            Method (_PPC, 0, NotSerialized)            {                Return (Zero)            }            Method (_PCT, 0, NotSerialized)            {                Return (NPCT)            }            Method (_PSS, 0, NotSerialized)            {                Return (NPSS)            }            Method (_CST, 0, NotSerialized)            {                Return (NCS1)            }        }    }

where shoud i but that. Or what should i leave as what i've read i must rename all the devices to match a MacPro3,1. I was wondering what happens if i try to boot with your dsdt.. and guess what.. nice KP on cpu acpi.... this could be because ssdt setting of chameleon i read somewhere it must be set to drop ssdt ?? May u check my dsdt.dsl to find the missing usb port. :( i fixed the compiler erros taking yours as example. Which is exactly the generic part of dsdt for all p5k pro users without influence on what cpu, memory or gpu they are running. Cause if we could make the generic code people just needs to delete that part and copy paste the fixed.


see u soon

Attached Files



#8
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts

I would like to add to my Dsdt the speedstep settings of my Q6600 i found this settings of a gigabyte user "AsereBLN"

Scope (_PR)    {        Processor (CPU0, 0x00, 0x00000410, 0x06) {}        Processor (CPU1, 0x01, 0x00000410, 0x06) {}        Processor (CPU2, 0x02, 0x00000410, 0x06) {}        Processor (CPU3, 0x03, 0x00000410, 0x06) {}        Name (PDC0, 0x80000000)        Name (PDC1, 0x80000000)        Name (PDC2, 0x80000000)        Name (PDC3, 0x80000000)        Name (NPCT, Package (0x02)        {            ResourceTemplate ()            {                Register (FFixedHW,                     0x10,                    0x00,                    0x0000000000000199,                    ,)            },             ResourceTemplate ()            {                Register (FFixedHW,                     0x10,                    0x00,                    0x0000000000000198,                    ,)            }        })        Name (NPSS, Package (0x02)        {            Package (0x06)            {                0x0960,                 0x000157C0,                 0xA0,                 0x0A,                 0x0926,                 0x0926            },             Package (0x06)            {                0x0640,                 0xDAC0,                 0xA0,                 0x0A,                 0x061C,                 0x061C            }        })        Name (NCS1, Package (0x04)        {            0x03,             Package (0x04)            {                ResourceTemplate ()                {                    Register (FFixedHW,                         0x00,                        0x00,                        0x0000000000000000,                        ,)                },                 One,                 0x14,                 0x03E8            },            Package (0x04)            {                ResourceTemplate ()                {                    Register (SystemIO,                         0x08,                        0x00,                        0x0000000000000414,                        ,)                },                 0x02,                 0x5A,                 0x02EE            },            Package (0x04)            {                ResourceTemplate ()                {                    Register (SystemIO,                         0x08,                        0x00,                        0x0000000000000415,                        ,)                },                 0x03,                 0x384,                 0x01FC            }        })        Scope (CPU0)        {            Name (HI0, Zero)            Name (HC0, Zero)            Name (TLD0, Zero)            Method (_PDC, 1, NotSerialized)            {                Store ("PDC0", Debug)                CreateDWordField (Arg0, 0x08, CAP0)                Store (CAP0, PDC0)            }            Method (_PPC, 0, NotSerialized)            {                Return (Zero)            }            Method (_PCT, 0, NotSerialized)            {                Return (NPCT)            }            Method (_PSS, 0, NotSerialized)            {                Return (NPSS)            }            Method (_CST, 0, NotSerialized)            {                Return (NCS1)            }        }        Scope (CPU1)        {            Name (HI0, Zero)            Name (HC0, Zero)            Name (TLD0, Zero)            Method (_PDC, 1, NotSerialized)            {                Store ("PDC1", Debug)                CreateDWordField (Arg0, 0x08, CAP0)                Store (CAP0, PDC1)            }            Method (_PPC, 0, NotSerialized)            {                Return (Zero)            }            Method (_PCT, 0, NotSerialized)            {                Return (NPCT)            }            Method (_PSS, 0, NotSerialized)            {                Return (NPSS)            }            Method (_CST, 0, NotSerialized)            {                Return (NCS1)            }        }        Scope (CPU2)        {            Name (HI0, Zero)            Name (HC0, Zero)            Name (TLD0, Zero)            Method (_PDC, 1, NotSerialized)            {                Store ("PDC2", Debug)                CreateDWordField (Arg0, 0x08, CAP0)                Store (CAP0, PDC2)            }            Method (_PPC, 0, NotSerialized)            {                Return (Zero)            }            Method (_PCT, 0, NotSerialized)            {                Return (NPCT)            }            Method (_PSS, 0, NotSerialized)            {                Return (NPSS)            }            Method (_CST, 0, NotSerialized)            {                Return (NCS1)            }        }        Scope (CPU3)        {            Name (HI0, Zero)            Name (HC0, Zero)            Name (TLD0, Zero)            Method (_PDC, 1, NotSerialized)            {                Store ("PDC3", Debug)                CreateDWordField (Arg0, 0x08, CAP0)                Store (CAP0, PDC3)            }            Method (_PPC, 0, NotSerialized)            {                Return (Zero)            }            Method (_PCT, 0, NotSerialized)            {                Return (NPCT)            }            Method (_PSS, 0, NotSerialized)            {                Return (NPSS)            }            Method (_CST, 0, NotSerialized)            {                Return (NCS1)            }        }    }



see u soon

kp also for me.
tried this from infinitemac, this code is not good for p5k mobos
mine for examle is like this for the processors, guess also yours:

[size="1"] Scope (_PR)	{		Processor (CPU1, 0x01, 0x00000810, 0x06)		{			OperationRegion (STBL, SystemMemory, 0xCFF8E0D0, 0x01D2)			Name (NCPU, 0x04)			Name (TYPE, 0x80000000)			Name (HNDL, 0x80000000)			Name (CFGD, 0x01000007)			Name (TBLD, 0x80)			Method (_PDC, 1, NotSerialized)			{				CreateDWordField (Arg0, Zero, REVS)				CreateDWordField (Arg0, 0x04, SIZE)				Store (SizeOf (Arg0), Local0)				Store (Subtract (Local0, 0x08), Local1)				CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)				Name (STS0, Buffer (0x04)				{					0x00, 0x00, 0x00, 0x00				})				Concatenate (STS0, TEMP, Local2)				_OSC (Buffer (0x10)					{						/* 0000 */	0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, 						/* 0008 */	0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53					}, REVS, SIZE, Local2)			}			Method (_OSC, 4, NotSerialized)			{				CreateDWordField (Arg3, Zero, STS0)				CreateDWordField (Arg3, 0x04, CAP0)				CreateDWordField (Arg0, Zero, IID0)				CreateDWordField (Arg0, 0x04, IID1)				CreateDWordField (Arg0, 0x08, IID2)				CreateDWordField (Arg0, 0x0C, IID3)				Name (UID0, Buffer (0x10)				{					/* 0000 */	0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, 					/* 0008 */	0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53				})				CreateDWordField (UID0, Zero, EID0)				CreateDWordField (UID0, 0x04, EID1)				CreateDWordField (UID0, 0x08, EID2)				CreateDWordField (UID0, 0x0C, EID3)				If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)), 					LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))				{					Store (0x06, STS0)					Return (Arg3)				}				If (LNotEqual (Arg1, One))				{					Store (0x0A, STS0)					Return (Arg3)				}				Or (And (TYPE, 0x7FFFFFFF), CAP0, TYPE)				If (And (CFGD, One))				{					If (LAnd (LAnd (And (CFGD, 0x01000000), LEqual (And (TYPE, 						0x09), 0x09)), LNot (And (TBLD, One))))					{						Or (TBLD, One, TBLD)						Load (STBL, HNDL)					}				}				If (And (CFGD, 0xF0))				{					If (LAnd (LAnd (And (CFGD, 0x01000000), And (TYPE, 0x18						)), LNot (And (TBLD, 0x02))))					{						Or (TBLD, 0x02, TBLD)					}				}				Return (Arg3)			}		}	}	Scope (_PR)	{		Processor (CPU2, 0x02, 0x00000810, 0x06)		{................................. .............. ...........

power states and cpu optimizations via dsdt is the last thing left on my p5k premium wifi

#9
VegasKarma

VegasKarma

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
Hey! I got it booting!

Some things still aren't right:

1. The system only recognizes one of my video cards.
2. Sound is not working.
3. Restart still doesn't work.

Here is my dsdt

#10
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts
do u get any of these messages?
ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed
ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

master chief what about u?
EDIT:
i mixed your part of the cpus (master chief )with my dsdt and for the 1st time i was able to boot with no smc errors,cpu-i.kext loaded with no kp and i saw 4 pstates.
cpu was running cool but there was a major problem in perfomace..a lot of LAG,sometimes spinning ball, etc
now iam back to my dsdt its fast again but i would like to study more cpu optimizations
what u suggest?
here is my dsdt, take a look.
Attached File  spanakorizo.dsl.zip   28.12KB   35 downloads

#11
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

Hey! I got it booting!

Some things still aren't right:

1. The system only recognizes one of my video cards.
2. Sound is not working.
3. Restart still doesn't work.

Here is my dsdt

1) I have no idea how to fix this. Use search because I've seen people reporting it to work for them.

2) Sound should work with the included kext files.

3) Restart should also work with the included kext files (OpenHaltRestart.kext) be it a little slow.

Please attach your dsdt.dsl file. Not some text copy because I can't do jack with text files!

do u get any of these messages?
ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed
ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

master chief what about u?
EDIT:
i mixed your part of the cpus (master chief )with my dsdt and for the 1st time i was able to boot with no smc errors,cpu-i.kext loaded with no kp and i saw 4 pstates.
cpu was running cool but there was a major problem in perfomace..a lot of LAG,sometimes spinning ball, etc
now iam back to my dsdt its fast again but i would like to study more cpu optimizations
what u suggest?
here is my dsdt, take a look.
Attached File  spanakorizo.dsl.zip   28.12KB   35 downloads

I don't want to sound rude, but this thread was started to help out P5K PRO owners and P5K PRO owners only. You may want to head over to the DSDT - Vanilla Speedstep - Remove _cst errors for MB without C-states and ask for help there.

And please, please change that long code block in that other post into a codebox – I am starting to suffer from RSI which I tell you is no joke but really hurts!

#12
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

<snip />

I think on goal is to include TM Fix on P0P9 in the DSDT or in better words getting a Generic P5K Pro Dsdt with all the fix possible for our board. Excluding CPU and GPU

Time Machine works here; you should copy the LAN device from my dsdt.dsl

As for me i'm running SL stable booting with Boothink cause Chameleon RC3 resist to boot SL. May theres something i miss but give it a try on a usb stick.

I don't think that you are missing anything simply because Chameleon RC3 has serious compatibility issues with certain drives, including my 1TB SAMSUNG HD103SJ.

MASTER CHIEF

I would like to add to my Dsdt the speedstep settings of my Q6600 i found this settings of a gigabyte user "AsereBLN"

<snip />

where shoud i but that. Or what should i leave as what i've read i must rename all the devices to match a MacPro3,1. I was wondering what happens if i try to boot with your dsdt.. and guess what.. nice KP on cpu acpi.... this could be because ssdt setting of chameleon i read somewhere it must be set to drop ssdt ??

You cannot use the _PSS Method from my dsdt.dsl Not without modifications. You have to change it for your CPU. You can read more about this, the values needed and how to calculate them, in the previously mentioned SpeedStep thread.

May u check my dsdt.dsl to find the missing usb port. :)

USB3 isn't showing up in IORegistryExplorer? If that's the case, then read my post and note the modifications to the USB ports.

i fixed the compiler erros taking yours as example. Which is exactly the generic part of dsdt for all p5k pro users without influence on what cpu, memory or gpu they are running. Cause if we could make the generic code people just needs to delete that part and copy paste the fixed.

Yep. That's one of our goals.

I see that you are from Spain. Nice... Costa Blanca is our #2 holiday destination since years, and Costa Dorada before that, but Ibiza is still #1 since 1979 (yeah, I am that old already).

Adios amigo :)

#13
OsXsO

OsXsO

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts
  • Location:Spain

USB3 isn't showing up in IORegistryExplorer? If that's the case, then read my post and note the modifications to the USB ports.


it isn't USB3. i read not to edit this one so i left it as it is. the one i have problem is "Name (_ADR, 0x001A0001)" alias USB5 it shows up in ioexplorer but actually no tree.

Gonna check out linux distro to find my pss ... "yeas i can" :rolleyes:

Offtopic

I see that you are from Spain. Nice... Costa Blanca is our #2 holiday destination since years, and Costa Dorada before that, but Ibiza is still #1 since 1979 (yeah, I am that old already).

Adios amigo :rolleyes:


Andalucia, verde que te quiero verde :rolleyes:

#14
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts

I don't want to sound rude, but this thread was started to help out P5K PRO owners and P5K PRO owners only. You may want to head over to the DSDT - Vanilla Speedstep - Remove _cst errors for MB without C-states and ask for help there.

And please, please change that long code block in that other post into a codebox – I am starting to suffer from RSI which I tell you is no joke but really hurts!

ok that's no problem but it's not like i have a gigabyte mobo or an asus AV8 mobo or a Xbox360 (check my sigs)
about the codebox i thought the forum will do it automatically, sorry i edited with "codebox" instead of "code" ;)
see u on the other thread :(

#15
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

it isn't USB3. i read not to edit this one so i left it as it is. the one i have problem is "Name (_ADR, 0x001A0001)" alias USB5 it shows up in ioexplorer but actually no tree.

You might wanna re-read my first post because I keep adding info to it... and one particular part of the new info is all about the USB Hubs – I have all of them working.

Offtopic
Andalucia, verde que te quiero verde :)

That must be part of your school history, isn't it?

Hi all menbre,
Thanks spanakorizo he answer

<snip />

Sorry,my english bad I am french :(

Listen. If you want help from me or anyone else here, then please start a new topic. I'm sure that other people, like spanakorizo will join you there. And please remove your post here, and I'll join you there. How's that for an answer? Fair enough isn't it? In short: Do not dump unrelated stuff here, or I'll ignore you from now on! Clear?

Nothing personal. Absolutely not! However, people here are told to use search, but that won't work when people like you mix unrelated issues. In other words; a search on P5K PRO should show info about P5K PRO and not stuff related to other motherboards. That won't help anyone. And it makes it harder for me to keep up with everything.

ok that's no problem but it's not like i have a gigabyte mobo or an asus AV8 mobo or a Xbox360 (check my sigs)
about the codebox i thought the forum will do it automatically, sorry i edited with "codebox" instead of "code" ;)
see u on the other thread :)

Sure enough. Thanks man!

#16
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts
i just remembered that almost 2 years ago i had started a thread for P5K premium
and my title was "Asus P5K Premium Wifi Black Pearl !ONLY!, and Q6600 cpu " so let;s respect this thread for P5k PRO and move there:
P5K PREMIUM

#17
OsXsO

OsXsO

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts
  • Location:Spain
Hey Chief

After some playing around i took your dsdt v2 and added my pss .. i'didn't get KP as befor but i get the same error when i try to use Chameleon RC3 with my working Dsdt. Remember i'am using BootThink.

SerialATAPI device reconfiguration did not complete successfully. FailedCommandInfo = 0x1
SerialATAPI device reconfiguration did not complete successfully. FailedCommandInfo = 0x2

Still waiting for root device

SerialATAPI Terminating due to unrecoverable Reset error -drive has stopped responding (resetType = 0x0, newPowerState = 0x1

If i edit my dsdt with my pss and your fixes then it boots perfect. Well only on BootThink. Once in Osx i get some sound stuttering but i read its cause irq so gonna check that.

EDIT: Deleted those irq entries on Device PIC and Device TMR and sound is working fine :unsure:

Search this in your dsdt

Device (PIC)                {                    Name (_HID, EisaId ("PNP0000"))                    Name (_CRS, ResourceTemplate ()                    {                        IO (Decode16,                            0x0020,             // Range Minimum                            0x0020,             // Range Maximum                            0x00,               // Alignment                            0x02,               // Length                            )                        IO (Decode16,                            0x00A0,             // Range Minimum                            0x00A0,             // Range Maximum                            0x00,               // Alignment                            0x02,               // Length                            )                        IRQNoFlags ()                            {2}                    })                }




now delete just this

IRQNoFlags ()                            {2}


and now check this

Device (TMR)                {                    Name (_HID, EisaId ("PNP0100"))                    Name (_CRS, ResourceTemplate ()                    {                        IO (Decode16,                            0x0040,             // Range Minimum                            0x0040,             // Range Maximum                            0x00,               // Alignment                            0x04,               // Length                            )                        IRQNoFlags ()                            {0}                    })                }

and here delete this

IRQNoFlags ()                            {0}

Open Issues are:
1. The slow restart and Shutdown.Openhaltrestard.kext doesn't work properly (edit.. give it some time (20restarts :) ). know its fast again)
2. The strange DVD-Rom look up from time to time searching a disk inside.. this also happend on 10.5
3. Chameleon not working. see error above. This links aswell to the DVD Rom (Chameleon works, i tried on usb and it works but not on Terrabyte Seagate HD, PCEFI 10.3 doesn't work neither)

Thx Chief, know my p5k pro feels better than ever

Salu2

ATTENTION: If you use my DSDT.aml be sure to edit first pss with yours or tatan KP. You get pss instaling voodoopower.kext from superhai 32Bit and running P States Calculator from here DSDT - Vanilla Speedstep Once you have your p-state table, edit the dsdt.aml accordingly and remove voodoopower.kext. Change inside PlatformUUID.kext the info.plist with your Uuid taken from disk Utility.

Attached Files



#18
VegasKarma

VegasKarma

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Please attach your dsdt.dsl file. Not some text copy because I can't do jack with text files!


Her it is.
Attached File  VegasKarma_dsdt.zip   14.29KB   22 downloads

#19
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

<snip />

ATTENTION: If you use my DSDT.aml be sure to edit first pss with yours or tatan KP. You get pss instaling voodoopower.kext from superhai 32Bit and running P States Calculator from here http://www.insanelym...p...t&p=1235177
Change inside PlatformUUID.kext the info.plist with your Uuid taken from disk Utility.

You really shouldn't use voodoopower.kext anymore. The idea of all hard work done for the Vanilla SpeedStep thread was to fix the _CST boot errors, and to get vanilla SpeedStep working. And we succeeded. The only thing left to do is to get C-States working for everyone.

#20
OsXsO

OsXsO

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts
  • Location:Spain

You really shouldn't use voodoopower.kext anymore. The idea of all hard work done for the Vanilla SpeedStep thread was to fix the _CST boot errors, and to get vanilla SpeedStep working. And we succeeded. The only thing left to do is to get C-States working for everyone.


i don't use it .. i just used it to grap my pstates :D in 10.5 cause 32bit. thats kind of easy way to find out the pstates of your cpu. Well i did aswell the acpidump on ubuntu but the files i get there makes me very confusing :unsure:

i edit my previous post to let it clear.

salu2





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy