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

#921
Deltac0

Deltac0

    InsanelyMac Sage

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

Folks. i compiled all my kernels with Xcode 3.2.6 under Snow Leopard! You must be sure 1) to download GCC for Snow Leopard GCC-10.6.pkg; 2) that all dependencies are satisfied http://shantonu.blogspot.com.br, and; 3) that all -werror flags are wiped out (do a search for it inside the XNU folder and wipe them all out!) before you start building.

But yeah! Do it! Try building yourselves! The more people become familiarized with this, the more valuable insights we'll have for what we want. It's fun. Worths the effort.



We're having some issues with making the userland to boot: that's why all of us are stuck in "Kernel is LP64". Possible causes we're examining (among others):

1) The ssse3 emu aren't still working like it should;

2) Sysenter issues (I looked for sysenter instructions and found none, but whatever);

3) Issues with some launchd process.

P.S.: Delta, AFAIK the access to developer tools like Xcode is and will ever be free. You just have to register with your Apple ID and download the software. But i prefer Xcode 3.2.6


XCode 4.2 for Snow Leopard can now only be downloaded from paid subscription dev account. When Lion wasn't released, it was free for everyone or something like that.
But now, with free account @ Apple dev, you can only see 3.2.6 for SL.

#922
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,905 posts
  • Gender:Male
Hi, Delta! Thanks for the information! :)

But Xcode 3.2.6 (which i use) is more than enough for the job.

#923
Deltac0

Deltac0

    InsanelyMac Sage

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

Hi, Delta! Thanks for the information! :)

But Xcode 3.2.6 (which i use) is more than enough for the job.


Thanks for info, I'll download 3.2.6 next time I compile a kernel... Always thought that min. version is 4.x... :D

#924
Sinetek

Sinetek

    InsanelyMac Sage

  • Coders
  • 333 posts
  • Gender:Male
The sources for the Opcode emulator have been revamped and tested, and it works great for 32/64 now.
Sysenter emulation has been added, so 32b processes now start. However, there is a really strange problem on my hardware, NO 64b process starts successfully at all. This is with -force64. Why could that be??

-- Sinetek

#925
Sinetek

Sinetek

    InsanelyMac Sage

  • Coders
  • 333 posts
  • Gender:Male
it works differently now, there is no "commpage" and it doesn't need to be enabled, it's just always on and fires as needed.
i'll take a break from all this and see if an idea comes I guess.

#926
Sinetek

Sinetek

    InsanelyMac Sage

  • Coders
  • 333 posts
  • Gender:Male
You have to patch dyld to make it work. There is a huge problem on my machine with 64 bit processes, they don't spawn at all.
I have an exam tomorrow, but I have an interesting idea about debugging I'll be checking out after that.

#927
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,905 posts
  • Gender:Male
Hi!!

Justin Edwards, Donk, Ham4ever and all you guys, please join #legacykernel at chat.osx86.hu (IRC), so you can talk with us real time. Otherwise, the topic will grow unreasonably large but with little useful information. In other words, a very low info to noise ratio, if we understand ourselves. :)

Thank you.

#928
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,845 posts
  • Gender:Male
  • Location:português
:help:

I want to remind you that theconnatic has created this site, to aim primaer to create an Mountain Lion kernel !! Although I find the success with Snow Leopard with 64-bit kernel very well but we should necessarily go back to the roots of this page! My fear is that we are talking past each other as soon as we discuss by now three systems here.
Then should follow the proposal of sinetek be done and open up more pages. :hammer:

#929
SS01

SS01

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 265 posts
  • Gender:Male
  • Location:Ottawa
I must say, I agree with spakk. Maybe we should split the thread? AMD Development is in need of some new topics anyway.

#930
PookyMacMan

PookyMacMan

    InsanelyMac Legend

  • Moderators
  • 1,462 posts
  • Gender:Male
  • Location:Earth–Western Hemisphere, specifically
  • Interests:Computer science, engineering, trumpet performance, and a host of others. :D
If you like I can try and split Snow Leopard and Lion AMD discussions to separate topics, but it might take a while considering it's all mixed together. Would you like that?

#931
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,845 posts
  • Gender:Male
  • Location:português

If you like I can try and split Snow Leopard and Lion AMD discussions to separate topics, but it might take a while considering it's all mixed together. Would you like that?


I think it's very good! :king:

#932
PookyMacMan

PookyMacMan

    InsanelyMac Legend

  • Moderators
  • 1,462 posts
  • Gender:Male
  • Location:Earth–Western Hemisphere, specifically
  • Interests:Computer science, engineering, trumpet performance, and a host of others. :D
OK, I'll begin then...the split will happen in bits and pieces, but it will get done. ;)

And one thing: if anyone finds a post of theirs moved to an operating system when you were really talking about a different one, let me know and I'll move it accordingly. :)

#933
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,845 posts
  • Gender:Male
  • Location:português

OK, I'll begin then...the split will happen in bits and pieces, but it will get done. ;)

And one thing: if anyone finds a post of theirs moved to an operating system when you were really talking about a different one, let me know and I'll move it accordingly. :)


many thanks for your effort, PookyMacMan. I hope the others agree! ;)

#934
ham4ever

ham4ever

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 324 posts
  • Gender:Male
yes is a good idea :star_sunglasses:

#935
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,619 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Below is a new kernel to test.
Implemented latest changes by Sinetek (including opemu)
Removed old style ssse3emulator.
Diff and kernel below (build with -march=k8, for AMD thus, also modded idt64.s)
@Sinetek, could you take a peak?
@Others: Please test...

Also used my amd_insn_patcher on dyld (for AMD dyld).
libSystem no longer contains sysenter instruction (checked).
both amd_insn_patcher and 10.8.2 dyld here ;)

Attached Files



#936
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,169 posts
  • Gender:Male
i hope if i test now but my flash memory isnt with me now :(
will try later sorry :(

#937
Deltac0

Deltac0

    InsanelyMac Sage

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

Here is a new kernel to test.
Implemented latest changes by Sinetek (including opemu)
Removed old style ssse3emulator.
Diff and kernel here (build with -march=k8, for AMD thus, also modded idt64.s)
@Sinetek, could you take a peak?
@Others: Please test...

Also used my amd_insn_patcher on dyld (for AMD dyld).
libSystem no longer contains sysenter instruction (checked).
both amd_insn_patcher and 10.8.2 dyld here ;)


Will try to boot 10.8.2 myHack USB Installer with this kernel, because I have no complete installation of ML atm. :)

#938
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

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

Will try to boot 10.8.2 myHack USB Installer with this kernel, because I have no complete installation of ML atm. :)

Use the next build, I've made a small mistake... corrected now...
Kernel built...
New patch (test8)
Kernel also here...

Attached Files



#939
AkimoA

AkimoA

    AMD

  • Local Moderators
  • 213 posts
  • Gender:Male
  • Location:Black Forest (GER)
will give it a try tomorrow i guess ..cant rite now

very curious though ;)

#940
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,619 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Hahahaha working on my machine anyway (Intel though)
Need AMD tests...





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


5 user(s) are reading this topic

1 members, 4 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