Jump to content

TSC sync XNU patch


  • Please log in to reply
211 replies to this topic

#21
highspeed

highspeed

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
Hi!

How can i apply this patch to the kernel i´m using right now?

The Vanilla kernel didnt work for me, computer keeps restarting right after darwin bootloader (like when i use cpus=2 on the kernel i´m using now).

I have iatkos v2.0i updated to 10.5.4 via Pacifist (with 10.5.2 kernel and extensions).

Should i try to update system.kext to 10.5.4 one and then try the 9.4 kernel? Is it safe?

Thanks in advance.

#22
.:Eagle:.

.:Eagle:.

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 773 posts
  • Gender:Male
  • Location:

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



Thanks, my system.kext isn't good you are right, I don't have the same kernel, Patched kernel is in 9.2.0 and my old kernel 9.2.2 I don't have reupdate in 10.5.4 yet, but if I change string in system.kext, my system doesn't boot, any idea to update system.kext ??

Thx 

#23
cosmo1t

cosmo1t

    InsanelyMac Protégé

  • Developers
  • 98 posts
  • Gender:Male

Thanks, my system.kext isn't good you are right, I don't have the same kernel, Patched kernel is in 9.2.0 and my old kernel 9.2.0 I don't have reupdate in 10.5.4 yet, but if I change string in system.kext, my system doesn't boot, any idea to update system.kext ??

Thx 


extract it with pacifist from a downloaded update.

#24
highspeed

highspeed

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
Hi again!

I tried to update system.kext to 10.5.4 and the 9.4 kernel but the same happened (instant reboot after darwin bootloader).

Now I have the 10.5.4 system.kext with my old working ToH kernel 9.2.0 restored.

So I have only left to try to patch the ToH kernel, but don´t know how to apply it.

Can someone help me with this?

Edit: I tried -tscsync -v arguments in darwin bootloader but does the same. I think the problem is that vanilla kernels dont work for my dell 9400.

#25
sacaman1

sacaman1

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 113 posts
  • Gender:Male
  • Location:www
thanks for you is working on the Leo4all update to 10.5.4 in a dell d620


Sacaman

#26
cosmo1t

cosmo1t

    InsanelyMac Protégé

  • Developers
  • 98 posts
  • Gender:Male

Hi again!

I tried to update system.kext to 10.5.4 and the 9.4 kernel but the same happened (instant reboot after darwin bootloader).

Now I have the 10.5.4 system.kext with my old working ToH kernel 9.2.0 restored.

So I have only left to try to patch the ToH kernel, but don´t know how to apply it.

Can someone help me with this?

Edit: I tried -tscsync -v arguments in darwin bootloader but does the same. I think the problem is that vanilla kernels dont work for my dell 9400.


.. I have a 9400, vanilla works fine. make sure you have EFI installed, but this is not a place for that discussion.. (use chameleon)

#27
kazoo

kazoo

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
hey guys can you give me some advice I'm not sure what to do with the tscsync.patch file?

thanks...sorry I'm a noob

#28
highspeed

highspeed

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male

.. I have a 9400, vanilla works fine. make sure you have EFI installed, but this is not a place for that discussion.. (use chameleon)


I have Darwin x86 boot for mbr.
Can´t patch a non-vanilla kernel for those who don´t have EFI installed?

I have the fear that if i install a EFI bootloader i get problems with some kexts and files or even the dual boot with XP.

I think i will give chameleon a try, but i want to be sure if things go wrong i can reinstall darwin x86 without problems.

thanks for your reply

#29
josftx

josftx

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts
  • Gender:Male
  • Location:Chile

I have Darwin x86 boot for mbr.
Can´t patch a non-vanilla kernel for those who don´t have EFI installed?

I have the fear that if i install a EFI bootloader i get problems with some kexts and files.

I think i will give chameleon a try, but i want to be sure if things go wrong i can reinstall darwin x86 without problems.

thanks for your reply


I have ur same laptop. and i replace Vanilla Kernel(From kalyway 10.5.3 combo update), with 9.4.0 patched vanilla kernel from here. 0 troubles, flawessly!

pd: I use chameleon.

#30
.:Eagle:.

.:Eagle:.

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 773 posts
  • Gender:Male
  • Location:

extract it with pacifist from a downloaded update.



Can you explain more please, I don't understand what I can do with Pacifist ??

I juste want to update System.kext to be compatible with 9.2.0 because my vanilla kernel is in 9.2.2 !!

Thanks

#31
david tsu

david tsu

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
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.

#32
highspeed

highspeed

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male

Can you explain more please, I don't understand what I can do with Pacifist ??

I juste want to update System.kext to be compatible with 9.2.0 because my vanilla kernel is in 9.2.2 !!

Thanks


With Pacifist you can install any kext or file from an update/package without having to install the rest, for example, to update my iatkos 10.5.2 to 10.5.4 I downloaded the 10.5.4 combo updatefrom apple downloads, then i open it with pacifist and select to install all the files except for the extensions and mach_kernel and other harmful files for my installation.

So from the convenient combo update you can extract and install the single System.kext you need.

I think you need the 10.5.2 version of System.kext for 9.2.0.

Hope this helps.

#33
.:Eagle:.

.:Eagle:.

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 773 posts
  • Gender:Male
  • Location:

With Pacifist you can install any kext or file from an update/package without having to install the rest, for example, to update my iatkos 10.5.2 to 10.5.4 I downloaded the 10.5.4 combo update from apple downloads, then i open it with pacifist and select to install all the files except for the extensions and mach_kernel and other harmful files for my installation.

So from the convenient combo update you can extract and install the single System.kext you need.

I think you need the 10.5.2 version of System.kext for 9.2.0.

Hope this helps.



You're help is welcome and very good, I understand better now !!

I download macosx combo update 10.5.2 and after I search file who install system.kext :)

I had Two HDD for OSx, first for test and second for using.

I try to update one with system.kext and I update second with 5.3 combo update while using your solution with pacifist and after I change my kernel with 9.3 patched kernel.

I hold you informed !!


EDIT : After downloaded 10.5.2 combo update on Apple WebSite, I change my kernel with patched kernel.
I recover System.kext with pacifist, and install it with Kexthelper. I repair permission and reboot !!

Now my system works fine :D, I'am very Happy !!



Thank you very much for your help :)



#34
mikefletcher85

mikefletcher85

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
ok, maybe i'm a noob, but could someone help me?

I installed Kalyway 10.5.2 on my Dell E1505. How do I "apply" this patch? Do I need to download one of the kernels listed in the beginning of this thread? If so what one, and are there instructions on how to do it?

This is the first time I've ever been able to boot to the OS on my dell and really the first time ever using a Mac OS so I am kinda Mac dumb

Thanks
~Fletch

#35
.:Eagle:.

.:Eagle:.

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 773 posts
  • Gender:Male
  • Location:
To install patched kernel,

- first download good version, and install it with OsX86tools !!

- Second be carreful on your kernel version, patched kernel use 9.2.0 and if you install kalyway 10.5.2, with vanilla kernel you are in 9.2.2.

Don't forget to update System.kext only if your kernel version is diferent !! I resolved the same problem today

read my post :P

Enjoy 

#36
Duddie

Duddie

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts

uh, could you post more information and your error log, because i don't have any acer hardware, and i wouldn't know what would make it different on a motherboard, this is cpu specific.. unless maybe bad bios implementations..


Hi cosmo1t,
The problem is with some of Acer Aspire notebooks. After trying compiled kernels with tscsync patch the kernel stops in exactly same place that it was stopping before tscsync patch. Of course with cpus=1 everything is fine... :o
The only difference with tscsync patch is that there is one line more printted:

[TSC] delta: 194, skipping synchornization. (CPU1)
IOAPIC: Version 0x20 Vectors 64:87

Before was stopping in the same place.

If you can give some debug version that will print a lot of information, I can run million times for you :D

Thanks in advance!

One thing more:
When I boot with "cpus=1" then SystemProfiler shows:

Number Of Processors: 0
Total Number Of Cores: 1

This "Number Of Processors" might be the reason.

#37
cosmo1t

cosmo1t

    InsanelyMac Protégé

  • Developers
  • 98 posts
  • Gender:Male
I still think that has to do w/ your bios and renaming the alias on the cpus. I don't have an acer, and i have no idea what your issue would be.
You passed the bootflag -tscsync i take it for boot?

#38
dvdp2

dvdp2

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
Wow! This is really great news. Though I just bought an Imac I'm trying to install apple tv on my old inspiron 6400. So far so good, media is flowing through the air in my house but having the second core enabled should speed things up.

I've attempted to patch the Tiger kernel with your patch. But it failed on all 5 "hunk's"

Is it possible to patch the tiger kernel with this patch.

And if not, can I boldly ask you to create one for the tiger kernel?

Again, many thanks for your great work!

Regards,

Dvdp2

#39
raskitoma

raskitoma

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
I'm now a happy Inspiron 9400 owner...

Hackintosh specs:

T7200 2.0Ghz Both cores OK
Sound Ok
Nvidia 7800 OK
Timemachine OK

thanx for this patch... please mods... stick it so we can find it easily searching for updates!

:D

#40
S.SubZero

S.SubZero

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 279 posts
Wow, I was out of the OSx86 scene for a bit (bought a MBP) but this piqued my interest. Broke out my old E1705 that I have been posting on Craigslist for the better part of three months, threw iATKOS 4i on it, and put on this kernel. Both cores are recognized and it seems to be working great!

Thanks for doing this, it really got me re-interested in OSx86.





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