Help - Search - Members - Calendar
Full Version: [GUIDE] Retail Snow Leopard Install on Gigabyte GA-EX58-UD5 (Core i7) Mobo
InsanelyMac Forum > OSx86 Project > Tutorials (The Genius Bar)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24
digital_dreamer
USING THE X58 MOBO PATCH INSTALLER
TO INSTALL SNOW LEOPARD ON
X58 (Core i7) MOTHERBOARDS:


A continuation of our OS X tutorial for
the Gigabyte GA-EX58-UD5 motherboard, which can be adapted
to running Snow Leopard on other modern boards.


NOTE: This thread will not be for posting common installation and booting issues for which you can find solutions in a variety of places on this forum. (See the FAQs in this post for common issues.) This thread exists for unique issues regarding a specific board or issues regarding script bugs. If you are convinced that the problem you are having is in regards to script behavior and can replicate or duplicate the issue, it is in my best interests to solve this issue for you.

This is a full vanilla install with a handful of modified kexts that are added to a special folder (/Extra/Stored_Kexts, either on your main boot partition or the EFI partition) for full functionality. This setup supports full Apple Software Updates without issues. An added bonus is a fully-featured script that provides a comprehensive set of options and features, such as:
 Choose from two install methods: Standard /Extra install or EFI boot install 
 Choose from 3 different bootloaders: PC-EFI v10.3, Chameleon v2.0 RC3 or Chameleon v1.012 
 Set partition as active  Auto OS X DVD installer  Install modified kexts/kernels  Update boot caches 
 Easily change kext install destination (/Extra or /System) in a couple keystrokes  Drag 'n Drop kext install fully supported 
 Run DSDT patcher with CMOS reset fix  Modify Mac model name  Modify processor info  Modify "About This Mac" graphics 
 Full EFI strings support: Create strings from Audio, Ethernet and Graphics devices (over 150 graphics cards) 
 Automatic parsing and naming of each device in string for easy verification 
 Import/append/remove individual devices in string  Automatic checks for valid device trees and corrupted EFI strings 
 Select various bootloader themes  Choose from a selection of 27 boot pictures 
 Powerful plist editor that allows you to edit any boot.plist or smbios.plist in various locations 
 Plist editor allows you to select from a list of useful keys, create a custom key, or modify kernel flags 
 Automatically add a UUID as "boot-uuid" key or kernel flag from any of your installed drives 



SCRIPT UPDATE:
UPDATE: 9/25/2009
  • Includes PC-EFI 10.3 bootloader update.
  • Includes new fakesmc.kext v2.0
  • Added ability to set visible Unix files as invisible after OS install, if installing from Leopard.
  • Changed exit routine when modifing plists.
  • Improved EFI partition setup. Discarded EFI partitions are now erased as "free space," so they no longer have the tendency to automount.
  • Devised a method to keep 'buildcache' script current with updates. No longer need to issue 'mount' command in Single-user mode, just type 'buildcache' and it'll be done for you.
  • Stopped EFI partitions from showing up in drive selection (they have become HFS partitions, also).
  • Added some boot cache options:
    • 1. Normal cache build (separate caches): Build boot caches from /Extra & /System separately.
    • 2. Combo cache in /Extra: Build a single boot cache from /Extra & /System for /Extra.
    • 3. Super combo cache in /Extra: Build large cache from /Extra & /System for /Extra. Build includes more than just what's typically included for boot. Can improve boot times. This has taken 5 seconds off my boot times. YMMV, however.
    The goal here is to help remove dependency issues and, possibly, be able to install some kexts in /Extra, instead of /System.
  • Revamped platform/hardware UUID setup:
    • UUID injector kexts (UUID.kext or PlatformUUID.kext) are synced with UUID string in smbios.plist, if present.
    • This will make it easy to update your UUID injectors – keep the SMUUID string current in smbios.plist
    • However, if no UUID is present in the smbios.plist, any UUID string present in the injectors is left as is.
    • If you wish to have a new UUID generated, you have two options:
      • 1. Use the script to generate a new UUID for the smbios.plist (SMUUID key). This UUID string will be copied to injectors.
      • 2. Or, remove any UUID strings from injectors (do not remove key and string tags!) and smbios.plist. Script will generate a new one.
    • NOTE: This script is released without the UUID string present in the kext or smbios.plist. This will allow one of two things to happen: User can add his UUID to the smbios.plist via script (or manually), which will be synced to kexts, or a new and unique UUID will be generated and inserted by script if user doesn't add one. In the latter case, the UUID will get copied to kext in the script folder and smbios.plist, so that a new UUID isn't generated every time a kext gets installed. This method will prevent a different UUID from being introduced into the system should the user replace his existing PlatformUUID.kext with another one from who-knows-where, or if the user deletes the SMBIOS key/string from the smbios.plist. In any situation, you can choose to ignore it and it'll be taken care of for you or you add it yourself and it'll preserve it.
  • Partial RAID support: Can detect RAID drives, but no further support exists, yet. Useless, I know, but we're getting there.
  • Added new keys introduced by Chameleon 2.0 RC3


DOWNLOADS:
Gigabyte GA-EX58-UD5 motherboard kexts for Snow Leopard

(10.7MB) - includes Modbin Kernel.432 (Snow Leopard replacement for AMD/Older Intel CPUs.)
X58 Mobo Patch Installer UPDATED! - 9/27/2009 v4.10
(29.3MB) - includes includes Modbin_Kernel.432 (Snow Leopard replacement for AMD/Older Intel CPUs.)
Selection of 27 boot pictures EXTRA
(26.6MB) - for use with the X58 Mobo Patch Installer.

All that's really needed to boot into OS X on this board is a disabler (i.e. Disabler.kext or NullCPUPowerManagement.kext.) and a decryptor (i.e. dsmos.kext or, possibly, fakesmc.kext). That's it. Everything else are little fixes for hardware reporting, updated device IDs, audio, network, etc. In my case, I also needed the ATY_init.kext for ATI graphic card support, as without it I just got video corruption and couldn't see the desktop.

USING THE SCRIPT:
INSTALLING OS X SNOW LEOPARD RETAIL DVD AND BOOTLOADER:
The download includes the Chameleon v2.0 RC3, PC-EFI v10.3, and v1012 bootloaders, a large assortment of kexts, a variety of kernels (for those still on Mac OS X 10.5.6 or non-Intel systems), and Kext/Kernel Installer script.

PREPARATION
  1. It is ideal to have two physical drives (not two partitions on the same drive) or, at least, another Mac system to work from.
  2. One drive must already have OS X installed and running.
    This may mean using another Mac or installing a easy-to-use distro like Kalyway on the smaller/slower drive. (I only mention Kalyway, because it is the only distro I'm familiar with and know works well with this board. There are certainly more recent distros that can achieve equal success.)
  3. Partition your target drive in Disk Utility using the GUID Partition Table (in Options button).
  4. Make an ISO of your Retail DVD and download the Combo update, if needed.
    (The ISO of your DVD is not really neccessary, but it will shorten your install times dramatically. Trust me, when things go wrong (and they will) and you have to do an emergency install, more time spent waiting is directly proportional to higher blood pressure. wink.gif )

INSTALLATION
  1. Double-click RUN-PATCH_INSTALLER and enter your password.
  2. Select from the list of valid HFS drives to work with. (Confirmed target drive name and install type (Extra or EFI) is saved for future use.)
  3. Select the type of install (Extra or EFI). Default choices are highlighted in bold type.
  4. Install your choice of bootloader (option #2). For Snow Leopard, use either Chameleon 2.0 RC3 or PC-EFI_v10.3. Observe the note in step #8, as it may affect your choice of bootloader.
  5. An option is provided to set target partition as active (option #3 in Extra mode). This option is only available for the Extra install type, in case one has more than one OS X install on a drive and would like to set one particular partition as active. (The EFI partition is set active automatically and this process is mandatory.)
  6. The script will check for the presence of a mounted "Mac OS X Install DVD" (or ISO) and prompt you if you wish to run that installer (option #3 (EFI), or #4 (Extra)). Install from your Retail DVD.
    NOTE: If you're installing from Leopard, you'll need to go into the Customize panel and turn off the optional installs, as they may create a "Install Failed" error otherwise.
  7. Run the kext/kernel installer (option #4 (EFI), or #5 (Extra)). This is preconfigured to install the required kexts for the Gigabyte EX58-UD5 motherboard (including the ATY_Init.kext (ATI graphics card injector), which you may not need), or any motherboard with the same chipsets, with audio being a likely exception. The kext/kernel installer automatically updates the boot caches for you.
    If installing from Leopard for Snow Leopard, the script will automatically install all x86_64 (64-bit) kexts in /System, as 64-bit boot caches cannot be built into Leopard. Also, note too, that in Snow Leopard some i386 kexts (32-bit) just do not work in /Extra and must be installed into /System. These include current the selection of audio and networking kexts, so toggle them from the /Extra destination to /System by keying in their number and pressing 'Enter.' (i.e. press 4, Enter, 5, Enter, 7, Enter)
    If installing for Snow Leopard, the script will automatically select the "Kexts_10.6" folder in the script directory. Likewise, if installing for Leopard, the script uses the kexts in "Kexts_10.5".
  8. Run the DSDT patcher (option #7) ONLY on the system it's intended for and the patched DSDT file will be installed in the appropriate location.
    The DSDT file is automatically copied to the appropriate location and includes the CMOS reset fix for Snow Leopard users.
    NOTE: If you are unable to create a DSDT patch for your target system, because you are using a different Mac, you should use the PC-EFI v10.3 bootloader, as it will not allow the boot process to stall as a result of a missing DSDT file.
  9. For those installing Snow Leopard, I would suggest turning off Spotlight in your current system by opening System Preferences/Spotlight/Privacy and dragging your Snow Leopard volume to the window. This should disable Spotlight indexing for Snow Leopard when you first boot into it, a major cause of 'mdworker' kernel panics when first starting. Your other option is to disable it when you boot into it, but you have limited time and we'll get to that later.
  10. Some using older ATI graphics cards, like the 2600XT or 3000 series, will have to delete the ATI-related kexts in /System/Library/Extensions, otherwise you will experience graphics corruption. For the ATI 2600XT, you would need to delete the ATIRadeonX2000.kext
  11. Your system is ready for rebooting!

BOOTING
  1. Reboot and enter -v -x32 at the boot prompt. If you are using the Chameleon 2.0 RC3 bootloader, you'll need to use the arch=i386 flag, instead of -x32.
    Most bootloaders will attempt to boot the 64-bit kernel by default, but I would suggest you boot in 32-bit mode first, as most kexts work in that mode. The kernel flags in the boot plist are already set for verbose (-v) and 32-bit mode (-x32), but I may suggest using these flags at this point in the boot process anyway, in case such flags were removed from the boot plist or the bootloader chooses to ignore the boot plist in your setup. If you have determined that such flags are, indeed, being used in the boot plist and the boot plist is not being ignored by the bootloader, then you may proceed without entering them at the prompt.
      RECOMMENDED PROCEDURE FOR SNOW LEOPARD:
      (If you follow these steps here, you can avoid all of the Post-Installation steps! Additionally, some graphics-related kexts require inclusion in the boot cache, otherwise you may experience a black screen or corrupted video on boot.)
      If you are booting into Snow Leopard for the first time from Leopard (or any time you have updated the kexts for Snow Leopard from a Leopard install), enter Single-User mode with the -s flag at the boot prompt. After a bit of scrolling logs, you will reach the command prompt.
      Type: buildcache followed by the return key. (No need to mount the volume with read/write access, as the script will do this.) This will execute a shell script to build the boot cache for the Extra or EFI directory, plus the /System/Caches/.../Startup directory.
      When script finishes, type reboot followed by the return key.
      (If, on occasion, the system log continues writing while you are typing, just ignore it and continue typing as if it didn't happen or you can hit "Enter" and try again.)

POST_INSTALLATION
(The following assumes you are booting from Leopard and not another Snow Leopard install.)
  1. DISABLE SPOTLIGHT: If Spotlight had not been disabled previously and the boot caches were not built in Single-User mode (as discribed above):
    You should immediately disable Spotlight before it finishes indexing, otherwise you will experience a 'mdworker' kernel panic.
    Type the following in Terminal to disable Spotlight for all volumes:
    CODE
    sudo mdutil -a -i off

    Or, drag the startup volume to the System Preferences window in System Preferences/Spotlight/Privacy.
  2. BUILD CACHES: If boot caches were not built in Single-User mode (as discribed above): Run Update boot caches in script and Reboot.
    (If boot caches were't built prior to this time, it's only a matter of time before you will get another 'random' kernel panic, so work quickly.)
  3. AFTER REBOOT: Now you can relax and move at your own pace.
    If you had previously disabled Spotlight by means of the Terminal, you can now enable it for all volumes:
    CODE
    sudo mdutil -a -i on

POST_INSTALLATION EXTRAS
  1. IMPORTANT UPDATE: You won't be able to repair permissions (should you ever need to), until you re-run the BSD installer in Snow Leopard to add the installer packages needed to repair permissions. (This can be done even after the 10.6.1 update.)
    Mount DVD (or ISO). Paste the following in a new Terminal window and hit "Enter":
    CODE
    sudo open "/Volumes/Mac OS X Install DVD/System/Installation/Packages/BSD.pkg"
  2. MOVE KEXTS TO /EXTRA AND REBUILD CACHES: Many of the kexts can remain in /System. However, that defeats the value of having a vanilla install. The following are the kexts I know will work in /Extra:
    Run kext/kernel installer and toggle (key in the kext's corresponding number) all the kexts in Misc. Patches and one ATA kext back to /Extra:
    AppleIntelPIIXATA.kext (Type 1, Enter)
    dsmos.kext (Type 8, Enter)
    NullCPUPowerManagement.kext (Type 9, Enter)
    OpenHaltRestart.kext (Type 10, Enter)
    PlatformUUID.kext (Type 11, Enter)
    Sleepenabler.kext (Type 12, Enter)
    Press "Enter" and reboot.
  3. Install any updates for your system.
  4. After booting into your system, you have the option to change your Mac model name, CPU type, custom About This Mac graphic, as well as custom boot picture, bootloader theme, and boot plist.
  5. The script's folders has basically 5 categories for the kexts - ATA, Audio, Graphics, Networking, and Misc. Patches. There is a _repository folder in each to store your collection of files. Kexts outside this _repository folder will get installed by the Kext/Kernel Installer. Likewise, the same true for kernels moved outside their parent folder.
  6. After your initial install, you can continue to use the script folders (ATA, Audio, Graphics, Networking, and Misc. Patches) to install kexts or you can simply drag and drop kexts in the /Extra/Store_Kexts (and _For_System folder, if included) and run the script's Update boot caches.
  7. The included _For_System folder inside /Extra/Stored_Kexts is installed by default and kexts that get copied to it will get installed to /System when you Update boot caches. If you delete kexts from _For_System or transfer them to /Stored_Kexts, they will get uninstalled from /System after updating boot caches. Basically, if the _For_System folder is present, the contents of /System will stay in sync with the contents of _For_System. This method is an easy way to keep track of patched kexts that have been installed into /System.
    If, however, you decide not to use the _For_System folder, you can simply delete it and the script will still keep track of kexts installed in /System. In either case, the script will "flag" any kexts installed into /System so that their presence is easily seen.
  8. The script is pretty much fool-proof, so if anything goes wrong, it should inform you gracefully.
  9. If you have any questions or issues, please post to this thread.


Script features:


smbios.plist contents:
If using the Chameleon 2 bootloader, this picture shows just what to include in the smbios.plist for best results.


Current Integrated Peripherals settings in the BIOS:


Being human, I may have goofed somewhere, so provide feedback in this thread if there are issues.
Disclaimer: I will not be held responsible for any damages, non-working systems, explosions, dead kittens, screaming monkeys, etc. that may result from following these instructions.

FAQs:

BOOTING
  • When I boot, I get the following message:
    boot 0: GPT
    boot 0: testing
    boot 0: testing
    boot 0: error
    What's wrong?

    This message appears when the BIOS cannot find a bootable system. Double-check your BIOS drive priority or make sure the BIOS is instructed to boot from the proper drive with a installed bootloader.
  • I just installed a new OS and bootloader. Now I can't boot back into my old install. What happened?
    You have different and, therefore, incompatible, bootloaders installed. Ideally, each bootable partition needs to have the same bootloader installed. If that is not attainable, then you need to select the desired OS/partition via BIOS drive/partition selector <F12>, not bootloader, to ensure your system boots just the bootloader installed for that partition/drive. If you select a partition in the bootloader screen that has a different bootloader installed, you may experience instability or unpredictable behavior, including kernel panics.

GENERAL SYSTEM BEHAVIOR
  • My Ethernet ports are not working. What can I do?
    First verify whether this is a hardware or software issue. If you have another working OS to boot into, do so and check for network access. If you don't have another OS to boot into, the BIOS may feature a LAN check that you can use. Consult your motherboard manual for instructions. NOTE: On the Gigabyte GA-EX58-UD5 motherboard, LAN failure is a common problem. The remedy is to simply pull the power cord (or turn the PSU switch off, if it has one) for 10 seconds. Failing that, you may clear the CMOS using the CMOS Clear Switch on the back panel after the system is powered off. Make sure you have saved your BIOS setting, so you can load them after the clear.

SCRIPT
  • Where is the EFI string feature in the script?
    Select Modify plists, then the boot plist you wish to modify. EFI strings are contained in the device-properties string of the plist. If the current plist doesn't have one, add it by entering in "a" (for "add") from the keyboard and select device-properties from the list (typically at the bottom).
  • Can the script work for other motherboards?
    Absolutely. The main difference between the setup of one motherboard and another are the choice of kexts needed for full functionality. Other matters may include the choice of modified kernel, use of EFI strings, and device-specific DSDT patching, all of which the script supports.
  • Would the script support my RAID set (softRAID or AppleRAID) on my system? (There is no support for hardware RAID in Mac OS X, other than Apple's own offerings.)
    Not at this time. Given that I don't have a RAID setup, it's hard for me to build in support for it in the script. If someone has such a setup and would like support, send my way the files produced by the following Terminal commands from your system:
    diskutil list > ~/Desktop/disk_list.txt
    diskutil listRAID > ~/Desktop/RAID_list.txt
    If you have more than one RAID set, that would be even better, as the produced files would enable me to figure out how to support more than one RAID set.
  • What is the difference between the /Extra install and the boot from EFI partition install?
    The /Extra install method installs the bootloader support files in a folder named "Extra" right in the root directory of your boot volume, easily visible to the user. The /EFI boot method installs the support files in a special 200MB partition that's created on all GUID partitioned drives. This EFI partition is normally invisible to the user and is generally unaccessible, except by the Terminal.
  • Which install method is superior?
    This is mostly a matter of personal preference, as the technical advantages/disadvantages are small. For some, having the /Extra folder visible and accessible makes management and troubleshooting a cinch. For others, having such patched files invisible is a priority and provides a more Mac-like appearance.
    At the current time, there are some bugs and annoying behaviors exhibited by the EFI boot setup:
    • Bootloader doesn't display and pre-select the OS partition on multi-partitioned drives at startup. (This can be resolved by using the "Default Partition" key in the smbios.plist and setting it to the proper disk ID in the form of hd(1,2). However, note that if you are adding/removing volumes, this ID will change and the key/string will need to be updated to reflect this change.)
    • On multi-partitioned drives, bootloader doesn't appear to load the boot.plist in the EFI partition (in my experience with PC-EFI v10.3), thus causing some unpredicable behavior, if you system depends on special boot.plist flags. The current workaround is to only use one-partition setups or key in the flags at boot time.
    • The Finder doesn't always allow you to view the EFI partition. This appears to be more of a issue in Leopard, as I haven't experienced it in Snow Leopard, yet. In fact, in some cases where you're not able to view the EFI partition from the Finder in Leopard, booting into Snow Leopard and viewing it there will fix the issue, even allowing you to view it after booting back into Leopard.
  • I'm using the EFI boot method, but when I boot into Single-User mode and try 'buildcache' it says, "/Volumes/EFI: No such file or directory" Why is this not working?
    For some reason the 'buildcache' script didn't get the correct disk ID of your EFI partition. Try to run the Kext/kernel installer for that EFI partition again, but cancel out ("n"), if you need to. This will update the ID.
    Each time you enter the Kext/kernel installer, the script will check the disk ID of EFI partition you are working on and pass that info to the 'buildcache' script, if it needs to be updated. That way, when you execute the 'buildcache' script in Single-User mode, it will know which EFI partition to work on. If, however, you add or remove a hard drive, flash drive, etc., this ID will change, thus affecting the operation of the 'buildcache' script. The solution is to have this ID updated by entering the Kext/kernel installer routine. You can then cancel the install by entering "n", if desired.
    Fixed. Found a better work-around.
  • Must I update boot caches after I run the Kext/Kernel Installer?
    No. The boot caches are automatically updated at the end of the Kext/Kernel Installer routine. The separate Update Boot Caches step is for when you add, delete, or move kexts without involving the Kext/Kernel Installer.
  • I have a dual graphics card setup. When I import my EFI string using your script, it warns, saying the device trees are not for this system. However, when I let the script fix it, the EFI string no longer works. What's wrong?
    The script currently doesn't suppport dual graphics cards, yet. This is a unique setup where you have two devices sharing the same device type. Use a third-party EFI string creator (i.e. EFIStudio) and paste the results in the boot plist or EFI_string.txt and import. But, this time, just ignore any warnings about the device trees, until dual-card support is provided.
    When you let the script 'fix' the string, it will currently place the same device tree in both places, not what you want.
  • When I set 'active' a partition, I notice the install log displays, "fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory" Is there something wrong?
    Nothing is wrong and this is normal behavior. Note that 'fdisk' is a 'DOS partition maintenance program' and includes features not designed for our Macs. In our case, that error is meaningless, as we are not writing with a new MBR file, but merely editing existing MBR sectors. The error simply states that the boot code isn't available for writing Intel bootable partitions. Apple doesn't use that code anyway, as the EFI boot code is built into the firmware.
  • The install log also shows the following error message when I set a partition active, "fdisk: 1> Invalid command 'y'. Try 'help'." Why is there a invalid command?
    The 'fdisk' program is in 'interactive' mode. If the partition you are wishing to set active is not able to unmount, fdisk will ask if you want to write the update anyway, at which point we would say "yes" with a 'y'. However, because the partition was able to successfully unmount, the "yes" response is invalid in this case and, therefore, ignored. We try to cover all cases.
  • Can someone provide a simpler and more easily understood tutorial, one without all the terminology and terms I don't understand? I don't want to read all these pages!
    Probably, but I certainly won't. The simple reason it that it's a recipe for failure and harbinger for disaster. Building a 'hackintosh' is a technical acheivement; it requires a computer-related background and technical foresight. Going the 'easy' way now, won't help you in the long term. If you manage to get your system running without such understanding, you have learned nothing in return to prepare you for future challenges, such as when your system goes down. Which position would you rather be in: one where you are at the mercy of others each time something goes wrong with your system, or one who, with manly determination, is resolved to work through such issues on his own with thorough research and study, while building up confidence and pride of accomplishment in return? I often wonder if we're doing the community a favor by writing such scripts. But, my rationale is that I enjoy using such tools myself, to say nothing of the joy of scripting such a project and seeing it develop bit by bit.

SCRIPT CHANGE LOG:
UPDATE: 9/9/2009
  • Minor update to fix running software version check.

UPDATE: 9/7/2009
  • Major update to v4.01 - rewritten for Snow Leopard, but fully compatible with Leopard.
  • Now featuring EFI boot install setup.
  • Built-in target OS detection can automatically switch between 10.5 and 10.6 kexts when installing.
  • Added Alias shell script to build kext cache for SL in Single-User mode, if needed. The 'buildcache' command builds the cache for the Extra, EFI, and /System/Caches/.../Startup directories.
  • After each install, all UUID injectors are updated with proper UUIDs (includes UUID.kext, PlatformUUID.kext, and smbios.plist).
  • Multi-device EFI strings support. Automatically parses EFI strings and names each device. Can add/remove devices within strings. Support for >150 graphics cards, LAN string, and (in progress) HDA strings. (Sorry, no dual graphics card support, yet.)
(All previous updates are included in script's change log.)

SCRIPT TO-DO LIST:
  • Add USB boot drive setup.
  • Full RAID support.
  • Add selection of DSDT fixes.
  • Add ability to increase version numbers in kexts for loading priority.
  • Add symbolic link for modified kernels in root directory
  • Add selector for list of kernel flags.
  • Clean up log.

HELPFUL LINKS:
Â¥ Marcel Bresink's Temperature Monitor
Â¥ Great Internet Mersenne Prime Search (GIMPS) - Prime95 CPU torture test in OS X binaries.
Â¥ Great Internet Mersenne Prime Search forum
Â¥ Gigabyte GA-EX58-UD5 product page
Â¥ Gigabyte X58 BIOS Features
Â¥ Virtual BIOS
Â¥ TweakTown: Gigabyte Technical Support Forum
Â¥ BIOS F4 binary update
Â¥ BIOS F5 binary update
Â¥ BIOS F6 binary update
Â¥ BIOS F7 binary update
Â¥ BIOS F8 binary update

kind regards,
MAJ
darkenedreality
Wow that was quick! Nice work DD and many thanks! I'm trying it out right now. I'll let you know how it goes........
Mozgovvert
YEAH!!!
I ♥ DD
btw: I really loved that heart to the left of the topic. It makes things simplier to find it. Want it here too :<
darkenedreality
The script is trying to install the kexts within the individual _repository folders. Don't know if this is just me though......

edit: ....just me tongue.gif copied from my FAT usb drive to my HFS+ one and now it works.......
rappinkapc
OK. I am a complete newbie at this. I just got my hardware, and luckily for me, this thread is ready right at the same time I am. So, I hooked up my new HDD to my MBP running Snow Leopard, formatted and ran the script. After asking for my password the first thing I see is:

"IMPROPER OS! This script will only run on Leopard or Snow Leopard OS!"

Interestingly, the 4.0(RC) version doesn't give me this message, but I would rather try out the new installer. Any advice?
duomaxw
QUOTE (rappinkapc @ Sep 9 2009, 12:36 AM) *
After asking for my password the first thing I see is:

"IMPROPER OS! This script will only run on Leopard or Snow Leopard OS!"


I've got the same problem on my 10.6 install.

I also had the same message using this on 10.5.0 but after upgrading to 10.5.7 the improper OS message went away.
darkenedreality
Had the same problem.
Could be wrong but I don't think the string would have to be formatted. As the output of
CODE
sw_vers -productVersion

should meet the CASE statement of "10.6".
So I Removed the line:
CODE
RUNNING_OS=${RUNNING_OS%.*}

from the script and it worked for me.
vintageawv
DD,

Script worked perfect. Used /Extras with RC3. Also finally got my Quadro FX 580 card working thanks to aquamacs guides.

Success!

You guys rock.

A
mattrb4
DD, your the best.
taylorutah
Updated:
I have a hard drive with SL 10.6 installed and ethernet works, but only when i set this hard drive to boot as priority in bios.

I am installing a new drive with 10.6, this will be my main the other was a test. I have it installed but ethernet isn't working. I set this drive as priority and still no ethernet. Everything else seems solid.

what did i miss on this one?

I have swapped DSDT.aml and com.apple.boot.plist files and can't get it to work. seems to have something to do with booting and possibly boot loader. I am using the /Extra install and the RC3 boot loader.

ideas?
matinee
DD, thanks for the amazing work.

Another newbie question: I've already successfully installed (and been using) 10.5.7 using your previous script+guide but have been overwelmed by the 140+ pages of subsequent conversation which might answer this: can I use any of this new script to UPGRADE my current 10.5.7 install? Otherwise, do I need to start over with a fresh volume using this new script+guide?

2nd (also newbie) question: If I do have to start over using this script+guide, when you refer to to RETAIL here, are you referring to the new 10.6 Snow Leopard Retail DVD or do I need to utilize both my orig 10.5 Leopard Retail DVD as well as the new 10.6 Snow Leopard DVD, and if so, how?

Thanks in advance for your patience.
eggfoam
Thanks for all this great work, MAJ! I've been looking through your script to learn more in advance of my mobo arriving for my first build on Thursday, and I'm really impressed with the sheer amount of functionality you built in. (I'm a pretty experienced programmer, but I haven't done much shell scripting. The if/fi construct always weirds me out a little. wink.gif )

Anyway, I have a quick question. Since the DSDT patching must be run on the machine it's intended for, and Snow Leopard borks the CMOS if you boot without a patched DSDT, does that mean I need to install Leopard on my new rig before Snow Leopard so that I can create a patched DSDT? Or is there a way around that that I'm missing? It seems like a chicken-and-egg problem if you're trying to install only 10.6 and not bother with 10.5. I have a MacBook running SL that I can use for all other steps of the scripted install.

Or can we use koalala's DSDT patcher from Windows to generate an acceptable DSDT before attempting to boot SL for the first time?

Thanks!
-eggfoam
digital_dreamer
QUOTE (darkenedreality @ Sep 8 2009, 09:33 PM) *
Had the same problem.
Could be wrong but I don't think the string would have to be formatted. As the output of
CODE
sw_vers -productVersion

should meet the CASE statement of "10.6".
So I Removed the line:
CODE
RUNNING_OS=${RUNNING_OS%.*}

from the script and it worked for me.

Ah! No trailing zero after "10.6".
Sorry about that.

I'll fix it right up.

MAJ

EDIT: Fixed and uploading...
Here's the updated script file for those that just want to replace the file in /~extra, instead of downloading the entire package.
digital_dreamer
QUOTE (eggfoam @ Sep 9 2009, 01:36 AM) *
Thanks for all this great work, MAJ! I've been looking through your script to learn more in advance of my mobo arriving for my first build on Thursday, and I'm really impressed with the sheer amount of functionality you built in. (I'm a pretty experienced programmer, but I haven't done much shell scripting. The if/fi construct always weirds me out a little. wink.gif )

Anyway, I have a quick question. Since the DSDT patching must be run on the machine it's intended for, and Snow Leopard borks the CMOS if you boot without a patched DSDT, does that mean I need to install Leopard on my new rig before Snow Leopard so that I can create a patched DSDT? Or is there a way around that that I'm missing? It seems like a chicken-and-egg problem if you're trying to install only 10.6 and not bother with 10.5. I have a MacBook running SL that I can use for all other steps of the scripted install.

Or can we use koalala's DSDT patcher from Windows to generate an acceptable DSDT before attempting to boot SL for the first time?

Thanks!
-eggfoam

eggfoam,
Thanks for your comments.
I used to program in machine and assembly 20 years ago, and never have done anything since, until now (well, it's scripting, I know). So, I'm trying to make up for those 20 years. tongue.gif

I think the PC-EFI v10 bootloader will allow you to boot without the DSDT file (if it's possible). So, if you use that bootloader, you should be able to boot into it without a DSDT patch, but I can't confirm and haven't tested. Anyone know about this?
If true and it works, then you can patch and reboot.

The other bootloaders are known to stall without the file. Here's the bug log from PC-EFI v10.1, posted on July 29:
QUOTE
Just a small fix for booting system without DSDT.aml system was stalling on motherboards like gigabyte, where bootloader fails to find pointer to acpi 2.0 table, fixed.


I might test this out and get back to you, but it's 2:30 a.m. now and need to get to bed (off to work at 6).

regards,
MAJ
proengin
Yes, PC-EFI 10.1 booter can boot without DSDT but obviously you will get CMOS reset. I guess it is ok for 1st boot.
digital_dreamer
QUOTE (Mozgovvert @ Sep 8 2009, 06:23 PM) *
YEAH!!!
I ♥ DD
btw: I really loved that heart to the left of the topic. It makes things simplier to find it. Want it here too :<

ADDED! biggrin.gif

Hi, proengin!
Good to 'see' you. smile.gif
knightprozac
Hey DD. I was gonna send this RAID info as a PM but I couldn't figure out how to use attachments for PM

Curiously the RAID_list.txt says no RAID sets found. This might have something to do with Mac OS X recognising my hardware RAID as one disk from my JMicron Ports.

Anyway awesome work man. I might try and figure out how to do things with RAID before you get your script up for it but hopefully these files can help anyway. If I'm successful I'll certainly post my methods/experiences.
eggfoam
QUOTE (digital_dreamer @ Sep 9 2009, 12:44 AM) *
eggfoam,
Thanks for your comments.
I used to program in machine and assembly 20 years ago, and never have done anything since, until now (well, it's scripting, I know). So, I'm trying to make up for those 20 years. tongue.gif

Wow, assembly programming ... I took a couple classes in college where I needed to do that, and that was plenty for me. smile.gif I don't know if you've checked out the Cocoa/Obj-C environment at all, but it's one of the most pleasant language+framework combos I've ever used. It's a far cry from assembly or even straight C (though you can always use that if you need maximum speed) and it doesn't beat you over the head with its object-orientation like Java does...

QUOTE (digital_dreamer @ Sep 9 2009, 12:44 AM) *
I think the PC-EFI v10 bootloader will allow you to boot without the DSDT file (if it's possible). So, if you use that bootloader, you should be able to boot into it without a DSDT patch, but I can't confirm and haven't tested. Anyone know about this?
If true and it works, then you can patch and reboot.

The other bootloaders are known to stall without the file. Here's the bug log from PC-EFI v10.1, posted on July 29:
(snip)

I might test this out and get back to you, but it's 2:30 a.m. now and need to get to bed (off to work at 6).

Thanks for this info, MAJ. I'm planning to do a couple of different install methods later this week before I set up my system for real work. I'll see what approaches work best and post here. I suspect koalala's Windows-based DSDT patcher (http://www.insanelymac.com/forum/index.php?showtopic=142434) might help, since it doesn't need to run on the target box as long as you can extract the initial DSDT from the target box (which is also possible under Windows). But it's unclear to me exactly what types of modifications it can do, so I'll have to wait until I can sit down and fiddle with the various tools.

QUOTE (proengin @ Sep 9 2009, 12:49 AM) *
Yes, PC-EFI 10.1 booter can boot without DSDT but obviously you will get CMOS reset. I guess it is ok for 1st boot.

Thanks, proengin, good to have confirmation. The CMOS reset becomes relevant *next time* you boot after booting SL without the DSDT fix, right? So is there any problem with generating the DSDT during that first-boot session that resets the CMOS?

Much obliged for all the advice --
Best,
eggfoam
PingunZ
I just flashed the new BIOS (F9e) and it has a new option which seems to be great for OSX.
Instead of SATA/AHCI mode: Disabled / RAID / AHCI it replaced Disabled by IDE.

I selected IDE as SATA/AHCI mode and also IDE as SATA/IDE Ctrl mode and Leopard is working fine now (with intel chipset driver from iAtkos v7). I'm now trying to make snow leopard work in this mode as it boots a lot faster (you don't get the AHCI window after BIOS).

Just thought this might be useful to some smile.gif I'll post further updates here.
star-affinity
Many thanks to DD for the new script for Snow Leopard! smile.gif
Will try to install it this weekend.

One question: will sleep work?
krypto
I Have Raid 0 setup on the ICH10 Sata ports , is there any way of installing Snow leopard without changing the Raid option?

IE :
2 x HDD raid 0 mode
1x HDD in non raid mode

Can i use the single hdd thats not part of raid to install OSx SL?

sad.gif
morganpl
Sleep works, but probably my system there is something wrong ... this is not a rule that every time I wake up the KP, is once and another time the system wakes up properly. I attach a screen with KP, and a list kexts. Please Write down where to look ...?

Than you!

Click to view attachment
Click to view attachment 
MATTkiller
Hello,

To begin, Thanks you very very much for your work and excuse my language because I'm Frech .
Okay, I followed all steps exept one.
I have a macbook who's running SL and I do all step from that.
Then I can't create a DSDT.aml file.
When I boot on SL after running all step, I get this message :

:/ root# panic(cpu 0 caller 0x2f7d1f60): "No HPETs available...CPU(s) configured incorrectly\n"@/SourceCache/AppleIntelCPUPowerManagement-90/pmThread.c:148
Debugger called: <panic>
Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x2f70bf08 : 0x21acfa (0x5ce650 0x2f70bf3c 0x223156 0x0)
0x2f70bf58 : 0x2f7d1f60 (0x2f7dd3a8 0x8 0xc120e4db 0x4)
0x2f70bfc8 : 0x29c68c (0x0 0x0 0x222334 0x222334)
Kernel Extentions in backtrace (with dependencies):
com.apple.driver.AppleIntelCPUPowerManagement( 90.0.0)@0x2f7cd000->0x2f7e4fff

BSD process name corresponding to current thread: kernel_task

Mas OS version :
10A432

Kernel version :
Darwin Kernel Version 10.0.0:Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386
System model name: MacPro4,1

System uptime in nanoseconds: 20613344669

HeartQ8
DD,

Script report Snow wrongly (I am using Snow on my recovery disk to install Snow to main disk) so I have to edit it in this way to run :

case "$RUNNING_OS" in
"10.5") OS_NAME="Leopard";;
*) OS_NAME="Snow Leopard";;
*) echo -e "${yellow}${bold}${rev} IMPROPER OS! This script will only run on \
Leopard or Snow Leopard OS! ${plain}\n"; echo -e "Running OS version: $RUNNING_OS ($OS_BUILD)" >> "$LOG"; exit;;

I found permission issue with installing any program to S/L/E (try Soundflower-1.4.3.dmg).
last the Bonjour Networking protocol not working and I can not see my printers and Ext Hard Disks.

DD Thank you and keep up the good working up.
knightprozac
QUOTE (krypto @ Sep 9 2009, 08:05 PM) *
I Have Raid 0 setup on the ICH10 Sata ports , is there any way of installing Snow leopard without changing the Raid option?

WTF

I tried to get my RAID 0 to work on the Blue ICH10 ports and couldn't on 10.5.7. I searched the net for ages for a solution but only found info saying there were no Apple ICH10 RAID drivers so it was impossible to use RAID with those ports.....

In answer to your question some people have managed to install SL onto RAID. You can find the info on their relatively recent posts in the old 10.5.8 thread by DD.

Please tell me how you got RAID 0 working with the Blue ICH10 Sata ports. Having to use JMicron has taken away my Sleep functionality (something I used to use alot on my old G5).
taylorutah
I still can't figure out why my ethernet isn't working!

Any ideas guys?

recap: it works on the hard drive i first installed to as long as i boot into that drive via the bios. Did a new install on what will become my primary drive and everything works but the ethernet.

what could i have possibly overlooked on this one?
alfonzotan
QUOTE (taylorutah @ Sep 9 2009, 03:42 PM) *
I still can't figure out why my ethernet isn't working!

Any ideas guys?

recap: it works on the hard drive i first installed to as long as i boot into that drive via the bios. Did a new install on what will become my primary drive and everything works but the ethernet.

what could i have possibly overlooked on this one?


I couldn't get it to work on my -UD4P board, either. Updated the BIOS, reset CMOS, whole nine yards. I finally gave up and spent $12 for the TrendNET PCI card, which worked fine out of the box.
taylorutah
QUOTE (alfonzotan @ Sep 9 2009, 09:02 AM) *
I couldn't get it to work on my -UD4P board, either. Updated the BIOS, reset CMOS, whole nine yards. I finally gave up and spent $12 for the TrendNET PCI card, which worked fine out of the box.


but it works on another hard drive. Same computer. So I know it can work with this board, I just missed something. Could my kext ne bad?
raymondh
Is there a way to do this install so the EFI is on a USB flash drive so I can boot fromm a SL drive out of a Mac?
rest assured son
QUOTE (digital_dreamer @ Sep 8 2009, 06:57 PM) *
the Gigabyte GA-EX58-UD5 motherboard, which can be adapted
to running Snow Leopard on other modern boards.



Can the people who adapt your script for other motherboards post the results just as kext folders/plists or can they post the who script system (avoiding confusion). Do they need to cite owner in the thread? (because your holy name is already in the script itself)

You have never mentioned letting others adapt from your script and this would be a good time to elaborate on your personal feeling towards that subject (since you brought up the subject).

Also while I am asking you important questions, do you think this DSDT fix is useful for our UD5. Link. If it is, please add this to your DSDT maker in your future v4.5.

Lastly, Do you even know what "VBIOS=Yes|No' (Inject VBIOS to device-properties)" Does? I tried it and failed to find usefulness.

QUOTE (raymondh @ Sep 9 2009, 04:25 PM) *
Is there a way to do this install so the EFI is on a USB flash drive so I can boot fromm a SL drive out of a Mac?


As long as the kexts in S/L/E dont interfere with realMac, your good to go (E/E kexts dont load in realMac). I think you should test this out and get back to us.
QUOTE (alfonzotan @ Sep 9 2009, 03:02 PM) *
I couldn't get it to work on my -UD4P board, either. Updated the BIOS, reset CMOS, whole nine yards. I finally gave up and spent $12 for the TrendNET PCI card, which worked fine out of the box.


For the people who need the PCI slot for PCIe then you should use a 15$ apple usb ethernet adapter from ebay. 30$ from non-ebay.
Juxtron
Hi all

Worked for me with no major trouble. (started ffrom a DD's method 10.5.7)

HD 4870, dual screen, sleep, wakeup, reboot, shutdown, lan x2, audio, time machine, including audio pro apps like nuendo 4 (still 32bits version) and twistedwave, final cut ok, old projects opened with no trouble.
No protools...

Script seems really fine, but essential to build cache in -s, otherwise I got a corrupt video hang at the end of boot process.

Two things :

1. Audio kexts needed to be placed in S/L/E
2. Lan x2 only when adding IONetworkingFamily.kext in S/L/E

I'll post any other script related news.

Great job, as usual, DD, thanks a lot.
Any chance to have DSDT editing and EFI string detection and injection included into script ?

Thanks again !!!!

Juxtron
dixit
QUOTE (taylorutah @ Sep 9 2009, 10:42 AM) *
I still can't figure out why my ethernet isn't working!

Any ideas guys?

recap: it works on the hard drive i first installed to as long as i boot into that drive via the bios. Did a new install on what will become my primary drive and everything works but the ethernet.

what could i have possibly overlooked on this one?


I just had this happen. I got initially after the install and my NIC was clearly working, after disabling spotlight to basically rebuild the cache/move kexts (I left RealtekR1000 in System) and then rebooted and NIC would not work.

I tried for 2hrs trying to figure it out. Looked at my Console log and noticed Realtek was never loading.

Then rebooted into IATKOS 10.5.7 (where it was always working) and what you know, wont work. Booted into Windows7, nope aint working there either anymore. So I decided to shut it down, remove the power plug, plug it back in and turn it on, and BAAM the NIC works in Snow Leopard now, didnt need to reset the CMOS.

Here is a snippet of what you should be seeing in your console log to make sure the Realtek is loading
CODE
9/9/09 1:46:37 PM    com.apple.SecurityServer[21]    Session 0x5fbff962 created
9/9/09 1:46:37 PM    mDNSResponder[24]    mDNSResponder mDNSResponder-212.1 (Jul 24 2009 22:34:12) starting
9/9/09 1:46:37 PM    com.apple.usbmuxd[18]    usbmuxd-167.1 built for iTunesEightTwo on Jul  9 2009 at 14:02:00, running 32 bit
9/9/09 1:46:37 PM    configd[13]    network configuration changed.
9/9/09 1:46:37 PM    configd[13]    setting hostname to "XXX-Mac-Pro.local"
9/9/09 1:46:40 PM    com.apple.SecurityServer[21]    Entering service
9/9/09 1:46:40 PM    configd[13]    network configuration changed.
9/9/09 1:46:40 PM    configd[13]    network configuration changed.
9/9/09 1:46:41 PM    kernel    NVDANV50HAL loaded and registered.
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::init(OSDictionary *properties)
9/9/09 1:46:41 PM    kernel    REALTEK: ::start(IOService *096f3680) mark_recompile
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::createWorkLoop()
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::getWorkLoop()
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::createOutputQueue()
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::getWorkLoop()
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::getPacketBufferConstraints(IOPacketBufferConstraints *constraints) const
9/9/09 1:46:41 PM    kernel    REALTEK: mmio/pio base 0xce00
9/9/09 1:46:41 PM    kernel    REALTEK: Memory mapped at virt addr 0xce00, phys addr 0xce00
9/9/09 1:46:41 PM    kernel    REALTEK: mcfg 1, pcfg 3
9/9/09 1:46:41 PM    kernel    REALTEK: Chip RTL8169 detected
9/9/09 1:46:41 PM    kernel    REALTEK: PHY config
9/9/09 1:46:41 PM    kernel    REALTEK: tell card we can powersaveREALTEK: Set MAC Reg C+CR Offset 0x82h = 0x01h
9/9/09 1:46:41 PM    kernel    REALTEK: Set PCI Latency=0x40
9/9/09 1:46:41 PM    kernel    REALTEK: 1000Mbps Full-duplex operation, TBI Link OK!
9/9/09 1:46:41 PM    kernel    REALTEK: Link Status: Linked
9/9/09 1:46:41 PM    kernel    REALTEK: Link Speed: 100Mbps
9/9/09 1:46:41 PM    kernel    REALTEK: Duplex mode: Full-Duplex
9/9/09 1:46:41 PM    kernel    HDAEnabler: Copyright (c) 2008 by Kabyl
9/9/09 1:46:41 PM    kernel    HDAEnabler: 05/05/2008 Added SPAudio support:Taruga
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::R1000InitEventSources()
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::getWorkLoop()
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::newVendorString() const
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::newModelString() const
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::getHardwareAddress(IOEthernetAddress *addr)
9/9/09 1:46:41 PM    kernel    REALTEK: RealtekR1000::registerWithPolicyMaker(IOService *policyMaker)
9/9/09 1:46:41 PM    kernel    REALTEK: Realtek R1000::setPowerState(unsigned long powerStateOrdinal, IOService *policyMaker)
9/9/09 1:46:41 PM    kernel    RREEAALLTEK: waking/wake up from sleep...
9/9/09 1:46:41 PM    kernel    TEK: RealtekR1000::configureInterface(IONetworkInterface *interface)
9/9/09 1:46:41 PM    kernel    REALTEK: ::start: returning '1'
9/9/09 1:46:41 PM    kernel    com_psystar_RealtekR1000: Ethernet address 00:24:1d:76:95:fa
9/9/09 1:46:41 PM    kernel    NTFS driver 3.0 [Flags: R/W].
9/9/09 1:46:41 PM    kernel    NTFS volume name System Reserved, version 3.1.
9/9/09 1:46:41 PM    /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[25]    Login Window Application Started


If you dont see the Realtek stuff, your NIC aint loading. Here is an example of my console log where it wasnt working. You can see how it goes from setting the hostname (which I renamed for my privacy to XXX) it just goes straight to the HDA stuff.
CODE
9/9/09 1:38:59 PM    com.apple.usbmuxd[18]    usbmuxd-167.1 built for iTunesEightTwo on Jul  9 2009 at 14:02:00, running 32 bit
9/9/09 1:38:59 PM    configd[13]    setting hostname to "XXX-Mac-Pro.local"
9/9/09 1:38:59 PM    configd[13]    network configuration changed.
9/9/09 1:38:59 PM    com.apple.SecurityServer[21]    Entering service
9/9/09 1:38:59 PM    configd[13]    network configuration changed.
9/9/09 1:38:59 PM    configd[13]    network configuration changed.
9/9/09 1:39:00 PM    kernel    NVDANV50HAL loaded and registered.
9/9/09 1:39:00 PM    kernel    HDAEnabler: Copyright (c) 2008 by Kabyl
9/9/09 1:39:00 PM    kernel    HDAEnabler: 05/05/2008 Added SPAudio support:Taruga
9/9/09 1:39:00 PM    /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[25]    Login Window Application Started
9/9/09 1:39:01 PM    kernel    USBF:    12.686    AppleUSBEHCI[0x972a000]::Found a transaction which hasn't moved in 5 seconds on bus 0xfd, timing out! (Addr: 0, EP: 0)
9/9/09 1:39:01 PM    kernel    running dsmos at addr 81345000 and offset 109b
9/9/09 1:39:01 PM    kernel    DSMOS has arrived
9/9/09 1:39:01 PM    kernel    dsmos: Hook and decryption contexts set!
9/9/09 1:39:01 PM    kernel    NTFS driver 3.0 [Flags: R/W].
9/9/09 1:39:01 PM    kernel    NTFS volume name System Reserved, version 3.1.
9/9/09 1:39:01 PM    kernel    NTFS volume name Windows7, version 3.1.
9/9/09 1:39:01 PM    kernel    NTFS volume name Storage, version 3.1.
Erik E
Thanks for a great script/tutorial...

I followed it. Worked great with my ga-ex58-ud3r. Two hickups (at least) to go:

1. On board ehternet is not working (works fine in both Kalyway (on another disk) and iAtkos v7... and on Windows 7 where I'm typing now.
2. Get a working driver/setting for my Geforce 9600GT.

But I see a light in the tunnel now. Thanks.
rgb
works perfectly in 32bit mode
thanks DD!!!

(64bit mode fail to load graphics and network drivers)
MATTkiller
Anybody can help me ?



To begin, Thanks you very very much for your work and excuse my language because I'm Frech .
Okay, I followed all steps exept one.
I have a macbook who's running SL and I do all step from that.
Then I can't create a DSDT.aml file.
When I boot on SL after running all step, I get this message :

:/ root# panic(cpu 0 caller 0x2f7d1f60): "No HPETs available...CPU(s) configured incorrectly\n"@/SourceCache/AppleIntelCPUPowerManagement-90/pmThread.c:148
Debugger called: <panic>
Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x2f70bf08 : 0x21acfa (0x5ce650 0x2f70bf3c 0x223156 0x0)
0x2f70bf58 : 0x2f7d1f60 (0x2f7dd3a8 0x8 0xc120e4db 0x4)
0x2f70bfc8 : 0x29c68c (0x0 0x0 0x222334 0x222334)
Kernel Extentions in backtrace (with dependencies):
com.apple.driver.AppleIntelCPUPowerManagement( 90.0.0)@0x2f7cd000->0x2f7e4fff

BSD process name corresponding to current thread: kernel_task

Mas OS version :
10A432

Kernel version :
Darwin Kernel Version 10.0.0:Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386
System model name: MacPro4,1

System uptime in nanoseconds: 20613344669

Erik E
QUOTE (Erik E @ Sep 9 2009, 06:02 PM) *
Thanks for a great script/tutorial...

I followed it. Worked great with my ga-ex58-ud3r. Two hickups (at least) to go:

1. On board ehternet is not working (works fine in both Kalyway (on another disk) and iAtkos v7... and on Windows 7 where I'm typing now.
2. Get a working driver/setting for my Geforce 9600GT.

But I see a light in the tunnel now. Thanks.

OK, I fixed those two, so now everything (that I have tested) is working great.

1. Moved realtek kext from System to Extra from DD's script. Suspect it was the rebuild of cache that solved it, but not sure...
2. Made a custom nvidia EFI through osx86tools for my 9600GT. Works great...
dacool
Make sure that you don't have folder called EFI at ~/Desktop, it's kinda broke this script. smile.gif

I upgraded the new chameleon rc3 and new kext, and It now fixed the harddrive icons, and that those sata drives are not anymore eject drives. But it now mount's the EFI partition, even there is
/Volumes/EFI/.fseventsd/no_log

Is there any fix for that?
tsunoo
QUOTE (MATTkiller @ Sep 9 2009, 07:28 PM) *
To begin, Thanks you very very much for your work and excuse my language because I'm Frech .
Okay, I followed all steps exept one.
I have a macbook who's running SL and I do all step from that.
Then I can't create a DSDT.aml file.


Create DSDT file on your PC not on your mac
MATTkiller
Thanks you.
I try with a DSDT file.
digital_dreamer
QUOTE (matinee @ Sep 8 2009, 11:59 PM) *
Another newbie question: I've already successfully installed (and been using) 10.5.7 using your previous script+guide but have been overwelmed by the 140+ pages of subsequent conversation which might answer this: can I use any of this new script to UPGRADE my current 10.5.7 install? Otherwise, do I need to start over with a fresh volume using this new script+guide?

2nd (also newbie) question: If I do have to start over using this script+guide, when you refer to to RETAIL here, are you referring to the new 10.6 Snow Leopard Retail DVD or do I need to utilize both my orig 10.5 Leopard Retail DVD as well as the new 10.6 Snow Leopard DVD, and if so, how?

Retail here is just referring to Snow Leopard DVD, no need for Leopard.
As a general rule, you should be able to upgrade your current install, but I can't say with absolute confidence everything will be fine, as I don't really know your setup. I always like to use the major OS upgrades as a excuse to start fresh and clean up my system.

QUOTE (knightprozac @ Sep 9 2009, 02:55 AM) *
Hey DD. I was gonna send this RAID info as a PM but I couldn't figure out how to use attachments for PM

Curiously the RAID_list.txt says no RAID sets found. This might have something to do with Mac OS X recognising my hardware RAID as one disk from my JMicron Ports.

Anyway awesome work man. I might try and figure out how to do things with RAID before you get your script up for it but hopefully these files can help anyway. If I'm successful I'll certainly post my methods/experiences.

Well, the RAID set I'm referring to are Apple's softraid, not the hardware-based RAID your Windows system may be using. That's why nothing showed up in RAIDlist. Thanks for you effort, though!

MAJ
Craig4
QUOTE (MATTkiller @ Sep 9 2009, 01:28 PM) *
Anybody can help me ?



To begin, Thanks you very very much for your work and excuse my language because I'm Frech .
Okay, I followed all steps exept one.
I have a macbook who's running SL and I do all step from that.
Then I can't create a DSDT.aml file.
When I boot on SL after running all step, I get this message :

:/ root# panic(cpu 0 caller 0x2f7d1f60): "No HPETs available...CPU(s) configured incorrectly\n"@/SourceCache/AppleIntelCPUPowerManagement-90/pmThread.c:148
Debugger called: <panic>
Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x2f70bf08 : 0x21acfa (0x5ce650 0x2f70bf3c 0x223156 0x0)
0x2f70bf58 : 0x2f7d1f60 (0x2f7dd3a8 0x8 0xc120e4db 0x4)
0x2f70bfc8 : 0x29c68c (0x0 0x0 0x222334 0x222334)
Kernel Extentions in backtrace (with dependencies):
com.apple.driver.AppleIntelCPUPowerManagement( 90.0.0)@0x2f7cd000->0x2f7e4fff

BSD process name corresponding to current thread: kernel_task

Mas OS version :
10A432

Kernel version :
Darwin Kernel Version 10.0.0:Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386
System model name: MacPro4,1

System uptime in nanoseconds: 20613344669



I get this same error
digital_dreamer
QUOTE (morganpl @ Sep 9 2009, 07:14 AM) *
Sleep works, but probably my system there is something wrong ... this is not a rule that every time I wake up the KP, is once and another time the system wakes up properly. I attach a screen with KP, and a list kexts. Please Write down where to look ...?

Sleep and wake from sleep is a rather elusive goal for many. The more devices you have, the greater the odds are of having issues. It's dependent on the support of all current peripherals/devices plugged in and that they be "sleep-aware" - meaning that they can go to sleep on demand and wake on demand, a tricky proposition. It's tricky because sleep requires that all devices be idle or not busy. If they are busy, the action must be suspended or aborted, if possible. On wake, it requires all devices to be in a known state and resume where they left off. Not every device can pull this off successfully, bringing down the whole chain.

QUOTE (MATTkiller @ Sep 9 2009, 07:43 AM) *
Okay, I followed all steps exept one.
I have a macbook who's running SL and I do all step from that.
Then I can't create a DSDT.aml file.

I'll update the Tutorial and FAQs regarding this issue:
If you're not able to create a DSDT file, because you are not on the target system, use the PC-EFI v10 bootloader. This bootloader will allow you to boot into Snow Leopard without the patched DSDT file. The other bootloaders stall here.

QUOTE (HeartQ8 @ Sep 9 2009, 08:01 AM) *
Script report Snow wrongly (I am using Snow on my recovery disk to install Snow to main disk) so I have to edit it in this way to run :

case "$RUNNING_OS" in
"10.5") OS_NAME="Leopard";;
*) OS_NAME="Snow Leopard";;
*) echo -e "${yellow}${bold}${rev} IMPROPER OS! This script will only run on \
Leopard or Snow Leopard OS! ${plain}\n"; echo -e "Running OS version: $RUNNING_OS ($OS_BUILD)" >> "$LOG"; exit;;

I found permission issue with installing any program to S/L/E (try Soundflower-1.4.3.dmg).
last the Bonjour Networking protocol not working and I can not see my printers and Ext Hard Disks.

The OS version bug should be fixed and you can download the update. The script file download is also available toward the bottom of the first page, if you don't want to download the entire package.

What do you mean by "permission issue with installing any program to S/L/E (try Soundflower-1.4.3.dmg)?"

QUOTE (dacool @ Sep 9 2009, 02:55 PM) *
Make sure that you don't have folder called EFI at ~/Desktop, it's kinda broke this script. smile.gif

I upgraded the new chameleon rc3 and new kext, and It now fixed the harddrive icons, and that those sata drives are not anymore eject drives. But it now mount's the EFI partition, even there is
/Volumes/EFI/.fseventsd/no_log

Is there any fix for that?

Did you have a folder called, "EFI" on your desktop that created issues for the script? Can you elaborate on what happened?
I might, or should, have the script do a check for the existence of a "EFI" file on the desktop prior to a mount, just to be sure something like that doesn't happen. Amazing what unexpected scenarios can take place.
Also, are you saying that the EFI partition is now visible on your desktop and doesn't go away? If so, can you still "view" the EFI partition or do EFI partition steps in the script?

regard,
MAJ
edvardlee
hi juxtron, can you tell me how you ogot hd 4870 working?

thanks

ed



QUOTE (Juxtron @ Sep 9 2009, 06:46 PM) *
Hi all

Worked for me with no major trouble. (started ffrom a DD's method 10.5.7)

HD 4870, dual screen, sleep, wakeup, reboot, shutdown, lan x2, audio, time machine, including audio pro apps like nuendo 4 (still 32bits version) and twistedwave, final cut ok, old projects opened with no trouble.
No protools...

Script seems really fine, but essential to build cache in -s, otherwise I got a corrupt video hang at the end of boot process.

Two things :

1. Audio kexts needed to be placed in S/L/E
2. Lan x2 only when adding IONetworkingFamily.kext in S/L/E

I'll post any other script related news.

Great job, as usual, DD, thanks a lot.
Any chance to have DSDT editing and EFI string detection and injection included into script ?

Thanks again !!!!

Juxtron
digital_dreamer
QUOTE (Craig4 @ Sep 9 2009, 07:34 PM) *
I get this same error

Are you trying to work without the DSDT file, too?
If so, try the PC-EFI v10 bootloader - it will allow the system to move ahead without it.

MAJ
Dith
I've been trying for the last 5 hours to get my install working. Perhaps someone knows what's going wrong.
When I boot up using -v -x32 flags it shows me a bunch of Realtek messages before completely stalling or perhaps even freezing. I waited several minutes for something to happen and nothing ever does, also no activity on the HD led.

What I have tried:
- Flashed latest bios
- CMOS reset on the motherboard (was also done after flashing the bios)
- Build the caches in single user mode, done this multiple times since I've been adding and removing kexts.
- Replaced the RealtekR1000.kext with the latest from the Realtek website, just to see if it would boot.
- Removed dmos, Sleepenabler and NullCPUPowerManagement and replaced it with fakesmc.kext. Removing sleepenabler was just a test to see if it would work, I hear you still need it with fakesmc.
- Starting from scratch and rerunning the script.
- Rebuild DSDT.aml and place it in the root (/) but also keeping it in Extra.
- Install Chameleon RC3 and PC-EFI, currently using PC-EFI.

I own a EX58-UD3R motherboard, it differs from the UD5 board as it has 1 LAN port less and an ALC888 audio chipset. The rest is exactly the same. The videocard I'm using is a Radeon 4870 with 512MB, hence the ATY_Init.kext. I have not made any additional changes, but I did check one of the Radeon Snow Leopard kexts as netkas mentioned to change a device-id. However in my case the device-id was already the same as my Radeon 4870 (checked it in System Profiler under 10.5.7).

I have a second HD running 10.5.7 and I have used DD's scripts multiple times, so I think I'm quite familiar with the process smile.gif

Kexts currently installed:
CODE
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 AppleHDA.kext
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 AppleIntelPIIXATA.kext
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 ATY_Init.kext
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 HDAEnabler.kext
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 IOAHCIBlockStorageInjector.kext
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 JMicronATA.kext
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 OpenHaltRestart.kext
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 PlatformUUID.kext
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 RealtekR1000.kext
drwxr-xr-x@ 3 root  wheel  102 10 sep 02:21 fakesmc.kext


A small snippit of the boot log at the part where it stalls/freezes, I attached the full log to the post:
CODE
Sep  9 17:33:34 localhost kernel[0]: REALTEK: Multicast bits after crc calc: 0x      1f.
Sep  9 17:33:34 localhost kernel[0]: REALTEK: Multicast bits after crc calc: 0x      33.
Sep  9 17:33:34 localhost kernel[0]: REALTEK: Multicast bits after crc calc: 0x      3e.
Sep  9 17:33:34 localhost kernel[0]: REALTEK: Multicast bits after crc calc: 0x      16.
Sep  9 17:33:35 localhost kernel[0]: ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
Sep  9 17:33:35 localhost kernel[0]: AppleTyMCEDriver::start coreVIDPID = 0x2c418086 Number of packages = 1 Number of cpus = 8 memory monitor trough MCA
Sep  9 17:33:37 morpho kernel[0]: REALTEK: RealtekR1000::setMulticastList(IOEthernetAddress *addrs, UInt32 count)
Sep  9 17:33:37 morpho kernel[0]: REALTEK: Multicast bits after crc calc: 0x      2e.
Sep  9 17:33:37 morpho kernel[0]: REALTEK: Multicast bits after crc calc: 0x       f.
Sep  9 17:33:37 morpho kernel[0]: REALTEK: Multicast bits after crc calc: 0x      1f.
Sep  9 17:33:37 morpho kernel[0]: REALTEK: Multicast bits after crc calc: 0x      33.
Sep  9 17:33:37 morpho kernel[0]: REALTEK: Multicast bits after crc calc: 0x      3e.
Sep  9 17:33:37 morpho kernel[0]: REALTEK: Multicast bits after crc calc: 0x      16.
Sep  9 17:33:43 morpho kernel[0]: REALTEK: RealtekR1000::R1000TxTimeout(OSObject *owner, IOTimerEventSource * timer)


Also included in the Logs.zip are the bootcache.log and DSDT Output.

Thanks in advance biggrin.gif
digital_dreamer
QUOTE (Dith @ Sep 9 2009, 07:58 PM) *
I've been trying for the last 5 hours to get my install working. Perhaps someone knows what's going wrong.
When I boot up using -v -x32 flags it shows me a bunch of Realtek messages before completely stalling or perhaps even freezing. I waited several minutes for something to happen and nothing ever does, also no activity on the HD led.

Dith,
Nothing appears to stand out as wrong, but I suspect your 4870 card. You're probably at the desktop with no way to make it visible. See if you can "eject" your optical drive from your keyboard next time you try.

Graphics require a bit more attention in SL, as many are finding out. Isn't there another driver that must be installed? Look in the ATI graphics forums for some tips. (but, you probably already have!) I believe edvardlee from a few posts up is in the same boat.

Oh, and I'd like to mention that your post is a good example of clarity and technical detail. It doesn't leave us wondering what you did or didn't do and guessing at the answers, usually wrong ones. Now, if everyone can do that.... biggrin.gif

MAJ
AppleIIGuy
Just wanted to tell you that this works just fine on a EX58-UD3R. With the exception you need to use VoodooHDA not the default audio kexts.
alexjdb
QUOTE (digital_dreamer @ Sep 9 2009, 09:28 PM) *
Dith,
Nothing appears to stand out as wrong, but I suspect your 4870 card. You're probably at the desktop with no way to make it visible. See if you can "eject" your optical drive from your keyboard next time you try.

Graphics require a bit more attention in SL, as many are finding out. Isn't there another driver that must be installed? Look in the ATI graphics forums for some tips. (but, you probably already have!) I believe edvardlee from a few posts up is in the same boat.

Oh, and I'd like to mention that your post is a good example of clarity and technical detail. It doesn't leave us wondering what you did or didn't do and guessing at the answers, usually wrong ones. Now, if everyone can do that.... biggrin.gif

MAJ


Hey there!

I have a Powercolor HD4870 1Gb and was able to make video work perfectly using this EVOEnabler.kext (link: http://www.insanelymac.com/forum/index.php...st&id=55152). Simply install it to the Extra folder and it should work fine (it did for me!).

MAJ: Congratulations for your great work. You're truly an asset to this community! I have a GA-EX58-UD4P and Ethernet, as well as audio, don't work. SL seems to see the port, but it says that it has a self assigned IP, etc. As for audio, I know that even if I have the same Realtek chipset as the UD5, there may be a slightly different configuration that could cause the whole AppleHDA setup to fail. For Ethernet, I tried moving the kexts back and forth to Extra and System, and of course rebuilding the cache, but it didn't seem to work. As for audio, the UD5 AppleHDA worked with 10.5.7 so I have never really looked into modifying it.

The build will go to sleep perfectly (S3) but won't awake (well it will, but my monitors stay at sleep). This doesn't bother me much but I wanted to mention it.

Thanks for your help and let me know if you need more information from me!
Alex smile.gif

EDIT: I think I'd be able to make audio work using VoodooHDA. As for the Ethernet, I looked at Extensions in System Profiler and it looks like RealtekR1000 isn't being loaded or something. Is it supposed to be installed in Extra or System ?
Dith
QUOTE (digital_dreamer @ Sep 10 2009, 03:28 AM) *
Dith,
Nothing appears to stand out as wrong, but I suspect your 4870 card. You're probably at the desktop with no way to make it visible. See if you can "eject" your optical drive from your keyboard next time you try.

Graphics require a bit more attention in SL, as many are finding out. Isn't there another driver that must be installed? Look in the ATI graphics forums for some tips. (but, you probably already have!) I believe edvardlee from a few posts up is in the same boat.

Oh, and I'd like to mention that your post is a good example of clarity and technical detail. It doesn't leave us wondering what you did or didn't do and guessing at the answers, usually wrong ones. Now, if everyone can do that.... biggrin.gif

MAJ

Thanks for your swift reply and verification DD! smile.gif
I have to admit I was a bit short sighted, ATY_Init worked in 10.5.7 so I assumed it would be fine in Snow Leopard as well since the device-id was already in the ATI4800Controller.kext plist.

I will dig some more into the videocard part tomorrow but it sounds about right what you're saying. If I compare the boot to 10.5.7 it's definitely shortly after that sequence when the WindowServer starts. Perhaps I can use the -x32 –v –x -f flags to boot into Safe Mode, should work regardless of drivers. At least it did for 10.5.x.

EDIT:
QUOTE (alexjdb @ Sep 10 2009, 03:45 AM) *
Hey there!

I have a Powercolor HD4870 1Gb and was able to make video work perfectly using this EVOEnabler.kext (link: http://www.insanelymac.com/forum/index.php...st&id=55152). Simply install it to the Extra folder and it should work fine (it did for me!).

Alex smile.gif

Hey Alex thanks for the link, I will definitely start out with trying that tomorrow!
dacool
QUOTE (digital_dreamer @ Sep 10 2009, 03:54 AM) *
Did you have a folder called, "EFI" on your desktop that created issues for the script? Can you elaborate on what happened?
I might, or should, have the script do a check for the existence of a "EFI" file on the desktop prior to a mount, just to be sure something like that doesn't happen. Amazing what unexpected scenarios can take place.
Also, are you saying that the EFI partition is now visible on your desktop and doesn't go away? If so, can you still "view" the EFI partition or do EFI partition steps in the script?

regard,
MAJ


Yes. I did have backup of working EFI-partition contains at desktop folder called EFI, and somehow the script didn't unmount the /Volumes/EFI, even there is check to force unmount, if the normal unmount failed. It worked after I put the -f parameter at the first umount command on script (before the script checks did the first unmount command worked, or does it need to force).

CODE
if [[ -d /Volumes/EFI ]];then
     chflags nohidden /volumes/"EFI"
     umount -f /Volumes/EFI >> "$LOG" 2>&1
     RTRN_ERR=$?
fi
if [[ $RTRN_ERR = 1 && $DISK_ID != $WRKING_DISK_ID ]]; then
     echo "Not unmounting normally - forcing unmount." >> "$LOG"
     umount -f /Volumes/EFI >> "$LOG" 2>&1
     rm -rf /Volumes/EFI >> "$TEST_LOG" 2>&1
     fsck_hfs /dev/disk${DISK_ID}s1 >> "$LOG" 2>&1


Yes and the systems somehow wants to mount the EFI partition on everyboot, even there is that no_log file. I needed to put the following line to my /etc/fstab to prevent it for mounting:

UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx none hfs rw,noauto

Where xxx...xxx is the partition uuid from EFI partition, and now it don't mount it on everyboot.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.