PDA

View Full Version : 10.6.6 legacy kernel for INTEL/AMD 32+64bit ready to download


andyvand
01-15-2011, 06:01 PM
Nawcom has implemented support for newest cpu's.
I updated the latest patch to include a custom dyld.
The dyld has also been rebased for security purposes (patch for rebase included in patched/ld...) and has been pre-patched for sysenter purposes (eliminates need for kernel patching custom dyld).
Make sure you pack /System/Library/CoreServices/pbs with upx in order to make it work with the custom dyld.
NOTE: This dyld is beta because we don't have libunwind from Apple.
Some apps may need to be patched with upx in order to let them work.
You can always boot with std_dyld=Yes to skip the patched dyld and use Apple one instead.

Latest working kernel with custom dyld:
http://rapidshare.com/files/444416073/voodoobuild-AnV-0.4.1.zip

Installer package including patched Finder for legacy systems (do custom install, only do it on 32-bit only CPU's, not 64-bit capable ones...):
http://rapidshare.com/files/444515035/Install_Legacy_Kernel.zip

EDIT: I added a UPX that allows packing of Firefox and stuff.
NOTE: Don't pack Apple encrypted binaries as they'll crash on launch, they need decryption in order to be packeable.
Too bad I don't have the decryption algo's from Marvin's AMD Utility or I could adapt them to decrypt 32+64bit...
If you have Finder issues (32-bit legacy systems only) do a custom install with the installer package and check installing custom coreservices (unchecked by default).
I reposted the latest working kernel (as the ToH SSE3 emulator really won't work with SL).

EDIT 2: I reworked UPX some more.
It now works like a regular upx unless you pack with the following command:
upx --force <binary>
It can now also pack Skype (and probably others which still couldn't be done).
Don't pack Apple encrypted binaries though... they'll still crash... decrypt them before packing...
I've also added the LZMA code (for --ultra-brute).
The upx_nosizecheck_forced.zip contains an UPXed version of UPX.
If this should give you trouble download upx_nocheck_forced_notupxed.zip (just posted, should work for all...)

gedna
01-15-2011, 10:42 PM
Andy please can you explain how to use all those tools inside patches folder?

Doerak
01-16-2011, 11:33 AM
A Howtos guide would be welcome.

-pack /System/Library/CoreServices/pbs with upx
-patch the file dyld


http://osx86.wikidot.com/en:how-to-s

RayFlower
01-16-2011, 11:21 PM
hum i downloaded the sources and compiled upx and packed /System/Library/CoreServices/pbs mail didn't work but i packed the binary and then it works.
I don't know the benefits of this system yet or how much of the system that needs patching before this will work, logic did not respond well to this method for instance, neither did finder.
Anyhow thanks for the beta, it seems the custom dyld has improved a lot:)

For those who want to test it out, you can try this guide, its pretty easy to get working and i think it's present in macports as well
http://blog.loudhush.ro/2010/12/compressing-mac-os-x-executables-using.html

Imkantus
01-19-2011, 04:58 PM
Okay here is my testing experience:

I took an empty harddrive and did a fresh install of Snow Leopard + applied the 10.6.6 Combo Updater - installed PC_EFI 10.6, added just the Kernel + NForceATA, fakesmc, SleepEnabler, patched AppleHDA + added Device ID for my HD4650 - everything else left untouched.

I could not boot without -force64 - all Kernels since Darwin 10.5.0 have this issue for me - without it fsck just shuts down my system. Darwin 10.4.0 and earlier works - independend from the applied patches.
This issue is not related to this realease, but am I the only one?! Can this be fixed?

First issue: The Systemassistant (that App showing the nice video and guiding you through the basic system adjustments) ain't loading - just stuck on grey screen with moveable cursor - this problem is present in any Kernel Patch since this one: http://osx86.co/f36/10-3-0-qoopz-anv-kernel-rel3-t6450/
It is present independ from using Kernel dyld, Vanilla dyld or dyld with bin-patched sysenter traps.
If you are using the Kernel for inital setups like mine, this sucks badly! :-/
Deleting sound and video file of the welcome vid doesn't solve this - neither booting with out graphic drivers (including framebuffer).

After beeing done with that, I installed upx via MacPorts and used it to pack /System/Library/CoreServices/pbs

Kernel related issues:


SystemUISever doesn't work. The menubar icons including clock and spotlight are just flickering up sometimes but are not present the most time nor usable. Packing it with upx ain't possible cause of NotCompressibleException error.
Is this maybe related to binary decryption?
all those kernel debug messages are nasty (all those segment fails - those messages are still appearing in dmesg after "DSMOS has arrived")
Finder is crashing a lot
System-Profiler is crashing
system is beachnballing a lot, but this can be related to the first point

laudation:


CPUID-autopatching seems to work - iTunes settings are working with untouched Carbon framework.
32-Bit Apps are fine within -force64 mode

Imkantus
01-20-2011, 02:16 AM
Sorry for double-posting...

After putting one and one together, I think it is obvious, that binary decryption ain't working by the Kernel.

So Andy - if that bug in Kernel Patch cannot be fixed yet; do you have been able to build apb_decrypt for Snow Leopard, yet? - If so, would you mind to share? ;) Ofcourse decrypting directly isn't the way I would like it, but I guess it would make the Kernel usable, what I would appreciate, as dyld appears to be very stable this time. :)

Anyway; Thanks a lot for all your efforts till the point.

fumoboy007
01-20-2011, 02:49 AM
I could not boot without -force64 - all Kernels since Darwin 10.5.0 have this issue for me - without it fsck just shuts down my system. Darwin 10.4.0 and earlier works - independend from the applied patches.
This issue is not related to this realease, but am I the only one?! Can this be fixed?

No, you are not the only one. I think everyone with more than 4GB of RAM cannot boot into 32-bit userspace without fsck crashing. If I boot with maxmem=4096, I can boot. Anything greater than that fails.

andyvand
01-22-2011, 06:36 PM
Sorry for double-posting...

After putting one and one together, I think it is obvious, that binary decryption ain't working by the Kernel.

So Andy - if that bug in Kernel Patch cannot be fixed yet; do you have been able to build apb_decrypt for Snow Leopard, yet? - If so, would you mind to share? ;) Ofcourse decrypting directly isn't the way I would like it, but I guess it would make the Kernel usable, what I would appreciate, as dyld appears to be very stable this time. :)

Anyway; Thanks a lot for all your efforts till the point.
Binary decryption works (after "DSMOS has arrived" message) but I will add SystemUIServer, Finder and also VLC to the "no-patch list".
I'll post results when I'm done, this way the kernel should be able to boot an unpatched system...

andyvand
01-22-2011, 06:39 PM
System-Profiler is crashing
Pack "System Profiler" with upx, same goes for Disk Utility and most other apps that crash (including some iLife apps).
upx is the fix ;)

davisin666
01-23-2011, 06:28 PM
Pack "System Profiler" with upx, same goes for Disk Utility and most other apps that crash (including some iLife apps).
upx is the fix ;)


Nawcom kernel is the fix xD

Imkantus
01-24-2011, 03:45 AM
I think everyone with more than 4GB of RAM cannot boot into 32-bit userspace without fsck crashing.Thanks for pointing that out. ;)

Binary decryption works (after "DSMOS has arrived" message) but I will add SystemUIServer, Finder and also VLC to the "no-patch list".
Well OK then, I just have thought that non working decryption would have been the reason, for me having lot's of "patch_text_segment failed" errors in dmesg after "DSMOS has arrived" and the system was up as well...
Looking forward to try the next build. :)

Would you mind to answer some questions to me?
First I wonder what's the purpose of libunwind - I know it is required for building dyld and that this hasn't been the case on Leopard. (That's what even zero-coder like me can understand when looking at the src.^^)
I guess missing libunwind is the reason for having to use upx on some binary - is it?
Do you think you can port libunwind for Snow Leopard?

Nawcom kernel is the fix xD
1. Who do you think has added all the important code, for us AMD users to what you use to call "Nawcom kernel"?!
Without the efforts of Andyvand you would still be using sort of pure legacy mode kernel / without any 64-Bit capability. :-/

2. What sentence in the first post don't you understand?! "I updated the latest patch to include a custom dyld." or "This dyld is beta"???

3. Even if you don't know the meaning of some words, it should be possible to understand that this is a) about keeping development going, and b) no final release, what usually means that testers are wanted.
If even getting that is beyond your scope of mind, you should better hold your tongue instead of posting provocative shit into technical topics. :-X

andyvand
01-24-2011, 12:40 PM
Nawcom kernel is the fix xD
Nawcom's kernel package doesn't yet have a custom dyld built in.
It's actually the same as booting this kernel with the following boot argument:
std_dyld=Yes
...
Don't worry, development is proceeding on the dyld.
I'm going to reverse engineer the Apple libunwind procedures from Apple's dyld (i386 and x86_64 dyld part).
I'll keep you posted if I succeed ;)

andyvand
01-24-2011, 12:46 PM
Would you mind to answer some questions to me?
First I wonder what's the purpose of libunwind - I know it is required for building dyld and that this hasn't been the case on Leopard. (That's what even zero-coder like me can understand when looking at the src.^^)
I guess missing libunwind is the reason for having to use upx on some binary - is it?
Do you think you can port libunwind for Snow Leopard?

Yeah, we need to pack some binaries with upx for this reason.
I'm going to reverse engineer the routines used in Apple's dyld though (32bit + 64bit Intel part).
I think this will fix the last little issues with the dyld and that it then will be the first dyld release.

wastez
01-24-2011, 12:56 PM
Hello,

Can anyone tell me how to compile ucl & upx so that i can use the kernel?!
Would be really nice too know because i never compiled anything.

Thx & Greetz

andyvand
01-25-2011, 06:29 AM
Hello,

Can anyone tell me how to compile ucl & upx so that i can use the kernel?!
Would be really nice too know because i never compiled anything.

Thx & Greetz
I found mine on InsanelyMac, precompiled and working great... ;)

andyvand
01-25-2011, 06:32 AM
I am also working on a new dyld.
Latest attempt is replacing the used exception code from the libunwind.a code to the libgcc_eh.a code.
Currently done (as it's also used this way on iOS I only needed to change a certain #if)
I also changed some other code so it shouldn't crash on load of System Profiler, etc...
I also updated the voodoobuild script so that it uses rebase_dyld to rebase the address of the dyld (i386 and x86_64, for security purposes...) and pre-patched the dyld sysenter trap so that the kernel doesn't need to look for it each time over again... this is faster...
Work in progress thus, I'll let you guys know if it works. ;)

wastez
01-25-2011, 07:23 AM
I found mine on InsanelyMac, precompiled and working great...
Would it be enough if i download an compiled upx and copy it to /usr/bin or do i need ucl too?

Greetz & Thx for your reply

andyvand
01-25-2011, 08:53 AM
Would it be enough if i download an compiled upx and copy it to /usr/bin or do i need ucl too?

Greetz & Thx for your reply
Just download a compiled copy and use it like this from within Terminal:
sudo upx --best /System/Library/CoreServices/pbs

andyvand
01-25-2011, 08:55 AM
Waiting patiently :) Fingers crossed.

I've achieved a lot more success.
Right now every app runs stable without upx (except for /System/Library/CoreServices/pbs, pack this with upx).
If you use Vodafone Mobile Connect, pack this too...

Fixed:
- SystemUIServer crashes on Finder icons
- Disk Utility, System Profiler, etc... all work without packing
- dyld speed issues solved
- On-The-Fly patching works for all

It's stable enough to use on a SL install DVD as main patcher.

Download full package:
http://rapidshare.com/files/444416073/voodoobuild-AnV-0.4.1.zip

Let me know what you think of it so far... :D

For fellow developers:
When Finder should fail (for the moment after a file copy, folder copy, zip action, probably others :wacko: ) it always crashes on GetDYLDEntry.
If somebody could debug and trace this for me so I can fix this last little issue.
This was after a file copy...
Other than that it's fine, so please, lend me your eyes, devs so we can together close this chapter down. ;)

andyvand
01-25-2011, 01:06 PM
Could somebody who has a 64 bit processor (Intel / AMD)

For AMD:
boot up with arch=i386 -force64

For Intel:
boot up with arch=i386 patcher_opts=49 -amd -force64

and see if the 64bit Finder (not a decrypted one from Marvin's Utility) runs without those issues.
I am beginning to suspect that the rebasing of the dyld may have something to do with the last bug.
I also think that they are i386 dyld related (not x86_64 dyld)...
I am currently rebuilding a kernel with sysenter trap pre-patched in dyld but not rebased to see if this is the case.
I have also made a decrypt of "Finder" (32bit only though), removed the code signature and packed it with upx to test in case this doesn't work.
Working hard on a final solution... ;)
Please, somebody who can, do me a lot of fun and test it... all for the sake of progress...

RayFlower
01-25-2011, 02:45 PM
Thanks for another update, I'm not a developer but i tried your kernel anyway:
Logic doesn't seem to co-operate very well with this kernel:

In 64bit mode with the 32-bit audio unit bridge:
http://pastebin.com/6wz6hDrY

32Bit mode:
http://pastebin.com/8RfQNnLf

I also got a kernel panic when i tried to open logic

About finder, i can't say i experience any trouble with it at all, i can copy compress i don't get any finder specific crashes in my Console.app either.
(i copied Finder.app from my macbookpro to make sure that my results were genuine)

Imkantus
01-25-2011, 03:30 PM
Hey Andy,

I have just booted latest Kernel on the testing installation (packed pbs - everything else left untouched), booting with -force64 - same like in case of RayFlower, there are no issues within Finder. :)

Everything works well, except Firefox is crashing gonna try to pack with upx...
//Edit: No way, just crash reporter. For some reason I can launch it from the dmg, but not when beeing copied to the HDD... :mad: Removing write permission from all the apps files hasn't worked as well. Any idea?
Just started <Bing Chrome but having FF fixed would be nice anyway...

Now I all I want is having those decryption error printf lines removed (can do myself if you got better things to do^^)

Thank you sooo much for making this possible...
http://www.euroclubschools.org/userimages/th_party-smiley-551.gif

andyvand
01-25-2011, 08:35 PM
I made an installer to install a custom Finder, custom pbs and legacy_kernel.
I made it so that with advanced install you can choose wether or not to install the CoreServices, the kernel or both.
If your Finder allready works as it should for you you don't need these fixed CoreServicess installed...
Kernel is by default installed as /legacy_kernel (to allow other kernels, including original)
By default it installs the CoreServices and the kernel (easy install).

Download:
http://rapidshare.com/files/444515035/Install_Legacy_Kernel.zip

gedna
01-25-2011, 10:54 PM
andy
i have installed your kernel with this installer,
restarted and booted using arch=i386 -force 64 and finder on my system is not working, crashes... dont know, is it because earlier o have used legacy kernel from nawcom. on 32bit everything works normal.

davisin666
01-25-2011, 10:56 PM
I will give a chance to this kernel xddd, nawcom's kernel it's working fine for me but I will test your kernel to choose which one is working better.

"Nawcom kernel is the fix"It was the "sarcastic" moment of the day, I hope that no one got offended xDDD

Thanks for all!

-------------------------------------------------------------------------------------------------------

Installer music, ehhhhh, EPIC WIN

I installed from the installer your kernel and CoreServices patches, and Finder crashed instantaneously :(
I shut down the pc and I rebooted mac, and Finder crashed again and infinitely
I booted again with std_dyld=Yes and Finder crashed again.
I rebooted and booted with -v -f and now Firefox and, Finder, crashes
I'm gonna try MacDrive and get back the original CoreServices

My default bootflags are arch=i386 and -force64

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

Date/Time: 2011-01-25 19:15:13.058 -0300
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6

Interval Since Last Report: 233106 sec
Crashes Since Last Report: 4816
Per-App Crashes Since Last Report: 4806
Anonymous UUID: D8F522BB-DB7C-4C6E-A2A1-F22B3BC699C8

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

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
eax: 0x000000c5 ebx: 0xbfffe658 ecx: 0xbfffe568 edx: 0x004df308
edi: 0x00000000 esi: 0x00000000 ebp: 0xbfffe5c4 esp: 0xbfffe568
ss: 0x0000001f efl: 0x00010206 eip: 0x004df2de cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000000
cr2: 0xbfffe638

Binary images description not available


Model: MacPro5,1, BootROM MultiBeast.tonymacx86.com, 2 processors, Intel Core Duo, 3.01 GHz, 2 GB, SMC 1.30f3
Graphics: GeForce GTS 250, GeForce GTS 250, PCIe, 512 MB
Memory Module: global_name
Network Service: Ethernet, Ethernet, en0
PCI Card: GeForce GTS 250, Display, Slot-1
Serial ATA Device: WDC WD3000JS-00PDB0, 279.46 GB
Parallel ATA Device: HL-DT-ST DVDRAM GSA-H10N
USB Device: PS/2+USB Mouse, 0x09da (A-FOUR TECH CO., LTD.), 0x000a, 0x02200000
USB Device: CIF Single Chip, 0x093a (Pixart Imaging, Inc.), 0x2470, 0x04200000
USB Device: Generic USB Hub, 0x058f (Alcor Micro, Corp.), 0x9254, 0x04100000

LOL

andyvand
01-25-2011, 11:27 PM
andy
i have installed your kernel with this installer,
restarted and booted using arch=i386 -force 64 and finder on my system is not working, crashes... dont know, is it because earlier o have used legacy kernel from nawcom. on 32bit everything works normal.
You should have done a custom install.
Restore Finder binary (the one under /System/Library/CoreServices/Finder.app/Contents/MacOS/) from a combo update image.
I should have put the Finder patch as "optional" as it's designed for 32bit only systems (which have those Finder crashes).
So everybody please take care... If you have a 64bit capable CPU do a CUSTOM INSTALL and uncheck the CoreServices patch. If your CPU is 32bit only, you can install this (even need to on 32bit only AMD)
Sorry for the inconvenience.

Imkantus
01-25-2011, 11:30 PM
Damn it! Since about two hours I am just like wtf?!

For the first: Finder problem is legacy mode only, works in -force64

But that doesn't matter to me currently:

System has freezed from one moment to another - after reset the most hatet scenario was back; 32-Bit Apps refused to work: "sysenter trap"....

http://www.abload.de/img/screenshot2011-01-25atulzz.png

And no: I have definataly not changend anything!

I also had the problem that dyld refused to be patched by kernel sometimes using older legacy kernel patches; see here: http://osx86.co/f36/10-6-5-legacy-kernel-for-intel-amd-t6753/post51970.html
But this time just another reboot doesn't help, nor deleting Caches....

andyvand
01-25-2011, 11:34 PM
I will give a chance to this kernel xddd, nawcom's kernel it's working fine for me but I will test your kernel to choose which one is working better.

"Nawcom kernel is the fix"It was the "sarcastic" moment of the day, I hope that no one got offended xDDD

Thanks for all!

-------------------------------------------------------------------------------------------------------

Installer music, ehhhhh, EPIC WIN

I installed from the installer your kernel and CoreServices patches, and Finder crashed instantaneously :(
I shut down the pc and I rebooted mac, and Finder crashed again and infinitely
I booted again with std_dyld=Yes and Finder crashed again.
I rebooted and booted with -v -f and now Firefox and, Finder, crashes
I'm gonna try MacDrive and get back the original CoreServices

My default bootflags are arch=i386 and -force64

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

Date/Time: 2011-01-25 19:15:13.058 -0300
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6

Interval Since Last Report: 233106 sec
Crashes Since Last Report: 4816
Per-App Crashes Since Last Report: 4806
Anonymous UUID: D8F522BB-DB7C-4C6E-A2A1-F22B3BC699C8

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

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
eax: 0x000000c5 ebx: 0xbfffe658 ecx: 0xbfffe568 edx: 0x004df308
edi: 0x00000000 esi: 0x00000000 ebp: 0xbfffe5c4 esp: 0xbfffe568
ss: 0x0000001f efl: 0x00010206 eip: 0x004df2de cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000000
cr2: 0xbfffe638

Binary images description not available


Model: MacPro5,1, BootROM MultiBeast.tonymacx86.com, 2 processors, Intel Core Duo, 3.01 GHz, 2 GB, SMC 1.30f3
Graphics: GeForce GTS 250, GeForce GTS 250, PCIe, 512 MB
Memory Module: global_name
Network Service: Ethernet, Ethernet, en0
PCI Card: GeForce GTS 250, Display, Slot-1
Serial ATA Device: WDC WD3000JS-00PDB0, 279.46 GB
Parallel ATA Device: HL-DT-ST DVDRAM GSA-H10N
USB Device: PS/2+USB Mouse, 0x09da (A-FOUR TECH CO., LTD.), 0x000a, 0x02200000
USB Device: CIF Single Chip, 0x093a (Pixart Imaging, Inc.), 0x2470, 0x04200000
USB Device: Generic USB Hub, 0x058f (Alcor Micro, Corp.), 0x9254, 0x04100000

LOL
Sorry also about that follow my instructions from the previous post and boot with arch=i386 (but no -force64)
Next from a combo update for 10.6.6 restore the Finder binary in /S/L/CS/Finder.app/Contents/MacOS/
This patch is only for 32bit only systems which have these crashing issues (but not for 64bit capable systems, as stated above).
Sorry about by default enabling the patch, it seems I shouldn't have done that... :-|
Next release will have patch included but not by default enabled...

EDIT: I decided to reupload the kernel installer but this time by default Finder and pbs patch disabled
Download:
http://rapidshare.com/files/444544253/Install_Legacy_Kernel_NodefaultFinderLegacyFix.zip

davisin666
01-25-2011, 11:58 PM
Sorry also about that follow my instructions from the previous post and boot with arch=i386 (but no -force64)
Next from a combo update for 10.6.6 restore the Finder binary in /S/L/CS/Finder.app/Contents/MacOS/
This patch is only for 32bit only systems which have these crashing issues (but not for 64bit capable systems, as stated above).
Sorry about by default enabling the patch, it seems I shouldn't have done that... :-|
Next release will have patch included but not by default enabled...

EDIT: I decided to reupload the kernel installer but this time by default Finder and pbs patch disabled
Download:
http://rapidshare.com/files/444544253/Install_Legacy_Kernel_NodefaultFinderLegacyFix.zip

I fixed it with MacDrive :D
The only non working apps are Firefox and GarageBand '11

Process: GarageBand [337]
Path: /Applications/GarageBand.app/Contents/MacOS/GarageBand
Identifier: com.apple.garageband
Version: 6.0.1 (427.57)
Build Info: GarageBand_App-4275700~2
Code Type: X86 (Native)
Parent Process: launchd [127]

Date/Time: 2011-01-25 19:54:46.953 -0300
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6

Interval Since Last Report: 234382 sec
Crashes Since Last Report: 10592
Per-App Interval Since Last Report: 147 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: D8F522BB-DB7C-4C6E-A2A1-F22B3BC699C8

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ??? 0000000000 0 + 0
1 com.apple.music.apps.Logic 0x01adfbfd TaskCompleted() + 366605
2 com.apple.music.apps.Logic 0x018264cb LgApplicationInit + 379
3 com.apple.garageband 0x00066f81 0x1000 + 417665
4 com.apple.garageband 0x000661aa 0x1000 + 414122
5 com.apple.Foundation 0x046144df _nsnote_callback + 176
6 com.apple.CoreFoundation 0x043de793 __CFXNotificationPost + 947
7 com.apple.CoreFoundation 0x043de19a _CFXNotificationPostNotification + 186
8 com.apple.Foundation 0x04609384 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
9 com.apple.Foundation 0x04616789 -[NSNotificationCenter postNotificationName:object:] + 56
10 com.apple.AppKit 0x049c0565 -[NSApplication finishLaunching] + 493
11 com.apple.AppKit 0x049bff61 -[NSApplication run] + 79
12 com.apple.AppKit 0x049b82d9 NSApplicationMain + 574
13 com.apple.garageband 0x0019b790 0x1000 + 1681296
14 com.apple.garageband 0x0000329a 0x1000 + 8858

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x0409b3db _sysenter_trap + 3
1 libSystem.B.dylib 0x040c1559 _dispatch_queue_invoke + 163
2 libSystem.B.dylib 0x040c12fe _dispatch_worker_thread2 + 240
3 libSystem.B.dylib 0x040c0d81 _pthread_wqthread + 390
4 libSystem.B.dylib 0x040c0bc6 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x0409b3db _sysenter_trap + 3
1 libSystem.B.dylib 0x040c0bc6 start_wqthread + 30

Thread 3:
0 libSystem.B.dylib 0x0409b3db _sysenter_trap + 3
1 com.apple.CoreFoundation 0x043c037f __CFRunLoopRun + 2079
2 com.apple.CoreFoundation 0x043bf464 CFRunLoopRunSpecific + 452
3 com.apple.CoreFoundation 0x043bf291 CFRunLoopRunInMode + 97
4 com.apple.Foundation 0x0464d7d0 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 329
5 com.apple.Foundation 0x04614bf0 -[NSThread main] + 45
6 com.apple.Foundation 0x04614ba0 __NSThread__main__ + 1499
7 libSystem.B.dylib 0x040c885d _pthread_start + 345
8 libSystem.B.dylib 0x040c86e2 thread_start + 34

Thread 4: com.apple.CFSocket.private
0 libSystem.B.dylib 0x0409b3db _sysenter_trap + 3
1 libSystem.B.dylib 0x040c885d _pthread_start + 345
2 libSystem.B.dylib 0x040c86e2 thread_start + 34

Thread 5:
0 libSystem.B.dylib 0x0409b3db _sysenter_trap + 3
1 libSystem.B.dylib 0x040c0bc6 start_wqthread + 30

Thread 6:
0 libSystem.B.dylib 0x0409b3db _sysenter_trap + 3
1 libSystem.B.dylib 0x040f4e23 usleep$UNIX2003 + 61
2 com.apple.AppKit 0x04b67fe1 -[NSUIHeartBeat _heartBeatThread:] + 2039
3 com.apple.Foundation 0x04614bf0 -[NSThread main] + 45
4 com.apple.Foundation 0x04614ba0 __NSThread__main__ + 1499
5 libSystem.B.dylib 0x040c885d _pthread_start + 345
6 libSystem.B.dylib 0x040c86e2 thread_start + 34

Thread 7:
0 libSystem.B.dylib 0x0409b3db _sysenter_trap + 3
1 libSystem.B.dylib 0x040c0bc6 start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x0409a000 ebx: 0x04109134 ecx: 0x0000004e edx: 0x00000007
edi: 0xbfffee2f esi: 0x0409a000 ebp: 0xbfffee48 esp: 0xbfffee0c
ss: 0x0000001f efl: 0x00010286 eip: 0x00000000 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000000

Maybe UPX, but patching with UPX it's not a real solution, but the dyld it's beta and new, I will wait until I can open firefox and garageband without patching :D

-----
http://download.imodzone.net/
Mac OS X 10.6.7 10J846 mac_os_x_10.6.7_build_10j846_combo_update__reversi oner.dmg 1011.94 MB
I will do a kamikaze test XD

davisin666
01-26-2011, 02:09 AM
http://archivos2.tie.cl/motumbo/mac/10.6.7%20beta%202.jpg
:cool:

Your installer doesn't patch libsystem, so I have to do that manually and 32 bit apps / PPC work :D
Except Firefox and GarageBand '11

---
Now, PlayOnMac doesn't work and iUPX too.


Process: iUPX [467]
Path: /Applications/iUPX.app/Contents/MacOS/iUPX
Identifier: com.Xesc&Technology.iUPX
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [137]

Date/Time: 2011-01-25 23:22:40.796 -0300
OS Version: Mac OS X 10.6.7 (10J846)
Report Version: 6

Interval Since Last Report: 5641 sec
Crashes Since Last Report: 39
Per-App Crashes Since Last Report: 1
Anonymous UUID: D8F522BB-DB7C-4C6E-A2A1-F22B3BC699C8

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

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
eax: 0x000000c5 ebx: 0xbfffeffc ecx: 0xbfffef0c edx: 0x0001999d
edi: 0x00000000 esi: 0x00000000 ebp: 0xbfffef68 esp: 0xbfffef0c
ss: 0x0000001f efl: 0x00010206 eip: 0x00019973 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000000
cr2: 0xbfffefdc

Binary images description not available

Process: playonmac.real [495]
Path: /Applications/PlayOnMac.app/Contents/MacOS/playonmac.real
Identifier: playonmac.real
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [484]

Date/Time: 2011-01-25 23:24:11.218 -0300
OS Version: Mac OS X 10.6.7 (10J846)
Report Version: 6

Interval Since Last Report: 5731 sec
Crashes Since Last Report: 40
Per-App Crashes Since Last Report: 3
Anonymous UUID: D8F522BB-DB7C-4C6E-A2A1-F22B3BC699C8

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ??? 0000000000 0 + 0
1 playonmac.real 0x00005896 main + 99
2 playonmac.real 0x0000189a start + 54

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00400000 ebx: 0x0007a124 ecx: 0x0000004e edx: 0x00000007
edi: 0xbffffa2f esi: 0x00400000 ebp: 0xbffffa48 esp: 0xbffffa0c
ss: 0x0000001f efl: 0x00010286 eip: 0x00000000 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000000

Binary Images:
0x1000 - 0x6ffe +playonmac.real ??? (???) <A58B0E66-3844-5AF0-704B-3F6B3E1CA703> /Applications/PlayOnMac.app/Contents/MacOS/playonmac.real
0xb000 - 0x1b2ff7 libSystem.B.dylib 125.2.10 (compatibility 1.0.0) <CD9C71B5-A3BE-80C7-113B-92CDDF4A27FA> /usr/lib/libSystem.B.dylib
0x234000 - 0x237fe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0x258000 - 0x29eff7 libauto.dylib ??? (???) <29422A70-87CF-10E2-CE59-FEE1234CFAAE> /usr/lib/libauto.dylib
0x2ab000 - 0x2b9fe7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <33C1B260-ED05-945D-FC33-EF56EC791E2E> /usr/lib/libz.1.dylib
0x400000 - 0x57bfe7 com.apple.CoreFoundation 6.6.4 (550.42) <C78D5079-663E-9734-7AFA-6CE79A0539F1> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x673000 - 0x7f5fe7 libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <D375C1CF-C88D-C5F6-3C49-CD429023FBAC> /usr/lib/libicucore.A.dylib
0x857000 - 0x904fe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <C8925910-B927-968B-4B71-D83A4CEF8646> /usr/lib/libobjc.A.dylib
0x918000 - 0x982fe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x8fe00000 - 0x8fe3a00b dyld 0.0 (???) <18943E95-0AD1-F8DC-3153-540BFD534D26> /usr/lib/dyld
0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <CD9C71B5-A3BE-80C7-113B-92CDDF4A27FA> /usr/lib/libSystem.B.dylib

I'm installing upx though MacPorts xd
--------
iUPX works when I decompress the program with UPX, LOL

Imkantus
01-26-2011, 03:55 AM
Your installer doesn't patch libsystem, so I have to do that manually and 32 bit apps / PPC work :D
For sure patching sysenter traps in libSystem.B.dylib will fix 32-Bit Apps, but this should theoretically not be necessary using this Kernel, as it should be able to patch librarys that are loaded dynamically as well (not only mach-o like the kernel patcher in "annappirtrvh v4"-patch can do)

And I can confirm that it has worked, but in my case it just stopped for an unknown reason... :(
I'll have to reinstall and see if it will happen to me again...

PS: Your screen resolution is sick man.^^ :D

aka120
01-26-2011, 07:36 AM
Hey Andy...I just installed your latest kernel and it is definitely faster!
Previously I was using nawcom's kernel and on geekbench it was usually around 7000-8000 score...
Here you can see, using your latest kernel, the system is running smoother and faster...
http://img96.imageshack.us/img96/140/screenshot20110126at123.jpg
I haven't done much so I can't say what is or isn't working yet, but so far so good.

Thanks man for all your hard work, really awesome stuff!

wastez
01-26-2011, 07:53 AM
Does the installer generate and install a custom dyld too?

Thx for all your hard work.....

Unrealized
01-26-2011, 08:29 AM
Firefox crashed with this kernel on Snow Leopard. (10.6.0)

davisin666
01-26-2011, 02:22 PM
For sure patching sysenter traps in libSystem.B.dylib will fix 32-Bit Apps, but this should theoretically not be necessary using this Kernel, as it should be able to patch librarys that are loaded dynamically as well (not only mach-o like the kernel patcher in "annappirtrvh v4"-patch can do)

And I can confirm that it has worked, but in my case it just stopped for an unknown reason... :(
I'll have to reinstall and see if it will happen to me again...

PS: Your screen resolution is sick man.^^ :D

Without patching lib.System.B.dylib, 32 bit apps are working, but rosetta apps don't, al least at 10.6.7, so it's necessary to patch libsystem in order to get PPC.

Asdsadasdasdasd, I have a cheap lcd monitor xddd, but I can connect my pc to my HDTV, but I'm lazy ^_^

PD: With std_dyld=Yes, PlayOnMac, Garageband '11, Firefox and all my applications are working, so this isn't a 10.6.7 issue, it's because the modded dyld xd.

I will provide more feedback :D

------

Divx Converter panic
http://pastebin.com/bLC3xH73

gedna
01-26-2011, 08:23 PM
done a clean install
Just have atiata.kext and fakesmc on extra folder, and new andy kernel.
working normaly, BUT when you drag and drop, delete, and so on... something everytime finder relaunches itself, strange to explain.. maybe some one got the same thing?
strange and annoying, plus some apps is still crashing,
im using 32bit mode couse its working much smoother on my old amd phenom 9600,

Imkantus
01-26-2011, 11:56 PM
Andy has posted a patched Finder in this thread.

But could you or some others try in -force64 mode? I am somewhat curious if you will suffer sysenter trap patching to stop working properbly after some time like I did or not... :)

wastez
01-27-2011, 07:32 AM
I tried this kernel too and almost everything is working. Finder works but cinebench in 32 bit mode crashes!!!

Does anybody else have this problem?

andyvand
01-27-2011, 09:01 PM
done a clean install
Just have atiata.kext and fakesmc on extra folder, and new andy kernel.
working normaly, BUT when you drag and drop, delete, and so on... something everytime finder relaunches itself, strange to explain.. maybe some one got the same thing?
strange and annoying, plus some apps is still crashing,
im using 32bit mode couse its working much smoother on my old amd phenom 9600,
If you don't use 64bit mode (only legacy mode) you can use my installer package and do a custom install and check the installation for the patched coreservices.
NOTE: If you do this you won't be able to use 64bit mode at all (custom Finder will crash in 64bit mode) because it's designed for legacy systems (which only use 32bit apps).
The better solution is to boot with arch=i386 -force64
Choose one of these... ;)

gedna
01-27-2011, 09:10 PM
Thanks andy for response
But i do able to use 64bit. but im not using it since 32bit is working more smoother on my system, so that happens on 32 bit system, and i havent installed that new patched finder, so thats odd,
can you figure this out? i will check if this happens on booting with arch=i386 -force64 flag..

junkies04
01-28-2011, 08:01 AM
it work for me.
thanks so much! :D

wastez
01-28-2011, 08:02 AM
I tried the kernel a few days but my system doesn´t work really good with it.
Can anyone upload the original libsystem.b.dylib because i´ve just a patched one?

Would be really cool if you can solve the issues......

Thx for your hard work....

gedna
01-28-2011, 08:31 AM
EDIT:
using 64bit flag, no problems, booted in 32bit, i got (like i sed) drag and drop problems , delete problems and so on, like finder relaunches itself, and i got very huge brightness level on my LCD monitor, using 64bit no problems,
but the thing is.. 32bit feels more smoother and faster on my phenom 9600 :P ech..

Reinekis
01-28-2011, 03:23 PM
I tried the kernel a few days but my system doesn´t work really good with it.
Can anyone upload the original libsystem.b.dylib because i´ve just a patched one?

Would be really cool if you can solve the issues......

Thx for your hard work....

Same here on AMD computer. 10.6.5 worked very well. With 10.6.6 I have misc issues like:

Crashing ShoveBox when trying to paste text into it:
com.apple.launchd.peruser.501[175] ([0x0-0x1b01b].com.wonderwarp.shovebox[257]) Job appears to have crashed: Bus error

Display profile doesn't load automatically after booting.

When booting in verbose mode I see messages "the patch hasn't been applied (will try later)" or something like that.

Can't patch nvdaresman.kext with Maxxus Patcher (Cannot reach x86 Mach-O segment on file! 0 of 2 patches applied.) This is not 10.6.6 related but any ideas how to patch it?

Anyway, thanks for hard work! Up until 10.6.6 almost everything worked like a charm!

Reinekis
01-28-2011, 10:02 PM
Same here on AMD computer. 10.6.5 worked very well. With 10.6.6 I have misc issues like:

Crashing ShoveBox when trying to paste text into it:
com.apple.launchd.peruser.501[175] ([0x0-0x1b01b].com.wonderwarp.shovebox[257]) Job appears to have crashed: Bus error

Display profile doesn't load automatically after booting.

When booting in verbose mode I see messages "the patch hasn't been applied (will try later)" or something like that.

Can't patch nvdaresman.kext with Maxxus Patcher (Cannot reach x86 Mach-O segment on file! 0 of 2 patches applied.) This is not 10.6.6 related but any ideas how to patch it?

Anyway, thanks for hard work! Up until 10.6.6 almost everything worked like a charm!

Other problems were noted - Volume slider doesn't affect sound level. Skype doesn't start.

So I reverted back to 10.6.5 kernel and problems disappeared (except that I can't patch nvdaresman.kext). Now 10.6.6 update with 10.6.5 kernel works pretty well, no issues so far.

With kernel 10.6.6 I also installed AMD Coreservices. How could I revert it back (to be able boot with -force64)? If I take certain files from my unpatched 10.6.2 system - would it help? If yes, what files should I copy?

Thank you!

davisin666
01-29-2011, 12:32 AM
Other problems were noted - Volume slider doesn't affect sound level. Skype doesn't start.

So I reverted back to 10.6.5 kernel and problems disappeared (except that I can't patch nvdaresman.kext). Now 10.6.6 update with 10.6.5 kernel works pretty well, no issues so far.

With kernel 10.6.6 I also installed AMD Coreservices. How could I revert it back (to be able boot with -force64)? If I take certain files from my unpatched 10.6.2 system - would it help? If yes, what files should I copy?

Thank you!

Decompress with upx the CoreServices (Finder and pbs) :)
You can install upx using MacPorts

Imkantus
01-29-2011, 03:12 AM
Decompress with upx the CoreServices (Finder and pbs) :)In case of Finder - No.
The Finder from thr pkg is not just compressed, it' stripped down to i386, so highly recommended, to reinstall Finder using Pacifist from 10.6.6 Update!

pantherrilla
01-29-2011, 05:35 PM
Without patching lib.System.B.dylib, 32 bit apps are working, but rosetta apps don't, al least at 10.6.7, so it's necessary to patch libsystem in order to get PPC.

Asdsadasdasdasd, I have a cheap lcd monitor xddd, but I can connect my pc to my HDTV, but I'm lazy ^_^

PD: With std_dyld=Yes, PlayOnMac, Garageband '11, Firefox and all my applications are working, so this isn't a 10.6.7 issue, it's because the modded dyld xd.

I will provide more feedback :D

------

Divx Converter panic
http://pastebin.com/bLC3xH73

i also agree, i booted with the same thing, and now my Garageband, firefox & Logic works flawlessly

pantherrilla
01-29-2011, 05:42 PM
In case of Finder - No.
The Finder from thr pkg is not just compressed, it' stripped down to i386, so highly recommended, to reinstall Finder using Pacifist from 10.6.6 Update!

If you try this @ your boot screen (enter this only: std_dyld=Yes) you may not have had to go thru all that, i'm on a AMD 64, 10.6.6 OS all apps working just fine, now all u have to do is enter that into your com.apple.Boot.plist, u should be good.

davisin666
01-30-2011, 01:32 AM
http://pastebin.com/3tCarDtZ

iPhoto '11 crashes when I import, even on std_dyld=Yes

andyvand
02-02-2011, 02:58 AM
Changed SSE3 emulator code.
It now supports 2 SSE3 emulators (Toh one and Voodoo one).
By default the Toh one is used (Voodoo one can be toggled using the following boot argument: -VoodooSSE3emu).
It should now also work for 64bit apps (not 64bit kernel though) as I've modified the code so that it also registers it in the 64bit commpage.
Please, people with SSE2 only machines test this for me and report back... ;)

chitchit
02-02-2011, 04:04 AM
Testing....

fumoboy007
02-02-2011, 04:14 AM
Changed SSE3 emulator code.
It now supports 2 SSE3 emulators (Toh one and Voodoo one).
By default the Toh one is used (Voodoo one can be toggled using the following boot argument: -VoodooSSE3emu).
It should now also work for 64bit apps (not 64bit kernel though) as I've modified the code so that it also registers it in the 64bit commpage.
Please, people with SSE2 only machines test this for me and report back... ;)

Is there a significant difference in speed between the emulators?

chitchit
02-02-2011, 04:18 AM
1. voodoo doesnt work, the other does apparently
2. voodoo

andyvand
02-02-2011, 04:21 AM
Is there a significant difference in speed between the emulators?
Voodoo one is a little faster but it causes more glitches under Snow Leopard.
Toh one should run stable though...

chitchit
02-02-2011, 12:43 PM
Ok andy, you know my results, but so they are in public for everyone else. I get a Kernel Panic right before where I should get Waiting for DSMOS.

My kernel panic says invalid kernel ip, won't attempt to handle trap.

chitchit
02-02-2011, 02:14 PM
Has anyone else tested this yet?

whitewolf80
02-02-2011, 02:40 PM
I havnt any kernel specific related issues since version 3. I do not have a sse2 only machine.Most programs run without std_dyld=Yes although I can only run 3d accelerated games that use a wine like engine with that boot string included. Hope that helps. I have a geforce 310 - m4a785-m - amd athlon II regor 240 - kingston hyperx ddr2 800mhz

chitchit
02-02-2011, 02:47 PM
The only thing that this should change is the sse3emu, so if your cpu has sse3emu, I doubt you will notice a difference. I believe that if you have a cpu that has sse3, you shouldn't change to this, as it won't change anything.

People with Snow Leopard on sse2 only cpu's: please update to 10.6.6 and try this out. Let us know what happens.

arkstone
02-02-2011, 02:48 PM
My specs: AMD Athlon-II-255, 4Gb Ram, GT-240, Asus M4A77TD (AMD770|SB710).

I've installed latest kernel, arch=i386 and -force64 are in my Boot.plist. So far everything works fine, sound with VoodooHda 2.7.2. iTunes, Quicktime, Safari, Firefox - all warks without any problems.

Only thing that won't work is both World Of Warcraft 3.1.0 and Wow-4.0.0 installers, latest crashes with:

Process: Installer [389]
Path: /var/folders/sO/sOVeZ3kJHg4ZbmP3ykZtgE+++TI/Cleanup At Startup/Blizzard/installer_70A4B1B6/Installer.app/Contents/MacOS/Installer
Identifier: com.blizzard.Installer
Version: 4.2.0.4667 (4.2.0.4667)
Code Type: X86 (Native)
Parent Process: launchd [98]

Date/Time: 2011-02-02 13:43:48.406 +0000
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6

Interval Since Last Report: 10390 sec
Crashes Since Last Report: 74
Per-App Interval Since Last Report: 825 sec
Per-App Crashes Since Last Report: 20
Anonymous UUID: 65569994-3859-4F9E-9E4B-5E296CDDE137

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ??? 0000000000 0 + 0
1 ...dio.SoundManager.Components 0x1b44afc0 SMACDPAGsdecDispatch + 4512
2 ...dio.SoundManager.Components 0x1b44b2b5 SMACDPAGsdecDispatch + 5269
3 ...dio.SoundManager.Components 0x1b414653 HALHardwareDispatch + 12579
4 ...dio.SoundManager.Components 0x1b414376 HALHardwareDispatch + 11846
5 ...dio.SoundManager.Components 0x1b4142a5 HALHardwareDispatch + 11637
6 ...dio.SoundManager.Components 0x1b411714 HALHardwareDispatch + 484
7 ...ple.CoreServices.CarbonCore 0x041917c9 CallComponentDispatch + 29
8 ...ple.CoreServices.CarbonCore 0x0421fe0a CallComponentRegister + 37
9 com.apple.audio.SoundManager 0x05a74cd0 InitHALComponents + 107
10 com.apple.audio.SoundManager 0x05a73966 SndNewChannel + 36
11 com.blizzard.Installer 0x00286640 0x1000 + 2643520
12 com.blizzard.Installer 0x0028a4e5 0x1000 + 2659557
13 com.blizzard.Installer 0x00247786 0x1000 + 2385798
14 com.blizzard.Installer 0x0024deba 0x1000 + 2412218
15 com.blizzard.Installer 0x00242c60 0x1000 + 2366560
16 com.apple.Foundation 0x004cfa3d __NSFireTimer + 282
17 com.apple.CoreFoundation 0x00dacadb __CFRunLoopRun + 8059
18 com.apple.CoreFoundation 0x00daa464 CFRunLoopRunSpecific + 452
19 com.apple.CoreFoundation 0x00daa291 CFRunLoopRunInMode + 97
20 com.apple.HIToolbox 0x021eb004 RunCurrentEventLoopInMode + 392
21 com.apple.HIToolbox 0x021eadbb ReceiveNextEventCommon + 354
22 com.apple.HIToolbox 0x021eac40 BlockUntilNextEventMatchingListInMode + 81
23 com.apple.AppKit 0x0102978d _DPSNextEvent + 847
24 com.apple.AppKit 0x01028fce -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
25 com.apple.AppKit 0x00feb247 -[NSApplication run] + 821
26 com.apple.AppKit 0x00fe32d9 NSApplicationMain + 574
27 com.blizzard.Installer 0x00002162 0x1000 + 4450
28 com.blizzard.Installer 0x00002089 0x1000 + 4233

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00a7e3db _sysenter_trap + 3
1 libSystem.B.dylib 0x00aa4559 _dispatch_queue_invoke + 163
2 libSystem.B.dylib 0x00aa42fe _dispatch_worker_thread2 + 240
3 libSystem.B.dylib 0x00aa3d81 _pthread_wqthread + 390
4 libSystem.B.dylib 0x00aa3bc6 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x00a7e3db _sysenter_trap + 3
1 libSystem.B.dylib 0x00aa3bc6 start_wqthread + 30

Thread 3:
0 libSystem.B.dylib 0x00a7e3db _sysenter_trap + 3
1 libSystem.B.dylib 0x00b056ba usleep + 61
2 com.blizzard.Installer 0x0010b7d4 0x1000 + 1091540
3 com.blizzard.Installer 0x00140575 0x1000 + 1308021
4 com.blizzard.Installer 0x0011d1ee 0x1000 + 1163758
5 libSystem.B.dylib 0x00aab85d _pthread_start + 345
6 libSystem.B.dylib 0x00aab6e2 thread_start + 34

Thread 4:
0 libSystem.B.dylib 0x00a7e3db _sysenter_trap + 3
1 com.apple.CoreFoundation 0x00dab37f __CFRunLoopRun + 2079
2 com.apple.CoreFoundation 0x00daa464 CFRunLoopRunSpecific + 452
3 com.apple.CoreFoundation 0x00daa291 CFRunLoopRunInMode + 97
4 com.apple.Foundation 0x004da7d0 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 329
5 com.apple.Foundation 0x004a1bf0 -[NSThread main] + 45
6 com.apple.Foundation 0x004a1ba0 __NSThread__main__ + 1499
7 libSystem.B.dylib 0x00aab85d _pthread_start + 345
8 libSystem.B.dylib 0x00aab6e2 thread_start + 34

Thread 5: com.apple.CFSocket.private
0 libSystem.B.dylib 0x00a7e3db _sysenter_trap + 3
1 libSystem.B.dylib 0x00aab85d _pthread_start + 345
2 libSystem.B.dylib 0x00aab6e2 thread_start + 34

Thread 6:
0 libSystem.B.dylib 0x00a7e3db _sysenter_trap + 3
1 com.apple.CoreFoundation 0x00dab37f __CFRunLoopRun + 2079
2 com.apple.CoreFoundation 0x00daa464 CFRunLoopRunSpecific + 452
3 com.apple.CoreFoundation 0x00daa291 CFRunLoopRunInMode + 97
4 com.apple.CFNetwork 0x0451743d CFURLConnectionSendSynchronousRequest + 419
5 com.apple.Foundation 0x00610ec7 +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 142
6 com.blizzard.Installer 0x001156e2 0x1000 + 1132258
7 com.blizzard.Installer 0x0022a86c 0x1000 + 2267244
8 com.blizzard.Installer 0x002a1635 0x1000 + 2754101
9 com.apple.Foundation 0x004a1bf0 -[NSThread main] + 45
10 com.apple.Foundation 0x004a1ba0 __NSThread__main__ + 1499
11 libSystem.B.dylib 0x00aab85d _pthread_start + 345
12 libSystem.B.dylib 0x00aab6e2 thread_start + 34

Thread 7:
0 libSystem.B.dylib 0x00a7e3db _sysenter_trap + 3
1 com.blizzard.Installer 0x0012189b 0x1000 + 1181851
2 com.blizzard.Installer 0x0011d1ee 0x1000 + 1163758
3 libSystem.B.dylib 0x00aab85d _pthread_start + 345
4 libSystem.B.dylib 0x00aab6e2 thread_start + 34

Thread 8:
0 libSystem.B.dylib 0x00a7e3db _sysenter_trap + 3
1 libSystem.B.dylib 0x00b056ba usleep + 61
2 com.blizzard.Installer 0x0010b7d4 0x1000 + 1091540
3 com.blizzard.Installer 0x0011025d 0x1000 + 1110621
4 com.blizzard.Installer 0x0013ecd9 0x1000 + 1301721
5 com.blizzard.Installer 0x0011d1ee 0x1000 + 1163758
6 libSystem.B.dylib 0x00aab85d _pthread_start + 345
7 libSystem.B.dylib 0x00aab6e2 thread_start + 34

Thread 9:
0 libSystem.B.dylib 0x00a7e3db _sysenter_trap + 3
1 libSystem.B.dylib 0x00b056ba usleep + 61
2 com.blizzard.Installer 0x0010b7d4 0x1000 + 1091540
3 com.blizzard.Installer 0x0011025d 0x1000 + 1110621
4 com.blizzard.Installer 0x0013ecd9 0x1000 + 1301721
5 com.blizzard.Installer 0x0011d1ee 0x1000 + 1163758
6 libSystem.B.dylib 0x00aab85d _pthread_start + 345
7 libSystem.B.dylib 0x00aab6e2 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x05a6f000 ebx: 0x00aec134 ecx: 0x0000004e edx: 0x00000007
edi: 0xbfffe01f esi: 0x05a6f000 ebp: 0xbfffe038 esp: 0xbfffdffc
ss: 0x0000001f efl: 0x00010282 eip: 0x00000000 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000000

Binary Images:
0x1000 - 0x374fef +com.blizzard.Installer 4.2.0.4667 (4.2.0.4667) <D0DB11C3-58C7-6086-B068-3FC5A91C0117> /var/folders/sO/sOVeZ3kJHg4ZbmP3ykZtgE+++TI/Cleanup At Startup/Blizzard/installer_70A4B1B6/Installer.app/Contents/MacOS/Installer
0x408000 - 0x408ff7 com.apple.Cocoa 6.6 (???) <EA27B428-5904-B00B-397A-185588698BCC> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x40b000 - 0x40bff7 com.apple.Carbon 150 (152) <734BDB59-8B13-54FA-0653-AA8623DF9846> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x40e000 - 0x46bff7 com.apple.framework.IOKit 2.0 (???) <A769737F-E0D6-FB06-29B4-915CF4F43420> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x48b000 - 0x6fefe7 com.apple.Foundation 6.6.4 (751.42) <65F16BF4-D106-F2F5-53F3-5BFBC2FCE608> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x80d000 - 0x91cfe7 com.apple.WebKit 6533.19 (6533.19.4) <A942073C-83DF-33ED-3D01-A24DE8AEAB3D> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x9b8000 - 0xa22fe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0xa7d000 - 0xc24ff7 libSystem.B.dylib 125.2.1 (compatibility 1.0.0) <4FFBF71A-D603-3C64-2BC6-BFBFFFD562F0> /usr/lib/libSystem.B.dylib
0xca5000 - 0xca5ff7 com.apple.CoreServices 44 (44) <51CFA89A-33DB-90ED-26A8-67D461718A4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices

[Skipped some parts, can provide all if needed]

Model: iMac9,1, BootROM IM91.008D.B00, 2 processors, Intel Core 2 Duo, 3.21 GHz, 4 GB, SMC 1.30f3
Graphics: Unknown, Unknown, PCIe, 512 MB
Memory Module: global_name
Network Service: Ethernet, Ethernet, en0
PCI Card: Unknown, Display, Slot-1
Serial ATA Device: ST3250310AS, 232.89 GB
Serial ATA Device: TSSTcorp CDDVDW SH-S223C
USB Device: Top Gun Fox 2 Pro, 0x044f, 0xb102, 0x12300000
USB Device: USB Full Speed, 0x09da (A-FOUR TECH CO., LTD.), 0x8090, 0x32300000
USB Device: Composite Device, 0x04d9 (Holtek Semiconductor, Inc.), 0x1203, 0x32200000


I didn't try to UPX it though, maybe I should? Or it is not kernel, but something with VoodooHDA problem?

chitchit
02-02-2011, 02:58 PM
That cpu has sse3 right? I don't think that has much to do with this kernel.

Random: did you patch with your cpuids?

arkstone
02-02-2011, 03:04 PM
Yep, CPU has sse3. Also if load with std_dyld=Yes installer start to work normally, so what should I do with it? Patch lib.System.B.dylib?

chitchit
02-02-2011, 07:46 PM
I don't actually know, all I know is that I am pretty sure that this kernel is the same, except with an extra sse3emu which doesn't apply if you have sse3. So does it usually work with the qoopz kernel for you? If so, I would go back to that. If not, I have no clue, and someone else will be able to help you.

whitewolf80
02-02-2011, 11:57 PM
if Im spamming the thread ill shut up but in regards to the request for people with 10.6.6 i am currently running the 10.6.7 beta still works great as it did with 10.6.6.

chitchit
02-03-2011, 12:38 AM
The 10.6.6 kernel with the 10.6.7 beta?

whitewolf80
02-03-2011, 01:16 AM
yes the 10.6.6 kernel with 10.6.7 had to remove the image i saw it was too big according to the forum size specs.

wastez
02-04-2011, 07:28 AM
I will try this kernel today one more time......

Can anyone can upload the original libsystem.B.dylib?
Would be really great because i just have a patched one......

Thx

chitchit
02-04-2011, 01:37 PM
Has anyone else with a cpu with just sse2 tried this out?

opiniatre
02-05-2011, 06:04 PM
Installed the v4 on a fresh install everything works great ! wow nice work.

Same issue as before I have a Black Edition phenom II and when i change the front side bus it doesn't boot. Only minor issue but if someone has an idea ?

eluminx
02-06-2011, 08:53 PM
just installed v4 on a .6.6 upgrade and nothing is working. If i try to boot with x86_64 i get a kernel panic at boot. I can boot with i386 -force64 but none of the apps installed will worked. Opera, itunes, adium etc.. i get the usual error.

Specs: AMD PII 945, 8 gig ram, ATI 5750, GB GA-MA790XT-ud4p. Any help, would be greatly appreciated. i been trying to understand what dyld patching is but i can't seem the understand how to accomplish this, or what it does, am i that dumb? or can anyone shed some light on the issue.


Process: Opera [440]
Path: /Applications/Opera.app/Contents/MacOS/Opera
Identifier: com.operasoftware.Opera
Version: ??? (???)
Build Info: Unknown-Unknown~1190
Code Type: X86 (Native)
Parent Process: launchd [319]

Date/Time: 2011-02-06 19:48:08.510 +0000
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6

Interval Since Last Report: 8480 sec
Crashes Since Last Report: 2023
Per-App Crashes Since Last Report: 18
Anonymous UUID:

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

Thread 0 Crashed:
0 dyld 0x8fe28563 _sysenter_trap + 3
1 dyld 0x8fe2a35a 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: 0x8fe2a21c ecx: 0xbffffaac edx: 0x8fe2aa62
edi: 0x00000000 esi: 0x00000000 ebp: 0xbffffaf8 esp: 0xbffffaac
ss: 0x0000001f efl: 0x00010282 eip: 0x8fe28563 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000000
cr2: 0x8fe28560

Binary Images:
0x8fe00000 - 0x8fe3a00b dyld 0.0 (???) <99EE96F3-1F18-5AA1-6381-1E3A79839317> /usr/lib/dyld

Model: MacPro3,1, BootROM MP31.006C.B05, 4 processors, 3.01 GHz, 8 GB, SMC 1.30f3
Graphics: ATI Radeon HD 5700 Series, ATI Radeon HD 5700 Series, PCIe, 1024 MB
Memory Module: global_name
Network Service: Ethernet Adaptor (en1), Ethernet, en1
PCI Card: ATI Radeon HD 5700 Series, Display, Slot-1
Serial ATA Device: WDC WD6401AALS-00L3B2, 596.17 GB
Serial ATA Device: ST3250824AS, 232.89 GB
Serial ATA Device: TSSTcorp CDDVDW SH-S223Q
Serial ATA Device: ST3640323AS, 596.17 GB
USB Device: Photosmart D5100 series, 0x03f0 (Hewlett Packard), 0xc402, 0x52400000
USB Device: Cypress AT2+LP, 0x04b4 (Cypress Semiconductor), 0x6830, 0x52300000
USB Device: USB2.0-CRW, 0x0bda (Realtek Semiconductor Corp.), 0x0151, 0x53200000
USB Device: USB Receiver, 0x046d (Logitech Inc.), 0xc521, 0x12100000
USB Device: Microsoft® Nano Transceiver v1.0, 0x045e (Microsoft Corporation), 0x0745, 0x33200000

wastez
02-09-2011, 09:38 AM
I tried this kernel ones more but nothing changed, the most software did not work with it......
Do i´ve to insert the std_dyld=yes into the boot.plist or is it anough to write it as kernel flag during the boot up?

Greetz

chitchit
02-09-2011, 02:54 PM
Someone with a sse2 only cpu, please try this! I want to make sure that someone else gets my error!

And Wastez, as long as you enter it correctly, entering it in the com.boot.apple.plist is the same as adding it while booting, just that when you boot, you have to type it every time.

wastez
02-09-2011, 04:31 PM
@ bkribbs

It´s not exactly the same because when i enter it by the bootup it insert it in kernel flags.
The other way is to enter it as several point in boot.plist.

wastez
02-17-2011, 09:45 AM
@ andy

What´s going on with the kernel?
Will there come a new version and what about the dyld is it still in beta?

wastez
02-17-2011, 01:49 PM
Can anyone tell me why my AMD- System get slower with x86_64 then i386 -force64?

Would be really interessting why......

chitchit
02-17-2011, 02:15 PM
Can anyone tell me why my AMD- System get slower with x86_64 then i386 -force64?

Would be really interessting why......

He's still working on it. And the first one is running it in 64-bit mode, while the second is 32 bit, while forcing some applications to use 64 bi mode.

wastez
02-17-2011, 03:01 PM
He's still working on it. And the first one is running it in 64-bit mode, while the second is 32 bit, while forcing some applications to use 64 bi mode.

Which one is 64 Bit?

And thx for the info....

chitchit
02-18-2011, 01:37 AM
Now I could be wrong with all that. But I believe that x86_64 is 64 bit

andyvand
02-19-2011, 05:44 PM
@ andy

What´s going on with the kernel?
Will there come a new version and what about the dyld is it still in beta?
Yes it is still beta (but improved so far).
The unwind code is what makes some apps not work without using UPX to pack it.
I'm trying to adapt the code to make it work better...
I'll continue my research...

davisin666
02-20-2011, 03:12 AM
Thanks Andy for your work!

rals2007
02-21-2011, 02:52 AM
andyvand

Can you please provide the necessary files/instructions on how to compile/use the script. Reading from the posts, still having the error which resulted to a non compiled kernel.

Thank you :)

corrado891
02-24-2011, 10:40 PM
Hi Everyone,

I asked for a quick fix in the #snowleopard irc for safari crashing when playing h264 video running 10.6.6 in 64 bit with an AMD chipset and the legacy kernel. Nawcom responded saying the only way around it for now is to run safari in 32 bit mode.

Simply open you applications folder, right-click on safari and click "get info." Click the "Open in 32-bit mode" and your off!

Nawcom said the problem has something to do with sse2 emulation with AMDs regarding h264 libs. That probably looks ridiculous to anyone in here that knows what it means, but I unfortunately don't. I thought I'd post this work around in case someone else was having trouble with this issue. If I can't contribute with code, I might as well contribute as a messenger (if even a terrible one at that)! :D

davisin666
02-25-2011, 05:28 PM
Hi Everyone,

I asked for a quick fix in the #snowleopard irc for safari crashing when playing h264 video running 10.6.6 in 64 bit with an AMD chipset and the legacy kernel. Nawcom responded saying the only way around it for now is to run safari in 32 bit mode.

Simply open you applications folder, right-click on safari and click "get info." Click the "Open in 32-bit mode" and your off!

Nawcom said the problem has something to do with sse2 emulation with AMDs regarding h264 libs. That probably looks ridiculous to anyone in here that knows what it means, but I unfortunately don't. I thought I'd post this work around in case someone else was having trouble with this issue. If I can't contribute with code, I might as well contribute as a messenger (if even a terrible one at that)! :D

Its SSSE3 extensions, no SSE2 XD, which aren't present in actual AMD cpus, but they will be on future AMD cpus (Bulldozer and Bobcat cores)

SSSE3 its used only in 64 bits, so that explains the fix of running programs in 32 bit mode.

To bring SSSE3 to actual processors is only by an "emulator", like SSE3 emulation on SSE2 cpus, but SSSE3 emu isn't yet created XD.


Info
http://softpixel.com/~cwright/programming/simd/ssse3.php (http://softpixel.com/%7Ecwright/programming/simd/ssse3.php)
http://en.wikipedia.org/wiki/SSSE3

-------

A Question....

It's a good idea to install 10.7 Lion??? I'm downloading it xdd

Imkantus
02-26-2011, 03:29 AM
It's a good idea to install 10.7 Lion??? I'm downloading it xdd

It is not possible yet. Not even on Intel machines, as it's neither supported by Chameleon to boot the base system that's placed in a dmg nor the new Kernel.

Once there will be support in Chameleon, I think we will also see first binary patched Kernel like those modbin has made for Snow Leopard 10A222 and later builds. But this may take weeks...

Apart from that, 11A390 is very stable and full usable on any supported Mac. :)

mindlessmissy
02-26-2011, 06:33 AM
A Question....

It's a good idea to install 10.7 Lion??? I'm downloading it xdd


I actually tried to install it on an AMD machine by installing each pkg separately from a Snow installation but I got a kp on boot since there is no kernel right now to handle it ...

I don't know about chameleon though ...

davisin666
02-26-2011, 05:10 PM
It is not possible yet. Not even on Intel machines, as it's neither supported by Chameleon to boot the base system that's placed in a dmg nor the new Kernel.

Once there will be support in Chameleon, I think we will also see first binary patched Kernel like those modbin has made for Snow Leopard 10A222 and later builds. But this may take weeks...

Apart from that, 11A390 is very stable and full usable on any supported Mac. :)

I dumped basesystem.dmg to the Lion partition, it boots but kp, acpi related = Kernel.

friken
02-28-2011, 08:27 PM
System: AMD770/SB710 + Phenom II X550 (4core)
Working: 10.6.3 w/ qoopz kern
Not Working: 10.6.6 w/ legacy kern

I was successfully installed and running well on 10.6.3 with my setup. I then installed the 10.6.6 combo update. Then installed this legacy kernel from the pkg file (also tried manually replacing mach_kernel).

Result: can't boot anymore. It does not Panic, but never finishes booting. I'm not seeing any line in verbose that stands out as an issue.

Attached is a pic of the where system is hung... I let it sit there for an hour so don't think it's going past that :)

Any Ideas?

chitchit
02-28-2011, 09:05 PM
As long as you have dsmos v2, that is probably gfx related.

friken
02-28-2011, 09:18 PM
As long as you have dsmos v2, that is probably gfx related.

Trying to google some info on dsmos v2. Not getting much. How do I tell what version I have? My install:

iATKOS s3 v2 10.6.3: (all unchecked except following:)
chameleon RC4
fakesmc
/extras
kernel 10.3 qoopz

Booted great to that... then did combo update to 10.6.6 and installed legacy 10.6 prior to reboot from pkg file. After reboot I hang like the image I posted.

Thanks for any additional info you can give.

friken
02-28-2011, 09:45 PM
ok your mention of graphics mad me try a older pcie nvidia card and boom it booted.

Soo... my ATI 5850 that I want to use... how can I use it? It did boot with 10.6.3 but I didn't try and get a driver working for it. I think apple added support for this card natively in 10.6.5 or 10.6.6... is that correct? If so what kext/hack do I need to get it working?

Thx

chitchit
02-28-2011, 11:34 PM
I actually meant smc v2 not dsmos. but nevermind.

and did you make any modifacations to your system to make it work in 10.6.3?

RobertX
03-03-2011, 12:01 AM
hi...came over from insanelymac...trying out the kernel now on a P4 Northwood sse2 using boot arg -VoodooSSE3emu to avoid double kernel panic at boot System 10.6.6 ...i have issues with dmg files....installers...date and time... but l think all fixable... :D

chitchit
03-03-2011, 12:18 AM
Haha hey! I like this forum because I can actually post.... and those problems are all because the sse3emulation is broken. When you don't boot with -VoodooSSE3emu, what does your kernel panic say?

the kernel needs patched for this to work, and luckily, andy is helping us with that!

RobertX
03-03-2011, 06:58 AM
hmmm..".bad kernel ip won't attempt to handle trap... " where in the logs can i find this ?

chitchit
03-03-2011, 02:00 PM
I don't know that you can. That's the same error I get, I just wanted to make sure you had the same one.

RobertX
03-03-2011, 02:13 PM
ok...i'll stay tuned to this channel

chitchit
03-03-2011, 08:51 PM
Alright sounds good.

fumoboy007
03-04-2011, 12:46 AM
I have the same error on an old Pentium 4.

chitchit
03-04-2011, 01:12 AM
Yes yes yes yes yes! I'm glad more people are here to help! Don't leave! Testers are good!

I gave andy the screenshot of the kp and it should be being patched hopefully. I wish I knew how to do it so I can help, but testing is the best I can do.

RobertX
03-04-2011, 06:35 AM
...also get a kp trying to add widgets in dashboard....machine check?
....and yet i stick an old copy of call of duty2 for mac on and it plays just fine fullscreen...go figure.. electricsheep screensaver runs fine too

wastez
03-04-2011, 08:50 AM
ok your mention of graphics mad me try a older pcie nvidia card and boom it booted.

Soo... my ATI 5850 that I want to use... how can I use it? It did boot with 10.6.3 but I didn't try and get a driver working for it. I think apple added support for this card natively in 10.6.5 or 10.6.6... is that correct? If so what kext/hack do I need to get it working?

Thx

What did you already do?
Is qe/ci already working?
My graphicscard also does not work when i installed the kexts which are needed togheter.
Maybe you have to delete the kexts and add first the atisupport, ati5000controller and atiframebuffer kexts.
If you installed those kexts i would inject the right framebuffer with an bootloader like AnVAL or Kabyls bootloader.
After you´ve done this install the other 3 ATIRadeonX3000.kexts to enable qe/ci......

RobertX
03-05-2011, 04:26 AM
also noticing this in activity monitor...normal?

RobertX
03-05-2011, 04:39 AM
maybe this is more easily viewed...damn...Grab is crashing too...sorry.... 100% cpu usage is what i'm referring to...

Lykich
03-07-2011, 10:05 AM
the lion will be patched kernel?

RobertX
03-07-2011, 02:09 PM
...hoping...soon;)

wastez
03-08-2011, 09:02 AM
...hoping...soon;)

That will take time i think.
At least till the release........

RobertX
03-09-2011, 09:31 PM
damn......

chitchit
03-09-2011, 09:36 PM
It's not easy.

RobertX
03-11-2011, 12:28 AM
bump........

chitchit
03-11-2011, 12:31 AM
What are you bumping for? Work is being done. Chill.

RobertX
03-11-2011, 09:31 PM
please excuse my outburst...kp blues

andyvand
03-13-2011, 12:10 PM
I changed the kernel back to V3 and made an installer too for it.
The ToH emulator (SSE3) won't work on SL in any case so I'll look into fixing the Voodoo one.
I also added a UPX that can pack stuff like firefox (size check and assertion removed from upx packer.cpp).
Don't pack Apple encrypted binaries though (they'll crash on launch if they are not decrypted).
The installer also has a custom install option to install a patched Finder (only do this on legacy 32-bit only systems, for 64-bit use the stock Finder and make sure you boot with -force64) which works with the custom dyld.
I may also integrate the upx packer methods into the kernel (so it patches on AMD the binaries) but it'll need some work.
Well, at least we have a solution for Firefox and so ;)
Work continues...
BTW: The kernel installs into / as legacy_kernel...

Imkantus
03-13-2011, 03:07 PM
Hey Andy,

Good to hear that your work on the Kernel continues. :)

Any idea about a solution for custom dyld to work with >4GB RAM, yet?

And a little off-topic-question:
Any thought on binpatching xnu-1699.21.15 / 11A390 Kernel? Lion on MacBook rulez & I would love running Lion nativley on my Desktop system. ;)
I already tried to hex compare 10A432 Kernel patched my modbin with i386 slimed Vanilla Kernel of the same build & then tried to alter the i386 Lion Kernel in the same way but no success, yet. :( Probably due to a lack of understanding most of the changed bit's...

chitchit
03-13-2011, 03:57 PM
I changed the kernel back to V3 and made an installer too for it.
The ToH emulator (SSE3) won't work on SL in any case so I'll look into fixing the Voodoo one.
I also added a UPX that can pack stuff like firefox (size check and assertion removed from upx packer.cpp).
Don't pack Apple encrypted binaries though (they'll crash on launch if they are not decrypted).
The installer also has a custom install option to install a patched Finder (only do this on legacy 32-bit only systems, for 64-bit use the stock Finder and make sure you boot with -force64) which works with the custom dyld.
I may also integrate the upx packer methods into the kernel (so it patches on AMD the binaries) but it'll need some work.
Well, at least we have a solution for Firefox and so ;)
Work continues...
BTW: The kernel installs into / as legacy_kernel...

What all of that should I use on a 32 bit legacy system? Just the new finder? Or do I use the upx that packs stuff to?

RobertX
03-13-2011, 04:15 PM
trying it now...will post back after install...thx andy

andyvand
03-13-2011, 05:32 PM
What all of that should I use on a 32 bit legacy system? Just the new finder? Or do I use the upx that packs stuff to?
On a 32-bit only AMD system you should use a custom install with the installer and check the option for the patched CoreServices.
Also use the UPX for doing stuff but download the one I'm posting right now...
It has also LZMA support (for --ultra-brute) and has stuff built this way that it will work like a regular standard UPX.
If you encounter files you can't pack you can use the following command to pack it anyway:
upx --force <binary>
The new one can also pack Skype (which the previous one can't do...)

andyvand
03-13-2011, 05:34 PM
Hey Andy,

Good to hear that your work on the Kernel continues. :)

Any idea about a solution for custom dyld to work with >4GB RAM, yet?

And a little off-topic-question:
Any thought on binpatching xnu-1699.21.15 / 11A390 Kernel? Lion on MacBook rulez & I would love running Lion nativley on my Desktop system. ;)
I already tried to hex compare 10A432 Kernel patched my modbin with i386 slimed Vanilla Kernel of the same build & then tried to alter the i386 Lion Kernel in the same way but no success, yet. :( Probably due to a lack of understanding most of the changed bit's...
I'm afraid I can't do much on that area untill the kernel sources come out (final release).
Then it will also be probably a big rewrite but I'll do it then... patience untill summer thus ;)

chitchit
03-13-2011, 05:46 PM
On a 32-bit only AMD system you should use a custom install with the installer and check the option for the patched CoreServices.
Also use the UPX for doing stuff but download the one I'm posting right now...
It has also LZMA support (for --ultra-brute) and has stuff built this way that it will work like a regular standard UPX.
If you encounter files you can't pack you can use the following command to pack it anyway:
upx --force <binary>
The new one can also pack Skype (which the previous one can't do...)

How about on a 32 bit intel though?

andyvand
03-13-2011, 06:10 PM
How about on a 32 bit intel though?
A 32-bit Intel doesn't require the patched CoreServices (it doesn't need patching on Intel ;))

chitchit
03-13-2011, 06:31 PM
A 32-bit Intel doesn't require the patched CoreServices (it doesn't need patching on Intel ;))

I wasn't sure if all that was amd or if the 32 bit finder was all 32 bit cpu's but alright. thanks.

wastez
03-14-2011, 09:53 AM
Does anybody run it with arch=x86_64?

I tried it but i can´t get the 32 bit software working.

RobertX
03-14-2011, 05:38 PM
32bit only Intel P4 here..it works? no kp... my date and time is displaying
tuesday, march 14 -11:-17 AM(real date: mon march 14 12:44 PM)...help!!
date and time prefpane won't open for me at all...

akimoa
03-14-2011, 06:59 PM
i had date and time issues took me long to find it and at the end it was because the file etc/localtime was corupted somehow i replaced it from another install and it worked for me
i uploaded you myn incase u wanna try http://cl.ly/1Q27092b1G1m0J3s3m37
u never know :)

RobertX
03-14-2011, 07:41 PM
on my macinhack the file localtime is an alias pointing to the city closest to me ...i replaced the original (in this case toronto) from my 10.5.8 install...but still no go...
thx anyway(date and time prefpane still won't load)

chitchit
03-14-2011, 11:16 PM
That is because the sse3emu is not working. That is what Andy is working to patch. Right now it will technically boot, but its basically impossible to do anything. I have color distortion, safari freezing, alot of random freezing, always slow... so on.

RobertX
03-15-2011, 12:42 AM
as far as just working...snow leo mostly behaves....disabled spotlight temp....was a cpu hog...and had to quit quicklookhelper manually ...that got my cpu usage back to normal...until the next kernel fix anyway...damn installers are annoying tho...been using pacifist some for generic installs that fail...but systemupdate downloads and installs stuff fine...every day it gets a little bit better...i have an apple keyboard... if i use the volume keys osx will either log me off or ...reboot...lol

chitchit
03-15-2011, 01:01 AM
Yeah... I'll stick with 10.5.8 until SL is pretty close to perfect. Glitchy OS's are a problem for me.

Imkantus
03-15-2011, 01:23 AM
Time for CPU / hardware upgrade?! ;-D

chitchit
03-15-2011, 01:25 AM
I wish. But my cpu can't be upgraded, and as I am in high school, I can't very well afford a whole new laptop.

RobertX
03-15-2011, 08:07 PM
this is my system... (Pentium4 Northwood)

wastez
03-18-2011, 12:23 PM
On my system this kernel can only run with a patched dyld.
With the kernel integrated almost no software works.

andyvand
03-19-2011, 06:37 PM
Here is the source diff for UPX 3.07 for forcing packing of applications.

Download (or below):
http://rapidshare.com/files/453350010/upx-3.07-darwin-forced.diff.zip

RaphaTevfik
03-22-2011, 06:44 AM
I really don't know if i did something wrong or somethings right!
All I know is that now I can use programs without crash!
I installed the UPX after updating the Kernel and everything is fine.
Thank You so much for that!!!!

Snerler
03-23-2011, 01:26 AM
I am having an issue that I think is related to the kernel. Pretty much whenever I'm on youtube in Chrome or Safari, the video stutters so bad that its unwatchable. Everything else runs well enough.

I'm Using an AMD X2 4200+ cpu.


Also, what is the purpose of "packing." What are UPX and dyld? Where can I find an explanation for some one the comments in this thread

fumoboy007
03-23-2011, 07:16 AM
I am having an issue that I think is related to the kernel. Pretty much whenever I'm on youtube in Chrome or Safari, the video stutters so bad that its unwatchable. Everything else runs well enough.

I'm Using an AMD X2 4200+ cpu.

Try this: AMD Dual-Core Optimizer for Snow Leopard (http://osx86.co/f36/amd-dual-core-optimizer-for-snow-leopard-t6820/)

RobertX
03-26-2011, 12:38 AM
using this kernel...updated to 10.6.7...wish i had waited...was a graphics issue...repaired!

chitchit
03-28-2011, 01:29 AM
Hey andy, any progress on fixing the voodoo sse3emu? Is it looking doable?

mindlessmissy
03-29-2011, 03:42 AM
INFO: 10.7.0 kernel by Nawcom out on his blog ...

RobertX
03-29-2011, 06:57 AM
tryin it out...will post results;)

RobertX
03-29-2011, 07:31 AM
ok...got it ...needs that custom lib thingy...and had to keep 10.6 system.kext or lost sound ...audio and internet...lol... god bless backups...lol

wastez
03-29-2011, 11:03 AM
Who else had installed the new update with the new kernel?
Does anybody have problems with it?

Greetz

diskeeper
03-29-2011, 05:18 PM
Yes, I have random graphic problem in 10.6.7 with nawcom 10.7.0 kernel.
The console log:

2011.03.29. 16:19:17 kernel NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error
2011.03.29. 16:19:17 kernel 0000006e
2011.03.29. 16:19:17 kernel 00200000 00008297 00000474 00000010
2011.03.29. 16:19:17 kernel 0000047e 00001458 000d2801 0000000a
2011.03.29. 16:19:17 kernel 00000000 00000000 00000002
2011.03.29. 16:19:17 kernel 00000010 00000000


The screen flashing, and the GUI not responding.

mindlessmissy
03-29-2011, 05:18 PM
No problems here ...

AMD 4200+
Asus A8N SLi
Nvidia 8600 GT

RobertX
03-29-2011, 08:39 PM
...waiting for andy's fabulous SSE3emu fix...sticking to the 10.6 kernel for now..

chitchit
03-29-2011, 08:45 PM
WAIT. Do you have a 10.6 kernel working with sse3emu?

RobertX
03-30-2011, 12:12 AM
@bkribbs...u know how mine's workin'...date&time...installer issues...graphics working...but touchy...

chitchit
03-30-2011, 01:34 AM
Oh. Does it freeze up?

RobertX
03-30-2011, 05:18 AM
no freezes......quicklook helper hogs the cpu if not quit manually(several times)lol...blue screen changeing resolutions...i log off and back on and screen returns(sometimes the double kp at this point) but i have updated to 10.6.7....and therein lies many of my troubles i think

kocoman
04-02-2011, 07:14 AM
There was no improvements to sse3 in SL... the problem is the SSE2 only cpu is from laptop.. so no choice

I have used the 10.4.0 kernel on the 10.6.2 system, thinking it would fix the sse3 emu problem (older p4). but still no changes, safari, xcode, mds, QuickLook helper, still use 100%

If xcode did work I could disable the spotlight stuff, forgo safari with firefox/chrome... but I need xcode

When I try to install the 10.6.3 updater. its still stuck at "Examining Additional Disks"

The Disk Utility will keep freezing (and also the Checking Available disks in the installer, or stuck at 0%-x% during install) in the SL installer because of lack of sse3. It seems the sse3 emulation is missing something/loop/hangs when a certain instruction is used.

RobertX
04-11-2011, 02:39 PM
getting double kernel panic now after login...just as the desktop and finder load...10.6 or 10.7 kernel panic...machine check....back to 10.5.8 until sse3 emu can be fixed..... oh well...i did get a message thru to andy....but he's very busy....
edit:...got it back up and running...seems to be a graphics issue...lol...whatever!

chitchit
04-11-2011, 08:26 PM
getting double kernel panic now after login...just as the desktop and finder load...10.6 or 10.7 kernel panic...machine check....back to 10.5.8 until sse3 emu can be fixed..... oh well...i did get a message thru to andy....but he's very busy....
edit:...got it back up and running...seems to be a graphics issue...lol...whatever!

How'd you get it up and running? What is the graphics problem?

RobertX
04-11-2011, 09:37 PM
hey there...i trashed nvenabler.kext and am using vga port on video card..just using chameleons graphicsenabler...

chitchit
04-11-2011, 10:04 PM
hey there...i trashed nvenabler.kext and am using vga port on video card..just using chameleons graphicsenabler...

Gotcha. So then what is the problem you are having? Pinkish? and all the other stuff to? Like negative clock, freezing, etc?

RobertX
04-12-2011, 05:18 AM
date and time negative time wrong date...display profile not picked up at login window....at desktop color corrects. no freezes but still bluescreens at startup sometimesEDIT: double kp at desktop now all the time.....only boots in safe mode...????

EEdit: downgraded chamleon to RC5 700 from 750 and it boots again...it may be time to upgrade my hack...sigh...

DBMandrake
05-03-2011, 01:14 AM
Are SSE3 emulation testers still needed ? If so, count me in :) Lack of a stable SSE3 emulator in any Snow Leopard kernel that I've tried so far seems to be the major stumbling block in trying to get a fully functional install working on an older Pentium 4 2.4GHz Northwood machine. (SSE2)

I have the catch 22 that I have an AGP GeForce 7950GT (512MB) which is not supported at all in Leopard as far as I can find out, (only 1024x768 no QE/CI) whilst in all other ways I can get a stable working 10.5.7/10.5.8 install using iATKOS v7 and the Voodoo 9.5.0 or 9.7.0 Legacy kernels.

On the other hand Snow Leopard does support the graphics card, at least partially. With 10.6.2 (Hazard Client-Server Install) along with PCIMatch entries, AGPGART.kext 2.7.1 and GraphicsEnabler=Yes in Chameleon I can get full 1680x1050 32 bit resolution support, although QE/CI is eluding me so far.

My attempts to sort out the video driver issues are being seriously hindered by general system instability which reading suggests is largely a result of SSE3 emulator bugs.

I get the negative time values, Quicklook helper consuming 100% CPU in the background, random beach balls in safari, (firefox is mostly ok) spotlight, but most annoyingly package installers often hang during "searching for additional volumes", (including kernel installer packages and software update packages) dmg images sometimes wont mount, usb removable drives mount but wont unmount, and so on.

I want to try to customize an iso image of iATKOS S3 v2 (since it's missing the ICH4 IDE driver and IOATAFamily fix my Asus P4PE-X motherboard needs to boot) but the inability to mount and unmount images and removable volumes is making that impossible. (hdiutil hangs during attach etc)

More recently I've started having problems with "Machine check" kernel panics when doing certain things, one in particular happens without fail if I open System preferences soon after booting, while if I go to the time machine icon on the menu bar and go directly to the time machine system preference and then back to the main preferences it does not crash! :-/

Occasionally the same Machine check panic occurs at random - for example near the end of trying to update to 10.6.7. My testing of different kernels and boot images is somewhat hampered by the fact that I need support for Legacy ICH4 IDE controllers (along with the IOATAFamily fix for Snow Leopard) otherwise the machine wont boot - this rules out a lot of options including iATKOS S3 V2, and most of the iBoot images.

Under Leopard the machine is 100% stable, apart from a lack of graphics acceleration.

If there is any way I can help test SSE3 emulator fixes I'm keen. From a practical point of view I've kinda given up ever getting a stable fully working install on this machine, (unless I got an older Gfx card and went back to Leopard) but I've done so much installing, testing, hacking around with different drivers and patches, and different install images over the last couple of weeks that I've learnt a ton about the insides of Mac OS and I'm pretty determined to get to the bottom of it just for the sake of it... :)

chitchit
05-04-2011, 12:24 AM
Hey DBMandrake,

I'm in the same boat. AndyVand said that he is looking through it, trying to find the problem. If he is able to fix it, he should post back here.

kocoman
09-02-2011, 04:07 PM
any updates? Everyone seem to be gone to Lion and forgot about sse2 only people

blackknight
09-03-2011, 12:58 AM
Have you looked a few posts down at Andy's 10.6.8 kernel? It has SSE3 emulation in it.

kocoman
09-03-2011, 06:42 AM
Have you looked a few posts down at Andy's 10.6.8 kernel? It has SSE3 emulation in it.

I tried it but it give me kernel panic, and does not give me a backtrace..

how to debug the problem..

http://img832.imageshack.us/img832/6962/unled2ix.th.png (http://imageshack.us/photo/my-images/832/unled2ix.png/)

Uploaded with ImageShack.us (http://imageshack.us)

akimoa
09-03-2011, 07:04 AM
without knowing your specs and what else is in your boot.plist is a bit hard to help and to guess what else this could be causing .....cant just read your mind yet dude:-d

andyvand
09-03-2011, 11:58 AM
I tried it but it give me kernel panic, and does not give me a backtrace..

how to debug the problem..

http://img832.imageshack.us/img832/6962/unled2ix.th.png (http://imageshack.us/photo/my-images/832/unled2ix.png/)

Uploaded with ImageShack.us (http://imageshack.us)

Damn... the problem is in the new SSE3 emulator...
0xFFFF0001 is 2nd instruction of the SSE3 emulator...
Guess I'll also need to modify the trap handler to fix this. :-|:-|

kocoman
09-12-2011, 03:28 AM
Damn... the problem is in the new SSE3 emulator...
0xFFFF0001 is 2nd instruction of the SSE3 emulator...
Guess I'll also need to modify the trap handler to fix this. :-|:-|

Are there plans to fix this?

andyvand
09-12-2011, 07:08 AM
Are there plans to fix this?
Yes, I'll need to study any screenshots you can give me of this.
It may help me put an override on the trap handler.

kocoman
09-13-2011, 07:36 AM
Yes, I'll need to study any screenshots you can give me of this.
It may help me put an override on the trap handler.

running "-s" is fine (no panic), so I thought it was some .kext problem

"-x", panics

Also it always fsck (take long time) every time I hard reboot the computer

Sometimes it would keep repeat many times the last 2 lines of the panic message, then reboot. But it never says the what the offending program is.

So I think this sse3emu is completely different than the XNU one?

I used to look at an Pentium Pro EMU that the Pentium did not have in Linux.. I forgot what it was now.. but it similar to the sse3emu problem

andyvand
09-13-2011, 12:15 PM
running "-s" is fine (no panic), so I thought it was some .kext problem

"-x", panics

Also it always fsck (take long time) every time I hard reboot the computer

Sometimes it would keep repeat many times the last 2 lines of the panic message, then reboot. But it never says the what the offending program is.

So I think this sse3emu is completely different than the XNU one?

I used to look at an Pentium Pro EMU that the Pentium did not have in Linux.. I forgot what it was now.. but it similar to the sse3emu problem
Try my 10.6.8 kernel.
It shouldn't have this issue... ;)

kocoman
10-03-2011, 03:07 PM
Try my 10.6.8 kernel.
It shouldn't have this issue... ;)

I did use the 10.6.8 AnV v0.4.1 you posted at the other thread here already, and the screenshot in the few last message was the result..

did you make changes to the 0.4.1 ?

kocoman
10-13-2011, 04:52 AM
Slice made a comment about the SSE3 problem at InsanelyMac

. SSE3 emulator implementation is wrong. The new emulator occupies 2 pages while you allocated only one.

CODE
+ printf("Enabling SSE3 emulator...");
+ /* Install into commpage. Actual patching of master_idt happens in start.s */
+ /* ASSERT(sse3emu_size == PAGE_SIZE); */
+ commpage_stuff2(_COMM_PAGE_SSE3EMU, &sse3emu_data, sse3emu_size, TRUE);
+ printf("done.\n");
Should be like
CODE
if (!(_cpu_capabilities & kHasSSE3)) {
printf("enabling %s emulator...", "SSE3");
// Install into commpage. Actual patching of master_idt happens elsewhere

commpage_stuff2(_COMM_PAGE_SSE2EMU, &sse3emu_ffff4000, sizeof(sse3emu_ffff4000), legacy);
commpage_stuff2(_COMM_PAGE_SSE2EMU2, &sse3emu_ffff5000, sizeof(sse3emu_ffff5000), legacy);
printf("OK!\n");
}

andyvand
10-13-2011, 02:09 PM
Slice made a comment about the SSE3 problem at InsanelyMac

. SSE3 emulator implementation is wrong. The new emulator occupies 2 pages while you allocated only one.

CODE
+ printf("Enabling SSE3 emulator...");
+ /* Install into commpage. Actual patching of master_idt happens in start.s */
+ /* ASSERT(sse3emu_size == PAGE_SIZE); */
+ commpage_stuff2(_COMM_PAGE_SSE3EMU, &sse3emu_data, sse3emu_size, TRUE);
+ printf("done.\n");
Should be like
CODE
if (!(_cpu_capabilities & kHasSSE3)) {
printf("enabling %s emulator...", "SSE3");
// Install into commpage. Actual patching of master_idt happens elsewhere

commpage_stuff2(_COMM_PAGE_SSE2EMU, &sse3emu_ffff4000, sizeof(sse3emu_ffff4000), legacy);
commpage_stuff2(_COMM_PAGE_SSE2EMU2, &sse3emu_ffff5000, sizeof(sse3emu_ffff5000), legacy);
printf("OK!\n");
}
Tried that allready.
It panics on the following instruction at 0xFFFF4001 -> lock inc %eax.
Old kernel checks which SSE3 emulator is requested...

chitchit
10-26-2011, 04:18 AM
Has any progress been made on the emulator?

I'd be interested in getting SL on my lappy!