Page 7 of 12
Re: Mavericks 10.9 on a T61(p)
Posted: Thu Apr 17, 2014 8:52 am
by jzhang18
Sieglinde Festkochend wrote:Hey Madara-san,
i am using an T61P with Nvidia Quadro FX 570M and DVI is still not working with this DSDT. Do you think there will be any solution? VGA is working, but not very good for my Display with 1080. Booting with DSDT=No works with DVI, but If i use this Flag there is no shutdown and many other Problems.
Thank you for your help!
To my understanding , Nvidia Quadro FX 570M supports only 2 monitors, if VGA is working, then DVI is disabled, (vice versa). I might be wrong.
when "Booting with DSDT=No works with DVI", Did you test both VGA and DVI with 2 monitors? if both are working at the same time. then there might be a solution from DSDT. my original thought is wrong.
Re: Mavericks 10.9 on a T61(p)
Posted: Fri Apr 18, 2014 4:21 am
by Sieglinde Festkochend
Hey madara-san,
you are right: 2 Monitors max. If i use your dsdt and attach a VGA, anything is working. Detach the VGA and attach DVI, the Thinkpad-LCD goes black (Backlight off). After detaching the DVI, Backlight of Thinkpad-LCD is on.
I received another DSDT from different Forum. This DSDT run´s with DVI. But Sleep is still not working: There is no USB after sleep...
I ask in the other forum, if it´s allowed to upload the DSDT
thank you very much
Re: Mavericks 10.9 on a T61(p)
Posted: Fri Apr 18, 2014 4:25 am
by Sieglinde Festkochend
jzhang18 wrote:Sieglinde Festkochend wrote:Tested with Advanced Dock and second Graphics-Card GT 640 1 GB Vram: full working with Luxmark Ball 1183 score and DVI
the second Card in Advanced Dock has only 1 PCI-E Lane but is okay for Video-Editing with Cuda
I have Advanced Dock and NVIDIA GT 640 2 GB card, But I cannot make it working. Do you use DSDT or not while putting on Advanced Dock? Any change in BIOS settings?
I used DSDT=No
No changes in Bios-Settings
Re: Mavericks 10.9 on a T61(p)
Posted: Fri Apr 18, 2014 9:27 am
by jzhang18
Sieglinde Festkochend wrote:
I used DSDT=No
No changes in Bios-Settings
Without DSDT, 2 major things you missed, Brightness Control and Cooling Fan Control. (also lose these features: some keys mapping, accurate ACPI table and some cosmetic descriptions in System Profiler) .
But you get more flexibility with varieties of peripherals, such as working with Advanced Dock.
Did you monitor your CPU temperature and frequency stepping without DSDT -- this is my most concern (running something heavy to torture CPU for about 2 hours, I hope it will not be overheated.)
Just one more reminding: NullCPUPowerManagement.kext is required when DSDT=No, NullCPUPowerManagement.kext should be removed when DSDT=Yes
Re: Mavericks 10.9 on a T61(p)
Posted: Fri Apr 18, 2014 10:46 am
by Madara-san
The one mayor problem is that I don't have and advanced dock nor any dock for my T61p. So I need to know what are the hardware ID's for the dock. Please try DPCIManager, or IoRegistry Explorer and upload a dump with and without DSDT.
Re: Mavericks 10.9 on a T61(p)
Posted: Fri Apr 18, 2014 10:51 am
by Sieglinde Festkochend
Hello madara-san, jzhang18 and anyone else,
i don´t know how to upload files here: I merged two DSDT. Your DSDT from your new package basically with a few lines from different DSDT (with working DVI). The result is an DSDT with working DVI and all the benefits from your´s.
Anyone interested in this file?
Sleep works! Mode 0 A
Re: Mavericks 10.9 on a T61(p)
Posted: Fri Apr 18, 2014 1:59 pm
by jzhang18
Madara-san wrote:The one mayor problem is that I don't have and advanced dock nor any dock for my T61p. So I need to know what are the hardware ID's for the dock. Please try DPCIManager, or IoRegistry Explorer and upload a dump with and without DSDT.
I will use DPCIManager to make a dump file for you. I have one, installed with NVIDIA GT640 2GB card on it.
Re: Mavericks 10.9 on a T61(p)
Posted: Fri Apr 18, 2014 2:00 pm
by jzhang18
Sieglinde Festkochend wrote:Hello madara-san, jzhang18 and anyone else,
i don´t know how to upload files here: I merged two DSDT. Your DSDT from your new package basically with a few lines from different DSDT (with working DVI). The result is an DSDT with working DVI and all the benefits from your´s.
Anyone interested in this file?
Sleep works! Mode 0 A
Really nice work! I would like to try your DSDT. I will PM you.
Re: Mavericks 10.9 on a T61(p)
Posted: Sat Apr 19, 2014 7:19 am
by Sieglinde Festkochend
10.9.1 installed in Advanced Mini-Dock. Bios Settings changed before installing: Display DVI+LCD (ThinkPad). But i don´t know if its really necessary to install with Docking-station. Everything else unchanged.
Installing without any problems and both Monitors working during Install. 10.9.1 MyHack and madra-sans new Package. After Install, if have changed the DSDT to my dviDSDT and i installed cuda Drivers for Mac
Shutdown the T61. Put it in de Advanced Dock and boot the System. It is working for me.
Re: Mavericks 10.9 on a T61(p)
Posted: Sat Apr 19, 2014 2:59 pm
by Sieglinde Festkochend
jzhang18,
maybe you have to disable Legacy-Devices in Dockingstation (Bios-Settings) and install cuda drivers from Nvidia Website
Re: Mavericks 10.9 on a T61(p)
Posted: Sun Apr 20, 2014 4:03 am
by Sieglinde Festkochend
DSDT=Yes (both DSDT´s are working I think, ecxept VGA/DVI). My dviDSDT is working with DVI.
Bios-Settings: Legacy Devices in Dockingstation disabled, Power Maximum Performance all Settings, Display Settings: Thinkpad Display and not tested with attached second Monitor (if you want, i can test this).
Install cuda drivers from Nvidia Website.
Luxmark allows different modes, only Luxball runs with internal Graphics. GT 640 increases score Factor 1:10 (here is the only one lane PCI-E not very important, OpenCL test)
Re: Mavericks 10.9 on a T61(p)
Posted: Sun Apr 20, 2014 4:48 am
by Sieglinde Festkochend
https://www.dropbox.com/s/zp19d7uivfhwvah/dviDSDT.zip
Installed with Myhack and 10.9.1 from Scratch with madara-san EXTRA2 Package on GUID-Harddisk. Installed with mini-Dock and attached DVI-Monitor (biossettings: Display DVI + LCD, disable legacy devices on Dock, Power maximum performance). After Install i changed the DSDT with my dviDSDT. That´s it. If you want to test the Cuda-Performance, you have to
install the cuda-drivers for Mac (Nvidia Website) and you can use an external Graphicscard in advanced Dock (Nvidia GT640 with max TDP 40 Watt, because this is the limit for the Card´s inside the Dockingstation. If there is more power consumption, the dock stops working).
sleep: okay
close lid: okay
i can´t find anything that is not working: thank you, madara-san
Further Setup: I had to copy the Mac-Partition from GUID-Disk over an existing partition (HFS+) on my SSD (with hdclone running from Win7 System) . So i`ve got a dualboot-System with chainloading from win7 Bootloader:
-first partition for 100 MB system (win7), second for win7, third for User-Data and last partition for Mac OS X and chameleon boot loader without any bootflags
Re: Mavericks 10.9 on a T61(p)
Posted: Sun Apr 20, 2014 6:42 pm
by jzhang18
Madara-san wrote:The one mayor problem is that I don't have and advanced dock nor any dock for my T61p. So I need to know what are the hardware ID's for the dock. Please try DPCIManager, or IoRegistry Explorer and upload a dump with and without DSDT.
I use IORegistryExplorer 3.0.2 to dump the IO information, (
http://www.osx86.net/files/file/3600-io ... yexplorer/)
First I use Sieglinde Festkochend's DSDT.aml, boot with Advanced Dock, dump the file, then boot without Dock, dump the file. zip 2 dump files as this one (
http://yaodi.zzl.org/DSDT.zip)
Second, without DSDT.aml, also dump 2 files, (with or without Dock). zip those 2 dump files as the 2nd one (
http://yaodi.zzl.org/NO_DSDT.zip)
My test machine is T61 (T9300 NVS 140M 128MB) .
With Sieglinde Festkochend's DSDT or No DSDT, Dock DVI works for both cases. Madara-san's DSDT shows dark screen when putting on Dock.
"Disable/Enable Legacy-Devices for Dock in BIOS" both seem OK. But I disable it in above test cases.
Re: Mavericks 10.9 on a T61(p)
Posted: Mon Apr 21, 2014 3:45 am
by Sieglinde Festkochend
Dark screen means backlight off, i think, if a dvi-Monitor is attached. VGA is working well with madara-san´s DSDT.
jzhang18, what´s about sleep and close lid with different DSDT´s? With dviDSDT both is working on my FX 570M 8889-CTO
Re: Mavericks 10.9 on a T61(p)
Posted: Mon Apr 21, 2014 8:37 am
by jzhang18
Sieglinde Festkochend wrote:
jzhang18, what´s about sleep and close lid with different DSDT´s? With dviDSDT both is working on my FX 570M 8889-CTO
Sleeping works for 10.9.1 not 10.9.2, because patched AppleACPIPlatform.kext only works well in 10.9.1.
with vanilla AppleACPIPlatform.kext in 10.9.2, sleeping works, but wake up with dead USB.
Re: Mavericks 10.9 on a T61(p)
Posted: Mon Apr 21, 2014 9:31 am
by Sieglinde Festkochend
some test results (Mac with T9500 cpu running @ 2400 Mhz) with nVidia GT 640 in Advanced Dock
cinebench OpenGL with GT 640 (bootsetting Display with only pci-e Graphic´s)
Win7: 40 FPS
Mac 10.9.1: 30 FPS
Luxmark Sala with GT 640
Win7: 207
Mac 10.9.1: 159
Re: Mavericks 10.9 on a T61(p)
Posted: Mon Apr 21, 2014 12:56 pm
by jzhang18
Sieglinde Festkochend wrote:some test results (Mac with T9500 cpu running @ 2400 Mhz) with nVidia GT 640 in Advanced Dock
cinebench OpenGL with GT 640 (bootsetting Display with only pci-e Graphic´s)
Win7: 40 FPS
Mac 10.9.1: 30 FPS
Luxmark Sala with GT 640
Win7: 207
Mac 10.9.1: 159
Why is "T9500 cpu running @ 2400 Mhz" , Did you use my boot in Page 5? I fixed Chameleon boot loader with correct FSB and CPU Frequency.
MAC has lower OpenGL benchmark than Win7, it seems always true.
When I insert Nvdia GT640 2GB card into Advanced Dock, among (5) T61, T61P machines, only one T61 14 inch (T8300 @2.4Ghz ) works, all rest cannot even boot. I guess Advanced Dock does not have enough power to drive them! -- noise come from the fan becomes so loud, I will change the fan with some quiet one.
Levono does not even support Advanced Dock technically.
Re: Mavericks 10.9 on a T61(p)
Posted: Mon Apr 21, 2014 3:36 pm
by Sieglinde Festkochend
-max TDP for Graphicscard in Advanced Dock is 40 Watt. Maybe your Card with 2 GB has more TDP. I choose my Card, because it has exactly 40 Watt TDP. If the Card tooks more electricity, the Dockingstation stops working immediatly
-I tried to use your boot, but i can´t manage it. Only in one case i saw 2,6Mhz in Hardware Monitor. I don´t know the problem, maybe it´s my chainboot an i try it once more with the GUID-Harddisk.
-The noisy fan is well known in the german wiki. It´s not easy to open the Dockingstation. Maybe you find some information here in german
http://thinkwiki.de/ThinkPad_Advanced_Dock
and here
http://thinkpad-forum.de/threads/63478- ... k-%F6ffnen
with some pictures. I needed 4 hours to install a new fan and electronic fancontrol... You have to know, that the external card has only 1 PCI-E Lane. It´s enough for cuda and openCL, but not for gaming.
Re: Mavericks 10.9 on a T61(p)
Posted: Mon Apr 21, 2014 4:20 pm
by jzhang18
Thanks for the information, need to find some free time to do that. I bought the silent fan for replacement a while ago. just feel too busy to do that.
Re: Mavericks 10.9 on a T61(p)
Posted: Wed Apr 23, 2014 9:38 am
by jzhang18
The easiest WWAN setup -- I found.
The WWAN card I want to choose -- supports both CDMA and GSM, supports HSPA+ 21Mb (not HSPA 7.2MB), under $30. Vender supports Mavericks
Then I found this one -- HuaWei EM820U (http://www.amazon.co...d/dp/B00AA6O44C)
Vender software -- http://consumer.huaw...8098&pro=EM820U
HUAWEI_DataCard_ClientSoftware_MAC-V200R003B015D02SP01C983(for Mac OS 10.9)
Installation and setup is easy, Release the screws from the back, remove the keyboard and palm rest bezel. Insert EM820U, connect red line to M (Main) connector, blue line to A (Auxiliary). put everything back. download and run package of
HUAWEI_DataCard_ClientSoftware_MAC-V200R003B015D02SP01C983(for Mac OS 10.9). it will install MAC OSX driver for EM820U and an application called Mobile Partner.
After reboot, there is new PPP device based on HuaWeiMobile-Modem is added into System Preferences ->Network. I can connect to T-Mobile 3G network directly from there, or using Mobile Partner, both work for me.
Under USB, I found HuaWei EM820U, but under WWAN, there is nothing.
So far, everything is straightforward, no tweak.
If your T61(p) is WWAN upgradable (WWAN antenna is installed). then you can use 3G on Mavericks
Re: Mavericks 10.9 on a T61(p)
Posted: Wed Apr 23, 2014 9:50 am
by jzhang18
Patch CellPhoneHelper.kext is really easy, because Mavericks supports "0x12D1/0x1446 Huawei E367"
Huawei E367 (USB-Modem) and Huawei EM820U (PCI-Card modem) use the same chipset: Qualcomm MDM8200A
So just copy the block of "0x12D1/0x1446 Huawei E367", rename as "0x12D1/0x140C6 Huawei EM820U", and update "idProduct" to "5132" from "5190" --done:
USB Device:
PPP setup in Network:
Menubar Icon:

Re: Mavericks 10.9 on a T61(p)
Posted: Wed Apr 23, 2014 9:52 am
by jzhang18
This is ppp.log, shows one complete connection session, notice "Communicating at 21600 bps". that is 21Mbps HSPA+ speed!
Code: Select all
on Apr 21 21:30:41 2014 : publish_entry SCDSet() failed: Success!
Mon Apr 21 21:30:41 2014 : publish_entry SCDSet() failed: Success!
Mon Apr 21 21:30:42 2014 : CCLWrite : A
Mon Apr 21 21:30:42 2014 : CCLWrite : T
Mon Apr 21 21:30:42 2014 : CCLWrite : \13
Mon Apr 21 21:30:42 2014 : CCLWrite : A
Mon Apr 21 21:30:42 2014 : CCLWrite : T
Mon Apr 21 21:30:42 2014 : CCLWrite : \13
Mon Apr 21 21:30:42 2014 : CCLWrite : A
Mon Apr 21 21:30:42 2014 : CCLWrite : T
Mon Apr 21 21:30:42 2014 : CCLWrite : \13
Mon Apr 21 21:30:42 2014 : CCLMatched : OK\13\10
Mon Apr 21 21:30:42 2014 : CCLWrite : ATE0V1&F&D2&C1&C2S0=0\13
Mon Apr 21 21:30:42 2014 : CCLMatched : OK\13\10
Mon Apr 21 21:30:42 2014 : CCLWrite : ATE0V1\13
Mon Apr 21 21:30:43 2014 : CCLMatched : OK\13\10
Mon Apr 21 21:30:43 2014 : CCLWrite : ATS7=60\13
Mon Apr 21 21:30:43 2014 : CCLMatched : OK\13\10
Mon Apr 21 21:30:43 2014 : Dialing without tone
Mon Apr 21 21:30:43 2014 : CCLWrite : ATX3S6=4\13
Mon Apr 21 21:30:43 2014 : CCLMatched : OK\13\10
Mon Apr 21 21:30:43 2014 : Dialing *99***1#
Mon Apr 21 21:30:43 2014 : CCLWrite : ATDT*99***1#\13
Mon Apr 21 21:30:43 2014 : CCLMatched : CONNECT
Mon Apr 21 21:30:43 2014 : CCLMatched : 21600
Mon Apr 21 21:30:43 2014 : Communicating at 21600 bps.
Mon Apr 21 21:30:46 2014 : CCLExit: 0
Mon Apr 21 21:30:46 2014 : Serial connection established.
Mon Apr 21 21:30:46 2014 : using link 0
Mon Apr 21 21:30:46 2014 : Using interface ppp0
Mon Apr 21 21:30:46 2014 : Connect: ppp0 <--> /dev/cu.HUAWEIMobile-Modem
Mon Apr 21 21:30:47 2014 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3eabcd5f> <pcomp> <accomp>]
Mon Apr 21 21:30:47 2014 : rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <auth chap MD5> <magic 0x3097938> <pcomp> <accomp>]
Mon Apr 21 21:30:47 2014 : No auth is possible
Mon Apr 21 21:30:47 2014 : lcp_reqci: returning CONFREJ.
Mon Apr 21 21:30:47 2014 : sent [LCP ConfRej id=0x4 <auth chap MD5>]
Mon Apr 21 21:30:47 2014 : rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3eabcd5f> <pcomp> <accomp>]
Mon Apr 21 21:30:47 2014 : rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x3097938> <pcomp> <accomp>]
Mon Apr 21 21:30:47 2014 : lcp_reqci: returning CONFACK.
Mon Apr 21 21:30:47 2014 : sent [LCP ConfAck id=0x5 <asyncmap 0x0> <magic 0x3097938> <pcomp> <accomp>]
Mon Apr 21 21:30:47 2014 : sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Mon Apr 21 21:30:47 2014 : sent [IPV6CP ConfReq id=0x1 <addr fe80::f2de:f1ff:fe07:2501>]
Mon Apr 21 21:30:47 2014 : rcvd [LCP DiscReq id=0x6 magic=0x3097938]
Mon Apr 21 21:30:47 2014 : rcvd [LCP ProtRej id=0x7 80 57 01 01 00 0e 01 0a f2 de f1 ff fe 07 25 01]
Mon Apr 21 21:30:48 2014 : rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Mon Apr 21 21:30:48 2014 : sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Mon Apr 21 21:30:49 2014 : rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Mon Apr 21 21:30:49 2014 : sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Mon Apr 21 21:30:50 2014 : rcvd [IPCP ConfReq id=0x2]
Mon Apr 21 21:30:50 2014 : ipcp: returning Configure-NAK
Mon Apr 21 21:30:50 2014 : sent [IPCP ConfNak id=0x2 <addr 0.0.0.0>]
Mon Apr 21 21:30:50 2014 : rcvd [IPCP ConfRej id=0x3 <compress VJ 0f 01>]
Mon Apr 21 21:30:50 2014 : sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Mon Apr 21 21:30:50 2014 : rcvd [IPCP ConfReq id=0x3]
Mon Apr 21 21:30:50 2014 : ipcp: returning Configure-ACK
Mon Apr 21 21:30:50 2014 : sent [IPCP ConfAck id=0x3]
Mon Apr 21 21:30:50 2014 : rcvd [IPCP ConfNak id=0x4 <addr 30.196.193.20> <ms-dns1 10.177.0.34> <ms-dns3 10.168.179.116>]
Mon Apr 21 21:30:50 2014 : sent [IPCP ConfReq id=0x5 <addr 30.196.193.20> <ms-dns1 10.177.0.34> <ms-dns3 10.168.179.116>]
Mon Apr 21 21:30:50 2014 : rcvd [IPCP ConfAck id=0x5 <addr 30.196.193.20> <ms-dns1 10.177.0.34> <ms-dns3 10.168.179.116>]
Mon Apr 21 21:30:50 2014 : ipcp: up
Mon Apr 21 21:30:50 2014 : Could not determine remote IP address: defaulting to 10.64.64.64
Mon Apr 21 21:30:50 2014 : local IP address 30.196.193.20
Mon Apr 21 21:30:50 2014 : remote IP address 10.64.64.64
Mon Apr 21 21:30:50 2014 : primary DNS address 10.177.0.34
Mon Apr 21 21:30:50 2014 : secondary DNS address 10.168.179.116
Mon Apr 21 21:30:50 2014 : Received protocol dictionaries
Mon Apr 21 21:30:50 2014 : Committed PPP store
Mon Apr 21 21:31:44 2014 : [DISCONNECT]
Mon Apr 21 21:31:44 2014 : Hangup (SIGHUP)
Mon Apr 21 21:31:44 2014 : ipcp: down
Mon Apr 21 21:31:44 2014 : sent [LCP TermReq id=0x2 "User request"]
Mon Apr 21 21:31:44 2014 : Connection terminated.
Mon Apr 21 21:31:44 2014 : Connect time 1.0 minutes.
Mon Apr 21 21:31:44 2014 : Sent 75431 bytes, received 465980 bytes.
Mon Apr 21 21:31:44 2014 : CCLWrite : +++
Mon Apr 21 21:31:46 2014 : CCLMatched : OK\13\10
Mon Apr 21 21:31:46 2014 : CCLWrite : ATH\13
Mon Apr 21 21:31:46 2014 : CCLMatched : OK\13\10
Mon Apr 21 21:31:46 2014 : CCLWrite : A
Mon Apr 21 21:31:46 2014 : CCLWrite : T
Mon Apr 21 21:31:46 2014 : CCLWrite : \13
Mon Apr 21 21:31:46 2014 : CCLMatched : OK\13\10
Mon Apr 21 21:31:46 2014 : CCLWrite : AT\13
Mon Apr 21 21:31:47 2014 : CCLExit: 0
Mon Apr 21 21:31:47 2014 : Serial link disconnected.
Re: Mavericks 10.9 on a T61(p)
Posted: Wed Apr 30, 2014 12:10 am
by JaavrOS
In case you haven't seen this, there is a standalone patch for the security bug in Mavericks. Since we're stuck on 10.9.1, this is useful...
http://www.sektioneins.de/en/blog/14-02 ... L-BUG.html
Re: Mavericks 10.9 on a T61(p)
Posted: Fri May 02, 2014 4:13 pm
by Sieglinde Festkochend
Hello jzhang18,
you posted already some geekbench results. Which Version of geekbench is running on your thinkpad? I want to compare your results with mine. My results on geek bench 3 64bit is 1447single and 2617multi and i have still problems with your boot an d my t9500
Thanks
Re: Mavericks 10.9 on a T61(p)
Posted: Sat May 03, 2014 6:45 pm
by jzhang18
There is big vulnerability found recently in OpenSSL/SSH, both Microsoft and Apple depend on it. They start to patch their OS almost the same time for it!
Re: Mavericks 10.9 on a T61(p)
Posted: Sat May 03, 2014 6:52 pm
by jzhang18
Sieglinde Festkochend wrote:Hello jzhang18,
you posted already some geekbench results. Which Version of geekbench is running on your thinkpad? I want to compare your results with mine. My results on geek bench 3 64bit is 1447single and 2617multi and i have still problems with your boot an d my t9500
Thanks
I still use old Geekbench v2.3.4. what is the issue with the boot file? -- I want to know, it should fix T9500 from 2.4Ghz (wrong) to 2.6Ghz.
Re: Mavericks 10.9 on a T61(p)
Posted: Sun May 04, 2014 10:05 am
by Sieglinde Festkochend
Hello jzhang18
What sort of software you are using to read out the current frequency of the cpu? HWMonitor?
Re: Mavericks 10.9 on a T61(p)
Posted: Sun May 04, 2014 10:42 am
by Sieglinde Festkochend
T9500 external clock is 200 MHz, as far as i know, and multiplication is 13x
but bdmesg says:
Chameleon 2.2svn (svn-r2362) [2014-01-30 20:18:31]
msr(486): ia32_perf_stat 0x06000e29
IDA is detected as enabled in BIOS
We disable IDA during Chameleon booting...
Correct wrong FSB frequency due to IDA
max: 14 current: 14
CPU: Brand String: Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz
CPU: Vendor/Family/ExtFamily: 0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping: 0x17/0x1/0x6
CPU: MaxCoef/CurrCoef: 0xe/0xe
CPU: MaxDiv/CurrDiv: 0x0/0x0
CPU: TSCFreq: 2593MHz
CPU: FSBFreq: 185MHz
CPU: CPUFreq: 2593MHz
CPU: NoCores/NoThreads: 2/2
CPU: Features: 0x0000035f
Re: Mavericks 10.9 on a T61(p)
Posted: Mon May 05, 2014 10:28 am
by jzhang18
Sieglinde Festkochend wrote:T9500 external clock is 200 MHz, as far as i know, and multiplication is 13x
but bdmesg says:
Chameleon 2.2svn (svn-r2362) [2014-01-30 20:18:31]
msr(486): ia32_perf_stat 0x06000e29
IDA is detected as enabled in BIOS
We disable IDA during Chameleon booting...
Correct wrong FSB frequency due to IDA
max: 14 current: 14
CPU: Brand String: Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz
CPU: Vendor/Family/ExtFamily: 0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping: 0x17/0x1/0x6
CPU: MaxCoef/CurrCoef: 0xe/0xe
CPU: MaxDiv/CurrDiv: 0x0/0x0
CPU: TSCFreq: 2593MHz
CPU: FSBFreq: 185MHz
CPU: CPUFreq: 2593MHz
CPU: NoCores/NoThreads: 2/2
CPU: Features: 0x0000035f
Yes, I use HWMonitor. I saw these information which I added into boot loader.
Code: Select all
IDA is detected as enabled in BIOS
We disable IDA during Chameleon booting...
Correct wrong FSB frequency due to IDA
But it should show:
max: 13 current: 13
CPU: TSCFreq: 2593MHz
CPU: FSBFreq: 199MHz
CPU: CPUFreq: 2593MHz
Let me check my code to see anything I overlooked.
Re: Mavericks 10.9 on a T61(p)
Posted: Mon May 05, 2014 8:51 pm
by jzhang18
I have laptop with Intel T7500, T8100, T8300, T7700, T9300, Frequency from 2.1Ghz to 2.5Ghz
I notice your bdmesg showing
CPU: FSBFreq: 185MHz
That is out of calculation range of my boot loader. Now I correct that (maxfsb = 186000000 from old value 185000000) . recompile it with XCODE.
Code: Select all
if ((p->CPU.Family == 0x06 && p->CPU.Model >= 0x0e) || (p->CPU.Family == 0x0f)) {
/* On these models, maxcoef defines TSC freq */
maxcoef = bitfield(msr, 44, 40);
if(ida == 1)
{
DBG("IDA is detected as enabled in BIOS\n");
msr_ida = rdmsr64(MSR_IA32_MISC_ENABLE);
////msr.hi |= (1 << (38-32)); /*|= (1 << (38-32));*/
msr_ida |= (1ull << 38);
wrmsr64(MSR_IA32_MISC_ENABLE, msr_ida);
DBG("We disable IDA during Chameleon booting...\n");
DBG("Correct wrong FSB frequency due to IDA\n");
uint64_t minfsb = 182000000, maxfsb = 186000000;
if (maxcoef) {
if (maxdiv) {
fsbFrequency = ((tscFrequency * 2) / ((maxcoef * 2) + 1));
} else {
fsbFrequency = (tscFrequency / maxcoef);
}
}
if ((fsbFrequency > minfsb) && (fsbFrequency < maxfsb))
{
maxcoef--;
currcoef--;
if (currcoef < maxcoef) {currcoef =maxcoef; }
}
}
maxcoef_o=bitfield(msr, 44, 40);
currcoef_o=bitfield(msr, 12, 8);
} else {
/* On lower models, currcoef defines TSC freq */
/* XXX */
maxcoef = currcoef;
}
if (maxcoef) {
if (maxdiv) {
fsbFrequency = ((tscFrequency * 2) / ((maxcoef * 2) + 1));
} else {
fsbFrequency = (tscFrequency / maxcoef);
}
if (currdiv) {
cpuFrequency = (fsbFrequency * ((currcoef * 2) + 1) / 2);
} else {
cpuFrequency = (fsbFrequency * currcoef);
}
maxcoef = maxcoef_o;
currcoef =currcoef_o;
DBG("max: %d%s current: %d%s\n", maxcoef, maxdiv ? ".5" : "",currcoef, currdiv ? ".5" : "");
}
}
I will publish the new boot loader soon.