overdue-scratch

Author Topic: Determine if dsdt.aml is loaded and in use from boot-132 media  (Read 9183 times)

0 Members and 1 Guest are viewing this topic.

IanT

  • Entrant
  • Posts: 3
Determine if dsdt.aml is loaded and in use from boot-132 media
« on: November 13, 2009, 01:55:57 AM »
Zef and to other community members,

I am hoping that someone can shed some light on dsdt.aml loading via boot-132 media.  Is there a definitive way to determine if dsdt.aml is loaded and in use while booted from a boot-132 disc, and subsequent boot from an original Install DVD?  Terminal command, etc...?

I am able to determine that smbios.plist is loaded and in use by booting from a boot-132 disc, because "Serial Number (system):" is populated by the information as listed in smbios.plist.

1. Insert boot-132 disc
2. Eject boot-132 disc and insert Install DVD
3. Press F5 to refresh the boot menu
4. Select Install DVD and press Enter
5. Use English as the Main Language and then open "System Profiler" from the "Utilities" menu.

I realize that the following information may be MORE than enough, but it best describes my current situation.  However, I hope that the more information I provide, the easier it is for you to understand what I am trying to determine; is dsdt.aml loaded and in use when booted from boot-132, and subsequent boot from an Original Install DVD?

Now, I have seen this output from the Chameleon boot loader.  However many have realized that it doesn't necessarily mean that dsdt.aml is use.
Code: [Select]
Loaded HFS+ file: [Extra/DSDT.aml] 38570 bytes from 4ac5da0
pci root uid not found
Loaded HFS+ file: [Extra/smbios.plist] 1471 bytes from 4ac5da0
Patched DMI Table.
Loaded HFS+ file: [Extra/DSDT.aml] 38570 bytes from 4ac5da0
Patched ACPI version 2 DSDT

It's at this point I wish to determine if dsdt.aml is in use, because from the verbose output listed above it is indeed loaded and it reads: Loaded HFS+ file: [Extra/DSDT.aml] 38570 bytes from 4ac5da0, Patched ACPI version 2 DSDT.

The verbose output message shown above, is only produced after booting from a boot-132 disc and then replacing it with an Original Install DVD.

Details on boot-132 media

I've created two different versions of boot-132, named 132Mars and 132Jupiter...  My posts on InsanelyMac are of installing a Vanilla Retail Install of SL onto an ASUS P5Q.  I also list the necessary steps to create a 132Mars or 132Jupiter boot disc.

132Mars:
Based on isolinux.bin ISOLINUX v3.83
boot = Netkas' PC EFI v10.5

132Mars/Extra/com.apple.Boot.plist:
<key>Timeout</key>
<string>30</string>
<key>Instant Menu</key>
<string>yes</string>
<key>Rescan</key>
<string>yes</string>
<key>Graphics Mode</key>
<string>1024x768x32</string>
<key>DSDT</key>
<string>rd(0,0)/Extra/DSDT.aml</string>
<key>SMBIOS</key>
<string>rd(0,0)/Extra/smbios.plist</string>

132Mars/INITRD.IMG/Extra/com.apple.Boot.plist:
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>-v -pci0</string>
<key>GraphicsEnabler</key>
<string>yes</string>
<key>ForceHPET</key>
<string>yes</string>
<key>Legacy Logo</key>
<string>yes</string>
<key>DSDT</key>
<string>rd(0,0)/Extra/DSDT.aml</string>
<key>SMBIOS</key>
<string>rd(0,0)/Extra/smbios.plist</string>

Contents of 132Mars/:
boot
Extra
INITRD.IMG
ISOLINUX
isolinux.bin
MBOOT.C32
Revision.txt

Contents of 132Mars/Extra:
com.apple.Boot.plist
DSDT.aml
smbios.plist
Themes

Contents of 132Mars/INITRD.IMG/Extra:
com.apple.Boot.plist
DSDT.aml
smbios.plist
Extensions

Create ISO Image file using hdiutil:
Code: [Select]
hdiutil makehybrid -o 132Mars.iso 132Mars/ -iso -hfs -joliet -eltorito-boot 132Mars/isolinux.bin -no-emul-boot -hfs-volume-name "132Mars" -joliet-volume-name "132Mars"

132Jupiter:
Based on cdboot (Chameleon 2.0 RC3-r658)

132Jupiter/Extra/com.apple.Boot.plist:
<key>Timeout</key>
<string>30</string>
<key>Instant Menu</key>
<string>yes</string>
<key>Rescan</key>
<string>yes</string>
<key>Graphics Mode</key>
<string>1024x768x32</string>
<key>DSDT</key>
<string>rd(0,0)/Extra/DSDT.aml</string>
<key>SMBIOS</key>
<string>rd(0,0)/Extra/smbios.plist</string>

132Preboot/Preboot.dmg/Extra/com.apple.Boot.plist:
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>-v -pci0</string>
<key>GraphicsEnabler</key>
<string>yes</string>
<key>ForceHPET</key>
<string>yes</string>
<key>Legacy Logo</key>
<string>yes</string>
<key>DSDT</key>
<string>rd(0,0)/Extra/DSDT.aml</string>
<key>SMBIOS</key>
<string>rd(0,0)/Extra/smbios.plist</string>

Contents of 132Jupiter/:
cdboot
Extra
Revision.txt

Contents of 132Jupiter/Extra:
com.apple.Boot.plist
DSDT.aml
smbios.plist
Themes

Contents of 132Mars/Preboot.dmg/Extra:
com.apple.Boot.plist
DSDT.aml
smbios.plist
Extensions

Create ISO Image file using hdiutil:
Code: [Select]
hdiutil makehybrid -o 132Jupiter.iso 132Jupiter/ -iso -hfs -joliet -eltorito-boot 132Jupiter/cdboot -no-emul-boot -hfs-volume-name "132Jupiter" -joliet-volume-name "132Jupiter"
« Last Edit: November 13, 2009, 01:59:11 AM by IanT »

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Re: Determine if dsdt.aml is loaded and in use from boot-132 media
« Reply #1 on: November 13, 2009, 03:39:28 AM »
Dump your DSDT when in OSX, if the resulted dump matches the patched DSDT it is loaded.

Either way, it is not possible to boot OS X on a P5Q-series board without a patched BIOS or patched DSDT. So if you can boot and run the installer, your patch is working.
« Last Edit: November 13, 2009, 03:41:19 AM by Gringo Vermelho »
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131