Jump to content

Legacy kernel 10.7.0 with custom dyld


  • Please log in to reply
47 replies to this topic

#1
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
I updated the sources so that dyld builds with Xcode 4.
This fixed the issue of Finder / SystemUIServer crashing with the custom dyld.
/System/Library/CoreServices/pbs still needs to be packed with upx though.
Also some apps that use Auto::zone::zone (for some ObjC apps) still need packing with upx.
The dyld became faster and more stable with the latest patches though.
On the fly patching works fine (tested it) on any app I've tested it on.
I've also added a new patched kernel with cpu model 15 patch (Atom / new Celeron specific, separate kernel).

Download including sources:
http://rapidshare.co...d-AnV-0.4.1.zip

Download Atom / new Celeron kernel:
http://rapidshare.co...kernel_atom.zip

#2
AkimoA

AkimoA

    AMD

  • Local Moderators
  • 221 posts
  • Gender:Male
  • Location:Black Forest (GER)
:) Nice on will Test rite now !

#3
MacKonsti

MacKonsti

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 229 posts
  • Gender:Male
  • Location:Muppet Show
Hey Andy! Great to see you getting your hands busy!
So that means that I can safely update my Dell nebtook (Atom) to 10.6.7 and then replace the original kernel with your kernel? That's good news indeed!
Any reason to use your patched kernel (first link) on a working 10.6.7 hackintosh with Core i7, in terms of compatibility or KPs? I mean, were there improvements for general hackintosh-ing?
Thanks again, mate.

#4
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Hey Andy! Great to see you getting your hands busy!
So that means that I can safely update my Dell nebtook (Atom) to 10.6.7 and then replace the original kernel with your kernel? That's good news indeed!
Any reason to use your patched kernel (first link) on a working 10.6.7 hackintosh with Core i7, in terms of compatibility or KPs? I mean, were there improvements for general hackintosh-ing?
Thanks again, mate.

It should work fine on i7 too (without atom patch).
It should be fast and stable...
The atom kernel is hacked specifically for setting CPU model to 15 (0x0F).

#5
geticus

geticus

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 120 posts
  • Gender:Male
  • Location:Paris
Hi Andy

I'm wondering if you can do something for the MSI sandy bridge owners. Actually we are not able to boot with vanilla kernel 10.7.3 who normally bring support for sandy bridge CPUs. Personally I did everything and I can't understand why is not working. The system get in constant boot looping each time.

Thanks

#6
RobertX

RobertX

    InSanelyMac Maverick

  • Members
  • PipPipPipPipPipPipPip
  • 564 posts
  • Gender:Not Telling
booted ok here...date and time and stuff still funky tho :) and for now using version 10.6(from 10.6.6) system.kext
as the new one breaks dependencies for my audio and ethernet...i guess 32 bit sse3 emu not yet ready...

#7
zarac

zarac

    InsanelyMac Zaphod

  • Members
  • PipPipPipPipPip
  • 314 posts
  • Gender:Male
  • Location:Zagreb, Croatia
  • Interests:film/video editing and post-production
Asrock P67 Extreme4, i5 2400 (31x100), 2x4GB RAM

Thank you Andy, this is the first kernel I can use without maxmem=4096.
I can't use 10.7.3 kernel (instant reboot) because of a locked processor multiplier and Asrock motherboard combination (same problem as with MSI boards.)
This one boots fine both 32bit and 64bit modes, but in 64bit the system clock is too fast. Don't know why this happens only in 64bit as I boot with the same "busratio=29" switch.

Anyways, I don't need the 64bit mode. Just wanted to report my finding - hopefully it helps.

#8
RobertX

RobertX

    InSanelyMac Maverick

  • Members
  • PipPipPipPipPipPipPip
  • 564 posts
  • Gender:Not Telling
Safari stuck...Attached File  Safari_not_responding_.rtf   149.57KB   40 downloads

#9
RobertX

RobertX

    InSanelyMac Maverick

  • Members
  • PipPipPipPipPipPipPip
  • 564 posts
  • Gender:Not Telling
and another from Firefox...Attached File  Firefox_quit_unexpectedly_.rtf   190.49KB   16 downloads

#10
zarac

zarac

    InsanelyMac Zaphod

  • Members
  • PipPipPipPipPip
  • 314 posts
  • Gender:Male
  • Location:Zagreb, Croatia
  • Interests:film/video editing and post-production

megasnip*2

robertx, please consider providing your logs as file attachments.
this kind of posting makes it hard to read the topic.


EDIT: thanks mate

#11
RobertX

RobertX

    InSanelyMac Maverick

  • Members
  • PipPipPipPipPipPipPip
  • 564 posts
  • Gender:Not Telling
excuse my forgetfulness...i'll fix it up....and just sayin'...i'm back to getting double kp machine check won't attempt to handle trap as the desktop loads....worked for about 10 hrs with a few test reboots...then blam!...back to the double kp....sse3 emulation failure i assume...here on 10.5.8 now ;)

tre' bizarre....if i reinstall my bootloader...boots fine again....and now have system.kext matching kernel version...ethernet and audio working..... :(

#12
tle88

tle88

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 144 posts
  • Gender:Male
  • Location:Finland
New kernel version seems works well. Thanks for that.
Early nawcom version have some problems with Safari.

Tuure

-.-

#13
M@dMac

M@dMac

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Mérida, Venezuela

/System/Library/CoreServices/pbs still needs to be packed with upx though.
Also some apps that use Auto::zone::zone (for some ObjC apps) still need packing with upx.


hi, I packed pbs with the command upx --ultra-brute /System/Library/CoreServices/pbs

I'm on an AMD and running 64 bit userland jus fine, will report on other thread as well.

I'm going to test this kernel... just to see what's cooking...

is there a list of apps needing upx packaging? we should start building one if not... :(

thanks, big thanks bro.

#14
RobertX

RobertX

    InSanelyMac Maverick

  • Members
  • PipPipPipPipPipPipPip
  • 564 posts
  • Gender:Not Telling
Attached File  Audio.gif   174.32KB   203 downloads Attached File  System_Profile.gif   168.68KB   252 downloads ...so far

#15
Vikernes

Vikernes

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
Is there a way to have 64 bit kernel? Does it bring any advantage over '64bit userland' ?

#16
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Is there a way to have 64 bit kernel? Does it bring any advantage over '64bit userland' ?

On AMD it's guesswork.
Even if it works, it won't run 32 bit apps.

hi, I packed pbs with the command upx --ultra-brute /System/Library/CoreServices/pbs

I'm on an AMD and running 64 bit userland jus fine, will report on other thread as well.

I'm going to test this kernel... just to see what's cooking...

is there a list of apps needing upx packaging? we should start building one if not... :D

thanks, big thanks bro.

Apart from pbs any app that crasnes with the new dyld (like Xcode).
Just pack them with my upx and if it doesn't want to:
upx --force <app>

#17
Vikernes

Vikernes

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

On AMD it's guesswork.
Even if it works, it won't run 32 bit apps.


Thank you for the clarification. I have been using nawcoms 10.7.0 legacy kernel in my PhenomII and I'm quite happy with '64bit userland'.

What's the difference between your kernel with custom dyld and the one I'm using, if I may ask?

#18
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Thank you for the clarification. I have been using nawcoms 10.7.0 legacy kernel in my PhenomII and I'm quite happy with '64bit userland'.

What's the difference between your kernel with custom dyld and the one I'm using, if I may ask?

The difference is that all has been built with Xcode 4 and the custom dyld.
The custom dyld can be disabled with:
std_dyld=Yes

#19
RobertX

RobertX

    InSanelyMac Maverick

  • Members
  • PipPipPipPipPipPipPip
  • 564 posts
  • Gender:Not Telling
sse3 emu? fixed yet? :)

#20
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

sse3 emu? fixed yet? :stretcher:

Unfortunetely no, I haven't been able to pinpoint the faulting instructions yet.

Thank you for the clarification. I have been using nawcoms 10.7.0 legacy kernel in my PhenomII and I'm quite happy with '64bit userland'.

What's the difference between your kernel with custom dyld and the one I'm using, if I may ask?

The custom dyld provides auto-patching cpuids but some apps need to be packed with upx (those that crash).





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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