Jump to content

Snow on Asus P5B Deluxe.


  • Please log in to reply
40 replies to this topic

#21
Beerkex'd

Beerkex'd

    Content Provider

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,000 posts
  • Gender:Male
  • Location:Belo Horizonte - Brazil

I extracted my DSDT.dsl file on windows XP and i repaired warnings with help of "DSDT Fixes" box. I have now no error, and i'd like to inject some DSDT Hacks for my CPU....but my hardware is not listed (Video card, Lan Ethernet....etc).

As I already said, your video card is not listed because it is not part of the motherboard (If your board had integrated video there would be code for it in the DSDT). There is code for your PCI bridge and -slots and that's where you place the code for the video card (and other devices like Audio and LAN) if you want to inject it via DSDT. I wouldn't worry about it though, unless you have a really special case there is no benefit or advantage to injecting your video card via DSDT, you might as well use NVEnabler.kext, Device Properties string, or GraphicsEnabler = Yes in /Extra/com.apple.Boot.plist if you're using Chameleon 2.0.

The only "pluggable" hardware devices that are listed in your DSDT are the serial port, floppy drive controller, SATA controller, JMicron controller, PS2 keyboard and mouse ports and the USB ports. Then the LPC bridge and its various subdevices (HPET, real time clock etc etc) and the PCI bridge and the PCI slots. LAN and sound don't have any dedicated code in your DSDT, just like mine. You will have to add it yourself.

I've created my DSDT.aml with fixes and Hacks, and i'm gonna post it to you with my Everest's report too.

The only difference I can see between the DSDTs you posted is that one of them has the HPET IRQ fix. But you shouldn't need this since you're using a Disabler.kext which is most likely blocking AppleIntelCPUPowerManagement.kext from loading.
The Everest .html report is handy if you need a quick overview but that's not what I meant - I made some screenshots for you, this is how to dump all your ACPI tables using Everest:
Attached File  Everest_right_click.png   303.74KB   198 downloadsAttached File  Everest_ACPI_Dumper.png   334.06KB   221 downloads
You should dump and save all available tables, you may need them later. Save them with .aml extension instead of .bin and they'll open right up with DSDTSE.

For my LAN, i've put skge.kext into S/L/E but it doesn't work, and in my DSDT.aml file, i can't find any suggestion about 88E8056 and 88E8001 code.

Neither can I. Download and install LSPCI on your hackintosh to get all the locations for your PCI devices:
http://www.osx86.es/?p=620 - then post the output here and I'll show you how to read it.
I don't know why skge.kext isn't working for you. When booting with -v do you see any error messages about it, or any messages at all?
It should be working - in your second post http://www.insanelym...p...t&p=1465068 you can clearly see the driver loading and the 8001 establishing a connection.

I don't know what does it mean : "I have the 88E8056 set as EN0 (primary LAN) in OS X)". How can you set that in OS X ?

If, for example, I booted into OS X for the first time with the 88E8056 disabled in the BIOS (or no patched AppleYukon2.kext loaded) and skge.kext for the 88E8001 loaded, the 8001 would then become EN0.
The way I've set up everything, the 88E8056 is EN0 and recognized by OS X as 'built-in', which is very important for compatibility. Lots of software for OS X requires the presence of a built-in network adapter, all Macs have one. It could probably be the 88E8001 just as well though but I prefer the 88E8056 as it can run with near-vanilla drivers.

Then when you have a valide DSTD.aml, wich ,kext in /E can you remove ?

That depends on what changes you make to the DSDT and the hardware you have. If you post a report from LSPCI I can be more specific.
For example with HDEF audio patched in DSDT you could get rid of HDAEnabler.kext (your motherboard doesn't have HD audio though). With the code I use for the 88E8056 I don't need UUID.kext/PlatformUUID.kext or any of the other tricks to get a valid PlatformUUID (google or search IM for "UUID error 35"). If your motherboard has ICH9/10/R you can change its device ID in the DSDT so that OS X thinks it's an Intel ESB2 SATA controller (as used in MacPro1,1) then you don't need any patched kexts for it.
Some people modify the USB controller code so that it works better with unmodified drivers (this thread also has info on the ESB2 trick):
http://www.insanelym...howtopic=168014
You can use the same trick (Device ID patching) to load OS X drivers for the motherboard LPC Bridge, which you probably will need to do if you want to work on getting vanilla CPU state switching working:
http://www.insanelym...p?showforum=163
http://efixusers.com...hread.php?t=533
You can remove code for devices that you don't use to (possibly) free up resources, such as the serial port and the floppy drive controller. Most ASUS DSDTs have a ton of code that works with Windows-only ASUS motherboard utilities ("AI Life" or whatever) but all that code is useless in OS X and it's safe to rip it all out.

You can do tons of stuff with DSDT patching and there's lots of information around if you want to know more.
Some reading material:
http://en.wikipedia....Power_Interface
http://efixusers.com...hread.php?t=219
http://aserebln.blog...2009/07/20.html
http://www.projectos...p?showforum=160
And this totally amazing post here: http://www.insanelym...howtopic=211705

From looking at your DSDT it's clearly very "ASUS", so if you want to put in an effort you can get going with Master Chief's DSDTs right away. I keep repeating this because it's true. You should get going, many of the fixes he's made can be applied to your DSDT with little to no modification.
Here is the link again: http://www.insanelym...p...t&p=1280888

#22
scorpio rising

scorpio rising

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Nice (France)
Hi Beer'

I've attached ACPIs tables and LSPCI's logs for you.
I don't know why my 88E8001 didn't work but now it's clean and it works fine ! :D

For my video card, i use NVInject 0.2.1 kext in S/L/E. I have dual screen and it seems working fine, but i don't know if i have "acceleration", and i don't even know too if it will be probably "better" with NVEnabler.kext.
I hope you will help me to understand what is APIC, HPET, OEMB...tables, and how to inject in DSDT.aml LAN and onboard Sound device codes.
Just for a remind: I get my DSDT.aml with errors corrected onto windows, then i go onto OS-X, and here, i inject ACPI tables fixes, LAN and soundboard codes (with DSDTSE)....? Am i right ?
I'm gonna check Masterchiefs thread deeply !

Attached Files



#23
scorpio rising

scorpio rising

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Nice (France)
I'm having a problem now with my new Snow installation.
Could you remind me if i've done all the things to do ?

1- Booting with last Empire EFI CD.
2- Formating my disk with 1 GUI partition called "HD" in my case.
3- Installation of Snow Leopard Retail CD 10.6.3
4- Rebooting with Empire CD boot.
5- Some Apple updates, then rebooting with Empire CD again.
6- Installation of NVInject last version, then Logitech Control Center for my Mouse & Keyboard.
7- Reboot
8- Installation of Chameleon latest V2 RC-R684 boot to an EFI/GUI:
a/ in Terminal : "diskutil list" to find out where my EFI partition is.
In my case :
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *82.0 GB disk1
1: EFI 209.7 MB disk1s1
2: Apple_HFS HD 81.6 GB disk1s2

b/ Using manual method installation:
- newfs_hfs -v EFI /dev/disk1s1

- mkdir /Volumes/EFI
mount_hfs /dev/disk1s1 /Volumes/EFI

- Install boot0 to the MBR:
./fdisk -f boot0 -u -y /dev/rdisk1

- Install boot1h to the bootsector of the EFI partition:
dd if=boot1h of=/dev/rdisk1s1
Then, copy the file "boot" to it:
cp boot /Volumes/EFI

- In order to prevent the File System Events Daemon (fseventsd) from logging on the
EFI partition, which can cause it to become unmountable, i typed:
touch /Volumes/EFI/.fseventsd/no_log

- then:
1) ./fdisk -e /dev/rdisk0
(Ignore any “fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or
directory” error)
2) f 1
3) w
4) q

c/ Copying the extra, themes, extensions folders, Extensions.mkext, my DSDT.aml, and my
com.apple.Boot.plist into EFI Volume

d/ Un-mount and delete the mountpoint:
umount /Volumes/EFI
rm -rf /Volumes/EFI

9- Reboot and.......Kernel problem (see Kernel Log attached). I think it's because of my Logitech USB harware.

How to fix it ?
I tried to put IOUSBFamily.kext in Exra folder but then i have Kernel panic with a message like:
"SYSYTEM UPTIME IN NANOSECONDS : 54645343548"
Thx !!!

Attached Files



#24
Plucka

Plucka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
Could somebody help me out with this problem I keep getting this error when trying to update from 10.6.2 to 10.6.3 I have been trying to upload a picture here I hope its visible. I have been using Prays's simple upgrade 10.6.3 guide, but I always get stuck with this Kernel Panic when I restart after following all the steps in the guide??????

Any help would be greatly appreciated. Cheers Mates, Plucka

Attached Files



#25
Beerkex'd

Beerkex'd

    Content Provider

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,000 posts
  • Gender:Male
  • Location:Belo Horizonte - Brazil
*sigh* Please don't do that.
Try to understand that if everyone posted whatever they wanted in random, unrelated threads it would be impossible to find anything. This is the type of behavior that make experienced users leave the forum, leaving only noobs asking each other about 'still waiting for root device'.

Please help keep InsanelyMac clean, thank you. Don't {censored} in your own backyard.

Delete sleepenabler.kext before updating.

#26
Plucka

Plucka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
Beerkex'd.

I understand very well and if you took the time to look at my stats you would see that I have been a member for a number of years, which makes me by no means a noob!!!!!! Furthermore, if you looked at my signature you would have seen that I have several fully functioning installs.

If you think I dont know how to post or follow forums, you are mistaken. I find your comments to be quite rude. Of course I delete the kext every time I attempt to update my clone install.

So if you have any real advice besides your sarcasm and negativity I would gladly like to hear it.

Thank you for your reply and I hope someone else on this topic will be more helpful than you.

Plucka

#27
Beerkex'd

Beerkex'd

    Content Provider

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,000 posts
  • Gender:Male
  • Location:Belo Horizonte - Brazil
You can clearly see in the screenshot that it's sleepenabler.kext that's causing the panic.

You may have deleted it but it's clearly still loading from somewhere.

I said what I said because I care about this place and I don't like seeing it going to hell. Nothing I said was sarcastic or negative.

Stats don't mean anything. You've got to walk like you talk.

#28
drule

drule

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 150 posts
Don't forget just deleting SleepEnabler.kext is not enough, you must also make sure that your Extensions.mkext files are regenerated.

#29
Plucka

Plucka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
Thank you drule,

I delete the kext from the extra folder, it isn't in the system/library/extensions folder. How can I make sure that Extensions.mkext files are regenerated? I must say I am trying this on my test partition so as to always have a working install.

Appreciate your help and advice, cheers mate, Plucka

#30
drule

drule

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 150 posts
Boot into single user mode with the "-s" parameter.

Mount the volume that your installation resides on (you'll see the two commands, you have to enter, right above your BASH prompt).

Then to set the proper permissions on your kexts, do the following (if you have never done this on your S/L/E folder, you should probably do it as well).

sudo chown -R 0:0 /Volumes/INSERT_THE_NAME_OF_YOUR_VOLUME_HERE/Extra
sudo chmod -R 755 /Volumes/INSERT_THE_NAME_OF_YOUR_VOLUME_HERE/Extra

Then after the permissions have been repaired, do the following to create your up-to-date kext file. Again, if you have never done this to create you System/Library/Caches....Startup/Extensions.mkext file, do it now.

sudo kextcache -v 1 -a i386 -a x86_64 -m /Volumes/INSERT_THE_NAME_OF_YOUR_VOLUME_HERE/Extra/Extensions.mkext /Volumes/INSERT_THE_NAME_OF_YOUR_VOLUME_HERE/Extra/Extensions


#31
Plucka

Plucka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
Hey drule, thank you ever so much for your help. I do as you instruct and unfortunately I get an illegal error when I try to run the commands in -s parameter mode it shows up as --r illegal command. It does let me mount the volume and it checks everything and says it is OK, I then try to do the sudo chmod command an that is where it gives me the error? Do you have any idea why this is?

I am sure I have followed your instructions to the letter, once again thank you for your time and patience I hope you are having a great day and hope to hear from you soon, cheers mate, Plucka

#32
drule

drule

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 150 posts
The "-s" is the option that tells Chameleon to boot into single user mode, it is only needed once and should not be used with any other commands.

Just to make sure, these are the steps you are taking to get into single user mode:

1. Boot your system
2. When Chameleon has loaded, press any key to get the options prompt
3. At the option prompt enter "-s" and hit return
4. Once you see the single user mode command line prompt, type "fsck -yf" to do some quick tests on your disk, then "mount -uw /" to mount it

You should now be able to enter the commands to repair all the permissions and rebuild your mkext files. Don't forget that the "sudo kextcache ...." is all on one line. And remember to replace the "INSERT_THE_NAME_OF_YOUR_VOLUME" with the actual name of your volume :unsure:

Also make sure to use a capital "R" with the "chmod" and "chown" commands.

Other than that, I can't think of why it isn't working.

#33
Plucka

Plucka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
Hey drule, thanks again for your advice and help, please take a look at this pic, as I cant seem to get past this step, I am typing it in as you have set out with my correct volume name etc sorry for being a nuisance hopefully you can see something that I cant?

Any way thank you once again and have a ripper day mate, cheers, Plucka

Attached Files



#34
drule

drule

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 150 posts
Because you used a space in the directory name (Snow 2), you'll have to enclose the whole line in quotation marks:

"/Volumes/Snow 2/Extra"

Otherwise it looks like you're heading in the right direction.

#35
Plucka

Plucka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
Hey drule, thanks very much for your answer, got a bit further this time, but now to fit that whole line of code in, well it goes so far and then starts overwriting the beginning of the code line, please see pic. If I try to split it up in several lines that doesnt work either, I get a table of contents and possible usages? It fixed some things with the first 2 lines of code, except for open halt restart and a couple of other kexts in the extra folder. But after that well yo can see it on the photo, sighs, I hope you are doing well and thanks again mate, cheers Plucka

Attached Files



#36
drule

drule

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 150 posts
That's fine, it is just wrapping around since you're exceeding the default number of columns (79 I think). It will still remember what you are typing, so just carefully type each character, then hit return.

Now won't someone please offer some advice on my sluggish mouse problem :D

#37
Plucka

Plucka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
Hey mate, I did it with your help, thank you ever so much drule, I did just boot into the system whilst still in -s mode and did it in the terminal, and hey presto it works!!!! :D Even my webcam is working again in ichat and photobooth!!!! did all the updates that were left java and security and still no worries. Its so nice to be able check for updates and there arent any!!! Thank you very much drule and well the mouse thing I did see special drivers for mice to speed them up its called STEERMOUSE let me know if you can use it I would only be too happy to send it to you.

Cheers mate from a working 10.6.3 update thanks to you. Plucka :)

Attached Files



#38
drule

drule

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 150 posts
Congrats. The SteerMouse app is mainly to compensate for the Mac's already slow mouse, I've definitely got a driver problem as mine is slow sometimes, normal other times, speedy every once in a while, but usually turns into molasses every hour or less..

#39
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,224 posts
  • Gender:Male
  • Location:Brazil
This thread is a prime example of why threadjacking is a Bad Thing.
If you already know "how to post or follow forums" and have been a member since 2007 then doing it is even worse.

If you think I dont know how to post or follow forums, you are mistaken. I find your comments to be quite rude (...)

So if you have any real advice besides your sarcasm and negativity I would gladly like to hear it.

Thank you for your reply and I hope someone else on this topic will be more helpful than you.

Posted Image What an idiot!

What you're doing is rude.

Did you read it before you jacked it?

Go on, take a look at posts 3, 6, 9, 11, 13, 15, 17, 19 and 21 and then tell me who's helpful.
And this looks like it was helpful too: http://www.insanelym...howtopic=214655

Dude, this thread had some real meat in it, until you turned it into yet another redundant sleepenabler thread.

#40
Plucka

Plucka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
Firstly I dont appreciate being called an idiot by you or anybody else here. Secondly it was not my intention to hijack anything, no one is perfect not even you. If I offended anybody by asking for advice in this topic then I apologize to them for any inconvenience caused.

I am quite happy with insanelymac and have stuck with them, mainly because I have learnt a lot here and most everyone I have encountered has been very helpful. I have even helped some people as well, so once again sorry to anyone that was offended by my question here, I do hope that the advice I got from Drule helped some other members as well!!

Cheers, Plucka





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy