Jump to content
theconnactic

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

6,477 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

Share this post


Link to post
Share on other sites
Advertisement

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...

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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...

Works fine on fx cpu !!!!!!!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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" ;)

Share this post


Link to post
Share on other sites

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

 

Yup! :D:pyth:

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

-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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

With R9 kernel

I have

OPEMU:  ud2

 

I installed the System.kext

 

I am trying this on niresh's 10.9.1

 

My config:

AMD Phenom II X2 555

GT620 2GB

M4A89GTD-PRO

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
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

 

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Arman Hossain
      HI 
      I want install High Sierra  on my pc . my CPU is : AMD Ryzen 3 2200g and my MotherBoard is : ASUS EX A320m. and 8gb ram DDR4 ram . i dont have any external gripch card. i have seen some video on youtube how to install High Sierra but they use extranal gripch card to make it good  but i don't have any extranal gripch card . on my windows sysem the shared gpu is 2GB which is using my ram to crate the vega gripch  . i want know is it possible to install High Sierra on my pc with out any extarnal gripsh card  ?


    • By MatthewBayard
      Current Build ( just purchased the RX 580 )
       
      CPU Intel Core i7-3770K 3.5GHz Quad-Core Processor       CPU Cooler Corsair H100i 77.0 CFM Liquid CPU Cooler     Motherboard Gigabyte GA-Z87X-UD7 TH       Memory 4x 8gb     (Corsair CML16GX3M2A1600C10 Vengeance Low Profile   16GB (2x8GB) DDR3 1600 Mhz CL10 XMP Performance Desktop Memory Kit Black)       Case Fractal Design   Define R4 (Black Pearl)       Power Supply Corsair HX750       HDD SATA 6Gb / s 256GB SSD         Wifi TP-LINK TL-WDN4800 N900 Wireless PCI Express Adapter       Graphics Card MSI RADEON RX 580 ARMOR MK2 8G OC Graphic Card      
       
      The installation has failed a dozen times after creating a bootable USB via the instructions outlined at serval different places:
      https://www.tonymacx86.com/threads/[url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]-install-macos-mojave-on-any-supported-intel-based-pc.259381/   
      https://hackintosher.com/forums/thread/mojave-flummoxed-with-ga-z97x-ud7.1338/
      https://hackintosher.com/guides/guide-to-fresh-installing-macos-mojave-on-a-hackintosh-10-14/
       
       
      I have used UniBest to create my builds in the past and they have mostly been successful. I tried the other methods as a last resort. I have not gotten past the Apple boot screen with any method attempting to install Mojave. 
       
       

       
       
       
      I have followed all the guides I can in order to get a successful install. However, it has been hard to get a definitive guide to solve my issues.
       
       
      Could somebody please help me with the correct [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] settings. Ie UEFI Boot Mode or Legacy Boot Mode? 
      Recommended BIOS Settings for my system. 
       
       
      It might also just be the required Clover boot screen setup / flags 
       
       
       
      I also have no clue which [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] configurations are required for me to build.
       
       
       
      Any help at all will be most appreciated.
       
       
      I can post any more information regarding errors and crashes if required.       
       
       
       
       
       
    • By shinho73
      Can someone help me fix reboot issue? Actually it reboots, but sometimes the hackintosh just hangs with screen off. Here is the Extra folder containing org.chameleon.boot.plist. https://drive.google.com/drive/folders/1MX8-DpQk9kaRUfjPcToxf-ElWh-bN6EY?usp=sharing  and the spec of the PC. https://drive.google.com/drive/folders/1NlcUNK5DBzJFxeFeuyt92eRjQqwO5T32?usp=sharing Can someone look at it? I might be doing something wrong. Any help will be greatly appreciated. Thank you. 

    • By shinho73
      I need a good vanilla guide for AMD A8 7600 with A58M-E FM2+ mother board and Palit GEforce GT 730. Any help will be greatly appreciated. Thank you.



×