Jump to content

Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)


theconnactic
 Share

6,414 posts in this topic

Recommended Posts

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 by bcobco
Link to comment
Share on other sites

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 by bcobco
Link to comment
Share on other sites

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&section=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

on my cpu with FX6100

the L1,L2,L3 cache correctly detected

even on the system info, cpu-x, sysctl :thumbsup_anim:

but the one and the only problem is the artifacts :(

:D

Link to comment
Share on other sites

Please test it is kernel & cache_size !  :D

attachicon.gifmach_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  :thumbsup_anim:

 

 

+ system profile could also detect the L3,

-  but unfortunately the L3's value was still incorrect,  6.5 MB  instead of 6 MB  bingungs.gif

 

 

Screen_Shot_2013_06_25_at_3_53_55_AM.png

 

 

 

bz4a_02.png

 

bz4a_01.png

 

 

 

 http://products.amd.com/en-us/DesktopCPUDetail.aspx?id=617

 

 

 

no offense bcobco :)

but are you sure your L3 size is correct ?

 

Screen_Shot_2013_06_25_at_11_40_14_AM.pn

 

 

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

:)

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 by bcobco
Link to comment
Share on other sites

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

Yes , now fixed .

Download fixed kernel & cache_size !

attachicon.gifmach_10.8.3_fixed_rc4.zip

 

 

Thanks a million mate :)

You're really a smart developer !   :thumbsup_anim:

 

 

with the latest kernel (10.8.3-rc4_fixed2), the system profiler can read my cpu details correctly

 

Screen_Shot_2013_06_26_at_12_49_21_AM.pn

 

 

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

 

 

 

 

bz4b_02.png

 

bz4b_01.png

 

bz4b_03.png

 

bz4b_04.png

 

 

 

 

 

  • Like 3
Link to comment
Share on other sites

working here

 

Last login: Tue Jun 25 20:26:37 on console
ccs-iMac:~ cc$ 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 524288 2097152 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: 2097152
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 = 574980096
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 = 2097152
hw.tbfrequency = 1000000000
hw.memsize = 4294967296
hw.availcpu = 2
ccs-iMac:~ cc$ sudo dmesg

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing 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 0x0
FSB Detection: calculated Mult 0, cpuFreq 0rtclock_init: Phenom MSR 0xc0010071
BUS: Frequency = 200.000000MHz, cvtt2n = 00000005x.00000000x, cvtn2t = 00000000x.33333333x
TSC: Frequency = 3000.000000MHz, cvtt2n = 00000000x.55555555x, cvtn2t = 00000003x.00000003x, gran = 15
Darwin 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_64
vm_page_bootstrap: 695546 free pages and 353030 wired pages
kext submap [0xffffff7f8080f000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff800080f000]
zone leak detection enabled
standard timeslicing quantum is 10000 us
standard background quantum is 2500 us
mig_table_max_displ = 74
CPU identification: AMD Athlon 7850 Dual-Core Processor
HTT: 2 cores per package; 2 logical cpus per package
SAFE BOOT DETECTED - only valid OSBundleRequired kexts will be loaded.
corecrypto kext started!
Running kernel space in FIPS MODE
Plist hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
Computed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
corecrypto.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.AppleIntelCPUPowerManagement
NullCPUPowerManagement::init: properties=0xffffff8008471b40
NullCPUPowerManagement::start
AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
AppleACPICPU: ProcessorId=2 LocalApicId=2 Disabled
AppleACPICPU: ProcessorId=3 LocalApicId=3 Disabled
calling mpo_policy_init for Sandbox
Security policy loaded: Seatbelt sandbox policy (Sandbox)
calling mpo_policy_init for Quarantine
Security policy loaded: Quarantine policy (Quarantine)
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 16384 buffer headers and 10240 cluster IO buffer headers
IOAPIC: Version 0x21 Vectors 64:87
ACPI: 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 misused
USBF: 1.323 AppleUSBEHCI[0xffffff8008620000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.325 AppleUSBEHCI[0xffffff800861b000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.378 AppleUSBOHCI[0xffffff8008621000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.388 AppleUSBOHCI[0xffffff800861a000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.389 AppleUSBOHCI[0xffffff8008618000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.390 AppleUSBOHCI[0xffffff8008618000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1e00
rooting via boot-uuid from /chosen: 6AC566AB-6447-3CC0-917A-88ECD2133AA0
Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-media
com.apple.AppleFSCompressionTypeDataless kmod start
USBF: 1.491 AppleUSBOHCI[0xffffff8008e34000]::CheckSleepCapability - controller will be unloaded across sleep
com.apple.AppleFSCompressionTypeZlib kmod start
FireWire runtime power conservation disabled. (2)
com.apple.AppleFSCompressionTypeDataless load succeeded
com.apple.AppleFSCompressionTypeZlib load succeeded
FireWire (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@3
BSD root: disk0s3, major 1, minor 3
jnl: unknown-dev: replay_journal: from: 3671040 to: 3288064 (joffset 0x94000)
USBF: 6.801 AppleUSBOHCI[0xffffff800861f000]::CheckSleepCapability - controller will be unloaded across sleep
jnl: unknown-dev: journal replay done.
Kernel is LP64
hfs: Removed 1 orphaned / unlinked files and 3 directories
macx_swapon SUCCESS
Previous Shutdown Cause: 3
NVDAStartup: Official
ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
WARNING: IOPlatformPluginUtil : getCPUIDInfo unknown CPU family: family 0x10, model 0x2
-- power management may be incomplete or unsupported
NVDAGF100HAL loaded and registered
[iOBluetoothHCIController][start] -- completed
ccs-iMac:~ cc$

 

salute!

Link to comment
Share on other sites

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

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!

  • Like 3
Link to comment
Share on other sites

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!

  • Like 8
Link to comment
Share on other sites

 Share

×
×
  • Create New...