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

BSA_kernel V8

bash-3.2# sysctl -a machdep.cpu
machdep.cpu.max_basic: 6
machdep.cpu.max_ext: 2147483675
machdep.cpu.vendor: AuthenticAMD
machdep.cpu.brand_string: AMD Phenom(tm) II X6 1100T Processor
machdep.cpu.family: 16
machdep.cpu.model: 10
machdep.cpu.extmodel: 0
machdep.cpu.extfamily: 1
machdep.cpu.stepping: 0
machdep.cpu.feature_bits: 394984447 8396809
machdep.cpu.extfeature_bits: 4022598655 14335
machdep.cpu.signature: 1052576
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PSE36 CLFSH MMX FXSR SSE SSE2 HTT SSE3 MON CX16 POPCNT
machdep.cpu.extfeatures: SYSCALL 1GBPAGE EM64T LAHF RDTSCP TSCI
machdep.cpu.logical_per_package: 6
machdep.cpu.cores_per_package: 6
machdep.cpu.microcode_version: 0
machdep.cpu.processor_flag: 0
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 0
machdep.cpu.thermal.sensor: 0
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 0
machdep.cpu.thermal.thresholds: 0
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 0
machdep.cpu.thermal.fine_grain_clock_mod: 0
machdep.cpu.thermal.package_thermal_intr: 0
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 0
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 16
machdep.cpu.cache.size: 524288
machdep.cpu.address_bits.physical: 48
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 6
machdep.cpu.thread_count: 6
bash-3.2# 

bash-3.2# sysctl -a hw.optional
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: 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.fma: 0
hw.optional.avx2_0: 0
hw.optional.bmi1: 0
hw.optional.bmi2: 0
hw.optional.rtm: 0
hw.optional.hle: 0
bash-3.2# 

reboot does not work but it works all fine :)

  • Like 1
Link to comment
Share on other sites

I did some more work on the opemu.

Right now it supports perfectly the 4 string compare functions (had to change 2 things to the opemu: the different flags and make sure I could assign XMM0 directly as target (base))

I built the kernel...

It builds without warnings.

Spakk's kernel is Sinetek kernel with probably new opemu.

Mine is work from Sinetek, Bronzovka and myself...

Kernel and source diff attached below :D

Still todo: CRC32 instruction and POPCNT... then SSE4.2 bit can be used in the kernel...

BRONYA_ANV_SINETEK_R7.diff.zip

BSA_kernel.zip

  • Like 5
Link to comment
Share on other sites

I did some more work on the opemu.

Right now it supports perfectly the 4 string compare functions (had to change 2 things to the opemu: the different flags and make sure I could assign XMM0 directly as target (base))

I built the kernel...

It builds without warnings.

Spakk's kernel is Sinetek kernel with probably new opemu.

Mine is work from Sinetek, Bronzovka and myself...

Kernel and source diff attached below :D

Still todo: CRC32 instruction and POPCNT... then SSE4.2 bit can be used in the kernel...

it is right, it was sinetek kernel with your new Opemu. It was a misunderstanding from me sorry  :rofl:

bash-3.2# uname -a
Darwin localhost 13.0.0 Darwin Kernel Version 13.0.0: ma  6 jan 2014 12:40:06 CET; andyvand:xnu-2422.1.72-AMD/BUILD/obj/RELEASE_X86_64 x86_64
bash-3.2# 
Last login: Mon Jan  6 13:02:32 on console
localhost:~ spakk$ sysctl -a machdep.cpu
machdep.cpu.max_basic: 6
machdep.cpu.max_ext: 2147483675
machdep.cpu.vendor: AuthenticAMD
machdep.cpu.brand_string: AMD Phenom(tm) II X6 1100T Processor
machdep.cpu.family: 16
machdep.cpu.model: 10
machdep.cpu.extmodel: 0
machdep.cpu.extfamily: 1
machdep.cpu.stepping: 0
machdep.cpu.feature_bits: 395049983 8397321
machdep.cpu.extfeature_bits: 4022598655 14335
machdep.cpu.signature: 1052576
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH MMX FXSR SSE SSE2 HTT SSE3 MON SSSE3 CX16 POPCNT
machdep.cpu.extfeatures: SYSCALL 1GBPAGE EM64T LAHF RDTSCP TSCI
machdep.cpu.logical_per_package: 6
machdep.cpu.cores_per_package: 6
machdep.cpu.microcode_version: 21
machdep.cpu.processor_flag: 1
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 0
machdep.cpu.thermal.sensor: 0
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 0
machdep.cpu.thermal.thresholds: 0
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 0
machdep.cpu.thermal.fine_grain_clock_mod: 0
machdep.cpu.thermal.package_thermal_intr: 0
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 0
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 16
machdep.cpu.cache.size: 524288
machdep.cpu.tlb.inst.small: 32
machdep.cpu.tlb.inst.large: 16
machdep.cpu.tlb.data.small: 48
machdep.cpu.tlb.data.small_level1: 512
machdep.cpu.tlb.data.large: 48
machdep.cpu.tlb.data.large_level1: 128
machdep.cpu.address_bits.physical: 48
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 6
machdep.cpu.thread_count: 6
localhost:~ spakk$ sysctl -a hw.optional
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.fma: 0
hw.optional.avx2_0: 0
hw.optional.bmi1: 0
hw.optional.bmi2: 0
hw.optional.rtm: 0
hw.optional.hle: 0
localhost:~ spakk$ 

it works all fine  :) Graphic remains good

Edited by spakk
Link to comment
Share on other sites

 

Excuse me for my clumsy work :rofl:

Last login: Mon Jan  6 02:16:41 on console
localhost:~ spakk$ uname -a
Darwin localhost 13.0.0 Darwin Kernel Version 13.0.0: Mo  6 Jan 2014 02:09:31 CET; *patched-sinetek/BUILD/obj/RELEASE_X86_64 x86_64
localhost:~ spakk$ 

works for me

Link to comment
Share on other sites

works for me

for me to, but reboot not work!

 

with Andys kernel , reboot and shutdown works fine, thx Andy :yes:

Link to comment
Share on other sites

the new BSA_kernel:

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: 1

hw.optional.sse4_2: 1

hw.optional.x86_64: 1

hw.optional.aes: 1

hw.optional.avx1_0: 1

hw.optional.rdrand: 0

hw.optional.f16c: 1

hw.optional.enfstrg: 0

hw.optional.fma: 1

hw.optional.avx2_0: 0

hw.optional.bmi1: 0

hw.optional.bmi2: 0

hw.optional.rtm: 0

hw.optional.hle: 0

  • Like 2
Link to comment
Share on other sites

Darwin Abduls-Mac-Pro.local 13.0.0 Darwin Kernel Version 13.0.0: ma  6 jan 2014 12:40:06 CET; andyvand:xnu-2422.1.72-AMD/BUILD/obj/RELEASE_X86_64 x86_64
Abduls-Mac-Pro:~ AbdulAzizF$ sysctl hw

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: 1
hw.optional.sse4_2: 1
hw.optional.x86_64: 1
hw.optional.aes: 1
hw.optional.avx1_0: 1
hw.optional.rdrand: 0
hw.optional.f16c: 0
hw.optional.enfstrg: 0
hw.optional.fma: 0
hw.optional.avx2_0: 0
hw.optional.bmi1: 0
hw.optional.bmi2: 0
hw.optional.rtm: 0
hw.optional.hle: 0

fine on me, the latest bsa_kernel  :)  :rofl:  :wink_anim:

  • Like 1
Link to comment
Share on other sites

BSA kernel v8------ reboot & shutdown not working.All other things working fine. thanks guys

 

DEADHATs-Mac-Pro:~ deadhat$ sysctl -a hw.optional

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: 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.fma: 0

hw.optional.avx2_0: 0

hw.optional.bmi1: 0

hw.optional.bmi2: 0

hw.optional.rtm: 0

hw.optional.hle: 0

 

DEADHATs-Mac-Pro:~ deadhat$ sysctl -a machdep.cpu

machdep.cpu.max_basic: 5

machdep.cpu.max_ext: 2147483675

machdep.cpu.vendor: AuthenticAMD

machdep.cpu.brand_string: AMD Phenom II X4 B55 Processor

machdep.cpu.family: 16

machdep.cpu.model: 4

machdep.cpu.extmodel: 0

machdep.cpu.extfamily: 1

machdep.cpu.stepping: 3

machdep.cpu.feature_bits: 394984447 8396809

machdep.cpu.extfeature_bits: 4022598655 14335

machdep.cpu.signature: 1052483

machdep.cpu.brand: 0

machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PSE36 CLFSH MMX FXSR SSE SSE2 HTT SSE3 MON CX16 POPCNT

machdep.cpu.extfeatures: SYSCALL 1GBPAGE EM64T LAHF RDTSCP TSCI

Link to comment
Share on other sites

:)

 

good job Andy !!   :thumbsup_anim:

Last login: Mon Jan  6 21:06:31 on console
imac-de-gils:~ gils$ sysctl kern machdep
kern.ostype: Darwin
kern.osrelease: 13.0.0
kern.osrevision: 199506
kern.version: Darwin Kernel Version 13.0.0: ma  6 jan 2014 12:40:06 CET; andyvand:xnu-2422.1.72-AMD/BUILD/obj/RELEASE_X86_64
kern.maxvnodes: 99328
kern.maxproc: 1064
kern.maxfiles: 12288
kern.argmax: 262144
kern.securelevel: 0
kern.hostname: imac-de-gils
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 10000, tickadj = 0, profhz = 100, stathz = 100 }
kern.posix1version: 200112
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 1
kern.boottime: { sec = 1389038750, usec = 0 } Mon Jan  6 21:05:50 2014
kern.nisdomainname: 
kern.maxfilesperproc: 10240
kern.maxprocperuid: 709
kern.ipc.maxsockbuf: 4194304
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 128
kern.ipc.nmbclusters: 32768
kern.ipc.soqlimitcompat: 1
kern.ipc.mleak_sample_factor: 500
kern.ipc.mb_normalized: 0
kern.ipc.mb_watchdog: 0
kern.ipc.sosendminchain: 16384
kern.ipc.sorecvmincopy: 16384
kern.ipc.sosendjcl: 1
kern.ipc.sosendjcl_ignore_capab: 0
kern.ipc.sodefunctlog: 0
kern.ipc.sothrottlelog: 0
kern.ipc.sorestrictrecv: 1
kern.ipc.sotcdb: 1
kern.ipc.maxsockets: 512
kern.ipc.njcl: 10920
kern.ipc.njclbytes: 16384
kern.ipc.soqlencomp: 0
kern.ipc.io_policy.throttled: 0
kern.ipc.io_policy.log: 0
kern.ipc.io_policy.uuid: 1
kern.usrstack: 1584095232
kern.netboot: 0
kern.sysv.shmmax: 4194304
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 1024
kern.sysv.semmni: 87381
kern.sysv.semmns: 87381
kern.sysv.semmnu: 87381
kern.sysv.semmsl: 87381
kern.sysv.semume: 10
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4
kern.corefile: /cores/core.%P
kern.coredump: 1
kern.sugid_coredump: 0
kern.delayterm: 0
kern.shreg_private: 0
kern.posix.sem.max: 10000
kern.usrstack64: 140734777483264
kern.nx: 0
kern.tfp.policy: 2
kern.procname: 
kern.speculative_reads_disabled: 0
kern.osversion: 13B42
kern.safeboot: 0
kern.lctx.last: 1
kern.lctx.count: 0
kern.lctx.max: 8192
kern.rage_vnode: 0
kern.tty.ptmx_max: 127
kern.threadname: 
kern.sleeptime: { sec = 0, usec = 0 } Thu Jan  1 01:00:00 1970
kern.waketime: { sec = 0, usec = 0 } Thu Jan  1 01:00:00 1970
kern.willshutdown: 0
kern.progressmeterenable: 0
kern.progressmeter: 0
kern.hibernatefile: 
kern.bootsignature: 
kern.hibernatemode: 0
kern.hibernategraphicsready: 0
kern.hibernatewakenotification: 0
kern.hibernatelockscreenready: 0
kern.hibernatehidready: 0
kern.wq_yielded_threshold: 2000
kern.wq_yielded_window_usecs: 30000
kern.wq_stalled_window_usecs: 200
kern.wq_reduce_pool_window_usecs: 5000000
kern.wq_max_timer_interval_usecs: 50000
kern.wq_max_threads: 512
kern.wq_max_constrained_threads: 64
kern.nbuf: 16384
kern.maxnbuf: 16384
kern.jnl_trim_flush: 240
kern.flush_cache_on_write: 0
kern.ds_supgroups_supported: 1
kern.sugid_scripts: 0
kern.zleak.active: 0
kern.zleak.max_zonemap_size: 2415919104
kern.zleak.global_threshold: 1207959552
kern.zleak.zone_threshold: 150994944
kern.uuid: 1EA23872-3E37-3997-8E7A-F45A53F17505
kern.bootargs: boot-uuid=299BD836-B55D-3023-8543-6F1A458DDDAB rd=*uuid AtiConfig=Flicker GraphicsEnabler=Yes npci=0x2000 -v
kern.num_files: 1245
kern.num_vnodes: 15435
kern.num_tasks: 2048
kern.num_threads: 10240
kern.num_taskthreads: 2048
kern.namecache_disabled: 0
kern.ignore_is_ssd: 0
kern.preheat_pages_max: 256
kern.preheat_pages_min: 8
kern.speculative_prefetch_max: 24576
kern.speculative_prefetch_max_iosize: 524288
kern.vm_page_free_target: 2000
kern.vm_page_free_min: 1500
kern.vm_page_free_reserved: 128
kern.vm_page_speculative_percentage: 5
kern.vm_page_speculative_q_age_ms: 500
kern.vm_max_delayed_work_limit: 32
kern.vm_max_batch: 256
kern.bootsessionuuid: 8FBD8B47-93E6-4A57-A5F8-6851A92EB99F
kern.timer.coalescing_enabled: 1
kern.timer.deadline_tracking_bin_1: 2000000
kern.timer.deadline_tracking_bin_2: 5000000
kern.timer.longterm.threshold: 1000
kern.timer.longterm.qlen: 56
kern.singleuser: 0
kern.affinity_sets_enabled: 1
kern.affinity_sets_mapping: 1
kern.slide: 0
kern.kdebug_thread_block: 0
kern.stack_size: 16384
kern.stack_depth_max: 9568
kern.ipc_portbt: 0
kern.sched: traditional_with_pset_runqueue
kern.memorystatus_vm_pressure_level: 1
kern.memorystatus_purge_on_warning: 2
kern.memorystatus_purge_on_urgent: 5
kern.memorystatus_purge_on_critical: 8
kern.msgbuf: 65536
kern.secure_kernel: 0
kern.interrupt_timer_coalescing_enabled: 1
kern.timer_coalesce_idle_entry_hard_deadline_max: 5000000
kern.timer_coalesce_bg_scale: -5
kern.timer_coalesce_bg_ns_max: 100000000
kern.timer_coalesce_kt_scale: 3
kern.timer_coalesce_kt_ns_max: 1000000
kern.timer_coalesce_fp_scale: 3
kern.timer_coalesce_fp_ns_max: 1000000
kern.timer_coalesce_ts_scale: 3
kern.timer_coalesce_ts_ns_max: 1000000
kern.timer_coalesce_tier0_scale: 3
kern.timer_coalesce_tier0_ns_max: 1000000
kern.timer_coalesce_tier1_scale: 2
kern.timer_coalesce_tier1_ns_max: 5000000
kern.timer_coalesce_tier2_scale: 1
kern.timer_coalesce_tier2_ns_max: 20000000
kern.timer_coalesce_tier3_scale: -2
kern.timer_coalesce_tier3_ns_max: 75000000
kern.timer_coalesce_tier4_scale: -15
kern.timer_coalesce_tier4_ns_max: 10000000000
kern.timer_coalesce_tier5_scale: -15
kern.timer_coalesce_tier5_ns_max: 10000000000
kern.ostype = Darwin
kern.osrelease = 13.0.0
kern.osrevision = 199506
kern.version = Darwin Kernel Version 13.0.0: ma  6 jan 2014 12:40:06 CET; andyvand:xnu-2422.1.72-AMD/BUILD/obj/RELEASE_X86_64
kern.maxvnodes = 99328
kern.maxproc = 1064
kern.maxfiles = 12288
kern.argmax = 262144
kern.securelevel = 0
kern.hostname = imac-de-gils
kern.hostid = 0
kern.clockrate: hz = 100, tick = 10000, profhz = 100, stathz = 100
kern.posix1version = 200112
kern.ngroups = 16
kern.job_control = 1
kern.saved_ids = 1
kern.boottime = Mon Jan  6 21:05:50 2014

kern.nisdomainname = 
kern.maxfilesperproc = 10240
kern.maxprocperuid = 709
kern.usrstack = 1584095232
kern.netboot = 0
kern.aiomax = 90
kern.aioprocmax = 16
kern.aiothreads = 4
kern.corefile = /cores/core.%P
kern.coredump = 1
kern.sugid_coredump = 0
kern.delayterm = 0
kern.shreg_private = 0
kern.usrstack64 = 140734777483264
kern.nx = 0
kern.procname = 
kern.speculative_reads_disabled = 0
kern.osversion = 13B42
kern.safeboot = 0
kern.rage_vnode = 0
kern.thread_name = kern
machdep.cpu.max_basic: 13
machdep.cpu.max_ext: 2147483678
machdep.cpu.vendor: AuthenticAMD
machdep.cpu.brand_string: AMD FX(tm)-6300 Six-Core Processor             
machdep.cpu.family: 21
machdep.cpu.model: 2
machdep.cpu.extmodel: 0
machdep.cpu.extfamily: 6
machdep.cpu.stepping: 0
machdep.cpu.feature_bits: 395049983 1050161675
machdep.cpu.extfeature_bits: 801373183 32227327
machdep.cpu.signature: 6295328
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH MMX FXSR SSE SSE2 HTT SSE3 PCLMULQDQ MON SSSE3 FMA CX16 SSE4.1 SSE4.2 POPCNT AES XSAVE OSXSAVE AVX1.0 F16C
machdep.cpu.extfeatures: SYSCALL 1GBPAGE EM64T LAHF RDTSCP TSCI
machdep.cpu.logical_per_package: 6
machdep.cpu.cores_per_package: 6
machdep.cpu.microcode_version: 21
machdep.cpu.processor_flag: 1
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 0
machdep.cpu.thermal.sensor: 0
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 0
machdep.cpu.thermal.thresholds: 0
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 0
machdep.cpu.thermal.fine_grain_clock_mod: 0
machdep.cpu.thermal.package_thermal_intr: 0
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 0
machdep.cpu.xsave.extended_state: 7 832 960 1073741824
machdep.cpu.arch_perf.version: 0
machdep.cpu.arch_perf.number: 0
machdep.cpu.arch_perf.width: 0
machdep.cpu.arch_perf.events_number: 0
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.fixed_number: 0
machdep.cpu.arch_perf.fixed_width: 0
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 16
machdep.cpu.cache.size: 2097152
machdep.cpu.tlb.inst.small: 48
machdep.cpu.tlb.inst.large: 24
machdep.cpu.tlb.data.small: 64
machdep.cpu.tlb.data.small_level1: 1024
machdep.cpu.tlb.data.large: 64
machdep.cpu.tlb.data.large_level1: 1024
machdep.cpu.address_bits.physical: 48
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 6
machdep.cpu.thread_count: 6
machdep.vectors.timer: 221
machdep.vectors.IPI: 222
machdep.pmap.hashwalks: 89134
machdep.pmap.hashcnts: 322117
machdep.pmap.hashmax: 39
machdep.pmap.kernel_text_ps: 2097152
machdep.pmap.kern_pv_reserve: 6000
machdep.memmap.Conventional: 6439862272
machdep.memmap.RuntimeServices: 0
machdep.memmap.ACPIReclaim: 53248
machdep.memmap.ACPINVS: 12288
machdep.memmap.PalCode: 0
machdep.memmap.Reserved: 290521088
machdep.memmap.Unusable: 0
machdep.memmap.Other: 0
machdep.tsc.frequency: 3515621064
machdep.tsc.deep_idle_rebase: 1
machdep.tsc.nanotime.tsc_base: 155194981089
machdep.tsc.nanotime.ns_base: 0
machdep.tsc.nanotime.scale: 1221680954
machdep.tsc.nanotime.shift: 0
machdep.tsc.nanotime.generation: 2
machdep.misc.panic_restart_timeout: 1266874889
machdep.misc.interrupt_latency_max: 0x2 0xde 0x187ffa
machdep.misc.machine_check_panic: 
machdep.misc.timer_queue_trace: 
machdep.misc.nmis: 0
machdep.eager_timer_evaluations: 19
machdep.eager_timer_evaluation_max: 214214
machdep.user_idle_level: 0
imac-de-gils:~ gils$ 

  • Like 1
Link to comment
Share on other sites

Testing Andy's kernel Bsa_V8:

Icon bug persist.

Pink icons returned.

Shutdown ok.

Restart ok.

Photoshop still crashes.

iMovie and any video editor with errors in the preview: blackscreen, bugs, artifacts, dots, etc. (Valid for all kernel tested: Sinetek v6, Bronya rc4 fix, AndV... and so on)

 

Pc specs in mi sgnature.

Link to comment
Share on other sites

I've added the SSE4.2 popcnt instruction.

Basically it uses 2 GP registers (one for source where the bits are counted and one to store the number of 1 bits into. example: 1011 = 3).

I had to create a store_reg function for this and had to modify the retrieve_reg function to return the size of the GP reg (RAX = 8, EAX = 4, etc).

This way it can retrieve the size along with the source register, this is used this way because there is popcntl and popcntq.
popcntl always has 32-bit GP reg as source... popcntq has 64-bit reg.

Still todo: CRC32...

Source diff, kernel and new opemu attached

BRONYA_ANV_SINETEK_R8.diff.zip

OPEMU.zip

BSA_kernel.zip

  • Like 5
Link to comment
Share on other sites

I've added the SSE4.2 popcnt instruction.

Basically it uses 2 GP registers (one for source where the bits are counted and one to store the number of 1 bits into. example: 1011 = 3).

I had to create a store_reg function for this and had to modify the retrieve_reg function to return the size of the GP reg (RAX = 8, EAX = 4, etc).

This way it can retrieve the size along with the source register, this is used this way because there is popcntl and popcntq.

popcntl always has 32-bit GP reg as source... popcntq has 64-bit reg.

Still todo: CRC32...

Source diff, kernel and new opemu attached

 

Work flawlessly on me  :blush:

hw.ncpu: 6
hw.byteorder: 1234
hw.memsize: 4294967296
hw.activecpu: 6
hw.physicalcpu: 6
hw.physicalcpu_max: 6
hw.logicalcpu: 6
hw.logicalcpu_max: 6
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 2028621756
hw.cacheconfig: 6 1 2 6 0 0 0 0 0 0
hw.cachesize: 4294967296 16384 2097152 8388608 0 0 0 0 0 0
hw.pagesize: 4096
hw.busfrequency: 800000000
hw.busfrequency_min: 800000000
hw.busfrequency_max: 800000000
hw.cpufrequency: 3300000000
hw.cpufrequency_min: 3300000000
hw.cpufrequency_max: 3300000000
hw.cachelinesize: 64
hw.l1icachesize: 65536
hw.l1dcachesize: 16384
hw.l2cachesize: 2097152
hw.l3cachesize: 8388608
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: 1
hw.optional.sse4_2: 1
hw.optional.x86_64: 1
hw.optional.aes: 1
hw.optional.avx1_0: 1
hw.optional.rdrand: 0
hw.optional.f16c: 0
hw.optional.enfstrg: 0
hw.optional.fma: 0
hw.optional.avx2_0: 0
hw.optional.bmi1: 0
hw.optional.bmi2: 0
hw.optional.rtm: 0
hw.optional.hle: 0
hw.machine = x86_64
hw.model = MacPro5,1
hw.ncpu = 6
hw.byteorder = 1234
hw.physmem = 2147483648
hw.usermem = 1703227392
hw.pagesize = 4096
hw.epoch = 0
hw.vectorunit = 1
hw.busfrequency = 800000000
hw.cpufrequency = 3300000000
hw.cachelinesize = 64
hw.l1icachesize = 65536
hw.l1dcachesize = 16384
hw.l2settings = 1
hw.l2cachesize = 2097152
hw.l3settings = 1
hw.l3cachesize = 8388608
hw.tbfrequency = 1000000000
hw.memsize = 4294967296
hw.availcpu = 6

btw, why am i always got unknown cpu andy ? is it right ? or only me got it wrong ?

isn't it should be intel core duo bla bla or intel xeon bla bla ?  :blush:  ^_^

post-1176412-0-49042600-1389100034_thumb.jpg

Link to comment
Share on other sites

-emulateintel boot flag can change that.

2 cores or less. Core 2 Duo.

more cores = Intel Xeon

  • Like 1
Link to comment
Share on other sites

btw, why am i always got unknown cpu andy ? is it right ? or only me got it wrong ?

isn't it should be intel core duo bla bla or intel xeon bla bla ?  :blush:  ^_^

attachicon.gifScreen Shot 2014-01-07 at 8.06.02 PM.jpg

If -emulateintel will not help, you can always edit it yourself. I had to edit the RAM. Just look at this topic :)

http://www.insanelymac.com/forum/topic/293973-memory-recognition-ram-problem/page-2

 

EDIT:

 

Shutdown = work

Restart = work

Launchpad = Pink icons (with LaunchpadRefresh.app icons are normal)

Icon bug back again

This is happening on Mavericks 10.9 and 10.9.1

Thank you for the release ;)

 

@Andy, what is the difference between your kernel (BSA_kernel) and Sintek's kernel (v6_kernel)? Maybe you can eliminate the icon bug and pink launchpad by copy some part of the kernel? (I don't understand the coding and creating the kernel so I just ask it is possible) :)

Edited by tragediana150
  • Like 3
Link to comment
Share on other sites

I've added the SSE4.2 popcnt instruction.

Basically it uses 2 GP registers (one for source where the bits are counted and one to store the number of 1 bits into. example: 1011 = 3).

I had to create a store_reg function for this and had to modify the retrieve_reg function to return the size of the GP reg (RAX = 8, EAX = 4, etc).

This way it can retrieve the size along with the source register, this is used this way because there is popcntl and popcntq.

popcntl always has 32-bit GP reg as source... popcntq has 64-bit reg.

Still todo: CRC32...

Source diff, kernel and new opemu attached

 

Works fine on fx cpu (chameleon)

Link to comment
Share on other sites

@Andy, what is the difference between your kernel (BSA_kernel) and Sintek's kernel (v6_kernel)? Maybe you can eliminate the icon bug and pink launchpad by copy some part of the kernel? (I don't understand the coding and creating the kernel so I just ask it is possible) :)

 

I agree. Would be amazing kernel. 

Link to comment
Share on other sites

 Share

×
×
  • Create New...