Jump to content

spakk

Local Moderators
  • Content Count

    4,294
  • Joined

  • Last visited

  • Days Won

    41

Reputation Activity

  1. Like
    spakk reacted to zchef2k in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Ostensibly.
     
    All I know is I can boot a real Mac with this option and skip at least kernel space corecrypto checks- no FIPS specific packages installed.
  2. Like
    spakk reacted to theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Hi, folks!
     
    Here's the diff for the most successful of our patched kernels untill now, that one that panics/freezes with core crypto.kext:XNU.diff.zip
  3. Like
    spakk reacted to bcobco in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    newer than 4.0 versions does not work even without sensors plugins (plain fakesmc)
  4. Like
    spakk got a reaction from theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    sorry, I have before me three external HDDs with different partitions with different OS X versions, but nowhere can I find a corecrypto.kext under S / L / E. this is not a fake. boat windows and check that, please.
     
    Hier noch einmal auf Deutsch
     
    Ich habe diverse externe Festplatten mit diversen OSX Partitionen und OSX Versionen jedoch kann ich nirgends eine corecrypto.kext Datei unter S/L/E finden
  5. Like
    spakk got a reaction from theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    I think it brings us nothing. it's weird. We must wait for the new patch.
  6. Like
    spakk got a reaction from MacFaulty in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    I just tried something:
     
    Why I cannot see the corecrypto.kext File on System /Library/Extensions/?? on my external hard drive?
     
    if I have not started Mountain Lion. That is when I open the external hard drive with windows 7.
     
    Can it be that, in the boot of OS X, the kernel creates a virtual corecrypto.kext? and after completion of the OS X corecrypto.kext is deleted?
     
    and what does this mean??
    http://support.apple.com/kb/DL1555 and this http://support.apple.com/kb/HT5396
     
    and what does this mean??
    http://www.opensourc...ern/OSKextLib.h
     
    or open the Mountain Lion xnu -->> *\xnu-2050.7.9\xnu-2050.7.9\libkern\libkern\crypto\* her are all the files for the corecrypto
     
     
     
    can someone explain to me?
    Can anyone confirm this?
     
    Sorry for my bad english
  7. Like
    spakk reacted to ZackehSoul in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    The only way to do this is by patching corecrypto.dylib but obviously that's closed source.
  8. Like
    spakk reacted to theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    No luck yet: i still didn't get a grasp on what makes the sse3 assembler tick, so i can change it in order to also support ssse3. Besisdes this, i'm not any close of being as comfortable with assembly as i'm with plain C.
     
    But i'm studying hard. Unfortunatelly i haven't the spare time in the amount i'd like for it, but i'm on it as much as i can
  9. Like
    spakk got a reaction from theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Thanks, I'll check it.
  10. Like
    spakk got a reaction from bcobco in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Maybe we should try running Mountain Lion under Bochs 2.6 and then we should patch the kernel. What do you think?
     
    http://bochs.sourceforge.net/
    Bochs IA-32 Emulation Project
     
    Bochs is an open source emulator for IA-32 (Intel x86) machines. It has the ability to emulate a 386, 486, Pentium, Pentium Pro, AMD64, with or without MMX, SSE, SSE2, SSE3, SSSE3, SSE4-1 and SSE4-2 and 3DNow, with common I/O devices (such as a SoundBlaster sound card, a NE2000 compatible network card, etc) and a custom BIOS. You can run Windows 95/NT, Linux and DOS as guest operating systems in that machine. Your guest OS will be installed in a large file which the emulator will use to mimic a hard disk for the emulated machine. Supported platforms (and here I mean platforms on which Bochs will run) include Win32 (Windows 9x/ME/2k/XP), Macintosh, Mac OS X, BeOS, Amiga MorphOS, OS/2, and Unix/X11 systems (including Linux).
  11. Like
    spakk reacted to theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Hi!
     
    Those "sources" aren't really sources, they're the binaries of the emulator, encroached in the c source code of Raw's diff as a big big big hex number assigned to a constant. I saw that some time ago, since then i've been looking for the real source code.
     
    Well, i have the maxxus' assembly code: it's a slower emulator and, since it's written in assembly, it's something, yet not as good as C sources. Thank you for the comment and for the tests you've been willing to make
     
    P.S.: Didn't understand why a 64-bit kernel went so far on a 32-bit CPU. Quite amazing.
  12. Like
    spakk got a reaction from theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Next test with boot flag -v-f arch = x86_64 usekernelcache = no npci = 0x2000.
     
    USBF: 28.431 AppleUSBOHCI 0x*****::CheckSleepCapability - Controller will be unloaded arcross sleep
    USBF: 28.439 AppleUSBOHCI 0x*****::CreateRootHubDevice - Controller AppleUSBOHCI does not support sleep, Not setting characteristic in root hub 0x******
    USBF: 289.445 AppleUSBHub 0x*****::start - USB Generic Hub @ 1 0xb4000000
     
    Still waiting for root device
    Still waiting for root device
    Still waiting for root device

  13. Like
    spakk got a reaction from theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    @ Lordadmiral Drake,
     
    yes thank you for your feedback, I've read yesterday after I wrote this on wikipedia.
    It was a mistake on my thoughts. we need an emulator for SSSE3
  14. Like
    spakk got a reaction from theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    I have just a test with the kernel of bronzovka http://www.xup.in/dl...bAV_kernel.zip/ with "theconnactic" xnu.diff with boot flag:-legacy -v -f
    arch=x86_64 , get lots of error messages"in unsupported interface com.apple.kpi * messages.
    At the end come:
     
    Still waiting for root device
    Still waiting for root device
     
    USBF: 208.577 AppleUSBOHCI 0x15596000::CheckSleepCapability - Controller will be unloaded arcross sleep
    USBF: 209.271 AppleUSBOHCI 0x15596000::CreateRootHubDevice - Controller AppleUSBOHCI does not support sleep, Not setting characteristic in root hub 0x15596058
    USBF: 209.277 AppleUSBHub 0x156c1c00::start - USB Generic Hub @ 1 0xb4000000
     
    Still waiting for root device
    Still waiting for root device
     
    just before coming DSMOS
     
    But the BIOS settings are correct.
     
    I find no kernel panic log file in the Library, or I would load them here.
     
    .
  15. Like
    spakk got a reaction from theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    HI theconnactic, how far are you with the SSSe3 emulator?, do you have any positive news?
     
    Unfortunately I have no knowledge of programming but check out this website at, please: http://sseplus.sourc....net/index.html and http://sseplus.sourc...et/modules.html, download the latest version "0.3.67" then unzip the file (Windows PC Version) and run under * \ SSEPlus_0.3.67 \ SSEPlus_0.3.67 \ Documentation \ "doxygen.exe"
    when the generation process is complete,than you go into directory *\SSEPlus_0.3.67\SSEPlus_0 .3.67\Documentation\publish\html and than you open this file "_documentation_8txt"
     
     
    My question to the programmers, are these generated data, useful for SSSE3 emulator? This process must of course be generated by an AMD Bulldozer PC.
     
    Please send me a reply
  16. Like
    spakk reacted to Lordadmiral Drake in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    @spakk: AMD CPUs Support MMX since the K6 series, no need for an emulator
  17. Like
    spakk got a reaction from bcobco in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Maybe we should try running Mountain Lion under Bochs 2.6 and then we should patch the kernel. What do you think?
     
    http://bochs.sourceforge.net/
    Bochs IA-32 Emulation Project
     
    Bochs is an open source emulator for IA-32 (Intel x86) machines. It has the ability to emulate a 386, 486, Pentium, Pentium Pro, AMD64, with or without MMX, SSE, SSE2, SSE3, SSSE3, SSE4-1 and SSE4-2 and 3DNow, with common I/O devices (such as a SoundBlaster sound card, a NE2000 compatible network card, etc) and a custom BIOS. You can run Windows 95/NT, Linux and DOS as guest operating systems in that machine. Your guest OS will be installed in a large file which the emulator will use to mimic a hard disk for the emulated machine. Supported platforms (and here I mean platforms on which Bochs will run) include Win32 (Windows 9x/ME/2k/XP), Macintosh, Mac OS X, BeOS, Amiga MorphOS, OS/2, and Unix/X11 systems (including Linux).
  18. Like
    spakk reacted to bcobco in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    spakk thanks for finding that project. im sure that we can use this project.
    http://sourceforge.net/projects/sseplus/
    http://sseplus.sourceforge.net/
     
    seems that we have now the pieces, they only need to solve the puzzle.
  19. Like
    spakk got a reaction from theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Hi theconnactic , I will test them and then i will inform you.
  20. Like
    spakk got a reaction from theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    I've had the best experience with 10.7.4 with cparm. I will try out various bootloader
  21. Like
    spakk reacted to zchef2k in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Same here. What bootloader should we be using for this testing? I'm currently using Chameleon 3255.
     
    Good work on the compile, theconnactic.
  22. Like
    spakk reacted to theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    UPDATE! It compiled! It compiled!
     
    Who wants to test it first?
     
    If someone actually gets to the console (because i don't think it will really boot to the desktop or even to Launchd) please post pictures. Everybody report back. Later i'll post the diff. The problem was indeed at cpuid.c, as i thought, and i solved it in a clumsy way: "commented" the offending functions.
     
    Unzip it, put at the root of your OSX disk and boot with the flag "con" (without the quotes):connactic.zip
  23. Like
    spakk reacted to theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Oh, i forgot to tell: meklort sent me yesterday an old diff, from Leopard times, that have inside a 64-bit sse3 bcopy.s, and that same diff mentions a sse3 emulator (unfortunately, that emulator isn't really there).
     
    The link: http://xnu-dev.googlecode.com/files/voodoobuild-0.3.0.tar.bz2
  24. Like
    spakk reacted to theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Here's the exact point where the error i get happens. Indeed is shortly after LDFILELIST:
     
     
    LDFILELIST bsd
    CC lastkernelconstructor.o
    CC version.o
    LD mach_kernel.sys
    Undefined symbols for architecture x86_64:
    "_BUG", referenced from:
    _get_amd_cache_info in cpuid.o
    "_DBG", referenced from:
    _cpuid_set_info in cpuid.o
    _cpuid_vmm_info in cpuid.o
    "_cpuid_get_names", referenced from:
    _cpuid_get_leaf7_feature_names in cpuid.o
    _cpuid_feature_display in cpuid.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [/users/jimihendrix/Desktop/XNUPATCHED/BUILD/obj/RELEASE_X86_64/./mach_kernel] Error 1
    make[1]: *** [build_all] Error 2
    make: *** [all] Error 2
     
    Here's the folders i have at the BUILD/obj/RELEASEX86_64 after the build fails:
     
     
    /BUILD/obj/RELEASE_X86_64/bsd/
    /BUILD/obj/RELEASE_X86_64/iokit/
    /BUILD/obj/RELEASE_X86_64/kernel-kpi.exp
    /BUILD/obj/RELEASE_X86_64/kgmacros
    /BUILD/obj/RELEASE_X86_64/lastkernelconstructor.d
    /BUILD/obj/RELEASE_X86_64/lastkernelconstructor.o
    /BUILD/obj/RELEASE_X86_64/lastkernelconstructor.o.ctf
    /BUILD/obj/RELEASE_X86_64/libkern/
    /BUILD/obj/RELEASE_X86_64/libsa/
    /BUILD/obj/RELEASE_X86_64/link.filelist
    /BUILD/obj/RELEASE_X86_64/osfmk/
    /BUILD/obj/RELEASE_X86_64/pexpert/
    /BUILD/obj/RELEASE_X86_64/security/
    /BUILD/obj/RELEASE_X86_64/version.c
    /BUILD/obj/RELEASE_X86_64/version.d
    /BUILD/obj/RELEASE_X86_64/version.o
  25. Like
    spakk reacted to theconnactic in Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)   
    Neither i am, if "C programmer" means someone who develops C codes for a living. You're doing just fine.
     
     
    Are you sure you're getting past the error? Seems to me that the error that you're getting now happens before the point the issue i reported should occur. Open please the XNU directory/Build/Release: what folders do you see?
     
     
    It seems. Maybe adding it back indeed solves the issue. I'll give it a shot later.
×