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

#261
spakk

spakk

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

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

spakk, you probably shouldn't do that, the connactic kernel is only for 10.8.0

you ninja'd me, theconnactic. And wow... if that's what I think it is, our job just got a whole lot easier. What's that source from?


OK

Looks like some kind of public server, which i found accidentally when searching for instructions emulation-related content. Let's explore it? I strongly suggest you all to download this page, store in the reading list etc, nothing guarantees that this server won't be closed anytime soon. Lets take this possible opportunity!


that would be really cool if it work for AMD Phenom II X6, great work

#262
VVlasy

VVlasy

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Hello, I readthrough the forum and saw you need a bulldozer tester. I have a fully working intel mac and alot of free time. So if you provide me with a kernel, kexts and boot flags to use I'll get straight to work

#263
spakk

spakk

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

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,817 posts
  • Gender:Male
  • Location:português
I can not see anywhere K10 my friend

Here the comparison of AMD CPU microarchitectures:

http://en.wikipedia....roarchitectures

#264
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,894 posts
  • Gender:Male

Hello, I readthrough the forum and saw you need a bulldozer tester. I have a fully working intel mac and alot of free time. So if you provide me with a kernel, kexts and boot flags to use I'll get straight to work


Great! Do you have a Bulldozer CPU? Which model? I attached the latest beta kernel in this topic, i'll find it for you. Thank you for stepping in! :)

P.S.: Don't forget to join us in Irc, server irc.osx86.hu, room #LegacyKernel

P.P.S.: The beta kernel is at the post #118

#265
VVlasy

VVlasy

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Yes, I have a FX-8120, gtx 560ti which works with chameleon with GraphicsEnabler and my motherboard is Asus sabertooth 990fx so if there would be any problems so we can find out if its caused by the onboard controllers (lan,audio etc.)

#266
spakk

spakk

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

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,817 posts
  • Gender:Male
  • Location:português
ups sorry, Barcelona is included, I was too busy.

#267
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,894 posts
  • Gender:Male
Try to boot with the flags:

connactic archx86_64 npci=0x3000 busratio=18 -f -v

Crossing fingers!

Again, thank you, VVlasy: good luck!

#268
VVlasy

VVlasy

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Whats the port to the irc?

Edit: when I go to the irc.osx86.hu it redirects me to a forum

Edit2: I am in

#269
spakk

spakk

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

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

Looks like some kind of public server, which i found accidentally when searching for instructions emulation-related content. Let's explore it? I strongly suggest you all to download this page, store in the reading list etc, nothing guarantees that this server won't be closed anytime soon. Lets take this possible opportunity!


download with http://sitesucker.so.../mac/download�� :moil: I suck already ..........



'theconnactic'
I thought you wrote the SSSE Emulator

#270
ZackehSoul

ZackehSoul

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Leeds, UK
Looks like the stuff you found is built on Linux stuff, so that's a start at least.

#271
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,894 posts
  • Gender:Male

Looks like the stuff you found is built on Linux stuff, so that's a start at least.


The ssse3 emulator, if it exists, would be by its own definition platform-agnostic. :)

First, however, we need to find out if the ssse3 in fact exists. It should, because it's implied in the code i posted.

#272
Brandon Holland

Brandon Holland

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:McBride, BC, Canada
Been trying to get a Pentium-D to boot ML. Couldn't get anywere with a vanilla kernel. The only kernel I could get to boot was an 10.8.0 atom kernel, but it immediately died with a corecrypto panic related to ssse3. I managed to patch corecrypto to use the non ssse3 versions of the problem functions, but then an integrity test failed (I'm assuming because I modified it) and caused corecrypto to not load. So I patched the integrity test and now all tests pass and corecrypto seems to be happy. Everything seems to work fine now until it tries to start launchd. "Kernel is LP64" is where it stops. It's not frozen, just isn't doing anything (reacts when I pull the usb stick out). I'm assuming that there are more ssse3 instructions causing problems.

EDIT:
Removed patch

#273
ZackehSoul

ZackehSoul

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Leeds, UK

The ssse3 emulator, if it exists, would be by its own definition platform-agnostic.

Bah, the word I was looking for was based. So it'd have to be rewritten is my point.

#274
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,894 posts
  • Gender:Male
NEW BETA KERNEL!

Will post the diff later (UPDATE: here it is Attached File  XNU.diff.zip   1.2MB   16 downloads). Only one change, i added cpu_infop->vector_unit = 6 to the bottom of the if/else that starts at line 424 of MachineRoutines.c.

All credits to bholland, it was him that created this workaround.

Test it. Post reports and pics. Boot with connatic (yeah, with a typo). Attached File  connatic.zip   3.33MB   67 downloads

#275
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,894 posts
  • Gender:Male
P.S.: bholland is working on it too: he's indeed closer than me at this point to make it work. However, his patches target Pentium D 64-bit (hear it, PookyMacMan?), but should be adaptable to AMD somehow. So, good luck and many thanks to him!

#276
spakk

spakk

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

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

NEW BETA KERNEL!

Will post the diff later (UPDATE: here it is Attached File  XNU.diff.zip   1.2MB   16 downloads). Only one change, i added cpu_infop->vector_unit = 6 to the bottom of the if/else that starts at line 424 of MachineRoutines.c.

All credits to bholland, it was him that created this workaround.

Test it. Post reports and pics. Boot with connatic (yeah, with a typo). Attached File  connatic.zip   3.33MB   67 downloads


I'll do the test tonight, I am now at work. I'll tell you tonight. :wink2:
_______________________________________________________________
here is my first result with boot flag: -v -f cpus=6 arch=x86_64


rtclock_init: Taking bus ratio path 3 AMD Phenom
rtclock_init: Phenom MSR 0xc0010071 returned:0x140000c15
TSC: Verification of clock speed not available in x86_64.
Darwin Kernel Version 12.0.0: Wed Oct 24 02.34.15 BRST 2012: bronzovkANVoodoo v0.9.30;XNUPATCHED2/BUILD/obj/RELEASE_X86_64
vm_page_bootstrap: 823914 free pages and 3370390 wired pages
Kext supmap 0xffffff7f8080b000 - 0xffffff8000000000 , kernel text 0xffffff8000200000 - 0xffffff800080b000
zone leak detection enabled
standard timeslicing quantum is 10000 us
standard background quantum is 2500 us
mig_table_max_displ=74
SAFE BOOT DETECTED - only valid OSBundleRequired kexts will be loaded.

#277
spakk

spakk

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

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,817 posts
  • Gender:Male
  • Location:português
here is my second result: :wallbash:
what should I do?

In case you read this there has been a kernel panic.
There is no {censored} suport for running Lion on AMD.
You have to try fixing this yourself.
panic (cpu 0 caller 0xffffff80002871b7 ) "pmap_steal_memory" @/Users/Jimihendrix/Desktop/XNUPATCHED2/osfmk/vm/vm_resident.c:757
Debugger called: <panic>
Backtrace (CPU 0), Frame : Return Address
0xffffff800010be00 : 0xffffff800021d496 mach_kernel : _panic + 0xc6
0xffffff800010be70 : 0xffffff80002871b7 mach_kernel : _pmap_steal_memory + 0xa7
0xffffff800010bec0 : 0xffffff80002428fe mach_kernel : _zone_steal_memory + 0x1e
0xffffff800010bed0 : 0xffffff800070efec mach_kernel : _vm_page_bootstrap + 0x62c
0xffffff800010bf30 : 0xffffff800070e016mach_kernel : _vm_mem_bootstrap + 0x16
0xffffff800010bf60 : 0xffffff800070d3a9 mach_kernel : _kernel_bootstrap + 0x99
0xffffff800010bfa0 : 0xffffff80002bafd2 mach_kernel : _machine_startup + 0x1b2
0xffffff800010bfc0 : 0xffffff80002ad893 mach_kernel : _i386_init + 0x293
0xffffff800010bff0 : 0xffffff80002b2318 mach_kernel : _x86_init_wrapper + 0x8
can't perform kext scan: no kext summary
BSD process name corresponding to current thread: Unknown
Boot args: boot-uuid=BE275D42-FA96-91BA-FDFD940E6B3D rd=*uuid -v npci=0x2000 legacy -v -x cpus=6 arch=x86_64 busratio=20 maxmem=4096

Mac OS version:
Not yet set
Kernel version:
Darwin Kernel Version 12.0.0: Wed Oct 24 02:34:15 BRST 2012; bronzovkAnVoodoo v0.9.30:XNUPATCHED2/BUILD/obj/RELEASE_X86_64

System uptime in nanoseconds: 0

#278
spakk

spakk

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

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,817 posts
  • Gender:Male
  • Location:português
.....................@theconnactic

I thought that the current kernel implements ssse3emu, however, is only implemented in the xnu.diff sse3emu. Is it possible to integrate the linux kernel SSSE3emu in Mountain Lion?

#279
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,894 posts
  • Gender:Male
Is there a ssse3 emu for Linux? Give the link for it, spakk, i'll see what can i do :)

#280
spakk

spakk

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

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

Is there a ssse3 emu for Linux? Give the link for it, spakk, i'll see what can i do :)


sorry, I mean you've found the snippets on the website. :whistle: :blush:





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


4 user(s) are reading this topic

0 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