PDA

View Full Version : 10.6.5 legacy kernel for INTEL/AMD (32+64bit)


andyvand
11-18-2010, 01:09 PM
This is the latest xnu release:
- Supports everything the previous legacy kernel support
+ 64bit working kernel (Intel/AMD) thanks to Azimutz

Download:
http://rapidshare.com/files/431601452/mach_kernel_10.5.0_legacy.zip

Sources:
http://rapidshare.com/files/431601624/legacy_kernel-1504.9.17.diff.zip

I decided to repost the amd instruction patcher
Download:
http://rapidshare.com/files/432036976/amd_insn_patcher.zip

$The-King$
11-18-2010, 01:26 PM
thanks andy very much

scififan68
11-18-2010, 02:23 PM
Thank you Andy!

RayFlower
11-18-2010, 03:20 PM
Getting a major ACPI related kernel panic when using arch=x86_64 here,I'll take a photo later, -force64 works as it should though:>
Have to use chameleon rc4 to see it, with anval it just reboots immediately, I'll update this after further investigation.

http://farm5.static.flickr.com/4153/5186751933_46fe5f7d88_b.jpg

Cpu is a Amd Phenom II x4 945 using APPLEATIATA.kext for my Gigabyte GA-870A-UD3

dawiinci
11-18-2010, 03:22 PM
Thank you for the update. I have a question regarding the CPUID. In your latest release you gave us an installer which patched the CPUIDs. This was great, but not patching everything (e.g. Spotlight private tab crashes). Could this be because I ran this on 10.6.5?

Will you release a patcher for 10.5 too and will this work although I patched 10.4 in 10.6.5?

Again thanks for your work!

wastez
11-18-2010, 04:35 PM
Hello,

Do i´ve to patch dyld with this kernel too?
Or do i´ve to use the original one?

Thx for your really hard work.

Greetz

gedna
11-18-2010, 05:07 PM
Getting a major ACPI related kernel panic when using arch=x86_64 here,I'll take a photo later, -force64 works as it should though:>
Have to use chameleon rc4 to see it, with anval it just reboots immediately, I'll update this after further investigation.

http://farm5.static.flickr.com/4153/5186751933_46fe5f7d88_b.jpg

Cpu is a Amd Phenom II x4 945 using APPLEATIATA.kext for my Gigabyte GA-870A-UD3

i can confirm the same KP using arch=x86_64

wastez
11-18-2010, 08:30 PM
Hello,

Everthing is working fine.
Just iPhoto doesn´t work.
I´ve the same problem with the legacy_kernel v5. (of course i changed the libSystem.B files)
With the anv_kernel 10.4.0 rev4 and the patched dyld files also iPhoto works.

Would be really nice if someone can help me.....

Thx and greetz 2 all

$The-King$
11-18-2010, 09:15 PM
arch x86-64 dosent work :(
also same problem with quick time crashes on 64 :eek:
i am so sad :'(
but thanks for your work andy :D

wastez
11-18-2010, 09:21 PM
Hello,

There is something really interessting.
I tried the patched dyld files from 10.4.0 v4 and iPhoto works......

arch=x86_64 also doesn´t work. ;)

greetz

wastez
11-18-2010, 09:29 PM
Hello,

It was to early to be happy about it that iPhoto works.
I´m able to open it but if i´m going to import something iPhoto crashes......

Greetz

dawiinci
11-18-2010, 09:47 PM

Just iPhoto doesn´t work.
I´ve the same problem with the legacy_kernel v5. (of course i changed the libSystem.B files)
With the anv_kernel 10.4.0 rev4 and the patched dyld files also iPhoto works.


First of all I am not sure about dyld.

But I thought the package patches the CPUIDs which are responsible for problems with iPhoto. Are these patches related to each other? iPhoto works here but I experience crashes from Safari with enabled plugins while opening www.perian.org. If I disable the plugins it works. It is probably a part of QT.

So what do I have to do?


CPUID patching from package 10.4 even in 10.6.5
CPUID patching from package 10.4 only in 10.6.4, partly working in 10.6.5
CPUID manual patching required
dyld patching
dyld patching and CPUID patching
CPUID patching is done by the kernel on the fly (I read this should be released in 10.5)



I use Chameleon 2 RC4 on AMD if this makes any difference.

Thanks

davisin666
11-18-2010, 10:08 PM
Two questions, I have to patch dyld and -force64 works???

Sorry for my bad english xD

jackokk
11-19-2010, 05:13 AM
Thanks you so much.

I am still testing on AMD Athlon II X4 620 (2.6 MHz), 8 Gb, DDR2-800, HIS Radeo HD 5750 Memory 1 Gb.

wastez
11-19-2010, 07:10 AM
Hello,

So i´ve to patch the cpuid´s again after update? That is strange because itunes works without problems.
Quick times also not work with this kernel wether in 64 Bit or in 32 Bit. :mad:
Would be really interessting what i´ve to do that all works.......

Marvins AMD patcher also doesn´t works @ my system with 10.6.5. :(
Does anyone have the same problem with it?


Thx again & greetz 2 all

wastez
11-19-2010, 09:03 AM
Hello,

Because the problem @ boot with flag arch=x86_64 i´ve to say that i got no kernelpanic but my computer just restarts...... :mad:
Any ideas????


Greetz

wastez
11-19-2010, 09:34 AM
Two questions, I have to patch dyld and -force64 works???

Sorry for my bad english xD

Should be boot without patched dyld (libsystemB.... files) too.
Have you tried to boot with flags arch=i386 -force64???

Greetz

dawiinci
11-19-2010, 02:39 PM
Hello,

So i´ve to patch the cpuid´s again after update? That is strange because itunes works without problems.
Quick times also not work with this kernel wether in 64 Bit or in 32 Bit. :mad:
Would be really interessting what i´ve to do that all works.......

Marvins AMD patcher also doesn´t works @ my system with 10.6.5. :(
Does anyone have the same problem with it?
...
Actually I have the same problem. Because of that I was very happy to hear that this kernel should have on-the-fly-CPUID-patching. Not sure if this is really the case now? The last package at least patched the CPUIDs but as you can read in my previous post I am not sure either.

wastez
11-19-2010, 05:47 PM
Actually I have the same problem. Because of that I was very happy to hear that this kernel should have on-the-fly-CPUID-patching. Not sure if this is really the case now? The last package at least patched the CPUIDs but as you can read in my previous post I am not sure either.

Hello i patched the cpuid with maxxuss patcher gui.
Here is the link for it http://osx86.co/f36/10-6-5-is-avaible-via-softwareupdate-t6711/page2.html it contains a lin for the tool and the cpuid.txt that you will need and all works without any troubles. :D

Greetz

scififan68
11-19-2010, 07:59 PM
64bit works on my AMD X2 5600+ with the bootflags "arch=x86_64 -notscverify -force64" just had to revert to chameleon 2 RC4 and no 32bit apps for me yet.

System Software Overview:

System Version: Mac OS X 10.6.5 (10H574)
Kernel Version: Darwin 10.5.0
Boot Volume: 1TB
Boot Mode: Normal
Computer Name: Mac Pro
User Name:
Secure Virtual Memory: Not Enabled
64-bit Kernel and Extensions: Yes
Time since boot: 10 minutes

wastez
11-19-2010, 09:03 PM
64bit works on my AMD X2 5600+ with the bootflags "arch=x86_64 -notscverify -force64" just had to revert to chameleon 2 RC4 and no 32bit apps for me yet.

System Software Overview:

System Version: Mac OS X 10.6.5 (10H574)
Kernel Version: Darwin 10.5.0
Boot Volume: 1TB
Boot Mode: Normal
Computer Name: Mac Pro
User Name:
Secure Virtual Memory: Not Enabled
64-bit Kernel and Extensions: Yes
Time since boot: 10 minutes

I´ve the same cpu that you have and i´m not able to boot with flag arch=x86_64 :'( but i don´t use chamelon 2 RC4. I use Chamelon 2 RC5 from kabyl (because of injection from my graphicscard)..... could that be the reason why it doesn´t work?
Did you try it with an other bootloader and if you try it does it work?

Thx and greetz

scififan68
11-19-2010, 09:14 PM
I´ve the same cpu that you have and i´m not able to boot with flag arch=x86_64 :'( but i don´t use chamelon 2 RC4. I use Chamelon 2 RC5 from kabyl (because of injection from my graphicscard)..... could that be the reason why it doesn´t work?
Did you try it with an other bootloader and if you try it does it work?

Thx and greetz

I had to revert back to Rc4, because with rc5 it just rebooted, so yes thats the reason. Did you try -force64?

wastez
11-19-2010, 10:39 PM
Yes i´ve tried it.....
If i use arch=x86_64 my computer also restarts.....
The problem is that i really need this bootloader so that my graphicscard works without an enabler and work in 64 Bit...... Because the other way developed by netkas (aty_init) is just for 32 Bit......

Maybe the flag arch=x86_64 is renamed in RC5....
Would be really interessting because i want to boot into this mode. :(

Imkantus
11-20-2010, 03:45 AM
Getting a major ACPI related kernel panic when using arch=x86_64 here,I'll take a photo later, -force64 works as it should though:>
Have to use chameleon rc4 to see it, with anval it just reboots immediately, I'll update this after further investigation.

...

Cpu is a Amd Phenom II x4 945 using APPLEATIATA.kext for my Gigabyte GA-870A-UD3
Same Kernel Panic, even using the -notscsync flag, Azimutz has been talking about at InsanleyMac. But doesn't bother me that much; not going to use fat-binary Kernel anyway, as there is no x64 working chipset driver for me either. :D

Apart I am still hoping to see Kernel with fully working auto-patching sometime soon. :cool:

andyvand
11-20-2010, 03:49 PM
64bit works on my AMD X2 5600+ with the bootflags "arch=x86_64 -notscverify -force64" just had to revert to chameleon 2 RC4 and no 32bit apps for me yet.

System Software Overview:

System Version: Mac OS X 10.6.5 (10H574)
Kernel Version: Darwin 10.5.0
Boot Volume: 1TB
Boot Mode: Normal
Computer Name: Mac Pro
User Name:
Secure Virtual Memory: Not Enabled
64-bit Kernel and Extensions: Yes
Time since boot: 10 minutes
You can use my amd_insn_patcher to patch libSystem.dylib (dyld should get auto-patched but if it doesn't work after patching you can patch this with the tool too).
Next you need to rebuild your dyld shared cache with
sudo update_dyld_shared_cache
in Terminal and you should be set for running 32bit apps after a reboot.

wastez
11-20-2010, 06:13 PM
@ andyvand

Does arch=x86_64 work only with chameleon 2 rc4?
I´ve rc5 and it is not possible to boot with flag arch=x86_64.......

What can i do?

Thx & greetz

dawiinci
11-20-2010, 07:44 PM
I just got this KP while booting. It only happened two times. Usually it boots without problems.

See the photo attached. Sorry for the blurry quality.

Maybe the second one is clearer. This one happened on another system with the same patches. It even mentioned andyvand. It happened while resizing a partition in the disk utility. - Repairing now. ;)

wastez
11-20-2010, 11:38 PM
Hello,

What i´ve to install to run sudo update_dyld_shared_cache?
Do i´ve to install xcode for it?

Thx and greetz

dawiinci
11-20-2010, 11:45 PM
No, you don’t need to install Xcode. Everything else you need to patch it is explained here (http://osx86.co/f36/10-6-5-is-avaible-via-softwareupdate-t6711/post51373.html).

wastez
11-20-2010, 11:53 PM
I tried arch=x86_64 with chameleon2 rc4 and it works.
The problem is that i really need rc 5 (because of my graphicscard)

What can i do that it will worK???

Greetz

BanBlade
11-21-2010, 01:13 PM
I think i might have figured something out ppl that are having kp when using arch=x86_64 related to appleacpiplatform 1.3.5 its caused by APPLEATIATA.kext updateing it to this one http://osx86.co/f36/ati-ata-driver-optimized-for-snow-leopard-t4441/ fixed the kp for me true 64bit but my 32bit apps just crash even after patching everything but 64 bit apps run great any help on gettin the 32bit apps running would be greatly appreciated

chameleon 2.0 rc3 flicker inj
amd athlon 64 3800+
ati radeon 4650 1gb x9498
Mac OSX 10.6.5

Grave35
11-21-2010, 01:51 PM
I do not understand something. AMD on the processor can make him work in the x64 rehearse and I'm very core? My processor is AMD 4200 + motherboard Asus M2n32-sli deluxe
archi=x32_x64 reboot

BanBlade
11-21-2010, 02:18 PM
I do not understand something. AMD on the processor can make him work in the x64 rehearse and I'm very core? My processor is AMD 4200 + motherboard Asus M2n32-sli deluxe
archi=x32_x64 reboot

What??? I dont understand

scififan68
11-21-2010, 02:33 PM
true 64bit but my 32bit apps just crash even after patching everything but 64 bit apps run great any help on gettin the 32bit apps running would be greatly appreciated

Same here!

dawiinci
11-21-2010, 03:16 PM
Did you patch the libSystem.B.dylib and update the caches?

Grave35
11-21-2010, 04:40 PM
I have on AMD for archi = x32_64 immediately restart

BanBlade
11-21-2010, 10:16 PM
I did patch the libSystem.B.dylib still 32bit apps crash as soon as click the icon

kabuu
11-22-2010, 12:26 AM
Thanks Andy for you work
I used Legacy Kernel 10.6.5 in 64 Bits with AMD sysenter trap patch on libSystem.B.dylib and works great, but in Starcraft II sometimes I get random crash
This (http://pastebin.com/f2EgY5BD) appears on Error Reporter of Starcraft II

Sorry for my bad English

davisin666
11-22-2010, 01:43 AM
Adium + Growl 1.2.1 = BIG KERNEL PANIC

opiniatre
11-23-2010, 03:52 PM
Good work running very smoothly with -arch=i386 -force64 (everything is fine except .h264 .mp4 files, the finder quits because of quickview).

Now if I could only get my AMD cpu temp !

RayFlower
11-25-2010, 06:03 PM
Using the nawcom kernel I finally got steam working:

http://nawcom.com/osx86/files/10.6/Kernels/10.5.0/legacy_kernel-10.5.0.pkg.zip

wastez
11-26-2010, 07:14 AM
Hello,

Is this kernel based on the same like this?
Does anyone knows the differences between this two kernels?

Greetz

RayFlower
11-26-2010, 01:22 PM
Hello,

Is this kernel based on the same like this?
Does anyone knows the differences between this two kernels?

Greetz

It's a improved build which solves certain issues, he just made a new one which solves the vmware issue, exciting times for us amd users don't you think? ;)

http://nawcom.com/osx86/files/10.6/Kernels/10.5.0/legacy_kernel/legacy_kernel.bz2

nestorespinoza
12-02-2010, 12:45 AM
with arch=x86_64 -force64 32b appz crash

with arch=i386 -force64 32b appz good

only userland... right?

wastez
12-02-2010, 01:17 PM
It's a improved build which solves certain issues, he just made a new one which solves the vmware issue, exciting times for us amd users don't you think? ;)

http://nawcom.com/osx86/files/10.6/Kernels/10.5.0/legacy_kernel/legacy_kernel.bz2

Sure it is exciting. The kernels get better and better. Would be really interessting which issue is the reason why i can´t boot with flag arch=x86_64....

Greetz

davisin666
12-03-2010, 01:36 AM
Process: Plants vs. Zombies [178]
Path: /Applications/Plants vs. Zombies.app/Contents/MacOS/Plants vs. Zombies
Identifier: com.popcap.plantsvszombies
Version: Plants vs. Zombies version 1.0 (1.0)
Code Type: X86 (Native)
Parent Process: launchd [115]

Date/Time: 2010-12-02 21:25:40.152 -0300
OS Version: Mac OS X 10.6.5 (10H574)
Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000038d8f59b
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.popcap.plantsvszombies 0x0000ede7 0x1000 + 56807
1 com.popcap.plantsvszombies 0x0021e7e3 std::list<Sexy::Widget*, std::allocator<Sexy::Widget*> >::list(std::allocator<Sexy::Widget*> const&) + 15509
2 com.popcap.plantsvszombies 0x0021ebb4 std::list<Sexy::Widget*, std::allocator<Sexy::Widget*> >::list(std::allocator<Sexy::Widget*> const&) + 16486
3 com.popcap.plantsvszombies 0x0021d480 std::list<Sexy::Widget*, std::allocator<Sexy::Widget*> >::list(std::allocator<Sexy::Widget*> const&) + 10546
4 com.popcap.plantsvszombies 0x0021d4c1 std::list<Sexy::Widget*, std::allocator<Sexy::Widget*> >::list(std::allocator<Sexy::Widget*> const&) + 10611
5 com.popcap.plantsvszombies 0x0008756b 0x1000 + 550251
6 com.popcap.plantsvszombies 0x0021d349 std::list<Sexy::Widget*, std::allocator<Sexy::Widget*> >::list(std::allocator<Sexy::Widget*> const&) + 10235
7 com.popcap.plantsvszombies 0x0022397a std::list<Sexy::Widget*, std::allocator<Sexy::Widget*> >::list(std::allocator<Sexy::Widget*> const&) + 36396
8 com.popcap.plantsvszombies 0x0008d5b9 0x1000 + 574905
9 com.popcap.plantsvszombies 0x000024c2 0x1000 + 5314
10 com.popcap.plantsvszombies 0x000023e9 0x1000 + 5097

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x919833db _sysenter_trap + 3
1 libSystem.B.dylib 0x919a9559 _dispatch_queue_invoke + 163
2 libSystem.B.dylib 0x919a92fe _dispatch_worker_thread2 + 240
3 libSystem.B.dylib 0x919a8d81 _pthread_wqthread + 390
4 libSystem.B.dylib 0x919a8bc6 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x919833db _sysenter_trap + 3
1 ....audio_hijack_server.hermes 0x004699b2 ah_serv_loop + 132
2 libSystem.B.dylib 0x919b085d _pthread_start + 345
3 libSystem.B.dylib 0x919b06e2 thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x919833db _sysenter_trap + 3
1 libSystem.B.dylib 0x919dfac8 pthread_cond_timedwait_relative_np + 47
2 com.apple.audio.CoreAudio 0x936d83c7 CAGuard::WaitFor(unsigned long long) + 219
3 com.apple.audio.CoreAudio 0x936db3f9 CAGuard::WaitUntil(unsigned long long) + 289
4 com.apple.audio.CoreAudio 0x936d8cf6 HP_IOThread::WorkLoop() + 1892
5 com.apple.audio.CoreAudio 0x936d858d HP_IOThread::ThreadEntry(HP_IOThread*) + 17
6 com.apple.audio.CoreAudio 0x936d84a4 CAPThread::Entry(CAPThread*) + 140
7 libSystem.B.dylib 0x919b085d _pthread_start + 345
8 libSystem.B.dylib 0x919b06e2 thread_start + 34

Thread 4:
0 libSystem.B.dylib 0x919833db _sysenter_trap + 3
1 libbass.dylib 0x003da9cd BASS_StreamCreate + 6121
2 libSystem.B.dylib 0x919b085d _pthread_start + 345
3 libSystem.B.dylib 0x919b06e2 thread_start + 34

Thread 5:
0 libSystem.B.dylib 0x919833db _sysenter_trap + 3
1 libbass.dylib 0x003dc818 BASS_Free + 1284
2 libSystem.B.dylib 0x919b085d _pthread_start + 345
3 libSystem.B.dylib 0x919b06e2 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00404a00 ebx: 0x225bb200 ecx: 0x000f3150 edx: 0x38d8f59b
edi: 0x225bb310 esi: 0x01214290 ebp: 0xbffff838 esp: 0xbffff7f0
ss: 0x0000001f efl: 0x00010202 eip: 0x0000ede7 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x38d8f59b


FFFFFFFFFFFFFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUU :mad:
And I'm booting at 32 bit!!!