Jump to content

Recommended Posts

Posted

i´m making a dsdt for my ECS h67h2-m3 and pentium g620 processor. i just made a few patches correcting compilation errors (_T_x, add two "(return) zero", and a change in MUT0).


the problem is that when i boot, i get a KP and it restarts automatically, so i cant watch de debug info. how can i know what wrong?


(by the way, i have another osX lion working in the same pc, with easybeast)

Posted

The corrections you made just remove compilation warnings and remarks, they actually don't make any difference.


If you are not using NullCPUPM I would guess you need to patch AICPUPM http://Olarila.com/forum/viewtopic.php?f=9&t=1003


Maybe you also need to patch LPC and HPET in DSDT http://Olarila.com/forum/viewtopic.php?f=19&t=634

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

thank for your answer. i patched AICPUPM from my daily use lion to my testing lion (where i'm testing the dsdt). but i'm still getting the KP.

so im patching LPC and HPET with DSDT editor, but when i'm compiling i get this two errors:

*Object does not exist (DTGP)

*Object does not exist (ATT3)

i apply the DTGP patch. but i don't find how to fix the ATT3 problem

Posted

It helps if you read the topic, you'll find the solution to both errors.

 

The example is used on Gigabyte mobos, but it may also be needed in other mobos and laptops (adapt _CRS to return the ResourceTemplate right above).

 

DTGP is required by many patches, so you will probably need it.

 

Post a photo of the KP screen.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

thank againg. i read that topic,that way i apply de DTGP patch, but i dont know exactly what "adapt _CRS to return the ResourceTemplate right above" means.

 {
       Scope (PCI0)
       {
           Device (HPET)
           {
               Name (_HID, EisaId ("PNP0103"))
               Name (CRS, ResourceTemplate ()
               {
                   Memory32Fixed (ReadWrite,
                       0xFED00000,         // Address Base
                       0x00000400,         // Address Length
                       _Y1F)
               })
               OperationRegion (HCNT, SystemMemory, HPTC, 0x04)
               Field (HCNT, DWordAcc, NoLock, Preserve)
               {
                   HPTS,   2, 
                       ,   5, 
                   HPTE,   1
               }
               Method (_STA, 0, NotSerialized)
               {
                   Return (0x0F)
               }
               Method (_CRS, 0, NotSerialized)
               {
                   Return (ATT3)
               }
           }
       }
   }

do i have to make it return to _HID? or to other thing?

Posted

Post a photo of the KP screen, maybe it's a different problem and you are wasting time.

 

{
       Scope (PCI0)
       {
           Device (HPET)
           {
               Name (_HID, EisaId ("PNP0103"))
               Name ([b][color=#FF0000]CRS[/color][/b], ResourceTemplate ()
               {
                   Memory32Fixed (ReadWrite,
                       0xFED00000,         // Address Base
                       0x00000400,         // Address Length
                       _Y1F)
               })
               OperationRegion (HCNT, SystemMemory, HPTC, 0x04)
               Field (HCNT, DWordAcc, NoLock, Preserve)
               {
                   HPTS,   2, 
                       ,   5, 
                   HPTE,   1
               }
               Method (_STA, 0, NotSerialized)
               {
                   Return (0x0F)
               }
               Method (_CRS, 0, NotSerialized)
               {
                   Return ([b][color=#FF0000]CRS[/color][/b])
               }
           }
       }
   }

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Try EHCI sleep.


You need to adapt addresses or it won't apply

0x001D0007 -> 0x001D0000

0x001A0007 -> 0x001A0000


Also apply IRQs.


Just replace DSDT.aml in /Extra.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

no luck. i can wake up from keyboard, but i cant write.

http://dl.dropbox.com/u/1711799/IMG_4712.JPG

http://dl.dropbox.com/u/1711799/IMG_4713.JPG

http://dl.dropbox.com/u/1711799/IMG_4714.JPG

i applied:

# Fix for "AppleUSBEHCI::CheckSleepCapability - controller will be unloaded across sleep"
#
into method label _DSM parent_adr 0x001D0000 remove_entry;
into device name_adr 0x001D0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
  Store (Package (0x04)\n
      {\n
        "AAPL,clock-id",\n
        Buffer (0x01)\n
        {\n
            0x01\n
        },\n
        "device_type",\n
        Buffer (0x05)\n
        {\n
           "EHCI"\n
        }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0000 remove_entry;
into device name_adr 0x001A0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
  Store (Package (0x04)\n
      {\n
        "AAPL,clock-id",\n
        Buffer (0x01)\n
        {\n
            0x02\n
        },\n
        "device_type",\n
        Buffer (0x05)\n
        {\n
           "EHCI"\n
        }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end

and IRQs

Posted

Why those pictures? Can't you reach the desktop yet?


Post errors from kernel log

cat /var/log/kernel.log > ~/Desktop/kernel.txt

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

sorry i didn't know how to do it. heres the kernel.log


and here the last boot info

Feb 25 16:00:00 localhost kernel[0]: PMAP: PCID enabled
Feb 25 16:00:00 localhost kernel[0]: Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64
Feb 25 16:00:00 localhost kernel[0]: vm_page_bootstrap: 1004565 free pages and 35819 wired pages
Feb 25 16:00:00 localhost kernel[0]: kext submap [0xffffff7f8072e000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff800072e000]
Feb 25 16:00:00 localhost kernel[0]: zone leak detection enabled
Feb 25 16:00:00 localhost kernel[0]: standard timeslicing quantum is 10000 us
Feb 25 16:00:00 localhost kernel[0]: mig_table_max_displ = 72
Feb 25 16:00:00 localhost kernel[0]: TSC Deadline Timer supported and enabled
Feb 25 16:00:00 localhost kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled
Feb 25 16:00:00 localhost kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=2 Enabled
Feb 25 16:00:00 localhost kernel[0]: calling mpo_policy_init for TMSafetyNet
Feb 25 16:00:00 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Feb 25 16:00:00 localhost kernel[0]: calling mpo_policy_init for Sandbox
Feb 25 16:00:00 localhost kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
Feb 25 16:00:00 localhost kernel[0]: calling mpo_policy_init for Quarantine
Feb 25 16:00:00 localhost kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
Feb 25 16:00:00 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
Feb 25 16:00:00 localhost kernel[0]: The Regents of the University of California. All rights reserved.
Feb 25 16:00:00 localhost kernel[0]: MAC Framework successfully initialized
Feb 25 16:00:00 localhost kernel[0]: using 16384 buffer headers and 10240 cluster IO buffer headers
Feb 25 16:00:00 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
Feb 25 16:00:00 localhost kernel[0]: ACPI: System State [s0 S3 S4 S5] (S3)
Feb 25 16:00:00 localhost kernel[0]: PFM64 0xf10000000, 0xf0000000
Feb 25 16:00:00 localhost kernel[0]: [ PCI configuration begin ]
Feb 25 16:00:00 localhost kernel[0]: PCI configuration changed (bridge=1 device=0 cardbus=0)
Feb 25 16:00:00 localhost kernel[0]: [ PCI configuration end, bridges 7 devices 11 ]
Feb 25 16:00:00 localhost kernel[0]: RTC: Only single RAM bank (128 bytes)
Feb 25 16:00:00 localhost kernel[0]: AppleIntelCPUPowerManagement: Turbo Ratios 0000
Feb 25 16:00:00 localhost kernel[0]: AppleIntelCPUPowerManagement: (built 13:08:12 Jun 18 2011) initialization complete
Feb 25 16:00:00 localhost kernel[0]: FakeSMC: opensource SMC device emulator by netkas (C) 2009
Feb 25 16:00:00 localhost kernel[0]: FakeSMC: plugins & plugins support modifications by mozodojo, usr-sse2, slice (C) 2010
Feb 25 16:00:00 localhost kernel[0]: FakeSMCDevice: 17 preconfigured keys added: 
Feb 25 16:00:00 localhost kernel[0]: FakeSMCDevice: successfully initialized
Feb 25 16:00:00 localhost kernel[0]: [RealtekRTL81xx:init] RealtekRTL81xx.kext v0.0.90 (c)2010-2011 by Lnx2Mac (lnx2mac@gmail.com)
Feb 25 16:00:00 localhost kernel[0]: mbinit: done [64 MB total pool size, (42/21) split]
Feb 25 16:00:00 localhost kernel[0]: Pthread support ABORTS when sync kernel primitives misused
Feb 25 16:00:00 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
Feb 25 16:00:00 localhost kernel[0]: com.apple.AppleFSCompressionTypeDataless kmod start
Feb 25 16:00:00 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
Feb 25 16:00:00 localhost kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded
Feb 25 16:00:00 localhost kernel[0]: AppleIntelCPUPowerManagementClient: ready
Feb 25 16:00:00 localhost kernel[0]: [RealtekRTL81xx:init] _logLevel is now 132 (0x0084)
Feb 25 16:00:00 localhost kernel[0]: [RealtekRTL81xx:init] Using updated PHY config method
Feb 25 16:00:00 localhost kernel[0]: [RealtekRTL81xx:init] init completed
Feb 25 16:00:00 localhost kernel[0]: [RTL81xx@0xd000:rtl8168_init_board] NIC identified as RTL8168E/8111E (mcfg=14)
Feb 25 16:00:00 localhost kernel[0]: [iOBluetoothHCIController::setConfigState] calling registerService
Feb 25 16:00:00 localhost kernel[0]: USBMSC Identifier (non-unique): 058F63646476 0x58f 0x6364 0x100
Feb 25 16:00:00 localhost kernel[0]: rooting via boot-uuid from /chosen: EDCA1939-4B4E-364E-BC9E-4E45905B6017
Feb 25 16:00:00 localhost kernel[0]: From path: "uuid", Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
Feb 25 16:00:00 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@1F,2/AppleIntelPchSeriesAHCI/PRT3@3/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/SAMSUNG HD502HJ Media/IOGUIDPartitionScheme/Prueba@2
Feb 25 16:00:00 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2
Feb 25 16:00:00 localhost kernel[0]: Kernel is LP64
Feb 25 16:00:01 localhost kernel[0]: com_lnx2mac_RealtekRTL81xx: Ethernet address 10:78:d2:85:52:15
Feb 25 16:00:02 localhost kernel[0]: Controller: Intel Cougar Point (vendor ID: 8086, device ID: 1c20)
Feb 25 16:00:02 localhost kernel[0]: Previous Shutdown Cause: 3
Feb 25 16:00:02 localhost kernel[0]: DSMOS has arrived
Feb 25 16:00:02 localhost kernel[0]: NVDANV50HAL loaded and registered.
Feb 25 16:00:02 localhost kernel[0]: TIMEOUT numcmd=1, sent=1, received=0
Feb 25 16:00:03: --- last message repeated 1 time ---
Feb 25 16:00:02 localhost kernel[0]: error: codec #3 is not responding, probing aborted
Feb 25 16:00:04 Mac-Pro-de-manuhank kernel[0]: macx_swapon SUCCESS
Feb 25 16:00:06 Mac-Pro-de-manuhank kernel[0]: nstat_lookup_entry failed: 2
Feb 25 16:00:36: --- last message repeated 1 time ---

kernel.txt.zip

Posted

I have no idea.


Edit: try this (from Gigabyte Sandy Bridge patches)

into method label _DSM parent_adr 0x001D0000 remove_entry;
into device name_adr 0x001D0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
               {\n
                   Store (Package ()\n
                      {\n
                       "AAPL,current-available",\n
                       0x0834,\n
                       "AAPL,current-extra",\n
                       0x0A8C,\n
                       "AAPL,current-extra-in-sleep",\n
                       0x0A8C,\n
                       "AAPL,max-port-current-in-sleep",\n
                       0x0834,\n
                       "AAPL,device-internal",\n
                       0x02,\n
                       Buffer (0x01)\n
                       {\n
                           0x00\n
                       }\n
                       }, Local0)\n
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                   Return (Local0)\n
               }
end;
into method label _DSM parent_adr 0x001A0000 remove_entry;
into device name_adr 0x001A0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
               {\n
                   Store (Package ()\n
                      {\n
                       "AAPL,current-available",\n
                       0x0834,\n
                       "AAPL,current-extra",\n
                       0x0A8C,\n
                       "AAPL,current-extra-in-sleep",\n
                       0x0A8C,\n
                       "AAPL,max-port-current-in-sleep",\n
                       0x0834,\n
                       "AAPL,device-internal",\n
                       0x02,\n
                       Buffer (0x01)\n
                       {\n
                           0x00\n
                       }\n
                       }, Local0)\n
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                   Return (Local0)\n
               }
end

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Then I have no idea, maybe it's not a DSDT issue.


Try to review BIOS settings, it helped in this case (other mobo, but who knows)

http://www.insanelymac.com/forum/index.php?showtopic=271221&view=findpost&p=1779780

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

When update finishes, before restarting you need to patch AICPUPM again http://Olarila.com/forum/viewtopic.php?f=9&t=1003


Or use NullCPUPM during update and remove it after you patch the new AICPUPM.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Did what? Used NullCPUPM? You need to restart after installing and before updating.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...