Jump to content

[SOLVED] ACPI kernel panic on GA-Q67M-D2H


80 posts in this topic

Recommended Posts

In mobo I have

i7 2600,

4 GByre RAM 2x2,

old 8400GS working perfectly on other builds

 

Using [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] 3.0.4, HackBoot V6 and other boot cd and Retail SL 10.6.3.

When swap to SL DVD I have an ACPI kernel panic. See attacment.

 

This is what I have set in bios:

- Intel Turbo Memory = Disabled

- ACPI Settings = S3

- SATA mode = AHCI

- CPU Config:

- Boot Freq Ratio = 32/30/29/...

- Hyper-Threading = Disabled

- EIST = Disabled

- C1E = Enabled / Disabled

- CPU Thermal Monitor = Disabled

- CPU C3 Report = Enabled / Disabled

- CPU C6 Report = Enabled / Disabled

- HPET = Enabled

- Internal HDMI Audio = Disabled

 

And various combination of them.

 

Tried flag -x -v busratio=29/30/32... cpus=1 and various combination.

Windows 7 64bit installed and working perfectly, so no hardware problem on build.

I tried both bios version F2 and F3 with same results.

 

Thanks to all in advance for help.

post-678915-1307441993_thumb.jpg

Link to comment
Share on other sites

How did you get the 10.7.4 kernel installed, where did you get it?

 

In mobo I have

i7 2600,

4 GByre RAM 2x2,

old 8400GS working perfectly on other builds

 

Using [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] 3.0.4, HackBoot V6 and other boot cd and Retail SL 10.6.3.

When swap to SL DVD I have an ACPI kernel panic. See attacment.

 

This is what I have set in bios:

- Intel Turbo Memory = Disabled

- ACPI Settings = S3

- SATA mode = AHCI

- CPU Config:

- Boot Freq Ratio = 32/30/29/...

- Hyper-Threading = Disabled

- EIST = Disabled

- C1E = Enabled / Disabled

- CPU Thermal Monitor = Disabled

- CPU C3 Report = Enabled / Disabled

- CPU C6 Report = Enabled / Disabled

- HPET = Enabled

- Internal HDMI Audio = Disabled

 

And various combination of them.

 

Tried flag -x -v busratio=29/30/32... cpus=1 and various combination.

Windows 7 64bit installed and working perfectly, so no hardware problem on build.

I tried both bios version F2 and F3 with same results.

 

Thanks to all in advance for help.

Link to comment
Share on other sites

How did you get the 10.7.4 kernel installed, where did you get it?

 

It is not installed.

I boot from [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] 3.0.4 from tonymacx86 and then swap on 10.6.3. DVD.

Link to comment
Share on other sites

It seems I'm the first to try SL installation on this mobo.

It is a very interesting mobo for audio producers and musicians because it has 2 legacy PCI that should work with Digidesign HD PCI-X cards and Protools 8 and 9.

Link to comment
Share on other sites

This screenshots show the sequence of the boot process:

From HD with 10.6.7 [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and bridgehelper installed on another pc:

vlcsnap-2011-06-11-23h13m59s114.png

vlcsnap-2011-06-11-23h22m49s156.png

Screen%20shot%202011-06-11%20at%2023.48.04.png

 

Here the screenshots for boot from [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and then swapped SL DVD with -x

vlcsnap-2011-06-11-23h29m39s163.png

vlcsnap-2011-06-11-23h36m21s116.png

or

Screen%20shot%202011-06-11%20at%2023.39.45.png

Screen%20shot%202011-06-11%20at%2023.42.57.png

 

Sorry for bad quality but I have recorded screen with camera.

Link to comment
Share on other sites

It seems that with this mobo there are ACPI problem also with other OS.

Look here for example.

 

Updatet to F4 bios and mobo now seems completely dead, can't boot neither in bios!

In F4 Gigabyte bios update comment there is

"Fixed system can't power-on after updating BIOS by Q-Flash"... thank goodness!

And there isn't dual bios.

How can now resume broken bios?

Link to comment
Share on other sites

It seems that with this mobo there are ACPI problem also with other OS.

Look here for example.

 

Updatet to F4 bios and mobo now seems completely dead, can't boot neither in bios!

In F4 Gigabyte bios update comment there is

"Fixed system can't power-on after updating BIOS by Q-Flash"... thank goodness!

And there isn't dual bios.

How can now resume broken bios?

That happened to me a couple of time after updating bioses. Try to follow your motherboard's proceduro to clear the cmos. Also completly disconnecting the mobo from the power supplu might help.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

The mobo returned from maintenance but still non way to boot in OS X. With a GA-Z68MA I managed to boot 10.6.7, 10.6.8 and Lion (10.7).

With same HD, changing only mobo, no way to boot, neither with safe (-x) nor single user mode (-s).

With 10.6.7 and 10.6.8 the problem is still KP on ACPI.

With Lion I have a reset at boot, at some point before graphics init, either with safe and single user mode.

Now I'm investigating on this point.

Link to comment
Share on other sites

Here's a DSDT.aml fixed automatically with DSDTFixer from evosx86 guys. If that doesn't work I'll look into fixing it manually.

 

 

DSDT.aml.zip

 

Remember, just unzip it, and put it in /Extra folder. Also be sure you are using the 10.6.8 or Lion version. If you are using Lion you need one of the latest Lion compatible Chameleon versions.

 

Take pictures to see how far you reach with this DSDT.aml.

I hope we have success. This seems the ONLY compatible 1155 mobo easily avaible everywhere .

 

On the other hand, I'm not so sure about Protools HD not working in non Q67-Q65-B65-C20x mobos. Some Asus mobos have a different pci bridge than the Gigabyte ones (which are the only which have been reported as non working with PT)

 

EDIT: if the DSDT was extracted from F3 bios, you need that bios installed. Also don't forget to include the disabler.kext in /Extra/Extensions

Also if you are trying with Lion keep in mind you need a different FakeSMC.kext at your /Extra/Extensions

 

Here is latest Chameleon which includes different kext depending on the OS X version you are (Lion or Snow)

Chameleon_2.0_RC5_r1173_bin.zip

Link to comment
Share on other sites

Thanks.

In this topic MaLd0n sent me a patched DSDT because DSDT Auto Patcher gave me some compilation errors.

It was for F3 bios.

Now I need a F5 version. But I will try the non uefi f2 bios first. I think DSDT is a secondary step.

Link to comment
Share on other sites

Thanks.

In this topic MaLd0n sent me a patched DSDT because DSDT Auto Patcher gave me some compilation errors.

It was for F3 bios.

Now I need a F5 version. But I will try the non uefi f2 bios first. I think DSDT is a secondary step.

 

According to what I've seen in the F3 DSDT, a modded DSDT is essential to get this mobo working.

This motherboard (surprisingly) doesn't include many of the OS X DSDT specific fix which Gigabyte have been including in their latest motherboard as default.

 

So don't understimate the need for a fixed DSDT.

If you have windows working you can extract your current DSDT with IASL.EXE and this command

 

IASL -g

 

Send me the files which this command creates and I'll create a fixed DSDT.aml for F5

Link to comment
Share on other sites

OK.

I have to reinstall windows or I can use a Linux live... it will take less time.

I'll send it late this evening.

 

Link me also a tutorial to do this myself (for my knowledge).

 

Thanks.

I guess you can get the dsdt from linux but, it's linux working? Probably you have to set the acpi=off flag. Also you need the iasl binary for linux.

About how to patch the dsdt, I mainly follow the instructions in DSDTSE from Evosx86 guys, and also some self-knowledges.

 

Just to sum up a bit and be sure we all are taking in mind the basic steps. In order to run osx in that motherboard you need:

 

- A properly configured bios: AHCI on, (you better disable hyperthreading by now), HPET on, etc...

 

- An already clear 10.6.8 / 10.7.0 installed system. You don't need bridgehelper at all. Both system have native sandybridge support.

 

- Latest Chameleon installed http://www.insanelymac.com/forum/index.php...st&id=98264

If you are not too used to command line just use any of those chameleon (not [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]) installers, and then replace the boot file in the root with the one in the /i386 folder in the zip I've posted.

Also create an /Extra folder and put there the fixed DSDT.aml, the included smbios.plist, and a Extensions folder with:

 

AHCIPortInjector.kext

ATAPortInjector.kext

IOAHCIBlockStorageInjector.kext

 

and the Disabler.kext and fakesmc.kext for the OS X version you have installed.

 

Also keep in mind apple.com.boot.plist in /Extra is no longer used in newest Chameleon. The file has to be named: org.chameleon.Boot.plist

 

This is all you need in order to get OS X working at a basic level. Additionally you might need to add one or several of these kernel flags:

 

PCIRootUID=1

maxmem= 4096

busratio=29

npci=0×2000

Link to comment
Share on other sites

AHCIPortInjector.kext

ATAPortInjector.kext

IOAHCIBlockStorageInjector.kext

 

and the Disabler.kext and fakesmc.kext for the OS X version you have installed.

 

Windows is almost inslalled ...

Where can I find right kexts?

Link to comment
Share on other sites

Here is DSDT from windows for F5 bios.

 

Another question... if I want to use internal Intel HD video card, is some other patch needed?

 

I don't think is supported, and in fact I read this motherboard had kernel panic in Linux if you try to use the internal card.

Link to comment
Share on other sites

GREAT MAN!

IT WOOOOORKS!

YAAAAAHOOO.

 

For the first boot I used my old (working on Z68MA) Lion installation and added only kexts in new Chameleon and your DSDT.

I have left Chimera and old boot.

 

Thanks a lot for your help.

Link to comment
Share on other sites

GREAT MAN!

IT WOOOOORKS!

YAAAAAHOOO.

 

For the first boot I used my old (working on Z68MA) Lion installation and added only kexts in new Chameleon and your DSDT.

I have left Chimera and old boot.

 

Thanks a lot for your help.

Wow

 

I told you A CLEAN INSTALL WITH A PROPER DSDT WAS THE SOLUTION HEHE

 

I think I'm as happy as you are now, hehe. As soon as you confirm protools hd2 is working I'll buy mine ;)

 

CONGRATULATIONS!!!

Link to comment
Share on other sites

Also 10.6.7 with same /Extra/ is working!!!

... bit confused ... VooD and MaLd0n ... two person one mind?

hehehe also here is very late ...

However ... dual boot Lion + Snow Leopard works fine ... hehehe

Link to comment
Share on other sites

Also 10.6.7 with same /Extra/ is working!!!

... bit confused ... VooD and MaLd0n ... two person one mind?

hehehe also here is very late ...

However ... dual boot Lion + Snow Leopard works fine ... hehehe

\õ/

Test DSDT

I'll update the patch

DSDT very different for a Gigabyte mobo

gatheringg.gif

into_all all code_regex _T_0 replaceall_matched begin T_0 end;
into_all all code_regex _T_1 replaceall_matched begin T_1 end;
into_all all code_regex _T_2 replaceall_matched begin T_2 end;
into_all all code_regex _T_3 replaceall_matched begin T_3 end;
into_all all code_regex _T_4 replaceall_matched begin T_4 end;
into_all all code_regex Or\s\(0x03,\sPARM\) replaceall_matched
begin
Or (PARM, 0x03, PARM)
end;
into_all scope label _PR code_regex Alias\s\([^\n]+\n removeall_matched;
into_all scope label \_PR code_regex Alias\s\([^\n]+\n removeall_matched;
into method label DTGP remove_entry;
into definitionblock code_regex . insert
begin
Method (DTGP, 5, NotSerialized)\n
{\n
   If (LEqual (Arg0, Buffer (0x10)\n
           {\n
               /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n
               /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n
           }))\n
   {\n
       If (LEqual (Arg1, One))\n
       {\n
           If (LEqual (Arg2, Zero))\n
           {\n
               Store (Buffer (One)\n
                   {\n
                       0x03\n
                   }, Arg4)\n
               Return (One)\n
           }\n
           If (LEqual (Arg2, One))\n
           {\n
               Return (One)\n
           }\n
       }\n
   }\n
   Store (Buffer (One)\n
       {\n
           0x00\n
       }, Arg4)\n
   Return (Zero)\n
}
end;
into device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 end;
into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0103 code_regex_not IRQNoFlags code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched
begin
Name (%1, ResourceTemplate ()\n
                   {\n
                       IRQNoFlags ()\n
                           {0}\n
                       IRQNoFlags ()\n
                           {8}\n
%2
})
end;
into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x49, 0x1c, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into_all all code_regex Name\s\(RPMV,\sPackage\s\(0x00\) replaceall_matched
begin
Name (RPMV, Package (zero)
end;
into device label SPKR remove_entry;
into device label FDC remove_entry;
into device label FDC0 remove_entry;
into device label LPT1 remove_entry;
into device label LPTE remove_entry;
into device label ECP1 remove_entry;
into device label MEM remove_entry;
into device label ^^RMEM remove_entry;
into device label IDE1 set_label begin SATA end;
into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end;
into device name_adr 0x001B0000 set_label
begin
HDEF
end;
into_all all code_regex AZAL replaceall_matched
begin
HDEF
end;
into device name_adr 0x001B0000 parent_label PCI0 remove_entry;
into device label PCI0 insert
begin
Device (HDEF)\n
{\n
   Name (_ADR, 0x001B0000)\n
   Method (_DSM, 4, NotSerialized)\n
   {\n
       Store (Package (0x04)\n
           {\n
               "layout-id", \n
               Buffer (0x04)\n
               {\n
                   0x0C, 0x00, 0x00, 0x00\n
               }, \n
               "PinConfigurations", \n
               Buffer (Zero) {}\n
           }, Local0)\n
       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
       Return (Local0)\n
   }\n
}
end;
into method label _PTS code_regex_not If\s\(LEqual\s\(Arg0,\s0x05\)\) code_regex ^((?:.|\n)*)$ replace_matched
begin
       If (LEqual (Arg0, 0x05)) {}\n
       Else\n
       {\n
%1
       }
end;
into method label _STA parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_STA, 0, NotSerialized)\n
{\n
   Return (0x0F)\n
}
end;
into method label _CRS parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_CRS, 0, NotSerialized)\n
{\n
   Return (CRS)\n
}
end;
into_all all code_regex (Acquire\s\(MUT0,\s0x)....\)
replace_matched
begin
%1FFFF)
end;
into method label SIOS code_regex Return\s\(Zero\) remove_matched;
into method label SIOS insert
begin
Return (Zero)
end;
into method label STM code_regex Return\s\(Zero\) remove_matched;
into method label STM insert
begin
Return (Zero)
end;
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;
into method label _DSM parent_adr 0x001F0003 remove_entry;
into device name_adr 0x001F0003 insert
begin
Device (BUS0)\n
               {\n
                   Name (_CID, "smbus")\n
                   Name (_ADR, Zero)\n
                   Device (DVL0)\n
                   {\n
                       Name (_ADR, 0x57)\n
                       Name (_CID, "diagsvault")\n
                       Method (_DSM, 4, NotSerialized)\n
                       {\n
                           Store (Package (0x02)\n
                               {\n
                                   "address", \n
                                   0x57\n
                               }, Local0)\n
                           DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                           Return (Local0)\n
                       }\n
                   }\n
               }
end

 

DTGP

IRQs

HPET

REMOVE

LPC

SMBUS

SHUTDOWN

EHCI

FIX WARNINGS

Link to comment
Share on other sites

 Share

×
×
  • Create New...