Jump to content
InsanelyMac Forum
theconnactic

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

Recommended Posts

I implemented Sinetek's new opemu in my new kernel.

I also added his restart and halt functions.

I fixed the new opemu so it doesn't warn about casting issues, etc...

It doesn't support SSE3 yet but it does support SSSE3.

SSE3 support will come soon.

I also added SYSEXIT emulation to the opemu in user mode.

I also changed the fast exit function to iretq (Sinetek's idea).

EDIT: Also I didn't remove the warning flags (not even -Werror or -Wcast-align) so the code is very clean.

 

Please test it and let me know how it works :D;)

Works fine with fx6100!!!!!!!!!

 

Edit: 10.9.2 booting now good!!!!!!!!

Share this post


Link to post
Share on other sites
Advertisement

Works fine with fx6100!!!!!!!!!

 

Edit: Also with 10.9.2

kext what you replaced after the update? I tried to run all night poppy, all without success, please share your way to run 10,9,2.

Share this post


Link to post
Share on other sites

kext what you replaced after the update? I tried to run all night poppy, all without success, please share your way to run 10,9,2.

#49 icon_share.png  then install the last Amd Kernel bsa_r5 by Andy

Share this post


Link to post
Share on other sites

я не сохранил архив системы, и у меня нет файлов System.kextAppleMatch.kextSandbox.kext от 10,9,1. я сглупил, и сразу обновил на 10,9,2  без копирования этих файлов, вы можете дать мне свои файлы, которые нужно заменить?

I do not keep an archive system, and I have no files System.kext, AppleMatch.kext, Sandbox.kext of 10,9,1. I foolish think, and immediately updated on 10,9,2 not copy these files, you can give me the files that need to be replaced?

Share this post


Link to post
Share on other sites

 

@Andy Vandijck

 

I can't reboot with your latest kernel. The pc shut down when I choose reboot!
Shut down works fine! 

 

I have the same issue. ACPI restart hasn't worked for me.

Share this post


Link to post
Share on other sites

Reboot don't work with clover and chameleon

Yes , it so, but, one version clover don't correct work reboot, other version clover correct work reboot..

if with old clover version 2.1 , work reboot on system 10.6.8 or new ???

With my latest kernel don't works reboot ?

Share this post


Link to post
Share on other sites

Yes , it so, but, one version clover don't correct work reboot, other version clover correct work reboot..

if with old clover version 2.1 , work reboot on system 10.6.8 or new ???

With my latest kernel don't works reboot ?

Your latest kernel reboot good. 

Share this post


Link to post
Share on other sites

the last kernel R5 seems to be a general problem with reboot, I've only just found

Share this post


Link to post
Share on other sites

I have to step it stops, no further loading, and the last two lines were loaded long. Then I waited 10 minutes, nothing happens, periodically go to the hard disk requests, but not what happens.

у меня на это этапе останавливается, дальше не идет загрузки, и последние две строчки грузились долго. потом я ждал минут 10, нечего не происходит, периодически к жесткому диску идут запросы, но не чего не происходит.

post-1250527-910093_thumb.jpg

Share this post


Link to post
Share on other sites

Hi Sinetek, Hi Andy, Hi Bronya,

is it also possible to boot without the restriction with npci=0x2000 or npci=0x3000 to boot the AMD Hackintosh? .......without to hangs the system in PCI Configuration begin.....please do not laugh!

I follow the theory of Toleda when he writes that the boot with the boot flag npci=0x3000 prevents the internal audio card works, the effect of my Question whether it sees an opportunity this, this narrowing by modification of the kernel can handle. that would certainly be a huge challenge? :) and we are all very hungry for new challenges :drool:

 

Edit:

 

in German:

Ist es Möglich auch ohne die Einschränkung beim booten mit dem boot flag npci=0x2000 / npci=0x3000, den AMD Hackintosh zu starten? Jedoch ohne das beim booten, das system an dieser Stelle hängen bleibt: PCI Configuration begin..  bitte nicht auslachen!! Ich verfolge die Theorie von toleda indem er beschreibt dass, das booten mit dem boot flag npci=0x3000 verhindert, das die interne Audiokarte arbeitet,

dahingehend meine Frage: welche Möglichkeiten sieht Ihr,  diese Einengung durch eine modifizierung des kernel zu umgehen. Das ist sicher eine enorme Herausforderung? und wir sind alle sehr hungrig nach neue Herausforderungen. :drool:

Edited by spakk

Share this post


Link to post
Share on other sites

I have to step it stops, no further loading, and the last two lines were loaded long. Then I waited 10 minutes, nothing happens, periodically go to the hard disk requests, but not what happens.

 

у меня на это этапе останавливается, дальше не идет загрузки, и последние две строчки грузились долго. потом я ждал минут 10, нечего не происходит, периодически к жесткому диску идут запросы, но не чего не происходит.

take another System.kext, possibly the System.kext by Andy he has uploaded with R5 kernel or from 10.9, I had had such a similar picture

Hi spakk ! if write no flag npci=0x3000 , so should maybe fix kext iopcifamily.kext ... i think ...

Ok! Many thanks for your prompt response :thumbsup_anim:

Share this post


Link to post
Share on other sites

Hey spakk,

 

I also needed a solution for this issue. I know some people just had to replace the current IOPCIFamiliy.kext with the one patched by netkas. 

 

Didn’t work for me, but maybe you have more lucky :)

------------------

Hey spakk,

ich brauchte auch eine Lösung für dieses Problem. I weiß von ein paar Leuten, dass du nur die aktuelle IOPCIFamily.kext durch eine von netkas gepachtet austauschen musst.

Ich hatte leider keinen Erfolg, vielleicht hast du mehr Glück :)

Share this post


Link to post
Share on other sites

Bronya,

 

should I try the patched IOPCIFamily.kext of Netkas?
or must a new IOPCIFamily.kext be patched?


 

Hey spakk,

 

I also needed a solution for this issue. I know some people just had to replace the current IOPCIFamiliy.kext with the one patched by netkas. 

 

Didn’t work for me, but maybe you have more lucky :)

------------------

Hey spakk,

ich brauchte auch eine Lösung für dieses Problem. I weiß von ein paar Leuten, dass du nur die aktuelle IOPCIFamily.kext durch eine von netkas gepachtet austauschen musst.

Ich hatte leider keinen Erfolg, vielleicht hast du mehr Glück :)

 

the patched IOPCIFamily.kext is not sufficient to solve the problem :(


 

Hey spakk,

 

I also needed a solution for this issue. I know some people just had to replace the current IOPCIFamiliy.kext with the one patched by netkas. 

 

Didn’t work for me, but maybe you have more lucky :)

------------------

Hey spakk,

ich brauchte auch eine Lösung für dieses Problem. I weiß von ein paar Leuten, dass du nur die aktuelle IOPCIFamily.kext durch eine von netkas gepachtet austauschen musst.

Ich hatte leider keinen Erfolg, vielleicht hast du mehr Glück :)

 

PS: viele Leute, viele leute erzählen viel, (das hat nichts mit dir zu tun mein Freund, das ist ein generelles Problem bei AMD) :(

Share this post


Link to post
Share on other sites

take another System.kext, possibly the System.kext by Andy he has uploaded with R5 kernel or from 10.9, I had had such a similar picture

 

tried everything, nothing helps, you can give (to share, put) their kexts with whom you work 10,9,2?

Share this post


Link to post
Share on other sites

Today I install in another HDD .. after finished.. update to 10.9.2 , replace kext likes gils83 said, then delete kernel cache, reboot and I forget and choose in clover without inject kexts  .. and see ... no Fake no Null  http://cl.ly/image/1r3J2k1j1m2T

 

@ Sinetek, Andy, Bronya :thumbsup_anim: :thumbsup_anim: :thumbsup_anim:

Share this post


Link to post
Share on other sites

Ok, I decided to move the new shutdown functions.

The routine is defined where it was but with extern C statement.

In osfmk/i386/AT386/model_dep.c it's used as the last resort to try to shutdown / halt.

I've added SSE3 to the new opemu.

 

Let me know how it works please. :D

 

Damn... upload fails for the kernel...

Download URL:

https://www.dropbox.com/s/taf38zdm8va6l4h/BSA_kernel.zip

BRONYA_ANV_SINETEK_R6.diff.zip

Share this post


Link to post
Share on other sites

Hey Andy,

 

thank you very much for your work.

I just tested your mach_kernel and everything works fine. 

Although, I still have some graphic glitches and pink launchpad icons. Apart from that, I have no issues so far :)

Edit: No issues with Shutdown and Restart

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 verymilan
      Hi, i recently set up High Sierra on my AMD computer with the help of the amdosx community (i actually used an installer just to confirm that something would work in the first place before i spend hours for nothing, i can and could have downloaded High Sierra the "legal" way).
      However the graphicscard is recognized properly, the 6gig are recognized and i have no artifacts and no screen tearing with the official nvidia webdriver,
      but unfortunally, dark colors have horizontal dark stripes in them and specific bright colors like on left bar of system windows such as settings do flicker like low fps.

      I only used the clover on the flash drive for now and i'd like if it's worth digging deeper of if i should just forget about it as it is a common nvidia problem on macOS.
      Would be amazing to know.
       
      Closer machine infos:
      * High Sierra (misses a recent minor patch as my network is veeeery slow and i got this nvidia issue anyway so i mainly jumped back to linux)
      * AMD fx8350
      * Asus Sabertooth 990fx Ref. 2.0
      * NVIDIA GeForce GTX 1060 6GB
       
    • By hackintosh_builder
      Hello, I am interested in building a Hackintosh using Threadripper. Could you please recommend good motherboard(s)? Is there one that is fully compatible with the Hackintosh?
    • By abhinav
      How to install macOS 10.13 High Sierra in Vmware Workstation 14 Pro on AMD Machine
      Unlocker cmd already installed for vmware workstation 14
      vmx file edited...added smc.version="0"
       
      My System Specs
      AMD FX8120 8 Core
      Corsair Vengeance 32 GB DDR3 RAM
      Asus 990FX Sabertooth Motherboard
      Sandisk Ultra II 480 GB SSD SATA 3
      Asus STRIX 960 GTX 4 GB DCU II Model Pixel Shader 5 DirectX 12 Support
       
      Virtual Machine Specs
      16 GB RAM
      2 processors and 4 cores = 8 core processor
      SATA hard drive
      128 MB video memory

    • By M1GU5L
      Last year i tried to install Sierra but after installing it keped booting to a black screen, now i want to try with high sierra but i dont know what i have to do to get this to work.
      I heard about the whatevergreen and lilu kexts but i dont know what to do with them, can anyone help me solving this?

      my pc specs

      Intel Core i5-4460 3.20 GHz with iGPU Intel HD Graphics 4600
      Asus H81M-A
      8GB RAM Kingston Hyper x 1600 mhz
      Asus Strix R9 380 4GB
    • By haegar33
      I have browsed thru all forums and all threads for this card but apparently my system is still something special. With some cumbersome effort (none of the simple one-click ##### and other USB-Installers methods ever worked for me) I managed to install Sierra 10.12.5. However when booting is nearly finsihed I get the famous black screen which can be recovered by quickly unplug/plug the DP monitor cable leading finally to a proper initialisation of my 290X. 

      1.) RadeoDeInit is on, without this patch the screens stays dark forever
      2.) Booting with iGFX never works for me, I always get memory allocation errors during boot until I disable the Intel graphics completely.
      3.) I am on Clover 4318, newer version do not make any differences.
      4.) I am using a System Configuration for an Imac 14,2. Most other configs do not make difference either.

      I have not started again the nightmare of Framebuffer patching (as I remember from Yosemite) and I think it will not help as the card is recognised by Sierra but just not initialised.
       
×