Jump to content
orByte

Leopard and Snow Leopard on the Intel S5000XVN Board

19 posts in this topic

Recommended Posts

Hi again,

 

Edit: (21/11/09)

Summary for DSDT changes added.

 

Edit: (20/11/09)

I updated the sound and sleep issues - which I am leaving as unresolved.

 

Edit: (16/11/09)

The topic expands to include Leopard and Snow Leopard issues. The topic is under the 10.6 subheading, but I suspect the issues are going to be fairly similar and hopefully we can all discuss them here.

 

Edit: (14/11/09)

Now, both Sleep and AHCI are working.

The below DSDT file would provide guidelines for 10.5.x as well as 10.6.

Changed: _WAK, HPET, TMR, PIC, RTC, UHC1-UHC4, EHCI, added LAN0 and LAN1 devices.

Many thanks to Master Chief's DSDT threads.

DSDT file (OK for AHCI, OK for sleep):

dsdt_sleep_OK.dsl.zip

 

Summary:

Method DTGP, added before Scope(_PR)
Method (DTGP, 5, NotSerialized)
   {
       If (LEqual (Arg0, Buffer (0x10)
               {
                   /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                   /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
               }))
       {
           If (LEqual (Arg1, One))
           {
               If (LEqual (Arg2, Zero))
               {
                   Store (Buffer (One)
                       {
                           0x03
                       }, Arg4)
                   Return (One)
               }

               If (LEqual (Arg2, One))
               {
                   Return (One)
               }
           }
       }

       Store (Buffer (One)
           {
               0x00
           }, Arg4)
       Return (Zero)
   }

Method _WAK, changed, added:
Notify (\_SB.PCI0.UHC3, Zero)
Notify (\_SB.PCI0.UHC4, Zero)

Device (RTC), removed:
IRQNoFlags ()
    {8}

Device (PIC), removed: (This is critical!)
IRQNoFlags ()
    {2}

Device (TMR), removed:
IRQNoFlags ()
    {0}


UHC1-UHC4, EHCI devices locate by using address numbers (_ADR) below
Device (UHC1) through (UHC4): 
           {
               Name (_ADR, 0x001D0000)   <---  UHC2: 0x001D0001, UHC3: 0x001D0002, UHC4: 0x001D0003
               Name (UPS1, Package (0x02)
               {
                   0x03,            <--- UHC2: 0x04,0x03, UHC3: 0x0C,0x03, UHC4: 0x0E,0x03
                   0x03
               })
               Method (_PRW, 0, NotSerialized)
               {
                   Return (UPS1)
               }

               OperationRegion (USBR, PCI_Config, 0xC4, One)
               Field (USBR, AnyAcc, NoLock, Preserve)
               {
                   URES,   8
               }

               Method (_PSW, 1, NotSerialized)
               {
                   If (LEqual (Arg0, Zero))
                   {
                       Store (Zero, URES)
                   }

                   If (LEqual (Arg0, One))
                   {
                       Store (0x03, URES)
                   }
               }
           }


Device (EHCI)
           {
               Name (_ADR, 0x001D0007)  <---  Kept this line, replaced everything else as below
               Name (UPS1, Package (0x02)
               {
                   0x0D, 
                   0x03
               })
               Method (_PRW, 0, NotSerialized)
               {
                   Return (UPS1)
               }

               OperationRegion (USBR, PCI_Config, 0xC4, One)   <---- This is actually a UHCI register ref, but left it in...
               Field (USBR, AnyAcc, NoLock, Preserve)
               {
                   URES,   8
               }

               Method (_PSW, 1, NotSerialized)
               {
                   If (LEqual (Arg0, Zero))
                   {
                       Store (Zero, URES)
                   }

                   If (LEqual (Arg0, One))
                   {
                       Store (0x03, URES)
                   }
               }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x02)
                       {
                           "AAPL,clock-id", 
                           Buffer (One)
                           {
                               0x01
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }


Make LAN internal: First need to find where LAN devices reside - best done in ioreg (look for ethernet)
On my MB LAN resides under PCIQ, added to Device(PCIQ) just before _PRT Method
       Device (LAN0)
                       {
                           Name (_ADR, Zero)
                           Method (_DSM, 4, NotSerialized)
                           {
                               Store (Package (0x02)
                                   {
                                       "location", 
                                       Buffer (0x02)
                                       {
                                           "1"
                                       }
                                   }, Local0)
                               DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                               Return (Local0)
                           }
                       }

       Device (LAN1)
                       {
                           Name (_ADR, One)
                           Method (_DSM, 4, NotSerialized)
                           {
                               Store (Package (0x02)
                                   {
                                       "location", 
                                       Buffer (0x02)
                                       {
                                           "2"
                                       }
                                   }, Local0)
                               DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                               Return (Local0)
                           }
                       }

 

Please read the notes below.

 

 

A brief introduction to the S5000XVN:

The Intel S5000XVN is a dual Intel-Xeon CPU board that can be used to build Mac Pro clones. The board uses the Intel 5000X chipset (ESB2). It has dual Gigabyte Ethernet, can take up to 32GB ECC FBDIMMs, 1 x PCI Express* x16, 2 x PCI Express x4 (x8 Connectors), 1 x PCI-X 100/133MHz, 1 x PCI-X 100MHz, 2 Channel HD audio, 6 SATA ports. It has RAID 0, 1, 10 - but I have not checked it under OSX - most likely no support. It does not have Firewire, and I have added a TI based FW 800 Card. I went through quite a few FW cards till I found this one (TI based).

 

Xeon Cooling is a big issue and if you are building a server from scratch, unless you get the cooling right, you will trip the thermal sensors within minutes and the system will shut down... In the end, I used an Akasa Eclipse-62 V2 case with 2 Noctua silent Fans, and... had to drill a few ventilation exhaust holes on top of the chassis. That helped a lot to lower average temperatures. Though not needed, I also used the accessory side panel with fan.

 

 

 

Leopard

-------------------------------------

I am expecting to have a post on 10.5.6 issue on 10.5.6 failing to recognise Enhanced SATA.

 

 

 

 

Snow Leopard

--------------------------------------

At present there are 3 issues:

 

 

 

1. Enhanced/AHCI SATA

Status: Resolved

-------------------------------------------------------

 

With thanks to 29.Diego, theKING, and EVO's DSDT Editor, this issue is now resolved. It required an edit of the DSDT table. Details are here.

 

 

 

2. Wake-up after sleep

Status: Limited Support (20/11/09)

Issue (2) left unresolved.

-------------------------------------------------------

Note: There is a program called sleepwatcher available from here. This tool can be used to mount/unmount usb drives when sleeping/waking up. It eliminates the 'disk was not properly disconnected error' when you have a usb disk connected and you sleep your computer.

 

However, the tool did not help resolve our issue (2), because when BOOTING from a usb drive, that drive cannot be unmounted - even force unmounted.

 

Sleep is now working with the following caveats:

1. Make sure that the AppleIntelCPUPowerManagement.kext is NOT being loaded.

kextstat | grep -i intelcpu

Should be empty

 

2. At present, you cannot sleep and wake if you have booted from a USB hard drive. The drive will disconnect, and fail to reconnect - leaving you with a stalled system.

 

3. Both NullCPUPowerManagement.kext & SleepEnabler.kext must be loaded.

 

4. If you have many hard drives (like I do), it may take a while for the system to come back - sometimes 10-15 seconds - until all the drives have spun up.

 

5. After applying the 10.6.2 update, make sure you re-disable the AppleIntelCPUPM kext (e.g. move it out of /Systems/Library/Extensions and do 'touch /Systems/Library/Extensions') AND (important) use the 10.6.2 version of SleepEnabler.kext (otherwise) you get a kernel panic.

 

So after updating to 10.6.2, prior to restart, complete the steps above.

 

 

 

Kexts:

ls -l /Extra/Extensions
NullCPUPowerManagement.kext
PlatformUUID.kext
SleepEnabler.kext
fakesmc.kext

ls -l /System/Library/Extensions_disabled/
AppleIntelCPUPowerManagement.kext

 

The DSDT file is at the top.

 

 

 

3. No HD Audio

Status: Unresolved, pls. see post 3 for details.

-------------------------------------------------------

 

According to Intel: "Realtek* ALC260 audio codec. The ALC260 is a 2-channel HD Audio codec featuring a 24-bit 2- channel DAC and two stereo 20-bit ADCs."

 

I am looking to see if ALC260 is supported by Apple.

 

 

Best

Share this post


Link to post
Share on other sites
Advertisement

OK, now both AHCI and Sleep are working. However, at present, one cannot sleep from a USB disk and then wake-up successfully. But you can sleep and wake from an AHCI/IDE hard drive. Details and DSDT file are above.

Share this post


Link to post
Share on other sites

Ok Updated, the USB sleep and audio sections.

 

Briefly,

 

USB Sleep:

Using sleepwatcher does not help resolve the issue.

 

 

ALC260 sound:

1. I tried VoodooHDA - it loads well but no sound. I made a 32/64 bit (Snow Leo) version of the Voodoo driver (cosmetic changes only). It is here. voodoohda_orByte.zip

 

2. I have tried extracting pin configs, codec info etc as per Master Chief's tutorial. I also found an ALC260 (10.5) kext which worked here . But there are some changes in sound config under 10.6, and I either got no sound with the dreaded 'assert error', or when I used the HDADefaultConfig key - then a system crash.

 

I m now leaving the sound issue as unresolved. I would recommend a usb sound card -which is a cheap and quick alternative. Just make sure that the usb sound card you get natively supports 10.6.

 

All my sound files, codec dump, pins, svg etc here: alc260_data.zip

 

Unfortunately, I could not resolve these issues, but perhaps the info here will help someone else to do so.

 

Best

Share this post


Link to post
Share on other sites

Hey Orbyte, I'm the one who can't boot with SATA unless it's set to Legacy in the BIOS. You told me to post my kexts.txt and my ioreg.txt here for a possible IRQ issue.

 

Also I haven't gotten audio to work yet but I'm guessing it's the Azalia kext and some tweaking to the file a with a vendor code.

 

Here are the text files first is the kext.txt :

 

 

 

Any help much appreciated, thanks.

Share this post


Link to post
Share on other sites
Here are the text files first is the kext.txt :

 

 

 

Any help much appreciated, thanks.

 

Hi,

 

Could you plz re-attach the attachments, they are not being listed.

 

Azalia might do it - tho when I tried it a couple of years back or so, it did not work. But then I do not understand the audio stuff very well.

 

Cheers

Share this post


Link to post
Share on other sites
Hi,

 

Could you plz re-attach the attachments, they are not being listed.

 

Azalia might do it - tho when I tried it a couple of years back or so, it did not work. But then I do not understand the audio stuff very well.

 

Cheers

 

Sorry about that. Let me try again for some help with the SATA. Oh and from what I've read online I've been able to deduce that the Azalia kext will work but you have to tweak the info.plist with some vendor numbers.

 

Atttached is my ioreg.txt and my kexts.txt.

ioreg.txt

kexts.txt

Share this post


Link to post
Share on other sites
Sorry about that. Let me try again for some help with the SATA. Oh and from what I've read online I've been able to deduce that the Azalia kext will work but you have to tweak the info.plist with some vendor numbers.

 

Atttached is my ioreg.txt and my kexts.txt.

 

I had a quick look. I couldn't see all the IRQs that HPET was using because the ioreg line was truncated (recommend using ioreg -l -w0) but looking at the PIC device it does use IRQ 2. Legacy Sata is using Vector 14 (0x0e), the other HPET IRQs are at 0x14, 0x15 (20, 21 decimal) - which are normally claimed by Enhanced SATA/AHCI - so the DSDT modifications could work.

 

BUT, before you try them, try this kext below for 10.5.6 - I found this looking through my 10.5.6 stuff, and remembered that it solved an issue - I d try that first.

 

AHCIfixv2_with_10.5.6_kexts__corrected_.zip

 

 

Otherwise, pls. send a copy of your DSDT, and I will have a look there as well.

 

Best

Share this post


Link to post
Share on other sites
I had a quick look. I couldn't see all the IRQs that HPET was using because the ioreg line was truncated (recommend using ioreg -l -w0) but looking at the PIC device it does use IRQ 2. Legacy Sata is using Vector 14 (0x0e), the other HPET IRQs are at 0x14, 0x15 (20, 21 decimal) - which are normally claimed by Enhanced SATA/AHCI - so the DSDT modifications could work.

 

BUT, before you try them, try this kext below for 10.5.6 - I found this looking through my 10.5.6 stuff, and remembered that it solved an issue - I d try that first.

 

AHCIfixv2_with_10.5.6_kexts__corrected_.zip

 

 

Otherwise, pls. send a copy of your DSDT, and I will have a look there as well.

 

Best

 

Thanks for helping me so much man. I can't touch that machine now because it's been racked and it's already up and working. If they take it out anytime over the holidays I'll try to get my hands on it to get the information off of it for you.

 

So far they love the thing even in legacy for SATA.

 

Thanks again man.

Share this post


Link to post
Share on other sites
Thanks for helping me so much man. I can't touch that machine now because it's been racked and it's already up and working. If they take it out anytime over the holidays I'll try to get my hands on it to get the information off of it for you.

 

So far they love the thing even in legacy for SATA.

 

Thanks again man.

 

 

Glad to help out! Best.

Share this post


Link to post
Share on other sites

Hi, thanks at first. I can use SL 10.6 with my s5000XVN/Asus GT8800GT/8GM Ram.

After update to 10.6.2 i cant boot to System!!

Is it posible Update to 10.6.2? And How?

 

Thanks again.

post-384310-1269560350_thumb.jpg

Share this post


Link to post
Share on other sites
Hi, thanks at first. I can use SL 10.6 with my s5000XVN/Asus GT8800GT/8GM Ram.

After update to 10.6.2 i cant boot to System!!

Is it possible Update to 10.6.2? And How?

 

Thanks again.

 

 

:) Yeahhh!!!!!!!!

 

I was able to install 10.6.2 and everything works 100%. Boot Time is only 12sec :angel: . Only "About this Mac" is "iMac11.1" but I'm fine with it.

 

 

A thousand thanks. :P

Share this post


Link to post
Share on other sites

Hi,

 

I got sound working!!!! :censored2:

I have install [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] and got sound after reboot!

Share this post


Link to post
Share on other sites

This might be a stupid question, but how do you use the dsdt.dml shared in this thread?

 

I got OSX 10.6.2 installed my s5000xvn... But when I try to boot into it, it gets stuck at "waiting for root device"..

 

I've managed to install 10.6 on my Abit IP35-Pro, and it's working fine.

 

Cant seem tom get it to work on this. Please help me... :)

Share this post


Link to post
Share on other sites
Glad to help out! Best.

 

Hi orByte,

i've see Your topic and I've decided to reply because I have a similar Mobo...

i have a Intel S5520HC with 2 Xeon E5620, I need info to install OSX, I've tired with too much bootloader but i'm not able to restart from HD...I need Your advice...

i dont find any halp in the forum for my hardware.....

thanx in advance

GG

SERVER_PC.html

Share this post


Link to post
Share on other sites

Hi Ad1tya, i had to generate new dsdt.dml!

I could not use dsdt.aml shared in this thread.

 

Gigibat i have fallow these tutorial to install SL:

 

http://3rr0rists.com/macintosh/how-to-inst...il-in-a-pc.html

 

 

You have use new SleepEnabler for 10.6.3!!!!

 

http://xnu-sleep-enabler.googlecode.com/fi...bler.10.6.x.zip

 

 

4 Sound i used:

http://www.tonymacx86.com/Public/MultiBeasst.zip

 

By...

Share this post


Link to post
Share on other sites
:) Yeahhh!!!!!!!!

 

I was able to install 10.6.2 and everything works 100%. Boot Time is only 12sec :angel: . Only "About this Mac" is "iMac11.1" but I'm fine with it.

 

 

A thousand thanks. :P

 

 

 

Hey Keenkey,

 

Can u make a small tut for installling mac SL? even i use s5000xvn board, the link wat u mentioned is good but had a confusion a bit so can u make a small tutorial?

 

Thanks,

Share this post


Link to post
Share on other sites
Hi Keetan, could you manage installing SL on s5000xvn?

 

Hi Keenkey,

 

Sorry for super delay :)

 

yeah i would manage to install it on my pc but need a files and a good tutorial for that, u can prepare a tut with linked to files?

 

My Config is:

 

Intel s5000xvn

xeon E5420

9800 GT XFX graphics

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×