Jump to content

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

Mountain Lion AMD legacy kernel x64_86 ssse3 ssse3 emulator

  • Please log in to reply
6103 replies to this topic

#941
Shaneee

Shaneee

    AMD Dev Tester

  • Local Moderators
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.
Kernel is LP64 on Athlon II X2 215

#942
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts
  • Gender:Male
Tested it but my launchd panics but i´m using the patched one. Have to try the other one.
But it seems we go trough the problem before.

#943
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh
AnV kernel, KP on ML10.8.2 myHack USB, Phenom II x4 965.
Do I need patched corecrypto?

EDIT: Btw, check my post number :smoke:

#944
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,820 posts
  • Gender:Male
Yes, you do...

#945
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Yeah it's available somewhere on this topic somewhere.
I allready patched corecrypto.kext...

Tested it but my launchd panics but i´m using the patched one. Have to try the other one.
But it seems we go trough the problem before.

That's great...
It launches launchd...
Maybe with original one it works maybe :D

#946
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,820 posts
  • Gender:Male
Hmmm... seems that 64-bit processes are not spawning yet.

To make things worse (for me) i cannot either get VMWare fusion to work (it gives me a KP whenever i try to run it) or the GDB stub server to work with VMWare workstation 9 on Win8 with IDA pro, so i cannot debug and see where or why the processes hang. My hands are tied.

#947
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Hmmm... seems that 64-bit processes not spawning yet.

arch=x86_64
Fixes that on Lion...
Maybe try it on ML?

#948
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts
  • Gender:Male
Now it stocks at Kernel is LP64 again. :(

Should i try something else?
Currently i´m using -v -f -enable_ssse3emu npci=0x2000

#949
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,820 posts
  • Gender:Male

Now it stocks at Kernel is LP64 again. :(

Should i try something else?
Currently i´m using -v -f -enable_ssse3emu npci=0x2000


You don't need -enable_ssse3emu.

arch=x86_64
Fixes that on Lion...
Maybe try it on ML?


I'll try it just to be sure, but since ML is 64-bit only and i'm running on a 64-bit CPU, isn't arch=x86_64 turned on by default?

#950
Shaneee

Shaneee

    AMD Dev Tester

  • Local Moderators
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.

arch=x86_64
Fixes that on Lion...
Maybe try it on ML?


Still at Kernel is LP64...

#951
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,820 posts
  • Gender:Male
Andy, if you have time, can you make a version of your kernel for 10.7.5?

#952
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

You don't need -enable_ssse3emu.



I'll try it just to be sure, but since ML is 64-bit only and i'm running on a 64-bit CPU, isn't arch=x86_64 turned on by default?

It has support for building a 32bit kernel...
Even though the necessary kexts are not present X-(
I'm currently building a 10.8.0 kernel...
Hopefully that one works..
Post in a minute...

Andy, if you have time, can you make a version of your kernel for 10.7.5?

I'll get on it in a minute...
Allready compiling for 10.8.0...
I could do it ;)

#953
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,820 posts
  • Gender:Male
Ahnnn... maybe that's one more factor to add to the recipe: my HD has 10.8.2. I think i should somehow revert to 10.8.0 before testing your upcoming kernel, unless you post the diff for me to build it myself?

#954
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh
Kernel is LP64 here too :D
Phenom II x4 965 and myHack USB 10.8.2.


EDIT: With AnV patched dyld and vanilla launchd -> KP launchd can't launchd

#955
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
10.8.0 kernel is here...
Lion kernel is still building... ;)
Patch also here...

Ahnnn... maybe that's one more factor to add to the recipe: my HD has 10.8.2. I think i should somehow revert to 10.8.0 before testing your upcoming kernel, unless you post the diff for me to build it myself?

Diff is above ;)

Ahnnn... maybe that's one more factor to add to the recipe: my HD has 10.8.2. I think i should somehow revert to 10.8.0 before testing your upcoming kernel, unless you post the diff for me to build it myself?

Diff is above ;)

Lion kernel is currently building... will post to the Lion section as soon as it's done ;) (including diff)

Attached Files



#956
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh

10.8.0 kernel is here...
Lion kernel is still building... ;)
Patch also here...


Diff is above ;)


Diff is above ;)

Lion kernel is currently building... will post to the Lion section as soon as it's done ;) (including diff)


10.8.0 kernel, patched dyld -> launchd panics.

#957
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

10.8.0 kernel, patched dyld -> launchd panics.

:o
And with stock dyld?
This is very strange...
NOTE: It's the 10.8.2 dyld... maybe a bit different than 10.8.0 one... you can test with stock dyld and dyld patched by amd_insn_patcher above...

#958
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh

:o
And with stock dyld?
This is very strange...
NOTE: It's the 10.8.2 dyld... maybe a bit different than 10.8.0 one... you can test with stock dyld and dyld patched by amd_insn_patcher above...


Yea, your 10.8.2 dyld. With stock 10.8.2 it got stuck @ Kernel is LP64.
If someone can upload 10.8.0 dyld, I will patch it and try with the 10.8.0 kernel. :)

I don't have a 10.8.0 system, I just tried to boot my 10.8.2 with your 10.8.0 kernel, which resulted in the same panic as with your 10.8.2 kernel. :D


EDIT:


1. 10.8.2 - AnV 10.8.2 Kernel - stock dyld & launchd
Kernel is LP64

2. 10.8.2 - AnV 10.8.2 Kernel - AnV patched dyld - stock launchd
Launchd errno13, gets past Kernel is LP64

3. 10.8.2 - AnV 10.8.0 Kernel - AnV patched dyld - stock launchd
Launchd errno13, gets past Kernel is LP64

4. 10.8.2 - AnV 10.8.2 Kernel - Self patched dyld - stock launchd
Launchd errno13, gets past Kernel is LP64

5. 10.8.2 - AnV 10.8.2 Kernel - Self patched dyld & libSystem.B.dylib - stock launchd
Launchd errno13, gets past Kernel is LP64


All tests on Phenom II x4 965. I can boot Sinetek's 10.6.8 64-bit kernel.

#959
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Man... damn launchd... if only we knew what a "errno13" is referring too...

#960
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh

Man... damn launchd... if only we knew what a "errno13" is referring too...


You know what... We DO know :)
Browse to something like page 15 - 30 and you should find the answer, I found it when I was researching information about ML DP1 (which is i386 too) :D
It was something "invalid cpu" something... can't remember and I'm too busy to search it :D

EDIT: My bad, it was errno 85. But we can maybe find it the sameway I found 85?

EDIT2:
Found it.

What does this mean? ;) I included the whole errno.h in the spoiler. Permission denied?
Spoiler




EDIT 3:
This is the part that causes the panic. /bsd/kern/kern_exec.c, lines 3547 - 3551.

Spoiler






Also tagged with one or more of these keywords: Mountain Lion, AMD, legacy kernel, x64_86, ssse3, ssse3 emulator


6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy