Jump to content

[UPDATED] Dell Optiplex 760 SFF Setup for ML, Lion & SL

dell optiplex 760 SFF ML Mountain Lion Lion SL Snow Leopard E5200

  • Please log in to reply
121 replies to this topic

#81
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
sometimes is best to remove
Device (HDEF)
{
blabla
}

vodoohda finds it fine even if missing from dsdt

#82
AnonMac

AnonMac

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
I'm not using a DSDT at the moment though. I find it waaaaay too confusing for me...

#83
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
If you're having such issues why haven't you started a support thread about it yet?

Probably would be better than hi-jacking mine. ;p

Not that I minded or anything but I marked this thread as solved so I doubt it'll get a lot of views from other members to try up help you further.

#84
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
Check first post for more info.

My HDD makes clicking bursts using Lion that doesn't occur in Snow Leopard, Windows or Linux. The drive can't be failing because it only happens in Lion. What would cause this? Any help appreciated. Again, Check first post for more info, I don't want to rewrite what I already wrote. Thanks

#85
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida

Check first post for more info.

My HDD makes clicking bursts using Lion that doesn't occur in Snow Leopard, Windows or Linux. The drive can't be failing because it only happens in Lion. What would cause this? Any help appreciated. Again, Check first post for more info, I don't want to rewrite what I already wrote. Thanks

theres been issues reported in 10.7.3 with ichX and it seems its due to some aggressive power management
sata in dsdt might need some tweaking.
or regress to 10.7.2 kexts for ahci and dependencies

#86
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
Thanks Latin, I thought it might be something to do with Lion itself. I would tweak the dsdt but I don't think that's the issue since it's only in Lion, I won't rule it out yet but you're probably right about it being a PM issue. I'll probably just wait till Apple releases 10.7.4 before I try anything. I just wanted to make sure that it wasn't just me with this weird issue. Good to hear others have noticed.

Thanks again! :)

#87
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
Damn! I was hoping the problems were mostly gone but I got another issue that I've noticed for awhile now and it should be addressed.

I stopped using DeviceMergeNub for a long while now because even though my drive is unsupported, it still functions and performs just fine in any application that requires a SuperDrive. Anyway, i'm pretty sure this issue was happening even while using DeviceMergeNub so I don't think that will fix it but i'll try to find time to try it again anyway just to be sure.

Now onto the problem. My DVD drive will randomly "disconnect" from the system randomly during use and can't be reconnected. This is occurring in Lion only for now. I haven't tested it in SL but will try to soon and report back with an update. Basically, the drive will be properly detected and function normally upon startup of the system most of the time, sometimes it doesn't work right off the bat but usually it works fine. After awhile of using the system as I normally do, i'll go to check the DVD drive status to find that at some point, it has disconnected and no longer works in the OS. I have been checking the status of the drive in System Profiler, IOReg and through Terminal using drutil. I have tried getting the drive to reconnect or refresh so it works again and is detected by the system through the kextload/kextunload commands, they were used on these kexts:


/System/Library/Extensions/IOSCSIArchitectureModelFamily.kext/Contents/PlugIns/IOSCSIMultimediaCommandsDevice.kext
/System/Library/Extensions/IOBDStorageFamily.kext
/System/Library/Extensions/IODVDStorageFamily.kext
/System/Library/Extensions/IOCDStorageFamily.kext

Now, I think these are the right kexts to try this with but i'm not 100% sure, it was mostly an educated guess. I also planned to check IOReg in more detail to see if I can track down what controller the drive is using to make sure the dsdt isn't causing this, I haven't done it yet though. Anyway, I am not really sure what else to try to fix this. Anyone else had this happen? It's more of an inconvenience than anything at this point as I don't really use the drive for much but I assume this kind of problem could pose a HUGE problem later if I plan on trying to burn discs. Any advise appreciated. :)

#88
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
it is a dsdt issue i believe i saw an eject code for sata in there somewhere.

#89
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
Eject code in SATA. Really, where? Here it is:


            Device (SATA)
            {
                Name (_ADR, 0x001F0002)
                Name (_SUN, One)
                Device (PRT0)
                {
                    Name (_ADR, Zero)
                    Method (_GTF, 0, NotSerialized)
                    {
                        Name (PIB0, Buffer (0x07)
                        {
                            0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5
                        })
                        Return (PIB0)
                    }
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "io-device-location", 
                                Buffer (0x06)
                                {
                                    "Bay 1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
                Device (PRT1)
                {
                    Name (_ADR, One)
                    Method (_GTF, 0, NotSerialized)
                    {
                        Name (PIB1, Buffer (0x07)
                        {
                            0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xF5
                        })
                        Return (PIB1)
                    }
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "io-device-location", 
                                Buffer (0x06)
                                {
                                    "Bay 2"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x02)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                0x22, 0x3A, 0x00, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }


#90
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
i think it was in _WAK or a different optiplex.

change 0x22, 0x3A
to 0x81, 0x26
ESB2 (2681) doesnt have ejection capabilities

#91
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
The only thing resembling the code you provided was here and I changed it from this:


				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x02)
						{
							"device-id",
							Buffer (0x04)
							{
								0x22, 0x3A, 0x00, 0x00
							}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)

To this:


				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x02)
						{
							"device-id",
							Buffer (0x04)
							{
								0x81, 0x26, 0x00, 0x00
							}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)


Not sure if this is relevant but I took these two screens before the edit was applied. I don't know if these results are trustworthy though since the drive had been disconnected. I checked after the edit too and now the string on PRT5 changed to internal but the DVD drive is listed on PRT1, which was already set to internal before the edit. What do you think?

Attached File  PRT5-before.png   127.39KB   30 downloads
Attached File  PRT1-before.png   133KB   26 downloads

Aside from just running the OS for a few hours of usual work, is there a more efficient way to test to see if it changed/fixed it?

Also, I noticed that my SATA section contains 3 _DSM Methods, the last being the device id mod that I just edited. Do I really need that in there? Or is it possibly just causing problems? Thanks for your assistance as usual. :)

UPDATE: Ok, it just disconnected when I tried to check it's status using drutil. So the fix didn't seem to do anything differently. Still randomly disconnecting. :(

#92
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
likely u have wrong ports on motherboard in use.. which ? take a pic ?

inspiron 530 had an issue with dvd not being on certain port .. or was it being on port 4.. last port
2681 is ESB2 native sata 6 port.

hdd on port 0 and dvd on port 3 or 4 .. try that

#93
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
Ok, so how exactly would I add that into my dsdt then? I have no ESB2 listed in my dsdt and I don't recall seeing anything about port numbers. I see ESB2 listed in ioreg for the HDD but it doesn't contain any other useful info. The only thing that looks interesting about my HDD controller is it says AHCI Port Number = 0x0. I am pretty sure my DVD drive would say 0x0 too. What would you like me to take a pic of?

I'll take another look at the original dsdt to see if anything in there stands out.

#94
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
if it says ESB2 model for sata then 2681 is in dsdt which is fine.(on most cases)
ppicture of the sata ports on mobo

#95
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
Yeah it definitely said it under the HDD section of ioreg. Problem is, I rebooted to try to find out if ESB2 was under DVD in ioreg too but can't find it now, not even under the HDD.

I finally figured out what the mystery device is under my SATA tree in ioreg though. I have three sub-trees under SATA. PRT0, PRT1 and PRT5. PRT0 is my HDD, PRT1 is the DVD drive and PRT5, which I couldn't figure out is the eSATA port on the motherboard, which makes sense since it is displayed as external. At least that's figured out now. Maybe I should rename them in dsdt to make them easily identifiable for future reference. Most of the names in my dsdt I still don't know what they do or what they control. Eventually i'd like to shorten up my dsdt by removing the extra {censored} in it I likely don't need but first I gotta figure out what everything is for.

Thanks for the support Latin! I'm gonna put it to bed for tonight, i'll screw with it in the morning. :)

#96
AnonMac

AnonMac

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
Might be a SATA driver issue? Doubt it, but possibly...


PS. the audio driver you gave me decided to recognize the rear ports...YAY! Thanks. :thumbsup_anim:

#97
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
@Latin, Isn't ESB2 issues usually related to having orange/external icons on internal drives? My ICH10 is functioning as it should, this issue applies only to the disc drive AFAIK. I just need to find out how to either reconnect my DVD drive once it disconnects or fix the issue entirely by fixing the disconnect issue in the first place. I'd like to provide more info or a pic but I need more detail on what would be more helpful.

@Anon, no I doubt it's a SATA driver issue. It detects my ICH10 perfectly and even still there are dsdt patches to assist in helping it perform properly. This is likely a user-error on my part in the disc drive section of my dsdt. If my SATA driver wasn't working right, my HDD would be screwing up too and it's been working just fine. Just my DVD drive is having random disconnect problems, otherwise it works normally. Glad my Voodoo kext helped you. :)

Anyway, been playing around with the dsdt a bit trying to fix the DVD drive disconnection but no luck thus far. Here is a screenshot of my ioreg of the SATA tree. Maybe something will stick out to someone else. I am out of fixes for it, it looks normal to me.

Attached File  SATA.png   146.06KB   12 downloads

I also monitored console to see if any error messages would give away the problem. This is what I get when I try to check the drive status using drutil when the drive is on the fritz.

PM kernel: SerialATAPI device reconfiguration did not complete successfully.  (failedCommandInfo = 0x1)
PM kernel: SerialATAPI Terminating due to unrecoverable Reset error - drive has stopped responding.  (resetType = 0x0, newPowerState = 0x1, failedCommandInfo = 0x1)

The only thing I get out of this is to try and change the values it shows, aside from that I got nothing. This is one very annoying issue and is proving to be difficult to fix.

#98
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
since it has external sata.. disable it in bios if possible and set id back to the 3a22 (ich10 uses external sata not ich9 and under.

or keep as 2681 with esata disabled.

also your sata was changed completely from original i think... maybe keep original with only the _DSM with 3a22 id

#99
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
Thanks Latin. I'll try to change those ids and all to see if it helps and report back.

You're right about my SATA being completed changed. I was planning on reverting it for testing. Will test and report back. :)

#100
gygabyte666

gygabyte666

    Insanely >_

  • Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:New York
  • Interests:>An error has occurred and your computer will spontanously combust to prevent further damage...
Tried everything you mentioned Latin and nothing worked. The drive will still randomly disconnect and I still can't pinpoint the cause of it. Here is what I tried:

-Disabled eSATA in BIOS
-Set dsdt SATA id back to 3a22
-Set dsdt SATA id to 2681
-Reverted to old dsdt IDE setup (kept SATA naming & _DSM 3a22 though)

I wish I could find out the trigger of the disconnect, that would at least be some progress. I am not alone in this problem though. A quick Google search turned up many other sufferers but it doesn't look like any of them were kind enough to document their progress or provide a fix. Oh well. Thanks for the help. I'm gonna put everything back the way it was for now though. I never would have guessed a DVD drive issue would be so annoying and so difficult to fix...





Also tagged with one or more of these keywords: dell, optiplex, 760, SFF, ML, Mountain Lion, Lion, SL, Snow Leopard, E5200


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