Jump to content

TSC sync XNU patch


Kassi
 Share

212 posts in this topic

Recommended 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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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-guide.com/wordpress/?p=3121

 

http://developer.amd.com/pages/1214200692_4.aspx

 

http://en.wikipedia.org/wiki/Time_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/us-en/Processors/Techni...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

Link to comment
Share on other sites

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-guide.com/wordpress/?p=3121

 

http://developer.amd.com/pages/1214200692_4.aspx

 

http://en.wikipedia.org/wiki/Time_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/us-en/Processors/Techni...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

Link to comment
Share on other sites

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!!

Link to comment
Share on other sites

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.insanelymac.com/index.php?showtopic=99891

 

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

 

Cheers :)

Link to comment
Share on other sites

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.)

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

 Share

×
×
  • Create New...