Help - Search - Members - Calendar
Full Version: TSC sync XNU patch
InsanelyMac Forum > OSx86 Project > Hardware and Drivers
Pages: 1, 2
Kassi
Description: read the topic's title/description.

The patch introduces a new boot arg; tscsync.

All credits goes to OUI
Fourof4
Oh this is really gooooood news!!

All I have to do is just replacing the kernel with one of these?
the great deceiver
QUOTE(cosmo1t @ Jul 25 2008, 03:07 PM) *



awesome, will try this. thank you Kassi and thanks for compiling cosmo1t.

edit1: thanks to OUI I got both cores working now
Fourof4
I just replaced the kernel and it worked!!

Now I got 2 Cores alive!! Thank you so much Kassi and cosmo1t!!

http://img201.imageshack.us/my.php?image=picture1ud6.png
Kassi
QUOTE(Fourof4 @ Jul 25 2008, 08:58 PM) *
I just replaced the kernel and it worked!!

Now I got 2 Cores alive!! Thank you so much Kassi and cosmo1t!!

http://img201.imageshack.us/my.php?image=picture1ud6.png


People should learn to give the credits.
Fourof4
Oh.. I am so sorry.. I was overexcited..

All credits to OUI, Kassi, cosmot1
josftx
THANKS!!!! OUI!!! i'll been waiting for this patch a lot of time xD.


thanks OUI again!
.:Egle:.
Thanks very much !!!!!!!!!!!!!!!!!!!!!!!!

I try immediatly soldiers.gif

EDIT : This patch work fine smile.gif for me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

THX all and OUI !!

EDIT : Finally I have a problem with my USB !! When I plug USBpreipheral, it doesn't work !!!!!!!!!!!!!

But if I boot on OSX after plug my USB... it work

Any idea ??
lord_muad_dib
what about an amd kernel with this patch?
thank you!
me@home
QUOTE(whoami5533 @ Jul 26 2008, 05:12 PM) *
3. Install the new kernal and reboot with -tscsync -v


yes "thank you to OUI, Kassi, and cosmot1"

working on my HP NC 6320.

do I need the tscsync patch too ? Just installed the 9.4 kernel all Ok so far.

do I need to type the command above every time I start up ?

edit: put the command tscsnc into apple boot.

Anyone else having troubles with Parallels when both cores are working ? My Win2K installation freezes every time (with or without VT)
david tsu
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
cosmo1t
QUOTE(me@home @ Jul 26 2008, 06:52 PM) *
yes "thank you to OUI, Kassi, and cosmot1"

working on my HP NC 6320.

do I need the tscsync patch too ? Just installed the 9.4 kernel all Ok so far.

do I need to type the command above every time I start up ?

edit: put the command tscsnc into apple boot.

Anyone else having troubles with Parallels when both cores are working ? My Win2K installation freezes every time (with or without VT)



what version of parralles. Does the same thing happen w/ fusion.
can you try to install a new 2k installation??

first check the log for Parallels.
david tsu
QUOTE(.:Egle:. @ Jul 26 2008, 10:21 AM) *
Thanks very much !!!!!!!!!!!!!!!!!!!!!!!!

I try immediatly soldiers.gif

EDIT : This patch work fine smile.gif for me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

THX all and OUI !!

EDIT : Finally I have a problem with my USB !! When I plug USBpreipheral, it doesn't work !!!!!!!!!!!!!

But if I boot on OSX after plug my USB... it work

Any idea ??



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
cosmo1t
QUOTE(josftx @ Jul 25 2008, 09:41 PM) *
THANKS!!!! OUI!!! i'll been waiting for this patch a lot of time xD.
thanks OUI again!


jostfx, your sig says:
Dell Inspiron E1705: Kalyway 10.5.4 w/ Darwin 9.4.0 (TSC sync + XNU patch) and Chameleon v1.0.11

really, it's a tsc sync patch, applied to the XNU kernel wink.gif (ie mach/xnu are what makeup the "full" kernel)

I'm glad this is working for people. As for an AMD patch, i don't know.. if you can provide me w/ a diff file to apply first for amd, then i'll apply the tsc patch, compile it, and you can test it, as i have no way to test AMD

cos
bato888
@cosmo1t

would a patch like this also be possible for Asus Notebooks? i tried the provided kernel and boot argument but it didnt work with my laptop.
i can only boot with cpus=1
fr3ak!
Thanks you Guys !! it's working on DELL XPS M1710 !! thumbsup_anim.gif
For me CPU seems to be hotter (both at 49°C) now I heard fans.

cosmo1t
QUOTE(bato888 @ Jul 28 2008, 04:53 PM) *
@cosmo1t

would a patch like this also be possible for Asus Notebooks? i tried the provided kernel and boot argument but it didnt work with my laptop.
i can only boot with cpus=1


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..
josftx
QUOTE(cosmo1t @ Jul 28 2008, 02:41 PM) *
jostfx, your sig says:
Dell Inspiron E1705: Kalyway 10.5.4 w/ Darwin 9.4.0 (TSC sync + XNU patch) and Chameleon v1.0.11

really, it's a tsc sync patch, applied to the XNU kernel wink.gif (ie mach/xnu are what makeup the "full" kernel)

I'm glad this is working for people. As for an AMD patch, i don't know.. if you can provide me w/ a diff file to apply first for amd, then i'll apply the tsc patch, compile it, and you can test it, as i have no way to test AMD

cos


ahha yes i know, i fix that today. tscsyn adds to mach/XNU kernel
AustinMabry
I just installed the compiled 9.2 kernel listed on page 1 of this post and get a grey "need to restart" screen. I was working with a fresh install of iaktos 10.5.4 with toh kernel 9.2 The way i read this post I thought all I needed to do was to install one of the compiled kernels listed on page 1 post 2 of this thread using osx86tools and I would be good. what did i do wrong? was I suppose to use the patch somewhere? I have a dell D620.

highspeed
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.
.:Egle:.
QUOTE(david tsu @ Jul 28 2008, 07:05 AM) *
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 
cosmo1t
QUOTE(.:Egle:. @ Jul 29 2008, 09:59 PM) *
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.
highspeed
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.
sacaman1
thanks for you is working on the Leo4all update to 10.5.4 in a dell d620


Sacaman
cosmo1t
QUOTE(highspeed @ Jul 30 2008, 07:32 AM) *
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)
kazoo
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
highspeed
QUOTE(cosmo1t @ Jul 30 2008, 04:27 PM) *
.. 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
josftx
QUOTE(highspeed @ Jul 31 2008, 07:03 AM) *
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.
.:Egle:.
QUOTE(cosmo1t @ Jul 30 2008, 06:26 AM) *
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
david tsu
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.
highspeed
QUOTE(.:Egle:. @ Jul 31 2008, 06:09 PM) *
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 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.
.:Egle:.
QUOTE(highspeed @ Jul 31 2008, 09:33 PM) *
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 smile.gif

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 biggrin.gif, I'am very Happy !!



Thank you very much for your help smile.gif

mikefletcher85
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
.:Egle:.
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 smile.gif

Enjoy 
Duddie
QUOTE(cosmo1t @ Jul 29 2008, 05:19 AM) *
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... smile.gif
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 smile.gif

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.
cosmo1t
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?
dvdp2
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
raskitoma
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!

biggrin.gif
S.SubZero
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.
alexgti
Thanks, Dell Inspiron 6400 working with 2 cores!!

Installed kernel 9.2 and Chameleon after working with x86 Darwin and ToH, worked a treat with the tscsync boot flag. Super happy!
Bettlebob
Well I hate to sound like a noob but I have some questions about this and I am hoping that someone might have some suggestions. I have an E1705 and I have installed the iATKOS 10.5.4 using the Darwin Kernel 9.4.0.

I downloaded the correct replacement kernel version and I downloaded the patch file. I replaced my kernel and added the flag in the Boot.plist. I repaired the permissions. When I rebooted and went to the system profiler it shows 2 cores but my system is very unstable. Applications are constantly crashing and after a few minutes the machine will lock-up.

What am I supposed to do with the tscsync.patch file? I have seen a couple other people ask about this and I am also unclear.

If I have missed a step or if you have any suggestions please let me know.
coleshill121
Hi,

I have an Inspiron 9400... I install iAtkos V4 (10.5.4), boot it all up, run chameleon installer, reboot, run OSX86 Tools, back-up my current Kernel. I then press install new kernel (or something like that), it tells me that I have the 9.4 Vanilla Kernel, so I replace it with the 9.4 kernal you told me. I then reboot. I boot with '-tscsync', it looks like it starts to work, then it restarts... Could you please tell me what have I missed out??

Thanks to everybody for helping so far!! I can't wait!!

EDIT: Also, would it be possible for a pkg to be put together eventually and be added onto the Dell post install app??
robi62
Some people and even myself are reporting that in system profile it shows at times half of the frequencies .
I think is the modded kernel because when I reinstall normal I get normal cpu speed.
Here is post from other users like myself
Does anyone experience the same problem??????

http://forum.insanelymac.com/index.php?s=&...st&p=857776
Olotiar
I'm running Kalyway 10.5.2 under a Dell Inspiron 6400
Core duo T2080 1.73GHz
Intel GMA 950
512 MB RAM DDR667 MHz
Toshiba 120Go HDD

I had no problem with my current installation, only forced to boot with the cpu=1 flag, and I learned about this post.
I tried to install 9.2 kernel but i'm unable to boot with -tscsync flag, so do i for 9.3 with matchin' System.kext
when it shows the apple screen, pfiuuu reboot
With -v flag in addition, some line appear but reboot is too fast for me to see anything

-x do nothing, only cpu=1 allow me to boot

Please help, I wait so long for this patch, and people with 6400 had already succeded sad.gif
tuxianer
Does not work with LG R400...its only possible to boot with dual core disabled
ilovebooze420
Worked here for me on a Dell Laititude D520 running Leo4Allv3 kernel 9.2. Thanks OUI!!!

I only have one question....


I'm currently staying at 10.5.2, just because I'm scared if I update through Apple Software Update, it'll break the patch. Is this true? Please say it isnt, or that its as easy as booting the kismus hackintosh tools DVD and replacing the kernel again.
tigerxp17

Thanks this helps a lot. I was tired of having to boot with only 1 core....
Inspiron 6400
newbie in the house!
keng
Thanks for all whom related with this task and made my Dell D620 able to use 2 cores !!!!

Just only download 9.4 kernel and replace it, change boot.phlist to boot with tsc option.

Thank you for the solution angel.png
liaodan
Where there are kernel 9.5?please,thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.