InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Legacy kernel 10.6.8 with custom dyld and new SSE3 emulator and VIA Nano cpu support (http://infinitemac.com/showthread.php?t=7318)

blackknight 09-26-2011 09:08 PM

I'm curious if with the new AMD fusion processors supporting SSSE3 instructions if they will support full 64-bit mode on Lion and SL. I'm looking to get one of the new AMD FX processors when they release and they effectively support all of the intel instructions. What do you think Andy?

andyvand 09-28-2011 01:38 PM

Quote:

Originally Posted by blackknight (Post 55543)
I'm curious if with the new AMD fusion processors supporting SSSE3 instructions if they will support full 64-bit mode on Lion and SL. I'm looking to get one of the new AMD FX processors when they release and they effectively support all of the intel instructions. What do you think Andy?

Snow Leopard: no doubt
Lion: Maybe, if they don't cause instant reset... :eek:
We need to test them to be sure...

akimoa 09-30-2011 02:50 PM

bah new processor s

id like to see the old ones working 1st ;)

blackknight 09-30-2011 04:21 PM

Well, the new processors support all the intel instructions, whereas the old ones need emulators. Emulators that need to be written. I'm hoping that these new processors won't require much work.

akimoa 10-13-2011 03:40 PM

10.7.2 Sources are out FYI

:D

i compiled it with only patching it with the old diff from 10.7 no changes made to it patching went tru fine so i thought i compile it with xcode 4.1 maybe someone is eager to test it i havent yet

its compiled only in 32 bit

well here it is
10.7.2
http://cl.ly/0F0A3n3o0j2K3p3N0u02

m28ew 10-13-2011 06:48 PM

Quote:

Originally Posted by akimoa (Post 55633)
10.7.2 Sources are out FYI

:D

i compiled it with only patching it with the old diff from 10.7 no changes made to it patching went tru fine so i thought i compile it with xcode 4.1 maybe someone is eager to test it i havent yet

its compiled only in 32 bit

well here it is
10.7.2
http://cl.ly/0F0A3n3o0j2K3p3N0u02


it gave the similar KP on my AMD PII-X4 965

http://i27.lulzimg.com/bbfb283a32.gif

davisin666 10-13-2011 07:51 PM

Quote:

Originally Posted by m28ew (Post 55634)
it gave the similar KP on my AMD PII-X4 965

http://i27.lulzimg.com/bbfb283a32.gif

map_text_segment_sys, maybe there is something wrong with the decryption algorithm or Apple encrypted more binaries.

Remembers me from Snow Leopard

Decryption hasn't succeeded yet (probably will retry)
patch_exec_obj_segment failed
map_segment failed

Damn, I want Lion :(

andyvand 10-14-2011 01:31 PM

Quote:

Originally Posted by davisin666 (Post 55635)
map_text_segment_sys, maybe there is something wrong with the decryption algorithm or Apple encrypted more binaries.

Remembers me from Snow Leopard

Decryption hasn't succeeded yet (probably will retry)
patch_exec_obj_segment failed
map_segment failed

Damn, I want Lion :(

I checked the way Lion decrypts, it's the same way.
I should try to add a few patches and drop custom dyld and auto-patcher support.
Without the map_text_segment_sys syscall replacement (syscall 8) it might work...
Keeps you posted...

akimoa 10-14-2011 01:35 PM

sounds promising atleast a bit

just post the diff ready to compile :-d whenever u are

todesto 10-14-2011 06:53 PM

this major update from apple with iCloud service, it seems Lion is essential....

Can't wait for the AMD kernel. ;)

don't want to buy Intel system just for that.

maceshka 10-19-2011 08:33 PM

What about that?

davisin666 10-19-2011 08:35 PM

I could boot Snow Leopard with arch=x86_64 (V2 10.6.8 kernel), but all apps were crashing after the desktop appeared.

Bootargs in org.chameleon.Boot.plist: arch=i386 -force64 std_dyld=Yes npci=0x2000

Setting -v arch=x86_64 at chameleon boot prompt worked, as appeared in the boot log, Kernel is LP64

Code:

Process:        Finder [2974]
Path:            /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Identifier:      Finder
Version:        ??? (???)
Code Type:      X86 (Native)
Parent Process:  launchd [125]

Date/Time:      2011-10-19 16:11:25.199 -0300
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0  dyld                                  0x8fe2b7bf _sysenter_trap + 3
1  dyld                                  0x8fe2d5ea mach_init + 47
2  dyld                                  0x8fe01766 dyldbootstrap::start(macho_header const*, int, char const**, long) + 448
3  dyld                                  0x8fe01057 _dyld_start + 39

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xffffffe4  ebx: 0x8fe2d4ac  ecx: 0xbffffa4c  edx: 0x8fe2dcf2
  edi: 0x00000000  esi: 0x00000000  ebp: 0xbffffa98  esp: 0xbffffa4c
  ss: 0x00000023  efl: 0x00010286  eip: 0x8fe2b7bf  cs: 0x0000001b
  ds: 0x00000023  es: 0x00000023  fs: 0x00000000  gs: 0x00000000
  cr2: 0x8fe2b7bc

Binary Images:
0x8fe00000 - 0x8fe4163b  dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld

My finder is 32 bit only
Slowpoke

andyvand 10-21-2011 09:16 AM

This weekend I can put some time aside for making a new Lion kernel...
Keep you posted. ;)

$The-King$ 10-21-2011 10:00 AM

Quote:

Originally Posted by andyvand (Post 55715)
This weekend I can put some time aside for making a new Lion kernel...
Keep you posted. ;)

<B

i hope you do it ;)

davisin666 10-21-2011 02:36 PM

Quote:

Originally Posted by andyvand (Post 55715)
This weekend I can put some time aside for making a new Lion kernel...
Keep you posted. ;)

<B

Dale compadre, que la fuerza te acompañe :D
Buena suerte!

akimoa 10-21-2011 03:49 PM

---- yeah ! Do it ;)

<B

davisin666 10-26-2011 06:18 PM

1 Attachment(s)
Andy, I booted with arch=x86_64 with your latest legacy_kernel for Snow Leopard (With x64 Finder).

I can't run any 32 bit / Rosetta app, only in force64 mode I can run 32 bit apps.
My libSystem.b is patched too.

The dmesg from my pc is in the attached file.

Cheers :D

wastez 10-28-2011 08:49 AM

The problem is that there is no solution to run 32 bit apps on an amd with the 64 bit kernel.
It´s just possible to run 32 bit kernel in 64 bit userland.
Sorry dude.

Here something different:
I would have a look on these kexts, because there appears a error on your machine during the startup:
Code:

Kext com.PaztalomTechnologiez.nVmon - library kext com.apple.NVDAResman not found.
Can't load kext com.PaztalomTechnologiez.nVmon - failed to resolve library dependencies.
Kext com.PaztalomTechnologiez.nVmon failed to load (0xdc00800e).
Failed to load kext com.PaztalomTechnologiez.nVmon (error 0xdc00800e).


akimoa 10-28-2011 12:51 PM

Hows it going on the project guess alot people have that question in mind thats why im asking it ?!

andyvand 10-28-2011 02:18 PM

Quote:

Originally Posted by akimoa (Post 55807)
Hows it going on the project guess alot people have that question in mind thats why im asking it ?!

Working on it.
I studied the kernel some more and saw csops routine.
It's a syscall used by dyld which checks code signing (and in dyld code it halts execution if incorrect).
Guess there are a few more corpses that need burying lol. ;)
This weekend I should have a solution...

davisin666 10-28-2011 06:54 PM

Quote:

Originally Posted by wastez (Post 55803)
The problem is that there is no solution to run 32 bit apps on an amd with the 64 bit kernel.
It´s just possible to run 32 bit kernel in 64 bit userland.
Sorry dude.

Here something different:
I would have a look on these kexts, because there appears a error on your machine during the startup:
Code:

Kext com.PaztalomTechnologiez.nVmon - library kext com.apple.NVDAResman not found.
Can't load kext com.PaztalomTechnologiez.nVmon - failed to resolve library dependencies.
Kext com.PaztalomTechnologiez.nVmon failed to load (0xdc00800e).
Failed to load kext com.PaztalomTechnologiez.nVmon (error 0xdc00800e).


Hahahahahaha, nvmon is from FakeSMC, is for temperature monitoring, since I've bought a Thermaltake DuOrb is really not needed, I'm gonna delete that kext.


Quote:

Originally Posted by andyvand (Post 55809)
Working on it.
I studied the kernel some more and saw csops routine.
It's a syscall used by dyld which checks code signing (and in dyld code it halts execution if incorrect).
Guess there are a few more corpses that need burying lol. ;)
This weekend I should have a solution...

Nice to hear that Andy, good luck! Waiting the halloween_kernel hahahahaha

akimoa 10-31-2011 07:48 AM

Well i am Curious ;) and eager to get my hands on its almost like a kid in a candystore :-d

wastez 10-31-2011 04:58 PM

Hello Anv,

Is there something new about the lion kernel?
Hope you´ll get it soon.

Thx

nightf4ll 10-31-2011 05:41 PM

Quote:

Originally Posted by wastez (Post 55836)
Hello Anv,

Is there something new about the lion kernel?
Hope you´ll get it soon.

Thx

ANV ignores us :'(

andyvand 11-02-2011 09:20 AM

Quote:

Originally Posted by wastez (Post 55836)
Hello Anv,

Is there something new about the lion kernel?
Hope you´ll get it soon.

Thx

Still working on it but I don't have a lot of time (lots of work@work :-p)
I'll post results as soon as I can.

bassie86 11-04-2011 11:54 AM

Hello All,

I am from dutch hackintosh.nl see you my Topic
http://www.hackintosh.nl/snow-leopar...-x2-550be.html

Working all good.

Only having problem!! All APPS work only Outlook 2011 cannot open
and Premier CS5.5 cannot open.

I having AMD Patcher al ANV and my boot chameloen

Code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Kernel</key>
    <string>mach_kernel</string>
    <key>Kernel Flags</key>
    <string>-v npci=0x2000</string>
    <key>Timeout</key>
    <string>5</string>
    <key>busratio</key>
    <string>16</string>
    <key>EthernetBuiltIn</key>
    <string>Yes</string>
</dict>
</plist>

Thanks

nightf4ll 11-04-2011 03:59 PM

Quote:

Originally Posted by bassie86 (Post 55868)
Hello All,

I am from dutch hackintosh.nl see you my Topic
http://www.hackintosh.nl/snow-leopar...-x2-550be.html

Working all good.

Only having problem!! All APPS work only Outlook 2011 cannot open
and Premier CS5.5 cannot open.

Thanks

Hmm, I dont think you can run Premiere CS5.5 on amd cpu. I guess Outlook can be fixed, but premiere and latest version of final cut use probably SSE4 instructions for codecs and this might cause them to crash. I had Premiere running, but as soon as i opened a video file it would crash. And now for some reason it crashes right away... You will probably have to run it on Windows -.-

bassie86 11-05-2011 01:04 PM

No Legacy_kernel in turn works with Outlook and 4GB Premier CS5.5;-).
Mach_kernel works with 8GB support almost everything except Outlook and Premier CS5.5

This is not strange in outlook and premier cs5.5 can not kernel mach_kernel
where I had MAXMEM = 4086 = 4096 MAXMEM or both can not mach_kernel so wrong outlook remains cs5.5 and Prime! Then I turn to only 4GB Legacy_kernel's great and not 8GB.

Mach_kernel with 8GB work After Effects CS5.5 and Photoshop CS5.5 and Word, Excell, Acces, Publisher working
Only this Outlook en Premiere Pro CS5.5 not work

Edihigh 11-05-2011 04:25 PM

could anybody understand what he sad?^_^

akimoa 11-05-2011 05:05 PM

nope not a word

Sn0wStorm 11-06-2011 09:06 PM

Quote:

Originally Posted by andyvand (Post 55852)
Still working on it but I don't have a lot of time (lots of work@work :-p)
I'll post results as soon as I can.

Please let me know if i can help you with searching, comparing code or anything, ive got:
AMD Phenom II X4 955
Gigabyte GA-MA-770T-UD3P
Snow Leopard 10.6.8

I would really appreciate having Lion running on my System :)

bassie86 11-06-2011 11:34 PM

I had always used legacy_kernel 8GB, which can not rotate so all apps do not work with 4GB but the super twist.
I came up against in your topic I have tried as I did order that work be given to 8GB mach_kernel there turn now almost everything works except APPS

Working: (mach_kernel and 8GB)

Firefox
Safari
Itunes
AppStore
After Effect
Photoshop
Illusrator
Word
Excell
Powerpoint
Rush
Zen Bound 2
Plants VS Zombies

Not Working Working: (mach_kernel and 8GB)
Outlook 2011
Premier Pro

Working: (legacy_kernel and 4GB)
Working All

Working: (legacy_kernel and 8GB)
Not working all

hans88 11-07-2011 06:22 AM

I'm using legacy_kernel on msi 790fx-gd70 with 8GB and everything works fine. Try to clean the kernel cache and delete any other kernel like legacy_kernel.old and mach_kernel and reinstall the nawcom's 10.6.8 legacy_kernel it should work.

andyvand 11-08-2011 09:34 PM

3 Attachment(s)
I finished the work on the patches.
@Akimoa: Please compile and test both patches (AutoPatcher + NoAutoPatcher).
I also included a new amd_insn_patcher for use with SL / Lion (sysenter trap is slightly different on Lion, needed for dyld and libSystem.B.dylib).
Test it out please and let me know the results. ;)
Also: It will say something like /Users/andyvand/Downloads/10.7.0/voodoobuild-AnV-0.5.1/xnu-1699.22.73/bsd/sys/make_symbol_aliasing.sh: line 85: /usr/local/libexec/availability.pl: No such file or directory
Because the script availability.pl is not available, ignore it, it will compile just fine. :)

akimoa 11-08-2011 09:55 PM

still testing !!

compiled them just waiting for andy to reply if i went the rite way

andyvand 11-08-2011 10:38 PM

2 Attachment(s)
@Akimoa: I just finished doing some fixes (compiling it too) and I fixed up some warnings and 1 error which let it fail.
Uploaded correct versions.

akimoa 11-08-2011 10:46 PM

indeed that went thru better

andyvand 11-08-2011 10:46 PM

1 Attachment(s)
@Akimoa: Another correction, this one for noautopatch-v1.diff. ;)
I forgot to remove the syscall mod for this one...
Normally it should work fine with this one...

andyvand 11-08-2011 10:47 PM

Quote:

Originally Posted by akimoa (Post 55907)
indeed that went thru better

Don't forget to use the new one for noautopatch version.

akimoa 11-08-2011 10:51 PM

I will still building 1st

and here they are :

Legacy Kernel 10.7 No Autopatch

http://cl.ly/0G0R152u09332z0i3E10

Legacy Kernel 10.7 Autopatch

http://cl.ly/0X0w3s300U002z0W0K3t



theres always both i386 and x86_64 Version of it

i wont be testing them now since its to late but will do 1st thing tomorrow

Have fun

andyvand 11-08-2011 10:59 PM

Quote:

Originally Posted by akimoa (Post 55910)
I will still building 1st

It's extremely important to use the last one I uploaded because syscall 8 may not be modified on the noautopatch version.

davisin666 11-08-2011 11:07 PM

---- yeah! Someone confirm that if is working, so I can install Lion now :D, thanks Andy for your hard work :D

akimoa 11-08-2011 11:22 PM

i did use it :)

andyvand 11-08-2011 11:32 PM

Quote:

Originally Posted by akimoa (Post 55910)
I will still building 1st

and here they are :

Legacy Kernel 10.7 No Autopatch

http://cl.ly/0G0R152u09332z0i3E10

Legacy Kernel 10.7 Autopatch

http://cl.ly/1z3j321i2a0g1i171819



theres always both i386 and x86_64 Version of it

i wont be testing them now since its to late but will do 1st thing tomorrow

Have fun

Has anybody tested these? :)

akimoa 11-08-2011 11:39 PM

Yes Busy ! with it

Instant Reboot on NoPatch i386

andyvand 11-08-2011 11:49 PM

Quote:

Originally Posted by akimoa (Post 55915)
Yes Busy ! with it

Instant Reboot on NoPatch i386

And the others (including the x86_64 version)?
I'm also compiling a kernel (using Xcode 3.2.6).
I will post download link when ready ;)

akimoa 11-08-2011 11:55 PM

Same on Patched i386

will test the others aswell and im also doubting on my system if it is set up proper since it was messed with it alot so

i wont take myself as the best reference

davisin666 11-08-2011 11:55 PM

http://cl.ly/1z3j321i2a0g1i171819

In this download is missing the Autopatch x86_64

Sn0wStorm 11-09-2011 12:06 AM

Instant Reboot for me too :(
do we have to use special boot flags on the No Autopatch Kernel, or is it just for dyld patching?

andyvand 11-09-2011 12:12 AM

Quote:

Originally Posted by Sn0wStorm (Post 55919)
Instant Reboot for me too :(
do we have to use special boot flags on the No Autopatch Kernel, or is it just for dyld patching?

Try booting with -force64 boot flag (may work but not sure).
dyld patching on the no autopatch version is done with the new amd_insn_patcher (This works, I tested it).
Soon I'll post my compiled version of the no autopatch kernel (cross the fingers that Xcode 3.2.6 makes a difference).
If this doesn't work I'm out of ideas (same goes for creating a new kernel patch).