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

#741
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,598 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Good news... just booted ML with modified core crypto.
I changed the address of the sha1 and sha256 functions (SSE3 ones) to their non-sse3 counterparts (2 functions changed).
Try them with and without fips_mode=0.
Let me know ;)
On my Intel it booted, I hope on AMD now too...

working on rebuilding the test environment now. What bootloader are you using, ANV? Link?

Chameleon 2.1 with hack to replace APIC table...

Attached Files



#742
zchef2k

zchef2k

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts

Chameleon 2.1 with hack to replace APIC table...


Can you host a zip with the binaries?

#743
spakk

spakk

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

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,728 posts
  • Gender:Male
  • Location:português
Hi @ ll, I unfortunately had a long working day.
Here is my test with Andy last ML Kernel with Mountain Lion 10.8 and 10.8.3 on my AMD Phenom II X6

http://www.workupload.com/file/SbCooLi

http://www.workupload.com/file/257zmBC

http://www.workupload.com/file/cS1lRNk

http://www.workupload.com/file/JHSo2u9

http://www.workupload.com/file/zChGLwd

http://www.workupload.com/file/F1B9KX9

#744
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,140 posts
  • Gender:Male
thanks

Andy Vandijck for returning to develope again :)


:thumbsup_anim:



#745
Shaneee

Shaneee

    AMD Dev Tester

  • Local Moderators
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.

Good news... just booted ML with modified core crypto.
I changed the address of the sha1 and sha256 functions (SSE3 ones) to their non-sse3 counterparts (2 functions changed).
Try them with and without fips_mode=0.
Let me know ;)
On my Intel it booted, I hope on AMD now too...
Chameleon 2.1 with hack to replace APIC table...


This with or without the emulator or fips mode. Passes the corecrypto kext :)

Attached File  ImageUploadedByTapatalk1355253083.440076.jpg   217.53KB   25 downloads

#746
spakk

spakk

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

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,728 posts
  • Gender:Male
  • Location:português
Test with Andys last ML Kernel with Lion 10.7.4 ,on my AMD Phenom II X6 follows.

it stops at:
PFM64 44cpu 0xfff10000000, 0xf0000000
PCI configuration begin


though I booted with NPCI = 0x2000

#747
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,810 posts
  • Gender:Male
Hi, folks!

With the ssse3 emulator enabled, i got a kernel panic just after a page size 9xxx error. Sorry the lack of a pic or vid. Mountain Lion 10.8.2 here.

On the backtraces:
_panic + 0xc6
_kernel_trap + 0x8c6
_return_from_trap + 0xcd
_bcopy + 0x16
_vm_commpage_init + 0x72
_scale_setup + 0x198
_call_continuation + 0x17

Will try without it.

EDIT: without the ssse3 emulator enabled, the patched corecrypto.kexy loaded an ran just fine, but the kernel froze first at [PCI Configuration Begin], because i forgot to add the npci boot flag. With it, the boot freezes at Kernel is LP64.

The ssse3 emulator isn't ready yet.

Thank you very much, Andy, and congratulations for the kext patching.

#748
AkimoA

AkimoA

    AMD

  • Local Moderators
  • 212 posts
  • Gender:Male
  • Location:Black Forest (GER)
rite it didnt panic it just stopped at Kernel is LP64

only using -v -enable_ssse3emu npci=0x2000

sorry picture is a bit screwed ;) http://cl.ly/image/1p0Y0z3D1K31

latest kernel and corecrypto.kext

will do more testing tomorrow

#749
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,598 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Well, at least we are making progress... now only fixing the last bits in IOCatalogue.cpp and OSKext.cpp... if we can do that it should work...
It needs new functions for ML though... maybe Bronzovka could help with it?
Glad to hear that at least corecrypto is fixed... :-D

#750
zchef2k

zchef2k

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts

rite it didnt panic it just stopped at Kernel is LP64

only using -v -enable_ssse3emu npci=0x2000

sorry picture is a bit screwed ;) http://cl.ly/image/1p0Y0z3D1K31

latest kernel and corecrypto.kext

will do more testing tomorrow


Its the disk timing out. Same on mine (more or less). Happens for me attached as both an IDE or a SCSI disk. OSX looks to have support for the VMWare hardware devices, though.

I've got FakeSMC loaded, this disk otherwise boots fine on my i5 machine (different kernel of course).

Posted Image

#751
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,598 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Note to spakk: its the following:
npci=0x2000
Small npci...

#752
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,810 posts
  • Gender:Male
Well, we need a FX series user to test it for us, since FX AMDs have ssse3 support.

Of course, they'll have to but w/o enabling the ssse3 emulator.

I'll take a look later at this emulator. Andy, what did you change exactly from the original?

#753
spakk

spakk

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

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

Note to spakk: its the following:
npci=0x2000
Small npci...


yes my friend Andy, I have boote with small npci..... :wink2:

#754
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,598 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
The changes are in commpage.c and ssse3emu.c
Just take a look in the diff of test5...

#755
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,810 posts
  • Gender:Male
Try with npci=0x3000, spakk...

#756
spakk

spakk

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

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

Well, we need a FX series user to test it for us, since FX AMDs have ssse3 support.

Of course, they'll have to but w/o enabling the ssse3 emulator.

I'll take a look later at this emulator. Andy, what did you change exactly from the original?


Well, we need a FX series user to test it for us, since FX AMDs have ssse3 support.

Of course, they'll have to but w/o enabling the ssse3 emulator.

I'll take a look later at this emulator. Andy, what did you change exactly from the original?

I send Gils now the current kernel. The kernel of yesterday has not booted with Gils FX8150.

#757
Shaneee

Shaneee

    AMD Dev Tester

  • Local Moderators
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.
If I leave it trying to boot it ends up with Still waiting for root device under what is showing in the pic I posted above.

#758
spakk

spakk

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

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,728 posts
  • Gender:Male
  • Location:português
Here are the news of Gils http://osx86.co/f102...7924/#post59254

#759
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,140 posts
  • Gender:Male

If I leave it trying to boot it ends up with Still waiting for root device under what is showing in the pic I posted above.

try atiata.kext on ide mode

#760
Shaneee

Shaneee

    AMD Dev Tester

  • Local Moderators
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.

try atiata.kext on ide mode


I don't have IDE though. Sata only.





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


2 user(s) are reading this topic

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