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
6461 replies to this topic

#1001
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh
AnV or someone, what does it mean when you can type with keyboard in the boot?
It gets stuck after Kernel is LP64, but keyboard is fully working. What is the meaning of this?

#1002
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,858 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
That the kernel is running and working.
No panicked kernel...
I wish it did crash on it... then it would at least let us patch it up (we would know where it is exactly)
Also when launchd inits it shows launchd has started...

#1003
Deltac0

Deltac0

    InsanelyMac Sage

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

That the kernel is running and working.
No panicked kernel...
I wish it did crash on it... then it would at least let us patch it up (we would know where it is exactly)
Also when launchd inits it shows launchd has started...


Same here, now I'm frustrated because I can't get launchd even launch... :D

#1004
Sinetek

Sinetek

    InsanelyMac Sage

  • Coders
  • 335 posts
  • Gender:Male
it's a CPUID thing problem. the year is not over yet...

#1005
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 3,028 posts
  • Gender:Male
Yeah, i also think (and said) so.

Yet, i'm not able to find the issue, which is disappointing.

I'm remember we had the same issue with SL in 64-bit kernel mode before you came up with your successful kernel, and if i'm remembering correctly, we even tried patching other files to get pass it but without success.

Yeah, the year it's not over yet! ;)

P.S.: Welcome back, Sinetek!

#1006
Deltac0

Deltac0

    InsanelyMac Sage

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

it's a CPUID thing problem. the year is not over yet...


Well, that is what we have been suspecting. It's nice that someone can even confirm it. :D
Do you know where this "CPUID thing" is located, or is it like built in some binary files, which would need patching?

Wasn't this the problem with early 10.6 AMDs, CPUID patching... Marvel's AMD Utility etc. ? :D
Are we even talking about the same thing now?

And PS: Welcome back! :)

#1007
Sinetek

Sinetek

    InsanelyMac Sage

  • Coders
  • 335 posts
  • Gender:Male
new build for snow leopard, should be good on pre-phenoms and other lesser cpus

http://www.sendspace.com/file/6qd8us

btw i'm almost certain it's not a CPUID problem now. For Snow Leopard this is confirmed.

#1008
Deltac0

Deltac0

    InsanelyMac Sage

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

new build for snow leopard, should be good on pre-phenoms and other lesser cpus

http://www.sendspace.com/file/6qd8us

btw i'm almost certain it's not a CPUID problem now. For Snow Leopard this is confirmed.


I think it is somehow related to the emulator or other 64-bit things.
The Lion can boot i386 on AMD, so why not x86_64? Probably same problem with ML.

#1009
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 3,028 posts
  • Gender:Male

new build for snow leopard, should be good on pre-phenoms and other lesser cpus

http://www.sendspace.com/file/6qd8us

btw i'm almost certain it's not a CPUID problem now. For Snow Leopard this is confirmed.


Confirmed working on my Athlon II X2 250 CPU. Way to go, Sinetek!

At first, some panics prevented me to boot, even with -f, so i had to use the safe mode and repair permissions. I had two more panics during boot time occurrences afterwards, one with UserAgent and the other with my KX drivers, and two unknown panics with the system already running, but now it appears to be quite stable. Perhaps the issues happened because i use a patched dyld.

The only compatibility issue i had was with my RLT 8168 ethernet card: in 32-bit kernel mode it worked out of the box, but for it to run in 64-bit i had to install Linx2Max package for RLT 81xx. No improvements for the scores i get in Geekbench (still around 4450) or with shutdown time (used to be instantaneous, still is), but now it boots really fast, taking less than half the time (faster than Windows used to). No crashes or issues experienced with any app until now. Also a positive side-effect, my graphics card is now properly shown in the System Information as a G210. Don't know if this had any effect in the performance, since i didn't previously do any OpenGL benchmark. I see no perceptible improvement in the games i usually play, but i don't know how graphics-intensive they are.

Thank you! Keep up the good work.

P.S.: "lesser cpus", how mean!

#1010
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,858 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
I'm going to build a custom dyld and add patches to do on the fly cpuid patching...
Keep you posted...

#1011
Sinetek

Sinetek

    InsanelyMac Sage

  • Coders
  • 335 posts
  • Gender:Male
sineteks-Mac:system sinetek$ for i in *.dylib; do otool -tvV $i | grep palignr;echo $i; done
libcache.dylib
0000000000001714 palignr $0x8,%xmm2,%xmm6
00000000000017cc palignr $0x8,%xmm9,%xmm5
0000000000001887 palignr $0x8,%xmm8,%xmm4
0000000000001942 palignr $0x8,%xmm7,%xmm3
0000000000001a00 palignr $0x8,%xmm4,%xmm0
0000000000001a93 palignr $0x8,%xmm3,%xmm0
0000000000001b26 palignr $0x8,%xmm2,%xmm0
0000000000001bb8 palignr $0x8,%xmm9,%xmm0
0000000000001c45 palignr $0x8,%xmm8,%xmm0
0000000000001cd0 palignr $0x8,%xmm7,%xmm0
0000000000001d5d palignr $0x8,%xmm6,%xmm0
0000000000001e02 palignr $0x8,%xmm5,%xmm0
0000000000001ea7 palignr $0x8,%xmm4,%xmm0
0000000000001f4a palignr $0x8,%xmm3,%xmm0
0000000000001ff5 palignr $0x8,%xmm2,%xmm0
000000000000209f palignr $0x8,%xmm9,%xmm0
0000000000003414 palignr $0x8,%xmm2,%xmm6
00000000000034cc palignr $0x8,%xmm9,%xmm5
0000000000003587 palignr $0x8,%xmm8,%xmm4
0000000000003642 palignr $0x8,%xmm7,%xmm3
0000000000003700 palignr $0x8,%xmm4,%xmm0
0000000000003793 palignr $0x8,%xmm3,%xmm0
0000000000003826 palignr $0x8,%xmm2,%xmm0
00000000000038b8 palignr $0x8,%xmm9,%xmm0
0000000000003945 palignr $0x8,%xmm8,%xmm0
00000000000039d0 palignr $0x8,%xmm7,%xmm0
0000000000003a5d palignr $0x8,%xmm6,%xmm0
0000000000003b02 palignr $0x8,%xmm5,%xmm0
0000000000003ba7 palignr $0x8,%xmm4,%xmm0
0000000000003c4a palignr $0x8,%xmm3,%xmm0
0000000000003cf5 palignr $0x8,%xmm2,%xmm0
0000000000003d9f palignr $0x8,%xmm9,%xmm0
0000000000029bc8 palignr $0x4,%xmm0,%xmm4
0000000000029c07 palignr $0x4,%xmm2,%xmm6
0000000000029e12 palignr $0x4,%xmm1,%xmm4
0000000000029e51 palignr $0x4,%xmm3,%xmm6
000000000002a05d palignr $0x4,%xmm2,%xmm4
000000000002a09c palignr $0x4,%xmm0,%xmm6
000000000002a2a8 palignr $0x4,%xmm3,%xmm4
000000000002a2e7 palignr $0x4,%xmm1,%xmm6
000000000002a4f2 palignr $0x4,%xmm0,%xmm4
000000000002a531 palignr $0x4,%xmm2,%xmm6
000000000002a73c palignr $0x4,%xmm1,%xmm4
000000000002a77b palignr $0x4,%xmm3,%xmm6
000000000002a987 palignr $0x4,%xmm2,%xmm4
000000000002a9c6 palignr $0x4,%xmm0,%xmm6
000000000002abd2 palignr $0x4,%xmm3,%xmm4
000000000002ac11 palignr $0x4,%xmm1,%xmm6
000000000002ae1c palignr $0x4,%xmm0,%xmm4
000000000002ae5b palignr $0x4,%xmm2,%xmm6
000000000002b066 palignr $0x4,%xmm1,%xmm4
000000000002b0a5 palignr $0x4,%xmm3,%xmm6
000000000002b2b1 palignr $0x4,%xmm2,%xmm4
000000000002b2f0 palignr $0x4,%xmm0,%xmm6
000000000002b4fc palignr $0x4,%xmm3,%xmm4
000000000002b53b palignr $0x4,%xmm1,%xmm6
libcommonCrypto.dylib
libcompiler_rt.dylib
libcopyfile.dylib
libdispatch.dylib
libdnsinfo.dylib
libdyld.dylib
libkeymgr.dylib
libkxld.dylib
liblaunch.dylib
libmacho.dylib
libmathCommon.A.dylib
libmathCommon.dylib
libquarantine.dylib
libremovefile.dylib
libsystem_blocks.dylib
000000000002801f palignr $0x1,%xmm3,%xmm4
0000000000028025 palignr $0x1,%xmm2,%xmm3
000000000002802b palignr $0x1,%xmm1,%xmm2
0000000000028031 palignr $0x1,%xmm5,%xmm1
000000000002807f palignr $0x2,%xmm3,%xmm4
0000000000028085 palignr $0x2,%xmm2,%xmm3
000000000002808b palignr $0x2,%xmm1,%xmm2
0000000000028091 palignr $0x2,%xmm5,%xmm1
00000000000280df palignr $0x3,%xmm3,%xmm4
00000000000280e5 palignr $0x3,%xmm2,%xmm3
00000000000280eb palignr $0x3,%xmm1,%xmm2
00000000000280f1 palignr $0x3,%xmm5,%xmm1
000000000002819f palignr $0x5,%xmm3,%xmm4
00000000000281a5 palignr $0x5,%xmm2,%xmm3
00000000000281ab palignr $0x5,%xmm1,%xmm2
00000000000281b1 palignr $0x5,%xmm5,%xmm1
00000000000281ff palignr $0x6,%xmm3,%xmm4
0000000000028205 palignr $0x6,%xmm2,%xmm3
000000000002820b palignr $0x6,%xmm1,%xmm2
0000000000028211 palignr $0x6,%xmm5,%xmm1
000000000002825f palignr $0x7,%xmm3,%xmm4
0000000000028265 palignr $0x7,%xmm2,%xmm3
000000000002826b palignr $0x7,%xmm1,%xmm2
0000000000028271 palignr $0x7,%xmm5,%xmm1
0000000000028328 palignr $0x9,%xmm3,%xmm4
000000000002832e palignr $0x9,%xmm2,%xmm3
0000000000028334 palignr $0x9,%xmm1,%xmm2
000000000002833a palignr $0x9,%xmm5,%xmm1
0000000000028388 palignr $0xa,%xmm3,%xmm4
000000000002838e palignr $0xa,%xmm2,%xmm3
0000000000028394 palignr $0xa,%xmm1,%xmm2
000000000002839a palignr $0xa,%xmm5,%xmm1
00000000000283e8 palignr $0xb,%xmm3,%xmm4
00000000000283ee palignr $0xb,%xmm2,%xmm3
00000000000283f4 palignr $0xb,%xmm1,%xmm2
00000000000283fa palignr $0xb,%xmm5,%xmm1
00000000000284a6 palignr $0xd,%xmm3,%xmm4
00000000000284ac palignr $0xd,%xmm2,%xmm3
00000000000284b2 palignr $0xd,%xmm1,%xmm2
00000000000284b8 palignr $0xd,%xmm5,%xmm1
0000000000028506 palignr $0xe,%xmm3,%xmm4
000000000002850c palignr $0xe,%xmm2,%xmm3
0000000000028512 palignr $0xe,%xmm1,%xmm2
0000000000028518 palignr $0xe,%xmm5,%xmm1
0000000000028566 palignr $0xf,%xmm3,%xmm4
000000000002856c palignr $0xf,%xmm2,%xmm3
0000000000028572 palignr $0xf,%xmm1,%xmm2
0000000000028578 palignr $0xf,%xmm5,%xmm1
libsystem_c.dylib
libsystem_dnssd.dylib
libsystem_info.dylib
libsystem_kernel.dylib
libsystem_network.dylib
libsystem_notify.dylib
libsystem_sandbox.dylib
libunc.dylib
libunwind.dylib
libxpc.dylib
sineteks-Mac:system sinetek$

#1012
Sinetek

Sinetek

    InsanelyMac Sage

  • Coders
  • 335 posts
  • Gender:Male
We need to figure out how to build Libc

#1013
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 3,028 posts
  • Gender:Male
Isn't it open source?

Apple provides all the necessary dependencies in its open source repository, so it shouldn't be hard.

#1014
Deltac0

Deltac0

    InsanelyMac Sage

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

Isn't it open source?

Apple provides all the necessary dependencies in its open source repository, so it shouldn't be hard.


You forgot something, launchd is open source too... And it's pretty damn difficult to build, as you may have noticed. :D
Good luck Sinetek, Connactic, AnV and others ! :)

#1015
Shaneee

Shaneee

    AMD Dev Tester

  • Retired
  • 1,005 posts
  • Gender:Male
  • Location:Scotland

Isn't it open source?

Apple provides all the necessary dependencies in its open source repository, so it shouldn't be hard.


Yes its open source,

http://www.opensourc.../tarballs/Libc/

Not got access to my Laptop so can't even take a look...

#1016
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 3,028 posts
  • Gender:Male

You forgot something, launchd is open source too... And it's pretty damn difficult to build, as you may have noticed. :D
Good luck Sinetek, Connactic, AnV and others ! :)


It's not difficult at all, Delta! We were having difficulties because we forgot to look for the missing headers at the very same repository from which we downloaded launchd. But it was there, and since i found it, it was in fact a cakewalk to build it - which i already did, the vanilla one with no mod of course. ;)

#1017
Sinetek

Sinetek

    InsanelyMac Sage

  • Coders
  • 335 posts
  • Gender:Male
we really need to build that Libc ... Does launchd require building Libc as well?

#1018
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,858 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Libc is easy these days...
Dyld is hard...
Used SL dyld
Results of new kernel:
With otf patcher & custom dyld: failed to exec /sbin/launchd
By disabling any of these: ditto
Stock loading code with cs_valid patch; works
Needs more work...
Gonna do it later... right now I'm going to she who will be my wife ;)

#1019
Sinetek

Sinetek

    InsanelyMac Sage

  • Coders
  • 335 posts
  • Gender:Male
I've got it, launchd works! Now, though, decryption of binaries happen, and it looks like the graphics would normally should up, but it stops there.

#1020
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 3,028 posts
  • Gender:Male
Waiting for DSMOS? Or DSMOS has arrived?





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

  Topic Stats Last Post Info

4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users

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