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

#841
ham4ever

ham4ever

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 306 posts
  • Gender:Male
Hope u get well Andy

#842
zchef2k

zchef2k

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts

hmm, according to this:

http://en.wikipedia.org/wiki/Mac_Pro

the first mac pro's were delivered with xeon woodcrest cpu's. woodcrest however were the first xeon cpu's _with_ ssse3:

http://en.wikipedia.org/wiki/SSSE3

or am i wrong? :tomato:


Damn. You're right. It was late when I posted. Arrrgh!

Just some information: right now at the hospital.
They took a little piece of liver with a punction.
The worst part is when the doc had to anesthesise it.
The fact that he had to 4 times use that punction needle wasn't very fun either.
Now I have to lay down 2 hours on my side lol X-)


Yeah, Andy. For those of us not going through what you're going through, it sounds pretty rough. You seem in good spirits about it. Keep that up and get well!

#843
Deltac0

Deltac0

    InsanelyMac Sage

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

Just some information: right now at the hospital.
They took a little piece of liver with a punction.
The worst part is when the doc had to anesthesise it.
The fact that he had to 4 times use that punction needle wasn't very fun either.
Now I have to lay down 2 hours on my side lol X-)


Sounds painful, and as someone already said, get some rest. ;)

I will now try to install 10.8.2 on my Athlon machine and try with new kernels :)

#844
mac_carol

mac_carol

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 148 posts
  • Gender:Not Telling

ouch ...get some rest

did anyone try latest build of the kernel with cparm and anvs module bootloader since fsb for K8 was fixed in there awhile ago ....

just wondering



which version? any binary please ?

Now, I'm still using v2.2-r2117 recommended by theconnactic

Posted Image


it's able to report my actual freqs.correctly within the Lion 10.7.5 (legacy)

Posted Image






@mac_carol if possible, remove ethernet card. otherwise try removing the kext. Anything after Kernel is LP64 is in ring 1 or 2, and not at the kernel level - probably a generic hackintosh issue.



I'll try it & report the result :)


also, what CPU are you using?


Posted Image

Posted Image

#845
AkimoA

AkimoA

    AMD

  • Local Moderators
  • 213 posts
  • Gender:Male
  • Location:Black Forest (GER)
Modules -> http://cl.ly/2x191f0P2B3Z3N2t100e

BLoader -> http://cl.ly/0p2k0v3C403I1L0N0A2E

#846
SS01

SS01

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 265 posts
  • Gender:Male
  • Location:Ottawa

Posted Image


EDIT: Mac_carol, what kernel were you using? debug? and were you using AnV's patched launchd?

By golly, I think we've done it. Launchd has started on an AMD CPU. We just need to correct the minor issues such as Ethernet, and we'll likely boot to the desktop! :thumbsup_anim:

Edited by SS01, 13 December 2012 - 02:29 PM.


#847
spakk

spakk

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

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,790 posts
  • Gender:Male
  • Location:português
Sorry guys, I booted with Andy's Debug_kernel. Several pages are booted. I have a question where I can find the debug file. i mean the folder in which I find the debug-file on OSX, so I can upload the full file here.
:worried_anim:


PS: AkimoA, I boot only with cparm bootloader

#848
theconnactic

theconnactic

    Stubborn AMD user

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

The progress we make each day is astonishing! Congratulations to us all!

Hey, mac_carol, what if you try to boot with cpus=1 -enable_ssse3emu?

Thank you!

P.S.: Glad to hear everything went well, Andy. Hep C is curable, you will win this.

#849
zchef2k

zchef2k

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts
What am I missing? Booting 10.8.2 with debug kernel. No other mods.

Posted Image

#850
mac_carol

mac_carol

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 148 posts
  • Gender:Not Telling

EDIT: Mac_carol, what kernel were you using? debug?


http://www.insanelym...40#entry1873067



By golly, I think we've done it. Launchd has started on an AMD CPU. We just need to correct the minor issues such as Ethernet, and we'll likely boot to the desktop! :thumbsup_anim:



lol... don't get too much excited yet

I have already removed the IONetworkingFamily.kext and the result still remain the same

Posted Image






Sorry guys, I booted with Andy's Debug_kernel. Several pages are booted. I have a question where I can find the debug file. i mean the folder in which I find the debug-file on OSX, so I can upload the full file here


http://www.insanelym...40#entry1873067

EDIT:
lol... oops sorry... wrong answer :D




and were you using AnV's patched launchd?

By golly, I think we've done it. Launchd has started on an AMD CPU.


Modules -> http://cl.ly/2x191f0P2B3Z3N2t100e

BLoader -> http://cl.ly/0p2k0v3C403I1L0N0A2E




@SS01&akimoa

I just hate messing around with the terminal

so do you both care enough to share the HOWTOs ?




Hey, mac_carol, what if you try to boot with cpus=1 -enable_ssse3emu?



this is what AnV said about his debug kernel


Here it is: the debug kernel
Test it with debug=1 and debug=255
Lets hope it shows us more... Kernel is LP64 is part of bsd_init.c btw...
Keep me posted :)
NOTE: I had to remove the ssse3emu code for being able to build the debug kernel... don't bother trying -enable_ssse3emu with this kernel...

Try it please :)




What am I missing? Booting 10.8.2 with debug kernel. No other mods.

Posted Image




I don't know if it's useful, try: cpus=1

#851
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,892 posts
  • Gender:Male
Hey, mac_carol!

I was suggesting you use the latest non-debugging kernel from AnV (test 5) with the TSC module and the flags -enable_ssse3emu cpus=1. :)

The fact, i must insist, is that until we get the ssse3emu to properly work, we're stuck. The lack of ssse3 support is the main reason the processes lauched by launchd (forgive me the pun) don't run.

Thank you guys for the extensive tests.

#852
mac_carol

mac_carol

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 148 posts
  • Gender:Not Telling

Hey, mac_carol: i was suggesting you use the latest non-debugging kernel from AnV (test 5) with the TSC module and the flags -enable_ssse3emu cpus=1. :)

Thank you!



testing this kernel

http://www.insanelym...40#entry1873038


with flags: cpus=1 -enable_ssse3emu

result: can't pass the "Kernel is LP64"


Posted Image






@ALL

is there anyone who can provide us any bash scripts for installing:

- cparm bootloader & modules,
http://www.insanelym...00#entry1873241

- and also AnV's patched launchd ?
http://www.insanelym...60#entry1873131


please share

thanks :)

#853
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,613 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Without any mod? Thus without corecrypto... that could explain the assertion failure in itself.
Corecrypto isn't just the hashes sha1 sha256 etc...
It is also a encryption and decryption library...
I think it is also used by dsmos as it also contains aes functions (both sse4 as regular instructions...)

#854
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,892 posts
  • Gender:Male
Andy, i'm up to try to tweak the ssse3 emulator later tonight. I think the more people get involved with a given task, the more quickly the results show up. As i said before, i think we should focus now on get the emulator to work, since is almost certain the lack of ssse3 is preventing the user space to run. SS01 told me yesterday that you're sure the emulator isn't ready for 64-bit usage yet. Can you share your thoughts about it with me?

Thank you!

P.S.: and thank you, mac_carol, for the tests you did.

#855
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts
  • Gender:Male
Tried the launchd too, but without success, still stocks on Kernel is LP64.

#856
spakk

spakk

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

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,790 posts
  • Gender:Male
  • Location:português
Sorry guys that my test took a little longer.

Test with Phenom II X6- Gigabyte GA-990FXA-UD3 with 8 GB (only 8 GB of 16 GB were installed)
booted with cparm bootloader


boot with ML 10.8 boot flag debug 1 -enable_ssse3emu
Part1 http://www.workupload.com/file/mtXy4BK
Part2 http://www.workupload.com/file/cckrcIs
boot with ML 10.8 boot flag debug 1 without -enable_ssse3emu
Part1 http://www.workupload.com/file/ZjefNbr
Part2 http://www.workupload.com/file/RPlPoB9
Part3 http://www.workupload.com/file/IfM7s4T

boot with ML 10.8 boot flag debug 255 -enable_ssse3emu
Part1 http://www.workupload.com/file/sGUIzNl
Part2 http://www.workupload.com/file/UefWfV1
Part3 http://www.workupload.com/file/94URfOG
Part4 http://www.workupload.com/file/pI7qarP
Part5 http://www.workupload.com/file/AuOnpzf


boot with ML 10.8 boot flag debug 255 without -enable_ssse3emu
Part1 http://www.workupload.com/file/ooCkAvC
Part2 http://www.workupload.com/file/gxuSz0c
Part3 http://www.workupload.com/file/nAPiuqk
Part4 http://www.workupload.com/file/B1VstO7


boot with ML 10.8.3 boot flag debug 1 without -enable_ssse3emu

Part1http://www.workupload.com/file/DHiC0Q5
Part2 http://www.workupload.com/file/xUetmG9

boot with ML 10.8.3 boot flag debug 255 without -enable_ssse3emu

Part1 http://www.workupload.com/file/aLhEbOO
Part2 http://www.workupload.com/file/TmMAJOR

#857
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,613 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Yeah it needs more work.
Afaik Sinetek is working on it and almost has it done but he's still sorting out how to access instructions stored above 0xfff in the set commpage entry ;) I know he'll do a good job on it.
Keep up the good work Sinetek :D

#858
spakk

spakk

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

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

This test, however, without the driver adjustments in S / L / E
I still need to install the drivers for my hardware. it was for this test once secondary.

Andy I have still a naive question.
debug_kernel created after booting a file in OSX? If so where, can I find this item? the boot over several pages long run I'd like to upload the complete file.

#859
zchef2k

zchef2k

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts

- and also AnV's patched launchd ?
http://www.insanelym...60#entry1873131

please share
thanks :)


Include this in his launchd folder... specifically in launchd/Release/. Name it launchdhelper.sh and chmod +x it.

***I WILL NOT BE HELD LIABLE IF THIS DOESN'T WORK, DELETES THE CONTENTS OF YOUR HARD DISK, FAILS TO CURE AIDS OR BEGINS WWIII.****

#! /bin/bash
if [ $1 = "install" ]; then
		 echo "Where is the Mac volume mounted (  leave blank for '/'   , /Volumes/<drive name> no trailing slash , etc.)?"
		 echo "Type the path and press [Enter]:"
		 read mountpoint
		 echo "Backing up originals..."
		 mv $mountpoint/bin/launchctl $mountpoint/bin/launchctl.orig
		 mv $mountpoint/bin/wait4path $mountpoint/bin/wait4path.orig
		 mv $mountpoint/sbin/launchd $mountpoint/sbin/launchd.orig
		 mv $mountpoint/sbin/SystemStarter $mountpoint/sbin/SystemStarter.orig
		 mv $mountpoint/usr/lib/system/liblaunch.dylib.orig $mountpoint/usr/lib/system/liblaunch.dylib.orig
		 mv $mountpoint/usr/libexec/launchproxy $mountpoint/usr/libexec/launchproxy.orig
		 echo "Installing new launchd..."
		 cp launchctl $mountpoint/bin/
		 cp wait4path $mountpoint/bin/
		 cp launchd $mountpoint/sbin/
		 cp SystemStarter $mountpoint/sbin/
		 cp liblaunch.dylib $mountpoint/usr/lib/system/
		 cp launchproxy $mountpoint/usr/libexec/
elif [ $1 = "remove" ]; then
		 echo "Where is the Mac volume mounted (/, /Volumes/<drive name/, etc.)?"
		 echo "Type the path and press [Enter]:"
		 read mountpoint
		 echo "Deleting launchd..."
		 rm $mountpoint/bin/launchctl
		 rm $mountpoint/bin/wait4path
		 rm $mountpoint/sbin/launchd
		 rm $mountpoint/sbin/SystemStarter
		 rm $mountpoint/usr/lib/system/liblaunch.dylib
		 rm $mountpoint/usr/libexec/launchproxy
		 echo "Restoring original launchd..."
		 mv $mountpoint/bin/launchctl.orig $mountpoint/bin/launchctl
		 mv $mountpoint/bin/wait4path.orig $mountpoint/bin/wait4path
		 mv $mountpoint/sbin/launchd.orig $mountpoint/sbin/launchd
		 mv $mountpoint/sbin/SystemStarter.orig $mountpoint/sbin/SystemStarter
		 mv $mountpoint/usr/lib/system/liblaunch.dylib.orig $mountpoint/usr/lib/system/liblaunch.dylib
		 mv $mountpoint/usr/libexec/launchproxy.orig $mountpoint/usr/libexec/launchproxy
else
echo "Usage launchdhelper install -OR- launchdhelper remove"
fi


#860
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,613 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Just a thought: has anybody ever tried booting in single user (-s).
Wondering if that works...
Please test it...





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


3 user(s) are reading this topic

1 members, 1 guests, 1 anonymous users


© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy