Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › OSx86 Core & 10.X › 10.6.5 legacy kernel for INTEL/AMD (32+64bit)
33,290 reads · 2010-11-18 – 2010-12-03
Report 10.X Core Voodoo / XNU Kernel AMD OSx86

10.6.5 legacy kernel for INTEL/AMD (32+64bit)

This is the latest xnu release: - Supports everything the previous legacy kernel support + 64bit working kernel (Intel/AMD) thanks to Azimutz Download: rapid share.com/files/431601452/mach_kernel_10.5.0_legacy.zip Sources: rapid…

Primary Author
@andyvand Published 2010-11-18
Collection
OSx86 Core & 10.X
Archival Footprint
33,290 historical reads · 42 curated field notes (from 46 dispatches) · 2010-11-18 – 2010-12-03
Credited Voices (15)
@wastez (15)@dawiinci (6)@scififan68 (4)@RayFlower (3)@davisin666 (3)@BanBlade (3)@andyvand (2)@$The-King$ (2)@Grave35 (2)@gedna@jackokk@Imkantus@kabuu@opiniatre@nestorespinoza
Hardware Reference
AMD Desktop Processors ↗ SATA III & NVMe SSDs ↗ USB 3.2 Boot Flash Drives ↗

This is the latest xnu release:
- Supports everything the previous legacy kernel support
+ 64bit working kernel (Intel/AMD) thanks to Azimutz

Download:
rapid share.com/files/431601452/mach_kernel_10.5.0_legacy.zip

Sources:
rapid share.com/files/431601624/legacy_kernel-1504.9.17.diff.zip

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

Synthesized Community Field Notes

42 technical responses curated from 46 original dispatches

Field Note #1 @RayFlower 2010-11-18

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

Field Note #2 @dawiinci 2010-11-18

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!

Field Note #3 @wastez 2010-11-18

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

Field Note #4 @gedna 2010-11-18 ↳ Re: @RayFlower
@RayFlowerGetting 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

i can confirm the same KP using arch=x86_64

Field Note #5 @wastez 2010-11-18

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

Field Note #6 @$The-King$ 2010-11-18

arch x86-64 dosent work
also same problem with quick time crashes on 64 :
i am so sad :'(
but thanks for your work andy

Field Note #7 @wastez 2010-11-18

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

Field Note #8 @wastez 2010-11-18

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

Field Note #9 @dawiinci 2010-11-18 ↳ Re: @wastez
@wastez… 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 per ian.org. If I disable the plugins it works. It is probably a part of QT.

So what do I have to do?

  1. CPUID patching from package 10.4 even in 10.6.5
  2. CPUID patching from package 10.4 only in 10.6.4, partly working in 10.6.5
  3. CPUID manual patching required
  4. dyld patching
  5. dyld patching and CPUID patching
  6. 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.

Field Note #10 @davisin666 2010-11-18

Two questions, I have to patch dyld and -force64 works?

Sorry for my bad english

Field Note #11 @jackokk 2010-11-19

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.

Field Note #12 @wastez 2010-11-19

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. :
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

Field Note #13 @wastez 2010-11-19

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

Greetz

Field Note #14 @wastez 2010-11-19 ↳ Re: @davisin666
@davisin666Two questions, I have to patch dyld and -force64 works? Sorry for my bad english

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

Greetz

Field Note #15 @dawiinci 2010-11-19 ↳ Re: @wastez
@wastezSo 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. : 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…

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.

Field Note #16 @wastez 2010-11-19 ↳ Re: @dawiinci
@dawiinciActually 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 osx 86.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.

Greetz

Field Note #17 @scififan68 2010-11-19

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

Field Note #18 @wastez 2010-11-19 ↳ Re: @scififan68
@scififan6864bit 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…

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

Field Note #19 @scififan68 2010-11-19 ↳ Re: @wastez
@wastezI´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?

Field Note #20 @wastez 2010-11-19

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.

Field Note #21 @Imkantus 2010-11-20 ↳ Re: @RayFlower
@RayFlowerGetting 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.

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

Author Update #1 @andyvand 2010-11-20 ↳ Re: @scififan68
@scififan6864bit 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…
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.
Field Note #22 @wastez 2010-11-20

@ 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

Field Note #23 @dawiinci 2010-11-20

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.

Field Note #24 @wastez 2010-11-20

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

Thx and greetz

Field Note #25 @dawiinci 2010-11-20

No, you don’t need to install Xcode. Everything else you need to patch it is explained here (osx 86.co/f36/10-6-5-is-avaible-via-softwareupdate-t6711/post51373.html).

Field Note #26 @wastez 2010-11-20

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

Field Note #27 @BanBlade 2010-11-21

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 osx 86.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

Field Note #28 @Grave35 2010-11-21

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

Field Note #29 @BanBlade 2010-11-21 ↳ Re: @Grave35
@Grave35I 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

Field Note #30 @scififan68 2010-11-21 ↳ Re: @BanBlade
@BanBladetrue 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!

Show 11 additional community field notesFull archival record
Field Note #31 @dawiinci 2010-11-21

Did you patch the libSystem.B.dylib and update the caches?

Field Note #32 @Grave35 2010-11-21

I have on AMD for archi = x32_64 immediately restart

Field Note #33 @BanBlade 2010-11-21

I did patch the libSystem.B.dylib still 32bit apps crash as soon as click the icon

Field Note #34 @kabuu 2010-11-21

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 (paste bin.com/f2EgY5BD) appears on Error Reporter of Starcraft II

Sorry for my bad English

Field Note #35 @opiniatre 2010-11-23

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 !

Field Note #36 @RayFlower 2010-11-25

Using the nawcom kernel I finally got steam working:

naw com.com/osx86/files/10.6/Kernels/10.5.0/legacy_kernel-10.5.0.pkg.zip

Field Note #37 @wastez 2010-11-26

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

Greetz

Field Note #38 @RayFlower 2010-11-26 ↳ Re: @wastez
@wastezIs 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?

naw com.com/osx86/files/10.6/Kernels/10.5.0/legacy_kernel/legacy_kernel.bz2

Field Note #39 @nestorespinoza 2010-12-01

thanks

with arch=x86_64 -force64 32b appz crash

with arch=i386 -force64 32b appz good

only userland... right?

Field Note #40 @wastez 2010-12-02 ↳ Re: @RayFlower
@RayFlowerIt'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? naw com.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

Field Note #41 @davisin666 2010-12-03
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 :
And I'm booting at 32 bit!

Corroborated & Participated: @$The-King$ @scififan68 @davisin666
Sources & Contributor Provenance (15 credited usernames · Thread #6730)
UsernameDossier ContributionDispatchesActive Window
@wastezCore Contributor152010-11-18 → 2010-12-02
@dawiinciCore Contributor62010-11-18 → 2010-11-21
@scififan68Core Contributor42010-11-18 → 2010-11-21
@RayFlowerCore Contributor32010-11-18 → 2010-11-26
@davisin666Core Contributor32010-11-18 → 2010-12-03
@BanBladeCore Contributor32010-11-21
@andyvandPrimary Author22010-11-18 → 2010-11-20
@$The-King$Contributor22010-11-18
@Grave35Contributor22010-11-21
@gednaContributor12010-11-18
@jackokkContributor12010-11-19
@ImkantusContributor12010-11-20
@kabuuContributor12010-11-21
@opiniatreContributor12010-11-23
@nestorespinozaContributor12010-12-01

Choose your language