Apple Hardware Dumps: System Profiler, Ioreg, Dsdt, Etc. |
|
|

Jun 2 2009, 09:24 PM



- Member
- Group: Comrade
- Posts: 50
Apple Hardware DumpsLet us collect all we know about "the originals" :-)
IO RegistryInstall Developer Tools, open IORegistryExplorer and choose "Save" from the "File" menu.
Additionally, please run the following in Terminal:
CODE
ioreg -lw0 > model.ioreg
DSDTDSDT is usually completely contained in the IO Registry.
Use the script "dsdt.sh" to dump all ACPI tables that are accessible from Mac OS X.
If you have the output of "ioreg -lw0" in a file, pass the file name as the first argument, e.g. "dsdt.sh MacPro5,1.ioreg"
dsdt.sh.zip ( 635bytes )
Number of downloads: 1097This will yield a file ACPI.zip containing all accessible ACPI tables.
To dump all ACPI tables from Linux, including those inaccessible from OS X, boot some Live CD and install "acpidump". It's usually in a package called
"acpidump" (Ubuntu) or "pmtools" (Fedora).On Ubuntu, you first need to enable the component "universe". Either use the Software Sources settings, or run
"apturl apt:acpidump?section=universe".
Become root using
"sudo -s" (Ubuntu) or "su -" (Fedora) and run the following command:
CODE
ID="ACPI-`dmidecode | sed -n s'/.*Product Name: *\(.*\)/\1/p'|head -1`"; mkdir -p /tmp/ACPI && cd /tmp/ACPI && dmesg | perl -we '$n=0; while (<>) { if (($t,$a,$l,$o) = (/^[^a-zA-Za-z]*ACPI: ([-._A-Za-z0-9]{4,4}) +([0-9A-Fa-f]{8,16})[^(]* ([0-9A-Fa-f]{4,8})+(?:\s*\(([^)]+))?/)) { $o && $o=~s/[^-._a-zA-Za-z0-9]+/-/g; ($cmd="acpidump -a $a -l $l > \"${t}".($o?"_$o":"").".aml\""); system($cmd); ++$n; } } die("No match") unless $n;'; [ -f DSDT*.aml ] && zip -r "$HOME/$ID".zip *
This will yield a zip archive file called ACPI-<NAME OF YOUR BOARD>.zip in your home directory ("$HOME") containing all ACPI tables.
SSDTSome SSDT tables can only be obtained from Linux. Please use the above command, it will dump the SSDT tables (including C-states) as well.
Sound CodecBoot some Linux live CD and run the following command in a terminal window (assuming bash shell)
CODE
cd ~/Desktop && mkdir CodecDump && for c in /proc/asound/card*/codec#*; do f="${c/\/*card/card}"; cat "$c" > CodecDump/${f//\//-}.txt; done && zip -r CodecDump.zip CodecDump
This will yield a file CodecDump.zip containing the codec dumps from all your sound cards.
MacPro4,1System ProfilerThe last four to six figures of serial numbers and hardware addresses are replaced by zeroes.
MacPro4_1.spx.zip ( 156.35K )
Number of downloads: 791IORegOnly output from "ioreg -lw0" is available as the owner did not have IORegistryExplorer installed.
The last four to six figures of serial numbers and hardware addresses are replaced by zeroes.
MacPro4_1.ioreg.zip ( 76.6K )
Number of downloads: 867DSDTExtracted from ioreg dump above.
MacPro4_1_dsdt.aml.zip ( 5.95K )
Number of downloads: 1051SSDTExtracted from ioreg dump above.
MacPro4_1_ssdt.aml.zip ( 1.36K )
Number of downloads: 550MacBook5,1DSDT
MacBook5_1_acpi.zip ( 14.09K )
Number of downloads: 802SSDTComprised in DSDT dump above
Codec Dump
MacBook5_1_codec.zip ( 3.47K )
Number of downloads: 329
-------
Slice:
I will ask to provide a dump with latest stable revision of
DarwinDumper, if possible.
Thank you in advance.
This post has been edited by Slice: Jul 18 2012, 08:03 AM
GA-Z68MX-UD2H-B3-U1c | Core i7 2600 | 16GB DDR3-1600
Intel SSD 520 240GB + WDC WD-20EARX 2TB Fusion drive
Sapphire Radeon HD 6850 1024MB PEG | Atheros AR9380 Mini PCIe | Intel 82574L PCIe
OS X 10.8.2 | Chameleon 2.1svn | Clover EFI r897

Jun 2 2009, 10:02 PM

- Advanced Member
- Group: Staff
- Posts: 714
QUOTE (zhell @ Jun 2 2009, 10:24 PM)

Apple Hardware DumpsLet us collect all we know about "the originals" :-)
MacPro4,1System Profiler
MacPro4_1.spx.zip ( 156.35K )
Number of downloads: 791IOReg[attachment=105:MacPro4_1.ioreg.zip]
DSDT/SSDT THX mate!
Now if someone can make a full acpi dump would be great, but that need to be done from linux...

Jun 2 2009, 11:29 PM



- Member
- Group: Comrade
- Posts: 50
QUOTE (THe KiNG @ Jun 3 2009, 12:02 AM)

THX mate!
Now if someone can make a full acpi dump would be great, but that need to be done from linux...
Yes, that would rock.
And if you do it the way I obtained the System profiler dump (by going to the Apple store), please capture it on video for everyone to enjoy watching you boot an Ubuntu live USB stick on Apple property...
GA-Z68MX-UD2H-B3-U1c | Core i7 2600 | 16GB DDR3-1600
Intel SSD 520 240GB + WDC WD-20EARX 2TB Fusion drive
Sapphire Radeon HD 6850 1024MB PEG | Atheros AR9380 Mini PCIe | Intel 82574L PCIe
OS X 10.8.2 | Chameleon 2.1svn | Clover EFI r897

Jun 3 2009, 03:34 AM


- Quite Unreal
- Group: Root Administrators
- Posts: 245
I'm working on a python script to automate the dumps under Linux (Ubuntu only for now), it looks like it's working so far, I've got RSDP dumping but I have no idea if the binary file is outputting what it should.
Can you take a look at the RSDP.bin and make sure it looks okay THe KiNG?
If it is I'll just make it dump the rest of the variables as well, should be done by tomorrow

RSDP.bin.zip ( 163bytes )
Number of downloads: 70
Debian Squeeze: HPM8120N - Q6600, 965 northbridge/ICH8-R south, 9500GT (1GB)Snow Leopard 10.6.6: Alu Macbook: Core 2 Duo 2.0GHz, 2GB Ram, nVidia 9400M.Android: Samsung Galaxy S Vibrant (GT-i9000m, Froyo) and Samsung Galaxy Tab (Froyo)Having trouble posting? Have you taken the Quiz yet? --------------------------- If you see spam, report it!

Jun 3 2009, 03:33 PM

- Advanced Member
- Group: Staff
- Posts: 714
QUOTE (zhell @ Jun 2 2009, 11:29 PM)

Yes, that would rock.
And if you do it the way I obtained the System profiler dump (by going to the Apple store), please capture it on video for everyone to enjoy watching you boot an Ubuntu live USB stick on Apple property...

LOL
But no Apple store here(just some expensive resellers) and i didnt saw latest MP4,1 on them...
QUOTE (realityiswhere @ Jun 3 2009, 03:34 AM)

I'm working on a python script to automate the dumps under Linux (Ubuntu only for now), it looks like it's working so far, I've got RSDP dumping but I have no idea if the binary file is outputting what it should.
Can you take a look at the RSDP.bin and make sure it looks okay THe KiNG?
If it is I'll just make it dump the rest of the variables as well, should be done by tomorrow

RSDP.bin.zip ( 163bytes )
Number of downloads: 70Cool!
Can't wait to test that script(on that resellers)

Jun 3 2009, 07:26 PM



- Smooth Criminal
- Group: Comrade
- Posts: 42
QUOTE (zhell @ Jun 2 2009, 11:24 PM)

IOReg
Note: This is not a proper dump from IORegistryExplorer, it's just an excerpt from the above System Profiler report. You at least need to decode all the ">" etc. stuff yourself.
[attachment=105:MacPro4_1.ioreg.zip]
you should use "ioreg -lw0" instead, or dump the registry directly with ioregistryexplorer, it's more simple and more readable
Intel Xeon CPU E3-1245 V2 @ 3.40GHz, GA-Z77-DS3H, 16 Go of ram 1600 Mhz , Gigabyte GTX 650 2048 Mo OC

Jun 3 2009, 07:51 PM



- Member
- Group: Comrade
- Posts: 50
QUOTE (cparm @ Jun 3 2009, 09:26 PM)

you should use "ioreg -lw0" instead, or dump the registry directly with ioregistryexplorer, it's more simple and more readable

I agree. IMHO, the best is to dump directly from IORegistryExplorer.
However, in my local Apple Stores, neither Terminal nor IORegistryExplorer were available...
EDIT: Used Apple Script to "do shell script" :-) Output added to first post.
This post has been edited by zhell: Jun 8 2009, 12:37 PM
GA-Z68MX-UD2H-B3-U1c | Core i7 2600 | 16GB DDR3-1600
Intel SSD 520 240GB + WDC WD-20EARX 2TB Fusion drive
Sapphire Radeon HD 6850 1024MB PEG | Atheros AR9380 Mini PCIe | Intel 82574L PCIe
OS X 10.8.2 | Chameleon 2.1svn | Clover EFI r897

Jun 3 2009, 11:04 PM


- Initiate
- Group: Comrade
- Posts: 11
QUOTE (zhell @ Jun 3 2009, 07:51 PM)

I agree. IMHO, the best is to dump directly from IORegistryExplorer.
However, in my local Apple Stores, neither Terminal nor IORegistryExplorer were available...
Indeed, Don't want people fiddling about with their systems and IORegistryExplorer does give you a bit more info, especially when creating things like DSDTs.
QUOTE
The task ahead of you is never as great as the strength within you.
2 Systems running OS X. Laptop and PC.

Jun 6 2009, 11:59 AM


- Advanced Member
- Group: Administrators
- Posts: 327
Here is my contribution :
IOReg_mac_mini_9200_PPC.txt ( 352.5K )
Number of downloads: 78
IOReg_macbook_9400_white.txt ( 556.75K )
Number of downloads: 118
IOReg_macbook_GMA950.txt ( 521.44K )
Number of downloads: 255
IOReg_macbook_GMAX3100.txt ( 647.62K )
Number of downloads: 256
IOReg_macbook_NV9400.txt ( 535.38K )
Number of downloads: 129
IOReg_macbook_pro_8600GT.txt ( 105.6K )
Number of downloads: 292
IOReg_macbook_pro_X1600.txt ( 762.46K )
Number of downloads: 140
IOReg_Powerbook_G4_17___GF4MX.txt ( 415.48K )
Number of downloads: 40
IOReg_Powerbook_G4_5200FX.txt ( 448.3K )
Number of downloads: 43
IOReg_macpro_X1900XT_2scr.txt ( 7.17K )
Number of downloads: 80 (This one only contains GFX data)

Jun 6 2009, 03:54 PM

- Initiate
- Group: Comrade
- Posts: 8
my contribution:
ioreg (saved with ioregistryexplorer) ssdt and dsdt for:
iMacs 5,1 7,1 9,1
Macbook/Pro 2,1 3,1 5,1
Mac Pro 1,1 3,1
Download This post has been edited by roisoft: Jun 6 2009, 03:56 PM

Jun 8 2009, 07:11 PM


- Quite Unreal
- Group: Root Administrators
- Posts: 245
Well, I got sick recently and didn't have the patience or energy to work on this, luckily today Kabyl linked me to this:
http://www.coreboot.org/pipermail/coreboot...une/049390.html, which gives this script from the coreboot people.
All credit for this script goes to the coreboot team.
ACPI.sh.zip ( 608bytes )
Number of downloads: 313Make sure it's
run as root in an empty directory, this should do everything you need it to do THe KiNG
Debian Squeeze: HPM8120N - Q6600, 965 northbridge/ICH8-R south, 9500GT (1GB)Snow Leopard 10.6.6: Alu Macbook: Core 2 Duo 2.0GHz, 2GB Ram, nVidia 9400M.Android: Samsung Galaxy S Vibrant (GT-i9000m, Froyo) and Samsung Galaxy Tab (Froyo)Having trouble posting? Have you taken the Quiz yet? --------------------------- If you see spam, report it!

Jun 11 2009, 02:58 PM



- Member
- Group: Comrade
- Posts: 50
QUOTE (realityiswhere @ Jun 8 2009, 08:11 PM)

ACPI.sh.zip ( 608bytes )
Number of downloads: 313Make sure it's
run as root in an empty directory, this should do everything you need it to do THe KiNG
Thanks realityiswhere, works fine with a Fedora 11 Live CD. One needs acpidump, and this is part of the package "pmtools" (run "su -; yum -y install pmtools"). With a Ubuntu CD it would probably have been even easier.
As a side note, the CD crashes at reboot.... I hear OpenHaltRestart.kext missing in Fedora

EDIT: Apparently, the script does not dump much more than is available in OS X. I have added a one-liner you can run as root in an xterm. It gets the SSDT tables and zips them up for you to upload here
This post has been edited by zhell: Jun 12 2009, 11:44 PM
GA-Z68MX-UD2H-B3-U1c | Core i7 2600 | 16GB DDR3-1600
Intel SSD 520 240GB + WDC WD-20EARX 2TB Fusion drive
Sapphire Radeon HD 6850 1024MB PEG | Atheros AR9380 Mini PCIe | Intel 82574L PCIe
OS X 10.8.2 | Chameleon 2.1svn | Clover EFI r897

Jun 11 2009, 03:54 PM

- Advanced Member
- Group: Staff
- Posts: 714
The script is not complete

it does not dump the stuff from memory location.. eg:
on CpuPM SSDT(dumped fine with the script):
Name (SSDT, Package (0x0C)
{
"CPU0IST ",
0xBFECAC98,
0x00000238,
"CPU1IST ",
0xBFECAF18,
0x000000C8,
"CPU0CST ",
0xBFEC9C18,
0x000002AD,
"CPU1CST ",
0xBFEC9F18,
0x00000085
})
those 4 tables are missing...
To get them u need to specify the adress and lenght for each one eg:
for "CPU0IST ",
0xBFECAC98,
0x00000238,
acpidump -a 0xBFECAC98 -l 0x00000238 > CPU0IST.bin
and the same for the rest...
After all tables dumped in first place are decompiled must be added another check for the missing one and dump them...then decompile and that ok

Jun 12 2009, 01:57 PM



- Member
- Group: Comrade
- Posts: 50
QUOTE (THe KiNG @ Jun 11 2009, 05:54 PM)

The script is not complete

Too bad.
Try this one-liner to get just the SSDT tables mentioned by THe KiNG:
CODE
dmesg | egrep '^ACPI: SSDT' | while read line; do [[ $line =~ '.*SSDT ([A-F0-9]+), +([A-F0-9]+) +\([^ ]+ +[^ ]+ +([^ ]+).*' ]] && acpidump -a "0x${BASH_REMATCH[1]}" -l "0x${BASH_REMATCH[2]}" > "SSDT_${BASH_REMATCH[3]}.aml"; done && zip -r SSDT.aml.zip SSDT_*.aml
GA-Z68MX-UD2H-B3-U1c | Core i7 2600 | 16GB DDR3-1600
Intel SSD 520 240GB + WDC WD-20EARX 2TB Fusion drive
Sapphire Radeon HD 6850 1024MB PEG | Atheros AR9380 Mini PCIe | Intel 82574L PCIe
OS X 10.8.2 | Chameleon 2.1svn | Clover EFI r897

Jun 12 2009, 11:45 PM



- Member
- Group: Comrade
- Posts: 50
Added script to dump ACPI tables from ioreg file or by running ioreg. Puts them into a zip file, incl. the de-compiled versions if "iasl" is available in your $PATH.
GA-Z68MX-UD2H-B3-U1c | Core i7 2600 | 16GB DDR3-1600
Intel SSD 520 240GB + WDC WD-20EARX 2TB Fusion drive
Sapphire Radeon HD 6850 1024MB PEG | Atheros AR9380 Mini PCIe | Intel 82574L PCIe
OS X 10.8.2 | Chameleon 2.1svn | Clover EFI r897

Jun 15 2009, 10:32 PM

- Advanced Member
- Group: Staff
- Posts: 714
Thanks zhell for the scripts!
Now to know better what is inside this should help:
CODE
iMac4,1 T2400 (Yonah) ATI_X1600
iMac4,2 T2400 (Yonah) GMA950
iMac5,1 T7200 (Merom) ATI_X1600
iMac5,2 T5600 (Merom) GMA950
iMac6,1 T7400 (Merom) nVidia_7300(7600)GT_bus_MXM (!!!)
iMac7,1 T7300 (Merom) ATI_HD2400XT_(2600Pro)
iMac8,1 E8135,E8335 (Penryn) ATI_HD2600 Pro
iMac8,1 E8235,E8435 (Penryn) nVidia_8800GS
iMac9,1 E8135-E8435 (Penryn) nVidia_9400M, nVidia_GT130, ATI_HD4850
Macmini1,1 CoreSolo (Yonah) GMA950
Macmini2,1 Core2Duo (Merom) GMA950
MacMini3,1 P7350,P8400 (Penryn) nVidia_9400M
MacPro1,1 Xeon5100 (Woodcrest) nVidia_8800GT, Quadro_FX4500, ATI_X1900XT
MacPro2,1 Xeon5300 (Clovertown) nVidia_8800GT, Quadro_FX4500, ATI_X1900XT
MacPro3,1 Xeon5400 (Harpertown) nVidia_Quadro FX5600, ATI_HD2600XT
MacPro4,1 Xeon3500 (BloomField) nVidia_GT120
MacPro4,1 Xeon5500 (Gainestown) ATI_HD4870
MacBook1,1 T2500 (Yonah) GMA950
MacBook2,1 T5600,T7200 (Merom) GMA950
MacBook3,1 T7500 (Merom) GMAX3100
MacBook4,1 T8100,T8300 (Penryn) GMAX3100
MacBook5,1 P7350, P8600 (Penryn) nVidia_9400M-(shared memory!!!)
MacBook5,2 P7350 (Penryn) nVidia_9400M
MacBookAir1,1 P7500,P7700 (Merom) GMAX3100
MacBookAir2,1 L9300,L9400 (Penryn) nVidia_9400M
MacBookPro1,1 T2400,T2500 (Yonah) Mobility_Radeon_X1600
MacBookPro1,2 T2600 (Yonah) Mobility_Radeon_X1600
MacBookPro2,2 T7400 (Merom) Mobility_Radeon_X1600
MacBookPro3,1 T7700 (Merom) nVidia_8600M_GT
MacBookPro4,1 T8300,T9300,T9500 (Penryn) nVidia_8600M GT
MacBookPro5,1 P8600,T9400,T9600 (Penryn) nVidia_9600M
MacBookPro5,2 T9550,T9800 (Penryn) nVidia_9600M
Xserve1,1 Xeon5100 (Woodcrest) ATI_X1300
Xserve2,1 Xeon5400 (Woodcrest) ATI_X1300
Xserve3,1 Xeon5500 (Gainestown) nVidia_GT120
I will try to keep it updated if I find more...

Jun 16 2009, 12:13 AM


- Quite Unreal
- Group: Root Administrators
- Posts: 245
I am typing this from my MacBook 5,1 (with the shared memory) and I have a friend with the MacBook Pro 5,1 , with the 9400/9600M GT that overheats when he plays any games
I'll post mine when I get a chance to dump it, and I'll see my friend tomorrow so if I think of it I'll have him dump his as well for me.
Debian Squeeze: HPM8120N - Q6600, 965 northbridge/ICH8-R south, 9500GT (1GB)Snow Leopard 10.6.6: Alu Macbook: Core 2 Duo 2.0GHz, 2GB Ram, nVidia 9400M.Android: Samsung Galaxy S Vibrant (GT-i9000m, Froyo) and Samsung Galaxy Tab (Froyo)Having trouble posting? Have you taken the Quiz yet? --------------------------- If you see spam, report it!

Jun 16 2009, 07:08 AM



- Member
- Group: Comrade
- Posts: 50
QUOTE (realityiswhere @ Jun 16 2009, 02:13 AM)

I am typing this from my MacBook 5,1 (with the shared memory) and I have a friend with the MacBook Pro 5,1 , with the 9400/9600M GT that overheats when he plays any games
I'll post mine when I get a chance to dump it, and I'll see my friend tomorrow so if I think of it I'll have him dump his as well for me.
Great. Soon, Apple will come to us if they have any questions regarding their hardware internals
GA-Z68MX-UD2H-B3-U1c | Core i7 2600 | 16GB DDR3-1600
Intel SSD 520 240GB + WDC WD-20EARX 2TB Fusion drive
Sapphire Radeon HD 6850 1024MB PEG | Atheros AR9380 Mini PCIe | Intel 82574L PCIe
OS X 10.8.2 | Chameleon 2.1svn | Clover EFI r897

Jun 16 2009, 07:09 AM



- Member
- Group: Comrade
- Posts: 50
QUOTE (THe KiNG @ Jun 16 2009, 12:32 AM)

Thanks zhell for the scripts!
Now to know better what is inside this should help:
CODE
iMac4,1 T2400 (Yonah) ATI_X1600
iMac4,2 T2400 (Yonah) GMA950
iMac5,1 T7200 (Merom) ATI_X1600
iMac5,2 T5600 (Merom) GMA950
iMac6,1 T7400 (Merom) nVidia_7300(7600)GT_bus_MXM (!!!)
iMac7,1 T7300 (Merom) ATI_HD2400XT_(2600Pro)
iMac8,1 E8135,E8335 (Penryn) ATI_HD2600 Pro
iMac8,1 E8235,E8435 (Penryn) nVidia_8800GS
iMac9,1 E8135-E8435 (Penryn) nVidia_9400M, nVidia_GT130, ATI_HD4850
Macmini1,1 CoreSolo (Yonah) GMA950
Macmini2,1 Core2Duo (Merom) GMA950
MacMini3,1 P7350,P8400 (Penryn) nVidia_9400M
MacPro1,1 Xeon5100 (Woodcrest) nVidia_8800GT, Quadro_FX4500, ATI_X1900XT
MacPro2,1 Xeon5300 (Clovertown) nVidia_8800GT, Quadro_FX4500, ATI_X1900XT
MacPro3,1 Xeon5400 (Harpertown) nVidia_Quadro FX5600, ATI_HD2600XT
MacPro4,1 Xeon3500 (BloomField) nVidia_GT120
MacPro4,1 Xeon5500 (Gainestown) ATI_HD4870
MacBook1,1 T2500 (Yonah) GMA950
MacBook2,1 T5600,T7200 (Merom) GMA950
MacBook3,1 T7500 (Merom) GMAX3100
MacBook4,1 T8100,T8300 (Penryn) GMAX3100
MacBook5,1 P7350, P8600 (Penryn) nVidia_9400M-(shared memory!!!)
MacBook5,2 P7350 (Penryn) nVidia_9400M
MacBookAir1,1 P7500,P7700 (Merom) GMAX3100
MacBookAir2,1 L9300,L9400 (Penryn) nVidia_9400M
MacBookPro1,1 T2400,T2500 (Yonah) Mobility_Radeon_X1600
MacBookPro1,2 T2600 (Yonah) Mobility_Radeon_X1600
MacBookPro2,2 T7400 (Merom) Mobility_Radeon_X1600
MacBookPro3,1 T7700 (Merom) nVidia_8600M_GT
MacBookPro4,1 T8300,T9300,T9500 (Penryn) nVidia_8600M GT
MacBookPro5,1 P8600,T9400,T9600 (Penryn) nVidia_9600M
MacBookPro5,2 T9550,T9800 (Penryn) nVidia_9600M
Xserve1,1 Xeon5100 (Woodcrest) ATI_X1300
Xserve2,1 Xeon5400 (Woodcrest) ATI_X1300
Xserve3,1 Xeon5500 (Gainestown) nVidia_GT120
I will try to keep it updated if I find more...
Awesome compilation! Thanks so much. It's great for n00bs like me who can't distinguish between a MacBook4,1 and MacBook5,1
GA-Z68MX-UD2H-B3-U1c | Core i7 2600 | 16GB DDR3-1600
Intel SSD 520 240GB + WDC WD-20EARX 2TB Fusion drive
Sapphire Radeon HD 6850 1024MB PEG | Atheros AR9380 Mini PCIe | Intel 82574L PCIe
OS X 10.8.2 | Chameleon 2.1svn | Clover EFI r897

Jun 23 2009, 07:01 AM

- Advanced Member
- Group: Staff
- Posts: 714
Now the
n00b way on how to dump ACPI Tables using windows:
Require Lavalys EVEREST
Corporate Edition v5.01.1700 or higher.
Open Everest and right click next to the name as in pic:

Chose ACPI Tool and dump all tables as in pic:

Enjoy and happy hacking!