Jump to content

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


theconnactic
 Share

6,414 posts in this topic

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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! :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

I'm going to build a custom dyld and add patches to do on the fly cpuid patching...

Keep you posted...

  • Like 1
Link to comment
Share on other sites

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$

Link to comment
Share on other sites

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 ! :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

  • Like 3
Link to comment
Share on other sites

There once was was a user that whined

his existing OS was so blind,

he'd do better to pirate

an OS that ran great

but found his hardware declined.

Please don't steal Mac OS!

Really, that's way uncool.

 

;)

Link to comment
Share on other sites

Theconnactic, DSMOS wouldn't arrive, so I added in-kernel decryption.. Now though, nothing

I have code for custom decryption...

I'll mod my previous patch (which directly loads dsmos)

Yeah... we're getting somewhere...

 

There once was was a user that whined

his existing OS was so blind,

he'd do better to pirate

an OS that ran great

but found his hardware declined.

Please don't steal Mac OS!

Really, that's way uncool.

 

;)

Lol dsmos poem... ;)

Link to comment
Share on other sites

XPCHelper crashes are an old issue with Lion running on AMD.

 

The optimal solution would be to get rid of this issue for good, but as long as that isn't happening, there's a terminal workaround which appears to prevent the crashes from ever happening once you get the system to boot. I'll post it later.

Link to comment
Share on other sites

 Share

×
×
  • Create New...