InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Snow Leopard 10.6 (http://infinitemac.com/forumdisplay.php?f=87)
-   -   [How-To] Snow Leopard Retail (10A432) on P5K-E Wifi A/P -64 bit mode (http://infinitemac.com/showthread.php?t=3380)

lancelotu 08-28-2009 03:48 PM

I think I know why you can't boot... Since you didn't repaired the permissions dsmos.kext didn't loaded ...

Quote:

Sure, a lot of errors were displayed:

http://img269.imageshack.us/img269/5311/errorrvl.jpg

Whats my Mistake in Terminal ?
you have to do this commands as root so add "sudo" in front of them

and also since you're repairing permissions on another disk add

/Volumes/Yoursnowdisk/ so if your disk is called "SL" your command should look like this:

Code:

sudo chown -R root:wheel /Volumes/SL/System/Library/Extensions/*
sudo chmod -R 755 /Volumes/SL/System/Library/Extensions/*

enter your password and hit enter


restart and hit f8 many times and quickly :) until you get the bootloader window with the list of volumes to boot from and type -f -v (hit space between f and -v ) -v is booting in verbose mode -f is refreshing Kext Folder



Quote:

i was looking for some terminal-tipps....
I used as wrote above, the Disc Utility on my 10.5.8 and choose this one:

http://img141.imageshack.us/img141/1637/du2j.jpg

Then closed all windows, reboot and i get the error as write a few posts earlier !

You get this error of missing packages when you install SNOW LEOPARD from a LEOPARD system (10.5.*)

you said you have successfully installed snow on another disk ... my advice is to reinstall snow leopard from that disk, because when you install snow leopard from a working snow leopard system, DISK UTILITY's repair permissions works.

Renira 08-28-2009 10:33 PM

Hello Lancelotu

i just entered the command you told me, boot and hit -f -v and this screen appears:

http://img216.imageshack.us/img216/6485/error2m.jpg

Tomorrow morning i will try your other guide with install it from the working snow leopard External HDD ! But i canīt see the Drives from the internal Harddiscs !

walterav 08-28-2009 11:54 PM

Quote:

Originally Posted by Renira (Post 32556)
Hello Lancelotu

i just entered the command you told me, boot and hit -f -v and this screen appears:

http://img216.imageshack.us/img216/6485/error2m.jpg

Tomorrow morning i will try your other guide with install it from the working snow leopard External HDD ! But i canīt see the Drives from the internal Harddiscs !

Even changing owner ship might not work because the are probably ignored on that volume and not a external usb drive :p

Well I don't see that much troubles but maybe some room for improvements.
Install the bootloader "after" the OS install, install chameleon v2rc2, yep the newest, only replace 'boot' with the one that worked for you. You might have to do that with the terminal.

sudo -s #after 1000s of installations you just need to know that the root user can perform magic... or create disasters as wel
cp boot /Volumes/snowdrive/

But at the time when/before changing kexts and permissions, type this in terminal
"/usr/sbin/vsdbutil -a /Volumes/diskname". After that copy the kexts to the right Folders, and indeed navigate to the right folder/Volumes/yoursnowdisk/S*/L*/E*/ and type:
cp -r xxx.kext bla.kext etc.kext /Volumes/yoursnowdisk/S*/L*/E*/
cd /Volumes/yoursnowdisk/S*/L*/E*/
chown -R 0:0 *
chmod -R 755 *
rm -r /System/Library/Caches/com.apple.kexts/Startup/Extensions.mkext

unmount everything before you restart

probably you don't need to boot with -f, and dsmos will load, although fakesmc is already on the block. Do you really need the sata injector stuff?

lancelotu 08-29-2009 09:29 AM

1 Attachment(s)
Quote:

Originally Posted by Renira (Post 32556)


Finally we see some progress here :) Now that we know what's the problem the solutions would be :

FIRST OF ALL ! Please make sure again that in your bios/sata configuration is set to AHCI !


If is set to AHCI, then I think your problem is your Hard Disk device id, not listed in IOATAFamily.kext. Please try with the one below (thanks to Edge3000)

This is a SNOW LEOPARD IOATAFamily.kext with dev id's copied from Leopard's IOATAFamily.kext
Also (just making sure ) after you copy this one in /Volumes/SL/System/Library/Extensions/ type again the chown and chmod command.

and boot with -f -v to be sure is loading

Let us know ;)

phantom8 08-29-2009 10:11 AM

Hi omargoa,

Thanks for posting the dsdt patch for USB. I've downloaded your dsdt.dsl.zip for patching the USB device ID. I noticed that you didn't patch USB3, the reset are patched. Was that intentionally or some kind of typos?

Your USB3 section is like this, but without the DTGP patch.
Code:

            Device (USB3)
            {
                Name (_ADR, 0x001D0003)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,  2,
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0E, 0x04))
                }
            }


omargoa 08-29-2009 10:42 AM

i don't have the USB3 device in the IORegistryExplorer that's why i don't patch it ... :)

walterav 08-29-2009 12:42 PM

Quote:

Originally Posted by omargoa (Post 31592)
here is my bios setup : (bios version 0903) i have P5E but i think the P5E and the P5k are the same bios setting

-configure sata as [AHCI]

-CPU configuration :
C1 support [Disabled]
CPU TM Function [Enabled]
Vanderpool technology [Enabled]
Execute Disable Bit [Enabled]
Max CPUID Value limit [Disabled]
Intel Speedstep [Enabled]

-Suspend Mode : [Auto]
-Repost Video on S3 Resume [Disabled]
-ACPI 2.0 Support [Enabled]
-ACPI APIC Support [Enabled]
-Front Panel audio : [HD audio]
-J-Micron Pata/Sata Controler : [Disabled]
-VIA 1394 [Enabled]

kext instaled in extra :
-AD1988b.Fix.Kext --- dsmos.Kext --- OpenHalt Restart.Kext ---IOAHCIBlockstorageInjector.Kext

in com.apple.boot.plist just add my graphic device-properties and set Graphics mode to my resolution (1680x1050x32)

in smbios.plist i add the same number of SMUUID for my hardrive, set the SMmemType at 19 (for ddr2) and add SMexternalclock : 267 and SMmaximalclock 2400 for the correct information of my (CPU q6600 2.4)

Now for the method on this page by "ZHELL"
http://www.insanelymac.com/forum/ind...owtopic=168014

first open IORegistryExplorer and type USB
you find a list of your USB like USB0 USB1 USB2 EUSB USBE ...
clic on one of them and note to number in the "compatible" Property like pci8086,2934 ... (see my IOregistry attachment photo this is after modification 2934--> to 3a34)
Attachment 472
every USB has a specific number
now as i understand the tips is to change the first couple of number of every port to 3a to have as result 3a34 (replace 29 by 3a ), to do this you need to add in every usb devices in dsdt line like this in the end :

Code:

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

and put the number you find in ioregistrydevice USB in :
0x34, 0x3A, 0x00, 0x00 (you add first the second couple of number 34 after you add the changed number 3a in all USB

you should have something like this :
Code:

Device (USB0)
            {
                Name (_ADR, 0x001D0000)
[........]
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x02)
                        {
                            "device-id",
                            Buffer (0x04)
                            {
                                0x34, 0x3A, 0x00, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

            Device (USB1)
            {
                Name (_ADR, 0x001D0001)
[........]

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

            Device (USB2)
[.............]
            {

after that compile your dsdt (for me i have no error in compiling)

reboot and verify in your ioregistry in the appleUSBUHCI of you usb the property "Errata" : if it set to 0 your usb device are not recognized you should have a number like 0x20e800
see the second attachement "errata"
Attachment 473

if you do the same method for you sata device (type "sat" in IOregistry)
Attachment 474
your sata are recognized to ICH10 in system profile and no need for AHCIportinjector
Code:

  Device (SATA)
            {
                Name (_ADR, 0x001F0002)
[...........]
                }

                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)
                }
            }

important : don't set your smbios.plist to MacPro 4,1, set it as MacPro 3,1

now the sleep/wake up work good but i need to re plug only the keyboard after every sleep other usb devices are fine.

to lancelotu :
can you please give me the "PinConfiguration" of your audio patch in dsdt ? because for me only the front micro work... Thanks

(sorry for my very bad english) (if someone need a better explain see the original ZHELL tutorial) (or talk to me in french :p)

Hi do you still need to replug the keyboard after sleep? and do you have usb-legacy enabled or disabled in bios?

Renira 08-29-2009 01:35 PM

hej Good News !
Iīm writting this Post from Snow Leopard on my internal HDD ! :D
I mixed your tipps:

- Installed the newest Chameleon - replaced "boot" again
- Insert the new IOATAFamily.kext

When this is done, it boots very stable and fast without any command at the beginning !

Thank you very much !

Now my last problem.... after restarting, it wonīt boot a second time !
i have to replace the kextes in /system/library/Extensions

This ones:

- AD1988b.Fix.kext
- AHCIPortInjector.kext
- dsmos.kext
- IOAHCIBlockStorageInjector.kext
- JMicronATA.kext
- OpenHaltRestart.kext

then i tried "OSx86 Tools Utility" ...

"Repair Permissions" and "Set Extensions permissions"

it ends in this error-message:

http://img42.imageshack.us/img42/460...o20090829u.png

This Action works on my USB-HDD !
I had to replaced the files too...

omargoa 08-29-2009 02:31 PM

Quote:

Originally Posted by walterav (Post 32635)
Hi do you still need to replug the keyboard after sleep? and do you have usb-legacy enabled or disabled in bios?

I have the USB-legacy enabled and same problem with the usb keyboard
+ Another minor problem it's the shutdown and reboot time,
i have to wait for a minute every restart or shutdown on black screen

OpenHaltRestard.kext and Fakesmc.kext don't solve this problem

Renira 08-29-2009 03:11 PM

error by using kextutility 2.3.2

http://img194.imageshack.us/img194/4...o20090829u.png