Jump to content
InsanelyMac Forum

david tsu

Members
  • Content count

    14
  • Joined

  • Last visited

About david tsu

  • Rank
    InsanelyMac Protégé
  1. david tsu

    TSC sync XNU patch

    Hope this will help a bit: You have to find the Leopard 10.5.3 Kalyway Combo Update wither on rapidshare or torrent. Follow the instructions and isntall the combo update and don't restart and install the updated kernels. Don't restart yet. Down the tscsync kernel 9.3. Extract the mach_kernel onto your desktop. Open the terminal and goto the root directory "cd /". backup your kernel "sudo mv mach_kernel mach_kernel.old" "sudo mv ~/Desktop/mach_kernel ./mach_kernel" "sudo chmod 755 mach_kernel" "sudo chmod root:wheel mach_kernel" You need to add a kernel command -tscsync into /Library/Preferences/SystemConfiguration/com.apple.Boot.plist <key>Kernel Flags</key> <string>-tscsync</string> Restart the system and when it comes to the darwin boot, press F8 and type in "update -v" without quotes. It will reboot after it is done. This time around let it boot into mac osx and you should be done.
  2. david tsu

    TSC sync XNU patch

    You have to make sure your system.kext matches your kernel. I installed using 10.5.2 kalyway. Used the Upgrade package to upgrade to 10.5.3 with the moblin kernel (which also installed the 9.3 matched system.kext with the kernel). Last, I downloaded the 9.3 kernel from this thread and replaced the moblin kernel. USB worked after that (without booting with it). -DTsu
  3. Dell laptop users, there is a kernel to run all cores. This may work for other laptop users also and maybe even some desktop issue you guys are having (maybe). I have tested this kernel at the link and it works perfectly with Inspiron 9400. http://forum.insanelymac.com/index.php?showtopic=117558 -DTsu
  4. david tsu

    TSC sync XNU patch

    Thank you. I myself and many Inspiron E1705/9400 and other Core Duo Dell laptop users have been waiting for this. This works perfectly with Dell Inspiron 9400. I updated to 10.5.3 with the Vanilla kernel and the correct system.kext, then replaced the kernel 9.3 with the one provided here. Everything went smoothly. Installed MenuMeter and it shows two cores. I can't thank the author of the patch enough. -DTsu
  5. I have the T3-P5945GC. Looks pretty similiar. Started off with 2.6ghz Dual Core. Using kalyway 10.5.2. Everything works. Mine came with the GMA950 and the ADI sound chip. Ethernet works, Video works, Sound works (might need to get the model off the sound chip and search the fourms, I didn't quite remember), sata works, ide works. Did not have much problem getting it running with osx.
  6. I would just retrive all the data from the 2nd instance of DSDT to here: ÀFACS@ Right before the 00s. The footer of a compiled DSDT.aml looks like this (not exact for all): If you get decompile errors then use the last WAKh as the end of block. Hope that helps. -DTsu
  7. Here is a guide for modifying DSDT for AMI bios. I gathered most information from Kabyl. The orginal plan was to create a nice pdf but I am unable to gather enough time to sit down and create one. So hopefully, this guide will do for now. Feel free to add other bios moding guide here. WARNING!!! BAD MODIFICATION OF THE ROM FILE AND FLASHING BACK INTO YOUR BIOS CAN KILL YOUR MOTHERBOARD! TRY THIS AT YOUR OWN RISK! I AM NOT RESPOSIBLE FOR ANY DAMAGE!!!!!! IF YOU ARE UNSURE OF WHAT YOU ARE DOING, DO NOT TRY THIS!! 1. Download the AMI bios you wish to modify. It should have the .ROM extension. 2. Run the MMTOOL.EXE from the AMI_DSDT_TOOLS.zip 3. Click "Load ROM" and choose your bios file. 4. We are now going to extract the DSDT from the ROM. Click on "Extract" tab. Then on the list box on the bottom half of the MMTOOL, select "1B" named "Single Link Arch BIOS". 5. Make sure "In uncompressed form" is selected. Enter a filename in the "Module File" textbox and then click on the "Extract" button (For example "SingleLink.dat") 6. Using WinHex and open up the file you extract ("SingleLink.dat"). We are going to look for the case sensitive string "DSDT". There should be two instance of this in the file. We are only interested in the second instance. So search for "DSDT" twice. 7. Right click on "D" of the "DSDT" and choose "Beginning of block". 8. From this position, search for the hex string 57 41 4B 68 2E (WAKh.) 9. Right click "h" of the "WAKh" and choose "End of block". 10. In the WinHex Menu, select the "Edit" drop down and move down to "Copy Block" then "Into New File" in the new choices. Enter a file name with the .aml extension (ex: mydsdt.aml). 11. Extract iasl.exe from AMI_DSDT_TOOLS.zip into the directory where you saved the .aml file. Open a command prompt and change to the directory where you saved the .aml file. use this command line to decompile the .aml file: "iasl.exe -d mydsdt.aml". "mydsdt.aml" is the .aml you saved earlier. 12. After running "iasl.exe -d mydsdt.aml", it should generate a file name "mydsdt.dsl". 13. Now here is where we start to remove the "Alias" in the dsdt. Use notepad and open the "mydsdt.dsl" you should see lines like: Processor (P001, 0x01, 0x00000810, 0x06) {} Alias (P001, CPU1) Processor (P002, 0x02, 0x00000000, 0x00) {} Alias (P002, CPU2) Processor (P003, 0x03, 0x00000000, 0x00) {} Alias (P003, CPU3) Processor (P004, 0x04, 0x00000000, 0x00) {} Alias (P004, CPU4) We are going to remove any line that starts with "Alias". After it is removed, save the file. 14. Here is the part where if you have problems with your DSDT, you are going to have problems. There are number of resource on google that can help you debug the issue you will be having. Hopefully, you can don't have any issues. What I would usually do is google "dsdt" and the error message that iasl throws out. Kabyl might have hint on how to recompile the DSDT while ignoring the warnings and errors. To compile your new mydsdt.dsl use the command line "iasl.exe mydsdt.dsl". 15. After running "iasl.exe mydsdt.dsl" it should produce a file named "DSDT.aml". We are now going to inject this file back into the .dat file we saved earlier ("SingleLink.dat"). In WinHex, open the "DSDT.aml" you compiled. Press "Control A" (Select all). On the lower right hand side of WinHex you should notice a hex representation of the size of the block you have selected (For example "Size: 5AC4"). Make note of this hex size. 16. What we are trying to do here is to insert the DSDT.aml into "SingleLink.dat" without changing the file size of "SingleLink.dat". Since the new DSDT (DSDT.aml) is smaller, we can just replace the DSDT and then pad the rest of the sectors with 00. 17. Go back to the "SingleLink.dat" and hopefully the DSDT block we copied into a new file is still there. If not, then repeat steps 7,8,9 again. 18. Left click on the "D" of the DSDT in the beginning of the block in "SingleLink.dat". In the WinHex "Edit" drop down on top, then select "Fill Block". We are going to "Fill with hex values" of "00". 19. You will see "00" filled block. Your current cursor position should still be where "D" was. Now on top of the WinHex windows, click on "Position" then choose "Goto offset". Select "current position" and put the hex size that you have made a note of in step 15 in "New position" text box. Click okay, and it will take you to the new offset position. Right click on the new position (blinking cursor) and select "End of block". 20. Go back to the beginning of the block where the "D" was before you filled it with 00 and left click on that position. In the WinHex menu on top click on "Edit" and select choose "Remove". You will get a popup box saying removing the current block will decrease the file. Click "yes" to continue 21. Now, goto your DSDT.aml file, select everything in this file by pressing "Control A". Then in the "Edit" menu in WinHex, choose "Copy Block" then click "Normally". 22. Go back to the "SingleLink.dat" file, your cursor should still be where the "D" was. In the WinHex menu on top, choose "Edit", then "Clipboard Data" then "Paste". A popup window will inform you that the data about to be pasted will increase the file size. Click Ok. 23. Goto the end of the block (should end with "WAKh") and make sure there is a hex character of 2E right after "WAKh". If there no 2E, then just modify the character right after "WAKh" to hex 2E. 24. Save the file and now we are ready to insert the file back into the .ROM 25. Go back into the MMTools and choose "Replace" tab. On the list box, chick on "1B | Single Link Arch BIOS". Next to the "Module file:" textbox, there should be a "Browse" button, find the modified "SingleLink.dat". Click on "Replace" button and you should be done. 26. Click on "Save ROM" button and save to a new ROM file. Flash this ROM into your BIOS. Link to WinHex I found on Google: WinHex AMI_DSDT_TOOLS.zip
  8. If you are using the AMI tool to extract the 1b-SingleLink...., then this will work for you. If not, then you have to wait for me to get a package together with the tools. I also recommend using Winhex, it will make your life easier. You are basically reinserting your compiled dsdt file back into the 1B file you extracted, without causing any changes to the file size. And since we are removing something, the new file should be smaller in size. You inject the file back into the original and then fill the remaining spaces with 0x00 (hex=00). (Q for Kabyl: Can we decrease the size of the dsdt section instead of filling it with 0x00?) If this does not work, then you might have to wait for the guide. -DTsu
  9. I will post an instructions doing this mod for AMI bios in a few days. I think teaching someone to fish is better then feeding them for life. I will find some time and write up the way I have extract the DSDT, decompile and inserted the DSDT back. Hopefully if Kabyl is not busy, he can give us some hints if I did something wrong. About the Dell laptops. I am sitting on a laptop that I absolutely can not get osx to run without cpus=1 also. So far I have extracted the ROM but can not find any editor or find any DSDT strings inside the ROM. If someone can find a software to edit || decompress || decrypt the ROM, I can start working on it. But for now I think some how having the kernel read from an external DSDT file when it load (like linux) would be the best choice. -DTsu
  10. It is an AMIBIOS, but since I don't have that much time to debug the problem with DSDT compiliation errors, you might have to do some research yourself. I spend about total of 30 minutes on yours so far with no luck. If you intend to debug it yourself, you need the iasl.exe from Intel and do a iasl.exe -d dsdt.dsl and you will see what I mean. I am not an expert on DSDT compilation errors either, so I guess google might be our best friend. I have attached your compiled dsdt. If you have figured out how to compile the dsdt without errors, attach the files here and I will make a rom for you. dsdt.rar
  11. I think the the Quad core run better with the older version. But here is the patched version of the newer bios. Hope it works better for you. Let me know how it goes. *DISCLAIMER*USE AT OWN RISK 080425s_mod.zip
  12. spylinux, I have only worked on ECS with the AMI bios so far so I can help you (P5A131A_OSX.zip). Following the instructions on this thead plus fixing some existing DSDT bugs. Let me know how this one goes. Same as my previous BIOS edits. Use at your own risk. I am not responsible for you messing up your motherboard. Alway have a floppy with an autoexec ready to auto flash your original image back in. As in all bios flashing, you can damange your motherboard if this task is taken lightly. Also, Forgot to mention this, please make a backup copy of the rom you are using now if you can. Because an upgrade bios from the manufacture is not always a good thing. Like the ECS G31T-M, the upgraded bios won't run os x no matter what I did. I had to back track to a earlier revision of the bios. But since there is only one revision on ECS's website for your motherboard, I would suggest you make a backup now.Thanks,-DTsu Andrew, I do not see any Alias entries for your processors in your DSDT. We might need Kabyl to help us explain this one. You might need to play with some settings in your bios to get things going. I have attached below (ECS_915G-A.zip) a copy of the .dsl containing your decompiled dsdt. Hopefully someone can help. P5A131A_OSX.zip ECS_915G_A.zip
  13. You can't use the DSDT entry from linux. You have to extract/uncompress the 1B section from the AMI bios and retrive/modify the DSDT entity there. Here is the modified AMI bios for ECS G31T-M. Unfortunally, the newer version of the bios do not work correctly and will get "unable to load driver" for "ACPI". So I have to stick with the older version of the bios. This has been tested on a quad core. But USE AT YOUR OWN RISK! I AM NOT RESPOSIBLE AGAINST ANY DAMAGE! PLEASE IF YOU MESS UP YOUR BOARD I REALLY CAN NOT HELP YOU. Thanks -DTsu ecs_mod.zip
  14. david tsu

    Installing on Dell Inspiron 530

    I did not have the keyboard loop after install on the first boot. Since this has a ICHx chipset, I use Leo4All and checked the ICHx Family Drivers. It actually speed up the boot time. I following the instruction the first time, then check my specification on dell and decided to install the ICHx driver from Leo4All v3. Hope that helps someone. I am still getting a shutdown/reboot issue though. Inspiron 530 Mini-Tower 3GB 667 RAM 500GB 7200rpm HDD 8600GT 512mb
×