Jump to content

TSC sync XNU patch


  • Please log in to reply
211 replies to this topic

#61
FrogMan2006

FrogMan2006

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
  • Gender:Male
  • Location:Paris - France
Thank you Guys for this fantastic Forum.

Yesterday i started out with a fresh Kalyway 10.5.2. Today i have Mac OS X 10.5.5 and my 2 Cores running.

Seems to me that my 'old' Dell D620 Latitude is a good HW option to run the Mac OS X.

Regards and big thanks to you all (!)

FrogMan2006

#62
raskitoma

raskitoma

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

Thanks you (and thanks Apple ;) )


time for a post installer, huh? LOL

I have already replaced my kernel, but I can test your installer.

#63
netkk

netkk

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Europe
Thank you so much! This kernel makes both cores work on my Dell Inspiron 6400!
I updated to 10.5.5, so I'm cheking the 9.5 kernel now.

edit: Installed 9.5. Working like a charm. Thanks!

#64
timmy1980

timmy1980

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
Thank you thank you thank you thank you!!!!!

This for me was the last piece of the puzzle! I've had a successful hour or so, first I found Chun nans kext to allow proper battery level indication in leopard and now this!!! I really thought that I would have to live with just the one core!

Thank you so much for this.

Dell D620
Kalyway 10.5.2 Vanilla
sleep, speedstep, BOTH CORES!

#65
badboyz

badboyz

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
ok here is my problem i installed this Kernel patch using OSX86Tools and got everything working great but my laptop now takes 15-20 mins just to boot, it loads ok but sits on the white apple logo screen with the spinning icon at the button forever and after about 15-20 mins it finally loads up the login screen.

#66
zerolimit

zerolimit

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
could someone please patch my kernel i've tried everything and nothing is working.. thanks

http://www.megaupload.com/?d=UI3YF1O9

would greatly apreciate it! Thank You!

#67
hotcorez

hotcorez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 115 posts
Hello!

Well done for this kernel mod. As sugegsted by another chap, it would be great to make a patch that works with AMD kernels.

I am particulary intrested in 9.2 / 9.22 / 9.3 / 9.4 and 9.5 (all revsions!) sleep enabled kernels

The reason is that old dual core amd 939 processors (pre AM2) had issues with the core's going out of sync.

http://www.pcdoctor-...rdpress/?p=3121

http://developer.amd...14200692_4.aspx

http://en.wikipedia....e_Stamp_Counter

"AMD processors always increment the time-stamp counter every clock cycle.[5] Thus, power management features can change the number increments per second, and the values can get out of sync between different cores or processors in the same system. For Windows, AMD provides a utility[6] to periodically synchronize the counters on multiple core CPUs."

http://www.amd.com/u...ml?redir=COGA01

AMD Version of events, they seem to beat around the bush a little!!

RMClock implemented a fix for this in thier excellent utility:-

http://cpu.rightmark.org/

Added AMD K8 dual-core TSC synchronizer functionality
Added AMD K8 TSC sync interval setting


QUESTION - Would this patch be relevant to AMD user as well?

I look forward to your respone,

Regards,

HC :D

#68
hotcorez

hotcorez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 115 posts

Hello!

Well done for this kernel mod. As sugegsted by another chap, it would be great to make a patch that works with AMD kernels.

I am particulary intrested in 9.2 / 9.22 / 9.3 / 9.4 and 9.5 (all revsions!) sleep enabled kernels

The reason is that old dual core amd 939 processors (pre AM2) had issues with the core's going out of sync.

http://www.pcdoctor-...rdpress/?p=3121

http://developer.amd...14200692_4.aspx

http://en.wikipedia....e_Stamp_Counter

"AMD processors always increment the time-stamp counter every clock cycle.[5] Thus, power management features can change the number increments per second, and the values can get out of sync between different cores or processors in the same system. For Windows, AMD provides a utility[6] to periodically synchronize the counters on multiple core CPUs."

http://www.amd.com/u...ml?redir=COGA01

AMD Version of events, they seem to beat around the bush a little!!

RMClock implemented a fix for this in thier excellent utility:-

http://cpu.rightmark.org/

Added AMD K8 dual-core TSC synchronizer functionality
Added AMD K8 TSC sync interval setting


QUESTION - Would this patch be relevant to AMD user as well?

I look forward to your respone,

Regards,

HC :whistle:


ps - it would be good if this could be applied to 32bit and 64 bit operation. Is this possable? thx

#69
JaE-V

JaE-V

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 933 posts
  • Gender:Male
  • Location:Texas
Random files, tons of unanswered questions, and no guide. Threads like this are terrible but thanks anyway.

#70
cosmo1t

cosmo1t

    InsanelyMac Protégé

  • Developers
  • 98 posts
  • Gender:Male

Random files, tons of unanswered questions, and no guide. Threads like this are terrible but thanks anyway.


Random files?
1 .diff file (to apply to the xnu source tree, and compile)
5 mach_kernel files, 1 for each version of mach_kernel from 10.0 to 10.5.

Guide? copy a file, or move it.

ie:
man cp
or
man mv.

Your lackluster input is fantastic for the user base. Thanks for all your great help and feedback!!

#71
hotcorez

hotcorez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 115 posts
Hello Peeps,

Please relax about the forums, If they want to help us they will. sometimes you just need to persevere...

Anyway, regarding my quesiton, it turns out that this may be answered in another thread.

It suggests that the kernel flag -notsc may actually force the cpu to use pmtimer instead of tsc.

http://forum.insanel...showtopic=99891

If anyone could confirm that this will resolve the problem mentionned in my last post, it would be much appreciated.

Cheers :)


#72
djmgermanos

djmgermanos

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
Tanks

I have a dell precision m65
10.5.4 working
I will try today a 10.5.5

thanks

#73
ilovebooze420

ilovebooze420

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Fort Wayne
  • Interests:OSx86, obviously. Computers, obviously.
I honestly would love a guide for updating. I know you posted kernels for 10.5.5, but I'd love a guide that explains how to upgrade from previous versions.

That would probably solve a lot of your questions, and a lot of useless questions. (Not that I have no idea how to upgrade, I just think it would solve a lot of the problems we're having with this. [That, and I managed to FUBAR my system while upgrading to 10.5.5])

Kudos!

(Also, while my D520 may be a pretty obscure system, I don't want to post my guide for that reason. It was kind of sloppy, as well as a whole lot of useless attempts and I'm not quite sure what exactly worked. I just know Pacifist helped a whole lot, as well as the Developer tools. Besides, mines still crippled cause SpeedStep never worked, nor does sleep where a lot of the D5/600 users managed to get both working.)

#74
George123

George123

    InsanelyMac Protégé

  • Members
  • Pip
  • 25 posts
Dear All,
I tried to make my T2500 working with dual cores. But I am failed. I have tried with cosmo1t's kernel 9.5. But it is stopped with kernel panic at the beginning. Some times I can login into the desktop successfully. But 80% of login stoped with:
with '-tscsync -v' using 16384 buffer headers and 4096 cluster IO buffer headers
with '-v' [TSC] delta:59 skipping Synchornization. (CPU1)

Anyone can tell me what's wrong with my system?

My laptop is: HP NX8420
CPU:T2500
Video Card: X1600 (working)
Sound Card: ad1981hd (working with output)
Wifi: Broardcom 4311 (working)

#75
ptang

ptang

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts

Thank you Guys for this fantastic Forum.

Yesterday i started out with a fresh Kalyway 10.5.2. Today i have Mac OS X 10.5.5 and my 2 Cores running.

Seems to me that my 'old' Dell D620 Latitude is a good HW option to run the Mac OS X.

Regards and big thanks to you all (!)

FrogMan2006


Hi FrogMan2006,

I also have a D620. I successfully installed a fresh Kalyway 10.5.2 with vanilla kernel. I followed the instructions in this forum. However, I failed to install 10.5.5 or any other earlier version. If you don't mind, please provide a with detail procedure on how to install Mac OS X 10.5.5. Thank you very much in advance.

Best regards,

ptang

#76
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Retired Developers
  • 521 posts
  • Gender:Male
  • Location:India

It suggests that the kernel flag -notsc may actually force the cpu to use pmtimer instead of tsc.

http://forum.insanel...showtopic=99891

If anyone could confirm that this will resolve the problem mentionned in my last post, it would be much appreciated.

Cheers :blink:


Sorry to play spoilsport but .. there is no such bootflag (notsc). The thread you linked above is incorrect for a LOT of flags - there are no flags which "might" work, we've got the entire source so there is no uncertainty. Now if one of the other patched kernels support it, thats another issue. But neither vanilla nor any of the voodoo kernels have this flag - tsc is the only way to keep time.

(Also, while my D520 may be a pretty obscure system ... Besides, mines still crippled cause SpeedStep never worked, nor does sleep where a lot of the D5/600 users managed to get both working.)

Upgrade to voodoo alpha kernel and the speedstep kext (links to both in my sig). I have D510, speedstep + sleep works flawlessly.

#77
bolen

bolen

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Sweden

Sorry to play spoilsport but .. there is no such bootflag (notsc). The thread you linked above is incorrect for a LOT of flags - there are no flags which "might" work, we've got the entire source so there is no uncertainty. Now if one of the other patched kernels support it, thats another issue. But neither vanilla nor any of the voodoo kernels have this flag - tsc is the only way to keep time.
Upgrade to voodoo alpha kernel and the speedstep kext (links to both in my sig). I have D510, speedstep + sleep works flawlessly.



Does the Voodoo kernel use the TSC sync patch? If so I will try it out.

I've got a Dell D430 running with both cores thanks to this patch but I've got no sleep support. I'm about to test out the SpeedStep kext from your signature now.

EDIT: I installed the voodoo_alpha13 kernel and it turns out that I can boot it without problem. How ever.. the sleep still doesn't seem to work. Any ideas? Do I need some special AppleSMBBios?

#78
Ignacio

Ignacio

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts
Thanks OUI!!! (and everyone involved on this fix)

I just replaced my kernel with the patched kernel (9.2), added the flag to the Boot file and voil, got both cores running on my Dell 640m Core2Duo T7200, the problem is that they seem to be running at 1Ghz instead of 2Ghz, any advise?

Thanks again.

#79
Ignacio

Ignacio

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts

Thanks OUI!!! (and everyone involved on this fix)

I just replaced my kernel with the patched kernel (9.2), added the flag to the Boot file and voil, got both cores running on my Dell 640m Core2Duo T7200, the problem is that they seem to be running at 1Ghz instead of 2Ghz, any advise?

Thanks again.


I fixed the 1Ghz issue, reinstalled from Kalyway 10.5.2 DVD and selected the SpeedStep kerne, the patched after install, everything is so smooth now!

#80
Stevey

Stevey

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Newbie question but how do I know what one to download?

10.4.9 (Uphuck DVD)
Intel 945/50GM GPU
Intel Pentium Dual Core 1.86ghz

Anything else you need to know to help me?

Thanks.





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