Jump to content

OS X 10.7 Lion on Shuttle SH67H3


  • Please log in to reply
16 replies to this topic

#1
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
So, first a disclaimer--this is my first hackintosh and basically I don't know what I'm doing, so when you find yourself asking why I did something a certain way the answer is, "because I don't know what I'm doing."

Now, having said that I just wanted to outline how installing Lion (GM) on my Shuttle SH67H3 has gone, what I've found works, what doesn't work (yet) and maybe get feedback from other people.

Also, I have a Sapphire AMD HD 5670 1GB for my graphics, so I'm not sure this works with integrated graphics (but the 5670 works perfectly out of the box). I also upgraded the bios to the latest version, SH67H000.107, before installing Lion.


Installation

In order to get Lion on a flash drive and then install it I followed the following guide:
http://geeknizer.com...-pc-hackintosh/

On a side note, I know with 10.6 you couldn't have more than 4gb of ram installed and it was a good idea to unplug all hard drives besides the one you were installing OS X onto. I have 8gb or ram installed, didn't unplug my other 3 hard drives (used two in a RAID1 setup with my Lion install) and didn't have any problems whatsoever.

Post installation

After installation I used a number of links from the following guide (beginning at "Post Installation"):
http://www.insanelym...p...t&p=1681524

1. Run "Extra Lion" installer (Extra_Lion_DP4.pkg.zip from aforementioned post) rather than creating your own Extra folder. Without running this I was running into kernel panics after rebooting a couple of times. It does make the Shuttle identify itself as a 2008 Mac Pro, and I haven't tried changing that yet (not necessarily any reason to other than just because)

2. Install Chameleon RC5 to the hard drive (again, download from aforementioned post, which actually links to http://www.insanelym...howtopic=227833, I've tried a new version I downloaded from elsewhere and had problems)

3. Install NullCPUPowerManagement.kext.zip (from above guide). I use Kext Wizard which seems to work well. Also install SleepEnabler.kext. This enables correct shutdown, reboot, and sleep on my SH67H3.

4. Then, following http://www.tonymacx8...hp?f=79&t=21312 I downloaded ##### 3.7.2 (I haven't tried 3.8.0 yet) from tonymacx86.com and installed the VoodooHDA sound kext. This mostly works, but there's a buzzing sound that comes from the speakers when they're on...annoying but otherwise it works.

5. And lastly I downloaded the Lnx2Mac Realtek RTL81xx Ethernet driver installer (the included one on ##### kept crashing) for the built-in ethernet controller. I haven't tested this, but I believe (based on reports from 10.6.7) that it should work...but it might not.

For wifi I bought an official Apple airport extreme card off ebay, so that works great (although I'm still working out the kinks in the antennas because with the aluminum top on it really screws up the reception). For bluetooth I ordered an official macbook pro module that I'm planning on putting in there (you have to change the voltage from 5v to 3.3v, so it's not so straightforward) but for the moment I'm using a cheap USB bluetooth module off eBay that works fine with my bluetooth keyboard.

Basically, that's it and I've got Lion working perfectly (minus what's mentioned below).

What works perfectly

- Graphics (AMD HD 5670) (all three outputs work, I'm running a dual monitor setup)
- USB 2.0 ports


What sometimes give me trouble

- The sound (the buzzing). The front headphone port also works (you can select it from the VoodooHDA preference pane).
- Random kernel panics on startup, maybe 20% of the time. If I restart it from the panic it will startup fine, minus a further 20% of the time (I read in a forum something that makes me think it might be related to the VoodooHDA kext, but I can't confirm that at the moment)
- Also, on boot every kext gets loaded every time (it's fairly time consuming). But this fixes it, until you install another kext and then you have to do it again.


What doesn't work yet

- I can't for the life of me get Chameleon to timeout and boot the Lion disk...or any other disk for that matter. I installed the preference pane and that won't do it, and neither will editing com.apple.boot.plist in the /Extra folder. I have a small wireless keyboard that has its own USB dongle that I use to select the correct partition in Chameleon because my bluetooth doesn't work at that point and I can't get Chameleon to timeout.
- USB 3.0 ports. I installed the USB 3.0 Lacie kext as well as the NEC/Renesas kext included in ##### 3.7.2 and neither worked. The USB controllers showed up in System Information, but otherwise didn't work. I think that updating the controller firmware might make a difference (see here) but I haven't had a chance to try that yet.

What I haven't tried to get to work

- Digital audio out (both via optical and HDMI)
- Integrated graphics
- eSATA ports on the front and back
- Gigabit ethernet port (with above mentioned kext)


If anyone else has found anything that works better (especially a sound kext that doesn't give the buzzing) I would love to hear about it, and if there are any questions let me know and I'm glad to help if I can.

UPDATE:

So, I just updated to 10.7.1. You have to remove sleepenabler.kext before installing the 10.7.1 update or you'll get a kernel panic on boot. After you've removed sleepenabler.kext just install the update, reboot, and you should be good to go. Unfortunately for the time being that also means no sleep, but I can live with that for now.

#2
belowthebelt

belowthebelt

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

- I can't for the life of me get Chameleon to timeout and boot the Lion disk...or any other disk for that matter.



Open your extra folder at the root of your boot disk, look for a file called com.apple.boot.plist and make a copy of it ( backup) right click the file and open with Text Edit and add this string to the list

<key>Timeout</key>
<string>2</string>

Here is what my list looks like so you have a good idea of what I am talking about.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>arch=arch=x86_64</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>Timeout</key>
<string>2</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>PCIRootUID</key>
<string>1</string>

</dict>
</plist>


After you add that string to your list, make sure you save it to the extra folder at the root of your boot disk, this will tell Chameleon to time out.

About your random kernel panics, what does the Console application tell you is going on?

#3
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
I'll get to the com.apple.boot.plist when I get home later, thanks for the help.

As for the kernel panics, I can confirm that it was the VoodooHDA.kext that was causing the problem (sometimes it was listed in the jumble of the kernel panic output, but not always) but since removing haven't had any panics on startup. For the moment I removed the VoodooHDA kext and I'm using a cheap USB sound card off ebay (it was like $5) that works well for the time being (no buzzing, hurray!). I'm going to try the non-DSDT ALC888 kext in ##### as I think that might work, but I'll keep you updated.

#4
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male

Open your extra folder at the root of your boot disk, look for a file called com.apple.boot.plist and make a copy of it ( backup) right click the file and open with Text Edit and add this string to the list

<key>Timeout</key>
<string>2</string>


So here's a copy of my current com.apple.boot.plist, after a little fiddling.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Instant Menu</key>
<string>Yes</string>
<key>Legacy Logo</key>
<string>Yes</key>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Default Partition</key>
<string>hd(0,2)</string>
<key>Timeout</key>
<string>2</string>
</dict>
</plist>


If I don't have "Default Partition" it also doesn't work (it's currently there because I was hoping it would make some sort of difference). It would be really nice to get this worked out, so thanks so much for the help.

Edit: Oh, and as for the non-DSDT ALC888 kext, it didn't work. Sad, but for the moment that's ok.

#5
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
[quote name='retr0' date='Jul 21 2011, 10:08 AM' post='1718367']
Problem solved!! Well at least automatically selecting a partition in chameleon. I changed the "Instant Menu" to No and it solved my problems.


Thanks for the help with that, I appreciate it. And I'm glad to have that solved. Now just the sound and USB 3.0 (which it turns out is an Asmedia controller on this Shuttle, which might be tough) and I'll be perfect.

#6
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
Sound update

So, I still don't have the built-in sound working, but I think I'm a little closer. Just for the sake of convenience I used ##### 3.8.0, as well as the fact that I haven't found any other kexts that enumerate the audio hardware any better than those included in #####. I had to reinstall fakesmc.kext (for some reason it has to be installed again or I get a KP), which I did manually, but I suppose ##### would probably work for that too. In ##### I installed ALC8xxHDA and ALC888 (I haven't found any advantage to using the AppleHDA Rollback and have read reports of people with other MBs getting their sound working with the stock AppleHDA kext so I don't know that the rollback is necessary). On reboot the sound doesn't work, but in System Profiler it does show up where previously there was nothing. I still can't get any sound out of it and it doesn't show up in System Preferences > Sound, but for now I think it's headed in the right direction. You can see from the screenshot below how it is at the moment.

Attached File  audio_screen.jpg   137.26KB   35 downloads

I should also mention that I've tried other kexts for ALC888b, and ALC892, but with no luck (unsurprisingly).

#7
JBraddock

JBraddock

    Ph.D (Can) in Human Rights

  • Members
  • PipPipPipPipPipPipPip
  • 549 posts
  • Location:UK

Sound update

So, I still don't have the built-in sound working, but I think I'm a little closer. Just for the sake of convenience I used ##### 3.8.0, as well as the fact that I haven't found any other kexts that enumerate the audio hardware any better than those included in #####. I had to reinstall fakesmc.kext (for some reason it has to be installed again or I get a KP), which I did manually, but I suppose ##### would probably work for that too. In ##### I installed ALC8xxHDA and ALC888 (I haven't found any advantage to using the AppleHDA Rollback and have read reports of people with other MBs getting their sound working with the stock AppleHDA kext so I don't know that the rollback is necessary). On reboot the sound doesn't work, but in System Profiler it does show up where previously there was nothing. I still can't get any sound out of it and it doesn't show up in System Preferences > Sound, but for now I think it's headed in the right direction. You can see from the screenshot below how it is at the moment.

Attached File  audio_screen.jpg   137.26KB   35 downloads

I should also mention that I've tried other kexts for ALC888b, and ALC892, but with no luck (unsurprisingly).

For audio, this might help you. But before you follow the steps mentioned in that post, make sure that you undo what you've described above. You shouldn't be mixing the files/fixes.

I don't have a sandy bridge system but I know that you should be using MacBookPro8,x, MacMini5,3 or iMac12,x as these models have sandy bridge CPUs. Also, I see that you don't have a custom DSDT file. You should give your DSDT file to Mald0n so that he can apple some useful fixes for your system.

If you look at the last page of this pdf file, you will notice that there are two spots marked with F (Perforation for optional WLAN module). I think you can buy a mini pci wifi antenna for the card you've purchased (which one did you buy btw?) and wired it to these spots.

I might purchase this little machine within the next few months so I did take a look at the machine and it seems very nice.

#8
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male

For audio, this might help you. But before you follow the steps mentioned in that post, make sure that you undo what you've described above. You shouldn't be mixing the files/fixes.

I don't have a sandy bridge system but I know that you should be using MacBookPro8,x, MacMini5,3 or iMac12,x as these models have sandy bridge CPUs. Also, I see that you don't have a custom DSDT file. You should give your DSDT file to Mald0n so that he can apple some useful fixes for your system.

If you look at the last page of this pdf file, you will notice that there are two spots marked with F (Perforation for optional WLAN module). I think you can buy a mini pci wifi antenna for the card you've purchased (which one did you buy btw?) and wired it to these spots.

I might purchase this little machine within the next few months so I did take a look at the machine and it seems very nice.



Yeah, it's not a bad little machine. I ended up finding the perforations before reading your post, which works great for wifi antenna. Also, I bought a macbook bluetooth module off ebay like I mentioned earlier (I had to change the voltage, but it wasn't too bad, except the guide I followed had different wiring than what I encountered--just keep all like colors together), and it's works fantastically. I can use my bluetooth keyboard to launch into the bios now, which makes life much easier, plus I've got an antenna through one of the aforementioned perforations which works really well.

I haven't worked on the sound for a while, but if I manage to figure anything else out I'll post it here as well as any other updates.

#9
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
For anyone following this I managed to get the USB 3.0 ports working. It is a good day.

The initial link was from this thread, or you can go straight to the link: http://uk.asus.com/M...ZGEN3/#download

The firmware needs to be updated (in Windows unfortunately, so I just installed it on a spare hard drive I had), and then I used the USB 3.0 kext in #####. Life is good. I don't actually have any USB 3.0 peripherals to try on the USB 3.0 ports, but I can verify that USB 2.0 devices work.

#10
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
Just an update on USB 3.0, the 10.7.3 update, and sleep.

First, there's an issue with the USB 3.0 kext that causes the computer to restart rather than shut down. It was obnoxious enough that I ended up removing it and disabling the USB 3.0 ports because I don't have any USB 3.0 peripherals, so I figured I'd miss it a lot less than the ability to just shut down my computer rather than having to hold down the power button after the computer restarted every time I wanted to shut down. Hopefully there will be a solution that pops up.

As for sleep, well I found a sleepenabler kext that doesn't cause a kernel panic that worked with both 10.7.2 and 10.7.3. Here's the link. So, that's great news after the bummer that is USB 3.0 at the moment.

And lastly, updating to 10.7.3 was as simple as downloading the combo update and installing it. Things are working pretty well...now if I could just get the built in sound I think I'd be set.

#11
Sysyphus

Sysyphus

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 137 posts
  • Gender:Male
  • Location:3rd rock from that big yellow shiny thing in the sky!
You could use ##### to get the sound working, but if you like a little bit of bed-time reading......

http://www.projectos...p?showtopic=355

#12
Drag0nFly

Drag0nFly

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts

Just an update on USB 3.0, the 10.7.3 update, and sleep.

First, there's an issue with the USB 3.0 kext that causes the computer to restart rather than shut down. It was obnoxious enough that I ended up removing it and disabling the USB 3.0 ports because I don't have any USB 3.0 peripherals, so I figured I'd miss it a lot less than the ability to just shut down my computer rather than having to hold down the power button after the computer restarted every time I wanted to shut down. Hopefully there will be a solution that pops up.

As for sleep, well I found a sleepenabler kext that doesn't cause a kernel panic that worked with both 10.7.2 and 10.7.3. Here's the link. So, that's great news after the bummer that is USB 3.0 at the moment.

And lastly, updating to 10.7.3 was as simple as downloading the combo update and installing it. Things are working pretty well...now if I could just get the built in sound I think I'd be set.

The update to 10.7.3 worked for me as well; as does the Sleepenabler.kext (the only hackintosh system I've had working sleep on so far)

I got the sound working using VoodooHDA 2.7.2. (no DSDT, no AppleHDA rollback and no ALC888 enabler). Analog sound works 100%; although I haven't yet managed to enable the S/PDIF (toslink) optical port.

The background hiss people are reporting is apparently a common problem with this board, and is caused by an input gain setting on the microphone port. It can be easily fixed by editing the plist (in /System/Library/Extensions/VoodooHDA.kext/Contents/Info.plist)

					   <key>MixerValues</key>
						<dict>
								<key>iGain</key>
								<string>0</string>
								<key>iMix</key>
								<string>0</string>
						</dict>


The Shuttle seems to be a good system to run OS X on, however I do experience some weird seemingly random kernel panics during bootup (which do not reference the audio drivers or ethernet rtl111e--it's something different each time). I've even had "blued" in one of the stacktraces (the Bluetooth daemon), but mostly it is just "kernel_task".

Haven't yet found any solution to this. The system never kernel panics once it has booted up, no matter the load or what I am running (*knock wood*)

#13
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
Just an update on USB 3.0 and the shutdown issue. I ran across this kext which enables USB 3.0 and both sleep and the proper shutdown are working. At the moment I'm running 10.7.4 (I had no issues with the update from 10.7.3). I had to remove NullCPUPowerManagement.kext to get it to boot after installing the kext, but at the moment there don't seem to be any problems and I've got my USB 3.0 ports back!

The only issue really remaining is the built-in sound. Someday maybe I'll get it working, but for now I'm happy that USB 3.0 is back in action!

#14
Drag0nFly

Drag0nFly

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts

Just an update on USB 3.0 and the shutdown issue. I ran across this kext which enables USB 3.0 and both sleep and the proper shutdown are working. At the moment I'm running 10.7.4 (I had no issues with the update from 10.7.3). I had to remove NullCPUPowerManagement.kext to get it to boot after installing the kext, but at the moment there don't seem to be any problems and I've got my USB 3.0 ports back!

The only issue really remaining is the built-in sound. Someday maybe I'll get it working, but for now I'm happy that USB 3.0 is back in action!

This is good news. But what did you replace the NullCPUPowerManagement kext with? I've tried to get rid of that one before, but the system hasn't been able to boot without it. Also, the IntelCPUMonitor kexts which others have been using instead did not load on the Shuttle.
Haven't tried removing it on 10.7.3 or 10.7.4 though, but doubt if there is any difference.

As for sound I haven't been able to get AppleHDA working due to lack of a working DSDT, but I have however been using VoodooHDA (0.2.62), which is for the most part working fine. Unlike other (and–newer) VoodooHDA releases it has working S/PDIF output and correct volume levels (i.e, without distortion).
Earlier it tended to kernel panic the system on boot, but it has subsided *knock wood* lately; either because of the OS X updates or (more likely) a BIOS update.

#15
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
Just a quick update on updating to 10.8 (Mountain Lion). I just prepared a USB flash drive with ###### (from tonymacx86.com) and started the install from within Lion. It adjusts a couple things and then reboots and on reboot I booted from the prepared flash drive and chose the Lion disk to continue the install. From there it was smooth sailing. The one and only caveat was that I had to remove SleepEnabler.kext (it causes a KP), but found this replacement SleepEnabler.kext to reenable sleep in Mountain Lion. Oddly, thus far I'd say Mountain Lion runs even better than Lion...at least it feels smoother.

I suppose I could have just installed Mountain Lion fresh, but this was easy and certainly less time consuming.

To (belatedly) get back to you Drag0nFly, I replaced NullCPUPowerManagement.kext with FakeSMC and the AMD, motherboard, and HWMonitor Application FakeSMC plugins from ###### 4.6.1 (I think the FakeSMC.kext in ###### was a newer version than what I had previously installed).

Edit: Apparently some tools aren't allowed to be mentioned on this site. Fair enough I suppose. The hash marks are all tools that can be found on tonymacx86.com for those who are wondering.

#16
Matomerah

Matomerah

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
can you send the hash mark tools, wanna to try with my shuttle

#17
retr0

retr0

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male

This may or may not be of interest to anyone, but I decided to have a go at installing OS X 10.9 Mavericks DP1 on my Shuttle and found it incredibly simple and that it actually works better than 10.8 ML.  This may be because I used a few different tools, I'm not entirely sure, but the steps are as follows.

 

1. Download myHack and OS X 10.9 DP1 and set up a bootable USB with myHack

2. Boot from your newly created USB and install OS X 10.9.  At the end of the install it will prompt you with a few things.  First, I used the generic /Extra provided by myHack (you can use your own that you provide, but I've tried 3 or 4 of my own and haven't had any success, so until I know why it'll have to be the generic one).  It then asks if you'd like to remove 3 separate kexts.  I said yes to the first 2 and no to the last, but that's because I've got AMD graphics and not nvidia.  Apparently you should remove the third one if you've got an nvidia card.

3. Reboot from the USB and boot into your new install of 10.9.

4. Install chameleon from myHack on the HD you installed 10.9 on (if you want a functioning bootloader on that disk).

5. As for kexts, mostly because I'm lazy, I used tonymacx86's utility (version 5.3.1) to install the Lnx2Mac ethernet kext and the audio kexts (check "Drivers & Bootloaders > Drivers > Audio > Realtek ALC8xx > Without DSDT > ALC888 > v100302 Current" and "Drivers & Bootloaders > Drivers > Audio > Realtek ALC8xx > Without DSDT > Optional 3 Port Audio Enabler").  This enables the sound and the headphone port in the front even manages to mute the main speakers when it's plugged in.

6. Reboot and you're good to go

 

I should mention that the only thing that isn't working for me is the USB 3.0 ports, everything else is perfect.  I've tried the kexts that work in 10.8 but they're not working, so we'll have to see if anything else comes up and or if the final version of Mavericks changes anything.  Other than that it's smooth and brilliant.

 

Update:

 

So I managed to get the USB 3.0 ports working with the GenericUSBXHCI.kext kindly put together by Zenith432, which can be downloaded at sourceforge.  I am using v 1.2.4_for_mavericks, which I imagine will continue to be updated as time goes on.  I used Kext Wizard to install it in S/L/E.  I should note that I still don't have any USB 3.0 peripherals to test, but USB 2.0 flash drives seem to be working well except that on sleep/wake they seem to be unmounted and remounted which OS X complains a little about.  Perhaps an update in the future will address that.  

 

I also tested Chameleon 2.2svn r2247 which works perfectly if you want to stick with stock Chameleon as a bootloader.

 

I believe that everything on my SH67H3 works now--built-in sound, sleep/wake/reboot, USB 3.0, etc.  And on top of that my Xbench score is about 10% higher on 10.9 DP1 than on 10.8.4.  Mavericks is looking pretty good so far.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy