bcobco Posted June 24, 2013 Share Posted June 24, 2013 (edited) cache_size L1D: 65536 cache_size L1I: 65536 cache_size L2U: 524288 cache_size L3U: 2621440 i ran your program in 10.7.5-rc15 and 10.8.3-rc4, both shows the same result BUT the output of sysctl -A hw in 10.8.3-rc4 does not have any hw.l3* line! (see sysctl here http://www.insanelymac.com/forum/topic/281450-mountain-lion-kernel-testing-on-amd-dont-ask-help-here-use-the-help-topic/page-131?do=findComment&comment=1927422) while in 10.7.5-rc15 sysctl reports various hw.l3* lines Edited June 24, 2013 by bcobco Link to comment Share on other sites More sharing options...
Bronya Posted June 24, 2013 Share Posted June 24, 2013 bcobco, please test kernel & cache_size. mach_10.8.3_rc4_fix.zip Link to comment Share on other sites More sharing options...
bcobco Posted June 24, 2013 Share Posted June 24, 2013 bcobco, please test kernel & cache_size. mach_10.8.3_rc4_fix.zip Link to comment Share on other sites More sharing options...
Bronya Posted June 24, 2013 Share Posted June 24, 2013 omg . sorry, i forgot ! wait ... you try flag colors=32 Link to comment Share on other sites More sharing options...
bcobco Posted June 24, 2013 Share Posted June 24, 2013 (edited) omg . sorry, i forgot ! wait ... you try flag colors=32 yea that flag fixed the boot sysctl -A hw hw.ncpu: 2 hw.byteorder: 1234 hw.memsize: 4294967296 hw.activecpu: 2 hw.physicalcpu: 2 hw.physicalcpu_max: 2 hw.logicalcpu: 2 hw.logicalcpu_max: 2 hw.cputype: 7 hw.cpusubtype: 4 hw.cpu64bit_capable: 1 hw.cpufamily: 16 hw.cacheconfig: 1 1 1 2 0 0 0 0 0 0 hw.cachesize: 65536 65536 512 2621440 0 0 0 0 0 0 hw.pagesize: 4096 hw.busfrequency: 800000000 hw.busfrequency_min: 800000000 hw.busfrequency_max: 800000000 hw.cpufrequency: 3000000000 hw.cpufrequency_min: 3000000000 hw.cpufrequency_max: 3000000000 hw.cachelinesize: 64 hw.l1icachesize: 65536 hw.l1dcachesize: 65536 hw.l2cachesize: 512 hw.l3cachesize: 2621440 hw.tbfrequency: 1000000000 hw.packages: 1 hw.optional.floatingpoint: 1 hw.optional.mmx: 1 hw.optional.sse: 1 hw.optional.sse2: 1 hw.optional.sse3: 1 hw.optional.supplementalsse3: 1 hw.optional.sse4_1: 0 hw.optional.sse4_2: 0 hw.optional.x86_64: 1 hw.optional.aes: 0 hw.optional.avx1_0: 0 hw.optional.rdrand: 0 hw.optional.f16c: 0 hw.optional.enfstrg: 0 hw.optional.patcher_opts: 48 hw.machine = x86_64 hw.model = iMac8,1 hw.ncpu = 2 hw.byteorder = 1234 hw.physmem = 2147483648 hw.usermem = 639266816 hw.pagesize = 4096 hw.epoch = 0 hw.vectorunit = 1 hw.busfrequency = 800000000 hw.cpufrequency = 3000000000 hw.cachelinesize = 64 hw.l1icachesize = 65536 hw.l1dcachesize = 65536 hw.l2settings = 1 hw.l2cachesize = 512 hw.l3settings = 1 hw.l3cachesize = 2621440 hw.tbfrequency = 1000000000 hw.memsize = 4294967296 hw.availcpu = 2 notice the smaller size of L2 against working 10.7.5-rc15: hw.ncpu: 2 hw.byteorder: 1234 hw.memsize: 4294967296 hw.activecpu: 2 hw.physicalcpu: 2 hw.physicalcpu_max: 2 hw.logicalcpu: 2 hw.logicalcpu_max: 2 hw.cputype: 7 hw.cpusubtype: 4 hw.cpu64bit_capable: 1 hw.cpufamily: 16 hw.cacheconfig: 2 1 1 2 0 0 0 0 0 0 hw.cachesize: 4294967296 65536 524288 2621440 0 0 0 0 0 0 hw.pagesize: 4096 hw.busfrequency: 800000000 hw.busfrequency_min: 800000000 hw.busfrequency_max: 800000000 hw.cpufrequency: 3000000000 hw.cpufrequency_min: 3000000000 hw.cpufrequency_max: 3000000000 hw.cachelinesize: 64 hw.l1icachesize: 65536 hw.l1dcachesize: 65536 hw.l2cachesize: 524288 hw.l3cachesize: 2621440 hw.tbfrequency: 1000000000 hw.packages: 1 hw.optional.floatingpoint: 1 hw.optional.mmx: 1 hw.optional.sse: 1 hw.optional.sse2: 1 hw.optional.sse3: 1 hw.optional.supplementalsse3: 0 hw.optional.sse4_1: 0 hw.optional.sse4_2: 1 hw.optional.x86_64: 1 hw.optional.aes: 0 hw.optional.avx1_0: 0 hw.optional.rdrand: 0 hw.optional.f16c: 0 hw.optional.enfstrg: 0 hw.machine = i386 hw.model = MacPro3,1 hw.ncpu = 2 hw.byteorder = 1234 hw.physmem = 2147483648 hw.usermem = 1667051520 hw.pagesize = 4096 hw.disknames: no such MIB hw.diskstats: no such MIB hw.epoch = 0 hw.floatingpoint: no such MIB hw.machinearch: no such MIB hw.vectorunit = 1 hw.busfrequency = 800000000 hw.cpufrequency = 3000000000 hw.cachelinesize = 64 hw.l1icachesize = 65536 hw.l1dcachesize = 65536 hw.l2settings = 1 hw.l2cachesize = 524288 hw.l3settings = 1 hw.l3cachesize = 2621440 hw.tbfrequency = 1000000000 hw.memsize = 4294967296 hw.availcpu = 2 also diff in hw.cacheconfig and hw.cachesize Edited June 24, 2013 by bcobco Link to comment Share on other sites More sharing options...
Bronya Posted June 24, 2013 Share Posted June 24, 2013 Please test it is kernel & cache_size ! mach_10.8.3_fix_rc4.zip 4 Link to comment Share on other sites More sharing options...
bcobco Posted June 25, 2013 Share Posted June 25, 2013 in order to fix the nvidia issue: can this be applied to obtain useful data? http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptDebugger/debug_tutorial.html thanks in advance Link to comment Share on other sites More sharing options...
Bronya Posted June 25, 2013 Share Posted June 25, 2013 in order to fix the nvidia issue: can this be applied to obtain useful data? http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptDebugger/debug_tutorial.html thanks in advance yes , i have no two computer You tried latest kernel ? )) Link to comment Share on other sites More sharing options...
bcobco Posted June 25, 2013 Share Posted June 25, 2013 i also dont have two computers and i will not have another new one because {censored} job and little money yes i tried latest http://www.insanelymac.com/forum/index.php?app=core&module=attach§ion=attach&attach_id=126240 works as expected. GOOD WORK BRONYA!! i reproduced the sbcl (maxima) opemu bug and i saw some different values, if someone is interested please ask me to upload a photo of that kernel panic Link to comment Share on other sites More sharing options...
Bronya Posted June 25, 2013 Share Posted June 25, 2013 bcobco, i same getting panic from "maxima" . i searching it is problem . it is real hard , invisible mistake. 1 Link to comment Share on other sites More sharing options...
mac_carol Posted June 25, 2013 Share Posted June 25, 2013 mac_carol, please check in terminal : ./cache_size and resultat here ! cache_size.zip sorry for the late reply same as bcobco, your binary could report my L3's value, but the sysctl couldn't Link to comment Share on other sites More sharing options...
aziiz3 Posted June 25, 2013 Share Posted June 25, 2013 on my cpu with FX6100 the L1,L2,L3 cache correctly detected even on the system info, cpu-x, sysctl but the one and the only problem is the artifacts Link to comment Share on other sites More sharing options...
mac_carol Posted June 25, 2013 Share Posted June 25, 2013 Please test it is kernel & cache_size ! mach_10.8.3_fix_rc4.zip Thanks again for the update with your latest kernel (10.8.3-rc4_fix) : + system profile reported the L2 cache with an additional info (per Core) --> so totally the L2 was detected correctly = 4 x 512 KB + system profile could also detect the L3, - but unfortunately the L3's value was still incorrect, 6.5 MB instead of 6 MB http://products.amd.com/en-us/DesktopCPUDetail.aspx?id=617 yes i tried latest http://www.insanelymac.com/forum/index.php?app=core&module=attach§ion=attach&attach_id=126240 works as expected. no offense bcobco but are you sure your L3 size is correct ? your L3 = 2621440 Bytes = 2621440 / 1024 / 1024 MB = 2.5 MB --> which is 512 KB greater than it should be http://products.amd.com/en-us/DesktopCPUDetail.aspx?id=535 Link to comment Share on other sites More sharing options...
bcobco Posted June 25, 2013 Share Posted June 25, 2013 (edited) bcobco, i same getting panic from "maxima" . i searching it is problem . it is real hard , invisible mistake. the good thing about this bug is that maxima and sbcl are open source, someone who knows to read source code maybe can see what those programs are doing, what are causing the kernel panic http://sourceforge.net/projects/maxima/files/ http://www.sbcl.org/platform-table.html your L3 = 2621440 Bytes = 2621440 / 1024 / 1024 MB = 2.5 MB --> which is 512 KB greater than it should be http://products.amd.com/en-us/DesktopCPUDetail.aspx?id=535 didnt noticed that. good eye mac_carol. maybe cache values are wrong, i dont know how this affects to the system. ps: is someone on the irc chat? Edited June 25, 2013 by bcobco Link to comment Share on other sites More sharing options...
djdarkrider Posted June 25, 2013 Share Posted June 25, 2013 Thanks to Bronya for his work! Спасибо за Вашу работу!Special thanks to gils83 for his patience and my Hackintosh up and running on FX-4100! With latest kernel and Clover flags npci=0x2000 colors=32 GraphicsInjector=Yes my monitor went to sleep mode at boot. With GraphicsInjector=No it boots fine, except artifacts in the system. Do I have just wait for perfect solution for my ATI Radeon HD7970? Link to comment Share on other sites More sharing options...
Bronya Posted June 25, 2013 Share Posted June 25, 2013 your L3 = 2621440 Bytes = 2621440 / 1024 / 1024 MB = 2.5 MB --> which is 512 KB greater than it should be http://products.amd.com/en-us/DesktopCPUDetail.aspx?id=535 Yes , now fixed . Download fixed kernel & cache_size ! mach_10.8.3_fixed_rc4.zip 6 Link to comment Share on other sites More sharing options...
mac_carol Posted June 25, 2013 Share Posted June 25, 2013 Yes , now fixed . Download fixed kernel & cache_size ! mach_10.8.3_fixed_rc4.zip Thanks a million mate You're really a smart developer ! with the latest kernel (10.8.3-rc4_fixed2), the system profiler can read my cpu details correctly and you might be right about the false reading of the bus-speed (HT-Link), which might be related to the Chameleon/SMBIOS issue, it's not the kernel's fault 3 Link to comment Share on other sites More sharing options...
bcobco Posted June 25, 2013 Share Posted June 25, 2013 working here Last login: Tue Jun 25 20:26:37 on consoleccs-iMac:~ cc$ sysctl -A hwhw.ncpu: 2hw.byteorder: 1234hw.memsize: 4294967296hw.activecpu: 2hw.physicalcpu: 2hw.physicalcpu_max: 2hw.logicalcpu: 2hw.logicalcpu_max: 2hw.cputype: 7hw.cpusubtype: 4hw.cpu64bit_capable: 1hw.cpufamily: 16hw.cacheconfig: 1 1 1 2 0 0 0 0 0 0hw.cachesize: 65536 65536 524288 2097152 0 0 0 0 0 0hw.pagesize: 4096hw.busfrequency: 800000000hw.busfrequency_min: 800000000hw.busfrequency_max: 800000000hw.cpufrequency: 3000000000hw.cpufrequency_min: 3000000000hw.cpufrequency_max: 3000000000hw.cachelinesize: 64hw.l1icachesize: 65536hw.l1dcachesize: 65536hw.l2cachesize: 524288hw.l3cachesize: 2097152hw.tbfrequency: 1000000000hw.packages: 1hw.optional.floatingpoint: 1hw.optional.mmx: 1hw.optional.sse: 1hw.optional.sse2: 1hw.optional.sse3: 1hw.optional.supplementalsse3: 1hw.optional.sse4_1: 0hw.optional.sse4_2: 0hw.optional.x86_64: 1hw.optional.aes: 0hw.optional.avx1_0: 0hw.optional.rdrand: 0hw.optional.f16c: 0hw.optional.enfstrg: 0hw.optional.patcher_opts: 48hw.machine = x86_64hw.model = iMac8,1hw.ncpu = 2hw.byteorder = 1234hw.physmem = 2147483648hw.usermem = 574980096hw.pagesize = 4096hw.disknames: no such MIBhw.diskstats: no such MIBhw.epoch = 0hw.floatingpoint: no such MIBhw.machinearch: no such MIBhw.vectorunit = 1hw.busfrequency = 800000000hw.cpufrequency = 3000000000hw.cachelinesize = 64hw.l1icachesize = 65536hw.l1dcachesize = 65536hw.l2settings = 1hw.l2cachesize = 524288hw.l3settings = 1hw.l3cachesize = 2097152hw.tbfrequency = 1000000000hw.memsize = 4294967296hw.availcpu = 2ccs-iMac:~ cc$ sudo dmesg WARNING: Improper use of the sudo command could lead to data lossor the deletion of important system files. Please double-check yourtyping when using sudo. Type "man sudo" for more information.To proceed, enter your password, or type Ctrl-C to abort.Password:Multiplayer detection: family 0x15, model 0x2, stepping 3, extFamily 0x1, extModel 0x0FSB Detection: calculated Mult 0, cpuFreq 0rtclock_init: Phenom MSR 0xc0010071BUS: Frequency = 200.000000MHz, cvtt2n = 00000005x.00000000x, cvtn2t = 00000000x.33333333xTSC: Frequency = 3000.000000MHz, cvtt2n = 00000000x.55555555x, cvtn2t = 00000003x.00000003x, gran = 15Darwin Kernel Version 12.3.0: \M-P\M-2\M-Q\M^B\M-P\M->\M-Q\M^@\M-P\M-=\M-P\M-8\M-P\M-:, 25 \M-P\M-8\M-Q\M^N\M-P\M-=\M-Q\M^O 2013 \M-P\M-3. 20:52:16 (MSK); root:xnu-2050.22.13_amd/BUILD/obj//RELEASE_X86_64vm_page_bootstrap: 695546 free pages and 353030 wired pageskext submap [0xffffff7f8080f000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff800080f000]zone leak detection enabledstandard timeslicing quantum is 10000 usstandard background quantum is 2500 usmig_table_max_displ = 74CPU identification: AMD Athlon 7850 Dual-Core ProcessorHTT: 2 cores per package; 2 logical cpus per packageSAFE BOOT DETECTED - only valid OSBundleRequired kexts will be loaded.corecrypto kext started!Running kernel space in FIPS MODEPlist hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757dComputed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757dcorecrypto.kext FIPS integrity POST test passed!corecrypto.kext FIPS AES CBC POST test passed!corecrypto.kext FIPS TDES CBC POST test passed!corecrypto.kext FIPS SHA POST test passed!corecrypto.kext FIPS HMAC POST test passed!corecrypto.kext FIPS ECDSA POST test passed!corecrypto.kext FIPS DRBG POST test passed!corecrypto.kext FIPS POST passed!warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelCPUPowerManagementNullCPUPowerManagement::init: properties=0xffffff8008471b40NullCPUPowerManagement::startAppleACPICPU: ProcessorId=0 LocalApicId=0 EnabledAppleACPICPU: ProcessorId=1 LocalApicId=1 EnabledAppleACPICPU: ProcessorId=2 LocalApicId=2 DisabledAppleACPICPU: ProcessorId=3 LocalApicId=3 Disabledcalling mpo_policy_init for SandboxSecurity policy loaded: Seatbelt sandbox policy (Sandbox)calling mpo_policy_init for QuarantineSecurity policy loaded: Quarantine policy (Quarantine)calling mpo_policy_init for TMSafetyNetSecurity policy loaded: Safety net for Time Machine (TMSafetyNet)Copyright © 1982, 1986, 1989, 1991, 1993The Regents of the University of California. All rights reserved.MAC Framework successfully initializedusing 16384 buffer headers and 10240 cluster IO buffer headersIOAPIC: Version 0x21 Vectors 64:87ACPI: System State [s0 S3 S4 S5]PFM64 (44 cpu) 0xfff80000000, 0x80000000[ PCI configuration begin ]PCI configuration changed (bridge=4 device=1 cardbus=0)[ PCI configuration end, bridges 6 devices 21 ]mbinit: done [64 MB total pool size, (42/21) split]Pthread support ABORTS when sync kernel primitives misusedUSBF: 1.323 AppleUSBEHCI[0xffffff8008620000]::CheckSleepCapability - controller will be unloaded across sleepUSBF: 1.325 AppleUSBEHCI[0xffffff800861b000]::CheckSleepCapability - controller will be unloaded across sleepUSBF: 1.378 AppleUSBOHCI[0xffffff8008621000]::CheckSleepCapability - controller will be unloaded across sleepUSBF: 1.388 AppleUSBOHCI[0xffffff800861a000]::CheckSleepCapability - controller will be unloaded across sleepUSBF: 1.389 AppleUSBOHCI[0xffffff8008618000]::CheckSleepCapability - controller will be unloaded across sleepUSBF: 1.390 AppleUSBOHCI[0xffffff8008618000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1e00rooting via boot-uuid from /chosen: 6AC566AB-6447-3CC0-917A-88ECD2133AA0Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-mediacom.apple.AppleFSCompressionTypeDataless kmod startUSBF: 1.491 AppleUSBOHCI[0xffffff8008e34000]::CheckSleepCapability - controller will be unloaded across sleepcom.apple.AppleFSCompressionTypeZlib kmod startFireWire runtime power conservation disabled. (2)com.apple.AppleFSCompressionTypeDataless load succeededcom.apple.AppleFSCompressionTypeZlib load succeededFireWire (OHCI) TI ID 823f PCI now active, GUID 7856341278563412; max speed s800.Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@11/AppleAHCI/PRID@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/ST3320613AS Media/IOGUIDPartitionScheme/test123@3BSD root: disk0s3, major 1, minor 3jnl: unknown-dev: replay_journal: from: 3671040 to: 3288064 (joffset 0x94000)USBF: 6.801 AppleUSBOHCI[0xffffff800861f000]::CheckSleepCapability - controller will be unloaded across sleepjnl: unknown-dev: journal replay done.Kernel is LP64hfs: Removed 1 orphaned / unlinked files and 3 directoriesmacx_swapon SUCCESSPrevious Shutdown Cause: 3NVDAStartup: OfficialACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed outWARNING: IOPlatformPluginUtil : getCPUIDInfo unknown CPU family: family 0x10, model 0x2-- power management may be incomplete or unsupportedNVDAGF100HAL loaded and registered[iOBluetoothHCIController][start] -- completedccs-iMac:~ cc$ salute! Link to comment Share on other sites More sharing options...
JorgeMax Posted June 25, 2013 Share Posted June 25, 2013 Bronya, these failures to load the kexts related to my video card underlined, is that not why you're doing the graphics fail? Link to comment Share on other sites More sharing options...
JorgeMax Posted June 25, 2013 Share Posted June 25, 2013 These errors are caused by the last version of Chamelion (r2246), but they influence nothing. When you downgrade to r2181 for example, error messages will disappear. But it change nothing. So there's no future problems? I am using version r2251 chameleon. Link to comment Share on other sites More sharing options...
theconnactic Posted June 26, 2013 Author Share Posted June 26, 2013 Jorge and Bronzovka, By talking in russian on an english speaking forum, the obvious consequence is that nobody can follow the conversation, except for you both. The outcome is a slow chat, one of the greatest disturbances that could happen in a public forum. I'm going to delete all these messages in half an hour, and i truly count on you guys so that doesn't happen again. Much appreciated. All the best! 3 Link to comment Share on other sites More sharing options...
hzhjy123 Posted June 26, 2013 Share Posted June 26, 2013 I use fixed_rc4 on 10.8.4 with artifacts. I will wait for fix. Link to comment Share on other sites More sharing options...
Andy Vandijck Posted June 26, 2013 Share Posted June 26, 2013 Yes , now fixed . Download fixed kernel & cache_size ! mach_10.8.3_fixed_rc4.zip Bronzovka, some moderator should add you to the Coder's group.You deserve it. Brilliant work! 8 Link to comment Share on other sites More sharing options...
Bronya Posted June 26, 2013 Share Posted June 26, 2013 Amazingly ... Thanks. =))) 7 Link to comment Share on other sites More sharing options...
carlo_67 Posted June 27, 2013 Share Posted June 27, 2013 Bronya confirm what was said by AnVCongratulations for the work done 1 Link to comment Share on other sites More sharing options...
Recommended Posts