ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

> DSDT

Differentiated System Description Table (DSDT) - DSDT is a part of the ACPI specification and it supplies configuration information about a base system. ACPI capable computers come with a preinstalled DSDT from the manufacturer. A common Linux/OS X problem is missing ACPI functionality (fans not running, laptop screens not shutting off, etc.)

This subforum is dedicated to patches/fixes able to be inserted/modified from an extracted dsdt.dsl, which is then compiled into a DSDT.aml for OS X to pick up and use (with a proper bootloader).

These fixes are not permanent, and do not damage your BIOS.

3 Pages V   1 2 3 >  
Start a new topic Add Reply
> [help] How To Enable Dual Core In Dsdt?, Hints needed, how would you approach the dsdt patching...
abogar
post Mar 29 2010, 06:52 PM
Post #1
Hello,

I have dual core HP nx7300 notebook. I managed to install Snow Leopard without having access to a Mac by creating an usb install stick in Linux, patched DSDT for LCD screen display, USB/HPET irq-s and native SATA on ICH7 (thanks to this forum).

I have to boot with cpus=1 flag, if I boot with 2 cpus, I get a kernel crash (cpus not responding to irqs) as soon as I move the usb mouse during boot.

Can someone more experienced on this topic give me some hints, what to check? How would you approach this problem.

My dsdt, com.apple.Boot.plist and smbios.plist are attached.

Thanks is advance!
Slice
post Apr 5 2010, 06:51 AM
Post #2
This is a problem of bootloader. Try another one.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.7), OS⌘10.9.5, OS⌘ 10.7.5 Clover HWSensors3 Realtek LAN v3.1.2
Gringo Vermelho
post Apr 7 2010, 04:17 PM
Post #3

Try Chameleon 2.0 RC5:
http://www.projectosx.com/forum/index.php?showtopic=1337

topic 1337 lol

This post has been edited by Gringo Vermelho: Sep 19 2010, 04:53 PM
ASUS P8Z77-V Pro - EVGA GTX 660 - i5-3570K - 10.9.1 retail - Chameleon 2.2 svn r22xx
yehia2amer
post Apr 8 2010, 04:08 AM
Post #4
QUOTE (abogar @ Mar 29 2010, 08:52 PM) *
Hello,

I have dual core HP nx7300 notebook. I managed to install Snow Leopard without having access to a Mac by creating an usb install stick in Linux, patched DSDT for LCD screen display, USB/HPET irq-s and native SATA on ICH7 (thanks to this forum).

I have to boot with cpus=1 flag, if I boot with 2 cpus, I get a kernel crash (cpus not responding to irqs) as soon as I move the usb mouse during boot.

Can someone more experienced on this topic give me some hints, what to check? How would you approach this problem.

My dsdt, com.apple.Boot.plist and smbios.plist are attached.

Thanks is advance!

the common DSDT fix for this problem is to get rid of the cpu Alias.

See those Alias (P00x, CPUx) etc, lines? Get rid of them.
CODE

Scope (_PR)
{
Processor (P001, 0x01, 0x00000810, 0x06) {}
Alias (P001, CPU0)
}

Scope (_PR)
{
Processor (P002, 0x02, 0x00000810, 0x06) {}
Alias (P002, CPU1)
}

Scope (_PR)
{
Processor (P003, 0x03, 0x00000810, 0x06) {}
Alias (P003, CPU2)
}

Scope (_PR)
{
Processor (P004, 0x04, 0x00000810, 0x06) {}
Alias (P004, CPU3)
}

so it will be
CODE

Scope (_PR)
{
Processor (P001, 0x01, 0x00000810, 0x06) {}
}

Scope (_PR)
{
Processor (P002, 0x02, 0x00000810, 0x06) {}
}

Scope (_PR)
{
Processor (P003, 0x03, 0x00000810, 0x06) {}
}

Scope (_PR)
{
Processor (P004, 0x04, 0x00000810, 0x06) {}
}
abogar
post Apr 8 2010, 06:41 PM
Post #5
QUOTE (yehia2amer @ Apr 8 2010, 05:08 AM) *
the common DSDT fix for this problem is to get rid of the cpu Alias.


This must be the uncommon case. Look at my current DSDT it it helps:
HP nx7400 DSDT
abogar
post Apr 12 2010, 09:24 PM
Post #6
Thanks for the comments.

I tried some alternative boot loaders.

With aserebln 1.1.9 I am getting the same "cpu(s) failing to respond to interrupts" kernel crash.

With PC-EFI 10.6 I can sometimes run for some time with 2 cpus. Sometimes it just hangs. I need to use VoodooTSCSync kext in order this to work. Sometimes I am getting a "Failed to start CPU 01, rebooting, CPU halted" message during boot. It is printed in place of the IOAPIC line.

So I think theoretically it is possible to run with 2 cpus on this machine, but some DSDT polishments needs to be done to make it stable.

Please give some hints what to look at (compared to Genuine Mac DSDT), which might be interesting.

I am emulating MacPro3,1 in SMBIOS. Do you think I should try MacBook(Pro) for example?

Thanks,
A.

Gringo Vermelho
post Apr 12 2010, 09:51 PM
Post #7
This probably won't fix your CPU issue but yes, you should definitely use a laptop model identifier if your PC is a laptop.
ASUS P8Z77-V Pro - EVGA GTX 660 - i5-3570K - 10.9.1 retail - Chameleon 2.2 svn r22xx
apocolipse269
post Apr 13 2010, 07:33 AM
Post #8
Please give me a picture of your panic. It may be a problem that i've experienced and fixed with bad LAPIC on some proc's. KP will tell all, but i needz it! IF so i can give you a modified kernel that will work perfectly (its 99.9% vanilla, not perfect but it works). Otherwise, have you tried VoodooTSCSync? That may also help it.
18seven
post Apr 22 2010, 06:30 AM
Post #9
QUOTE (apocolipse269 @ Apr 13 2010, 02:33 AM) *
IF so i can give you a modified kernel that will work perfectly (its 99.9% vanilla, not perfect but it works).


I don't have this issue but I would like to see/have the patch just for my info's.
abogar
post Apr 22 2010, 09:57 AM
Post #10
I will post a screenshot of the halt this evening.
abogar
post Apr 22 2010, 09:50 PM
Post #11
The crash screen is here .

The "Failed to start CPU" message is printed by the kernel.
This is the place where VoodooTSCSync should load and the IOAPIC message should be printed.

Any ideas?
Slice
post Apr 25 2010, 06:47 AM
Post #12
Clean up your system from SleepEnabler (good bootloader do this), CPUInjector (same), NullCPUPM (why you are needed it?).
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.7), OS⌘10.9.5, OS⌘ 10.7.5 Clover HWSensors3 Realtek LAN v3.1.2
Gringo Vermelho
post Apr 26 2010, 02:44 AM
Post #13
Yes get rid of all those, if you use Chameleon 2.0 RC5 you shouldn't need a CPUInjector.

This post has been edited by Gringo Vermelho: Sep 19 2010, 04:54 PM
ASUS P8Z77-V Pro - EVGA GTX 660 - i5-3570K - 10.9.1 retail - Chameleon 2.2 svn r22xx
XPbIM3
post Sep 19 2010, 12:20 PM
Post #14
Same sh*t here with my HP.
Got random "Failed to start CPU01, rebooting"
Sometimes i am lucky enough to boot up with two cores, sometimes it hangs in beginning of boot, sometimes in middle with KP.
looks like all old HP's suffer from this.

any ideas how to fix?

P6TSE, i7 920 @4.2Ghz, GTS250, 10.6.4 x64
HP TC4400, C2D T7200 running on both cores ;)
Slice
post Sep 20 2010, 07:07 AM
Post #15
QUOTE (XPbIM3 @ Sep 19 2010, 04:20 PM) *
Same sh*t here with my HP.
Got random "Failed to start CPU01, rebooting"
Sometimes i am lucky enough to boot up with two cores, sometimes it hangs in beginning of boot, sometimes in middle with KP.
looks like all old HP's suffer from this.

any ideas how to fix?

Looks like TSC sync problem.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.7), OS⌘10.9.5, OS⌘ 10.7.5 Clover HWSensors3 Realtek LAN v3.1.2
XPbIM3
post Sep 20 2010, 11:20 AM
Post #16
QUOTE (Slice @ Sep 20 2010, 01:07 PM) *
Looks like TSC sync problem.


VoodooTSCsync.kext make no change. The problem appears much earlier, maybe when AppleACPIPlatform is loaded.
P6TSE, i7 920 @4.2Ghz, GTS250, 10.6.4 x64
HP TC4400, C2D T7200 running on both cores ;)
XPbIM3
post Sep 20 2010, 04:56 PM
Post #17
ok, i think i found some "traces" of this problem.

when booting with "DropSSDT=Yes" it's high probability to meet "failed to start CPU1" error
if boot with SSDT, there is KP (CPU failed to respond to interrupts) in the middle of the boot ... just after "CPUPowerManagment: initialization complete"(!!!).
So it looks like one of two cores falls to deep C-state or asynchronous state switching r something....

(NullCPUPM leads to "failed to start CPU", so I think I will dig into my SSDT and look for errors/issues _INI methods and ways to simplify overall code.)


Edit:
partially confirmed: I was lucky enough to boot with NullCpuPm, overall very slooooow performance, but 2 cores and no KP.


WRONG.
Still have random chance to KP "CPU failed to respond to interrupts". With or without DSDT/NullCPUPM. What's wrong with these HP's? huh.gif

This post has been edited by XPbIM3: Sep 20 2010, 07:01 PM
P6TSE, i7 920 @4.2Ghz, GTS250, 10.6.4 x64
HP TC4400, C2D T7200 running on both cores ;)
yeehaa
post Sep 20 2010, 07:12 PM
Post #18
are you guys using the latest bios and iasl? because HP dsdts are usually much cleaner without any device masking and stuff
GA-H55M-S2V, Core i3-530, Galaxy Geforce 210, Kingston 4Gb 1600DDR3, SATA HD and DVDRW, Kingston SSD System Drive
XPbIM3
post Sep 20 2010, 07:19 PM
Post #19
QUOTE (yeehaa @ Sep 21 2010, 01:12 AM) *
are you guys using the latest bios and iasl? because HP dsdts are usually much cleaner without any device masking and stuff

The lastes Bios and one of the lastest iasl (the one from "iaslme" app, from 28/05/2010)
P6TSE, i7 920 @4.2Ghz, GTS250, 10.6.4 x64
HP TC4400, C2D T7200 running on both cores ;)
XPbIM3
post Sep 22 2010, 08:16 PM
Post #20
ok, next suggestion: "maybe there is the two problems? the problem with initializing CPU1 itself and the second problem with interrupts?"
lets see if i can approve this (or disprove).
EDIT:

Still no progress.
Writing to share my observation with you.
1)First of all a fresh install of 10.5.6 Leopard was surprising. System reboots and halts properly without any OpenHaltRestart or OSXRestart. oO
2)"Unable to initialize CPU1, rebooting" appears only when Laptop previously was hardly switched off by holding power-off button for a 5 sec. Leopard auto-reboots after this error so i can do with this issue for a while.
3)Leopard is much more survivable. A much greater success rate to boot with dual-cores enabled. It hangs on CPU-heavy applications after 3-5 minutes after boot. (no chance to complete Cinebench test. Xbench hits 170 points if lucky.)
4)The way it hangs: graphics and mouse freeze, sometimes you can alt-tab between windows. When power button pressed mouse moves little bit and freezes again.

found this old thread:
http://www.insanelymac.com/forum/index.php?showtopic=137237
cannot confirm yet.

Any help appreciated.... :despair:

This post has been edited by XPbIM3: Sep 23 2010, 09:18 PM
P6TSE, i7 920 @4.2Ghz, GTS250, 10.6.4 x64
HP TC4400, C2D T7200 running on both cores ;)

3 Pages V   1 2 3 >
Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: