Jump to content
6414 posts in this topic

Recommended Posts

I added the crc32 instruction.

I also activated the sse4.2 bit and cpu feature bit for popcnt and sse4.2

Test it please and let me know...

BRONYA_ANV_SINETEK_R9.diff.zip

OPEMU.zip

BSA_kernel.zip

  • Like 7

I added the crc32 instruction.

I also activated the sse4.2 bit and cpu feature bit for popcnt and sse4.2

Test it please and let me know...

Stuck on hfs: mounted Mavericks HDD on device root_device

 

With -x:

OPEMU:  ud2

OPEMU:  ud2

OPEMU:  ud2

OPEMU:  ud2

OPEMU:  ud2

OPEMU:  ud2...

Stuck on hfs: mounted Mavericks HDD on device root_device

 

With -x:

OPEMU: ud2

OPEMU: ud2

OPEMU: ud2

OPEMU: ud2

OPEMU: ud2

OPEMU: ud2...

 

 

hi tragediana,

 

I have an idea , you can try to install the drivers that we have deleted from update 10.9.1 to 10.9.2 and put the new modified system.kext driver by Andy

 

possibly the kernel will boot your system ? I hope you know what I mean.

Sorry I'm not at home and I'm back home on weekend, so I can not test at the moment.

  • Like 1

I added the crc32 instruction.

I also activated the sse4.2 bit and cpu feature bit for popcnt and sse4.2

Test it please and let me know...

 

Another great work from Andy  :thumbsup_anim: Thanks Andy  :wink_anim:

and everything seems fine and great

here's the hw and machdep (sysctl)

Darwin Abdul-Azizs-Mac-Pro.local 13.0.0 Darwin Kernel Version 13.0.0: di  7 jan 2014 21:39:54 CET; andyvand:xnu-2422.1.72-AMD/BUILD/obj/RELEASE_X86_64 x86_64
machdep.cpu.max_basic: 13
machdep.cpu.max_ext: 2147483678
machdep.cpu.vendor: AuthenticAMD
machdep.cpu.brand_string: AMD FX(tm)-6100 Six-Core Processor             
machdep.cpu.family: 21
machdep.cpu.model: 1
machdep.cpu.extmodel: 0
machdep.cpu.extfamily: 6
machdep.cpu.stepping: 2
machdep.cpu.feature_bits: 395049983 513286667
machdep.cpu.extfeature_bits: 801373183 29999103
machdep.cpu.signature: 6295314
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 CX16 SSE4.1 SSE4.2 POPCNT AES XSAVE OSXSAVE AVX1.0
machdep.cpu.extfeatures: SYSCALL 1GBPAGE EM64T LAHF RDTSCP TSCI
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

I have an idea , you can try to install the drivers that we have deleted from update 10.9.1 to 10.9.2 and put the new modified system.kext driver by Andy

I've added the system.kext and repaired permissions but stuck in the same place.

About which drivers did you write? I didn't delete anythink from 10.9.1 and I don't have 10.9.2 :D

With BSA_kernel_R9 on Mavericks 10.9, does not reach desktop. 

During boot, verbose shows typical start up seq. until after hfs mounted...

-it never reaches launchd and no "VM Swap subsys ON" either, it stalls there. The same result with -x

With bsa_kernel on Mavericks 10.9, does not reach desktop. 

During boot, verbose shows typical start up seq. until after hfs mounted...

-it never reaches launchd and no "VM Swap subsys ON" either, it stalls there. The same result with -x and GE=No.

The same result here. Just wait with me for the @spakk answer and we can try again with the "unknown drivers" ;)

  • Like 1

The same result here. Just wait with me for the @spakk answer and we can try again with the "unknown drivers" ;)

 

Yup! :D:pyth:

See my post from 21.dec. 2013

 

http://www.insanelymac.com/forum/topic/294712-amd-pre-release-testing/page-3

 

 

read the page from the beginning to the end, then you will understand what I mean. some user had received the same error message. I suspect these are a few drivers not compatible with each other.

 

Hey Guys, I opened up a Q & A topic as a Q & A section of the AMD side. So general questions that may not be related to the kernel in testing or asking for help. IE: How to compile a kernel? What does NullCPUPowerManagement on AMD? How can I run X Y Z program? and so on... You will find it here: http://www.insanelymac.com/forum/topic/295176-amd-questions-answers/

  • Like 5

Tested BSA_r9

 

+No Pink Icons

+No Icon Bugs

+Restart working

+Shutdown working

+Firewire working

+Sleep working (except USB after sleep)

 

-Only -emulateintel doesn't work. Still shows Unknown

 

Works fine, like sinetek's one

 

I replaced system.kext

 

OS:10.9.1

CPU: FX-8320

Loader: Clover

  • Like 2

-Only -emulateintel doesn't work. Still shows Unknown

I have the same OS does not recognize the processor, but the utility and program define it as Intel Xenon E socket 771

tragediana150

 

so, .....after your description, your system does not boot with last Kernel by Andy and only runs with Andy's BSA_Kernel-R8, however, with Graphics problems (Pink Icon's). make a test on your other partition, and go forward as follows: make an update on 10.9.2, as well as I have it described , then Installing the Graphic Drivers then renewed to the last Kernel of Andy . If do you already have to installed Mavericks 10.9.2 and the Gaphics Drivers , then do not follow this information.

 

Good luck!

lol this is funny , injecting plugin-type via dsdt loads the X86PlatformPlugin so the system sees  cstate/pstates , it doesnt work right now but maybe it will with a bit of acpi magic :P

 

vpf5aYfl.png

 

edit: sorry for the OT  here...

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

 

No problems here on AMD A8-5600K APU - reboot/shutdown works.

Tomss-iMac:~ toms$ 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: 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
Tomss-iMac:~ toms$ sysctl -a machdep.cpu
machdep.cpu.max_basic: 13
machdep.cpu.max_ext: 2147483678
machdep.cpu.vendor: AuthenticAMD
machdep.cpu.brand_string: AMD A8-5600K APU with Radeon(tm) HD Graphics   
machdep.cpu.family: 21
machdep.cpu.model: 0
machdep.cpu.extmodel: 1
machdep.cpu.extfamily: 6
machdep.cpu.stepping: 1
machdep.cpu.feature_bits: 395049983 1050161675
machdep.cpu.extfeature_bits: 801373183 32227327
machdep.cpu.signature: 6360833
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: 4
machdep.cpu.cores_per_package: 4
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: 4
machdep.cpu.thread_count: 4

Andy hi , when do you fix icon bug for old cpus?

Ok i will do it myself using sintek sources ...

Okay can somebody test shutdown,reboot features ?

here kernel

Ps: tested by me shutdown work , no icon bug , reboot also work

mach_kernel.zip

  • Like 6

Reboot = working

Shutdown = working

No icon bugs

No pink icons on launchpad

Great work Савва!!! :thumbsup_anim:

I've waiting so long for this connection of Sinetek and Andy kernel, thank you again :)

Edited by tragediana150
×
×
  • Create New...