Jump to content

Patched mach_kernel 10.6.0 for Atom-based netbooks


  • Please log in to reply
346 replies to this topic

#21
pierrox

pierrox

    InsanelyMac Protégé

  • Members
  • PipPip
  • 90 posts
Nice work Teateam! Curious to see how you made the patch without the kernel sources? Will you work on it when Apple releases the sources in a couple of weeks? Keep up the good work!

#22
teateam

teateam

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts
I'm use Ida Pro :rolleyes:

#23
dadaz

dadaz

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
Work great on my N270 (EeePC 1000H)

And what have you patched ?

Can you explain us, so we could do the same job for next releases ???

Do you think we can do the same with sed or somethink like that ?

Great job, thanks a lot.

#24
wintelmac

wintelmac

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
Any chance of patching for x86_64?

I make patch, test it please.
Original russian article here.
Google translated page here.



#25
jinnggoff

jinnggoff

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 133 posts
  • Gender:Male
  • Location:hackintosh
Hi Teateam...works great on my atom n270,
you save atom communities life
congrats for your reputation :rolleyes:
Many thanks.

#26
teateam

teateam

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts

Any chance of patching for x86_64?


Yes, but what for?

#27
shoarthing

shoarthing

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 823 posts
  • Location:Blighty

Yes, but what for?

. . Atom 330.

Your K32 binhack works fine; but it would be just perfect to have a K64 version for a 64-bit Atom.

#28
teateam

teateam

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts
I'll try.

Update:
I'm not test it.
mach_kernel
  000286C7: 83 31
  000286C8: E8 C0
  000286C9: 0D FF
  000286CA: 3C C0
  000286CB: 21 90
  000286CC: 0F 90
  000286CD: 87 90
  000286CE: C6 90
  000286CF: 00 90
  000286D0: 00 90
  000286D1: 00 90

http://tinyurl.com/atom64

If it work, check please About box :thumbsup_anim: If CPU = Intel Core Solo i'll fix it to Xeon :)

#29
wintelmac

wintelmac

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts

Yes, but what for?



Thanks shoarthing for replying & Teateam for producing the patch. I am at work at the moment will try this evening, some others may reply before I do.

#30
dadaz

dadaz

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
Hey Teateam.

Can you post a tuto for patching kernel ?

Thanks for sharing with us.

#31
shoarthing

shoarthing

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 823 posts
  • Location:Blighty

I'll try.

Update:
I'm not test it.

mach_kernel
  000286C7: 83 31
  000286C8: E8 C0
  000286C9: 0D FF
  000286CA: 3C C0
  000286CB: 21 90
  000286CC: 0F 90
  000286CD: 87 90
  000286CE: C6 90
  000286CF: 00 90
  000286D0: 00 90
  000286D1: 00 90

http://tinyurl.com/atom64

If it work, check please About box ;) If CPU = Intel Core Solo i'll fix it to Xeon :D

. . oddly, boots as K32 w/ no flags & with

arch=x86_64

. . any ideas?

#32
teateam

teateam

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts
@dadaz
Mmm...., if you know Assembler, download Ida Pro, decompile kernel and find error message for first, learn a cause of error and try fix it...
My English veeery bad, sorry ;)

. . oddly, boots as K32 w/ no flags & with

arch=x86_64

. . any ideas?


You boot with EFI_PC 10.5 or any other bootloader? If other, try EFI_PC 10.5

#33
shoarthing

shoarthing

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 823 posts
  • Location:Blighty

@dadaz
Mmm...., if you know Assembler, download Ida Pro (from The Pirate Bay for example), decompile kernel and find error message for first, learn a cause of error and try fix it...
My English veeery bad, sorry ;)



You boot with EFI_PC 10.5 or any other bootloader? If other, try EFI_PC 10.5

. . I'm using PC-EFI 10.5 - Atom 330 shows as: Core 2 Duo

There are no error-messages - the 'Atom64' kernel works fine but simply boots i386 [K32], not x86_64 [K64]

#34
teateam

teateam

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts
Ok, in the evening I will try on the my Atom 330 at home and post result.
P.S. I think Core Solo not 64 bit support and kernel boot in 32 bit mode...

#35
shoarthing

shoarthing

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 823 posts
  • Location:Blighty

Ok, in the evening I will try on the my Atom 330 at home and post result.
P.S. I think Core Solo not 64 bit support and kernel boot in 32 bit mode...

. . . Atom330 [with HTT turned off] boots vanilla 10.6.0 b432 kernel in 64-bit mode.

. . . & shows as : "Core 2 Duo" when using PC-EFI 10.5

#36
teateam

teateam

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts
Try this

#37
shoarthing

shoarthing

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 823 posts
  • Location:Blighty

Try this

. . thank you for trying again. New version works fine (it is running now) . . .

. . . but only in i386 mode. Tried it with HTT Enabled & Disabled & tried w/ no flags & w/

arch=x86_64


#38
PM!

PM!

    Dodo v pa dir i dor !

  • Members
  • PipPipPipPipPipPipPip
  • 943 posts
  • Gender:Male
  • Location:Brussels
+1 working here on MSI Wind U-100 Intel Atom N270 (32bit only)

I think as my link shoes, N270 is 32 bit only.

This would explain a lot of things concernin 64bit support on it :)

Keep up the good work !
PM!

#39
msimac

msimac

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

+1 working here on MSI Wind U-100 Intel Atom N270 (32bit only)

I think as my link shoes, N270 is 32 bit only.

This would explain a lot of things concernin 64bit support on it :)

Keep up the good work !
PM!




PM: Can you explain for me exactly how you got this to work? I've been tinkering with my msi wind u100 and cannot get it to work. I have a freshly installed SL 10.6 and would like to update using this mach_kernel patch. Thank you.

#40
wintelmac

wintelmac

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts

Try this


Happy to report, IT WORKED!! ;)

CPU reported as Intel Core 2 Duo (About this Mac)

Darwin Kernel Version 10.2.0: Tue Nov 3 10:35:19 PST 2009; root:xnu-1486.2.11~1/RELEASE_X86_64 x86_64

Hyperthreading work too. So now Activity Monitor shows 4 X CPU Nice!. Great work!

Now have to test if speedstep + sleep works! Let's see what others reports.


Thanks again!





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