InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Problem Dumping DSDT (http://infinitemac.com/showthread.php?t=5671)

nekkro-kvlt 03-04-2010 12:03 PM

Problem Dumping DSDT
 
Hi everyone, I'm new on this forum, I saw your very informative post on DSDT editing so I tried to make mine, but something is wrong as Ican't even dump my dsdt, when I run DSDT patcher, or the gui variant, everytime I got IOREG getting 100% CPU and nothing happen, I let it for 10 minutes now and it's the same. Any clues ?

Thanks

uman 03-04-2010 12:35 PM

Wow. I've never heard of that. Can you normally run ioreg from the terminal? What do you get if you do the following:

Code:

$ ioreg -lw0 >ioreg.txt
If you have access to a Ubuntu (really any Linux livecd), you could try booting with that. You could then do:

Code:

# acpidump -b -t DSDT -o DSDT.aml
, and then save the file to a USB disk. You can then disassemble with iasl.

nekkro-kvlt 03-04-2010 12:44 PM

what it's strange is I still got a ioreg.txt containing some hex data. I ran the modifiers in the shell script then the DSDT patcher dsdt.dat and it seemed to patched it. I'll try the generating DSDT or the ubuntu way, luckily I got one installed.

But the strangest is I couldn't kill the ioreg process, sudo killall -9 ioreg, sudo kill -9 pid, or using the activity monitor, nothing...

Edit: the ioreg generated file was wrong, the fixed files contains strange characters, but nothing like what it's supposed to have... I try other ways and keep you informed

uman 03-04-2010 12:50 PM

There's more detail on the commands to run here: http://www.projectosx.com/forum/index.php?showtopic=359

nekkro-kvlt 03-04-2010 12:54 PM

wow there was really something wrong, acpidump took less than a sec... I'll try disassembly and patching now. thanks

nekkro-kvlt 03-04-2010 01:13 PM

Ok, I disassembled the DSDT_original.aml from ubuntu ACPIDUMP with iasl, ran DSDTPatcher DSDT.dsl it created me another DSDT.aml without errrors (still a warning at compilation though), I copied it in the root of my osx boot partition, now i'm rebooting, and I don't know if everything is OK, but at least I have video working and audio.
Thanks guys

nekkro-kvlt 03-04-2010 01:19 PM

BTW, here my dsdt.aml file (I got a gigabyte EP31-DS3L motherboard)
http://dl.free.fr/p5QPjluBq
I'll keep you informed if I encounter problem, but for the moment, voodooHDA and NVEnabler work good.

uman 03-04-2010 03:03 PM

After rebooting with the DSDT.aml, are you still experiencing difficulties with ioreg? If so, then something's hosed with your ACPI tables, or your ioreg structure. Like I said, I haven't heard of this problem, so it makes me think that you should look into fixing it, so you can have a stable OS X system.

A good place to start is to google for ioreg outputs for the Mac most closely matching your specs (wikipedia has specs on the various mac models). Then do the same for your motherboard. Compare the three (obligatory B5 quote: understanding is a three--edged sword) files and note the differences.

Also, the guys who are doing amazing DSDT work (Master Chief, mm67, others) are using a GB EP45-DS3L, so some of their work should apply.

nekkro-kvlt 03-04-2010 03:30 PM

Quote:

Originally Posted by uman (Post 45855)
After rebooting with the DSDT.aml, are you still experiencing difficulties with ioreg? If so, then something's hosed with your ACPI tables, or your ioreg structure. Like I said, I haven't heard of this problem, so it makes me think that you should look into fixing it, so you can have a stable OS X system.

A good place to start is to google for ioreg outputs for the Mac most closely matching your specs (wikipedia has specs on the various mac models). Then do the same for your motherboard. Compare the three (obligatory B5 quote: understanding is a three--edged sword) files and note the differences.

Also, the guys who are doing amazing DSDT work (Master Chief, mm67, others) are using a GB EP45-DS3L, so some of their work should apply.

Thanks for the advice, I'll check that, but for now my system seem stable, I reboot/sleep, I have 3D graphic with acceleration and Sound working, so, as I'm not a guru, I wouldn't like screwing my install :)

milanca 03-05-2010 03:52 AM

@nekkro-kvlt

Hi,

What is the processor you have? Your sound chip is ALC888, correct? Also would you please post what is your GFX card with correct amount of Ram, and are you using fully Sata system without any IDE (Pata) drives?

Your dsdt is very similar to mine and during my coffee break i'll fix your dsdt to support Speedstepping and with all other fixes and mods. Hopefully you'll have a system running with only fakesmc.kext, maybe one more fake plist, we'll see.