Deltac0 Posted December 26, 2012 Share Posted December 26, 2012 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? Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 26, 2012 Share Posted December 26, 2012 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 More sharing options...
Deltac0 Posted December 26, 2012 Share Posted December 26, 2012 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... Link to comment Share on other sites More sharing options...
Sinetek Posted December 28, 2012 Share Posted December 28, 2012 it's a CPUID thing problem. the year is not over yet... 2 Link to comment Share on other sites More sharing options...
theconnactic Posted December 29, 2012 Author Share Posted December 29, 2012 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 More sharing options...
Deltac0 Posted December 29, 2012 Share Posted December 29, 2012 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. 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. ? Are we even talking about the same thing now? And PS: Welcome back! Link to comment Share on other sites More sharing options...
Sinetek Posted December 29, 2012 Share Posted December 29, 2012 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. 1 Link to comment Share on other sites More sharing options...
Deltac0 Posted December 29, 2012 Share Posted December 29, 2012 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 More sharing options...
theconnactic Posted December 29, 2012 Author Share Posted December 29, 2012 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 More sharing options...
Andy Vandijck Posted December 29, 2012 Share Posted December 29, 2012 I'm going to build a custom dyld and add patches to do on the fly cpuid patching... Keep you posted... 1 Link to comment Share on other sites More sharing options...
Sinetek Posted December 29, 2012 Share Posted December 29, 2012 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 More sharing options...
Sinetek Posted December 29, 2012 Share Posted December 29, 2012 We need to figure out how to build Libc Link to comment Share on other sites More sharing options...
theconnactic Posted December 29, 2012 Author Share Posted December 29, 2012 Isn't it open source? Apple provides all the necessary dependencies in its open source repository, so it shouldn't be hard. Link to comment Share on other sites More sharing options...
Deltac0 Posted December 29, 2012 Share Posted December 29, 2012 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. Good luck Sinetek, Connactic, AnV and others ! Link to comment Share on other sites More sharing options...
Shaneee Posted December 29, 2012 Share Posted December 29, 2012 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.opensource.apple.com/tarballs/Libc/ Not got access to my Laptop so can't even take a look... Link to comment Share on other sites More sharing options...
theconnactic Posted December 30, 2012 Author Share Posted December 30, 2012 You forgot something, launchd is open source too... And it's pretty damn difficult to build, as you may have noticed. 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 More sharing options...
Sinetek Posted December 30, 2012 Share Posted December 30, 2012 we really need to build that Libc ... Does launchd require building Libc as well? Link to comment Share on other sites More sharing options...
Andy Vandijck Posted December 30, 2012 Share Posted December 30, 2012 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 3 Link to comment Share on other sites More sharing options...
Sinetek Posted December 30, 2012 Share Posted December 30, 2012 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. Link to comment Share on other sites More sharing options...
theconnactic Posted December 30, 2012 Author Share Posted December 30, 2012 Waiting for DSMOS? Or DSMOS has arrived? Link to comment Share on other sites More sharing options...
Sinetek Posted December 30, 2012 Share Posted December 30, 2012 Theconnactic, DSMOS wouldn't arrive, so I added in-kernel decryption.. Now though, nothing Link to comment Share on other sites More sharing options...
Deltac0 Posted December 30, 2012 Share Posted December 30, 2012 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 More sharing options...
Andy Vandijck Posted December 30, 2012 Share Posted December 30, 2012 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 More sharing options...
Sinetek Posted December 30, 2012 Share Posted December 30, 2012 XPCHelper crashes, and I see launchd is looping on two things: com.apple.system.notification_center, as well as the kextcache daemon which fails (not sure it it matters?) Link to comment Share on other sites More sharing options...
theconnactic Posted December 30, 2012 Author Share Posted December 30, 2012 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 More sharing options...
Recommended Posts