Jump to content

fluid | fixed

Mountain Lion kernel testing on AMD (don't ask help here: use the Help Topic)

Mountain Lion AMD legacy kernel x64_86 ssse3 ssse3 emulator

  • Please log in to reply
2445 replies to this topic

#961
mac_carol

mac_carol

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 131 posts
  • Gender:Not Telling

View PostIiTz ShAnE, on 14 December 2012 - 04:56 PM, said:

Still not loading. Waiting for root device


post your hardware Ids (vendor:device) here

maybe someone could help you



View PostIiTz ShAnE, on 14 December 2012 - 04:56 PM, said:

So I don't need NullCPUPowerManagement?


nope!  but you must remove all AppleIntel* kexts

AFAIK, the NullCPUPowerManagement is used to block the AppleIntelCPUPowerManagement   (CMIIW)

you can replace the AppleIntelCPUPowerManagement  by using hnak's  VoodooPState.kext  (a modded version of VoodooPower)

http://osx86drivers.sourceforge.net/

#962
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 1,737 posts
  • Gender:Male
People, no offense meant, but i really think that kind of issues, since not related with the kernel development itself, should be dealth elsewhere. I would recommend the subforum Installation. :)

Thank you guys for your understanding.

P.S.: Or else join #legacykernel on chat.osx86.irc, where folks can advise you real time.

#963
IiTz ShAnE

IiTz ShAnE

    OSx86 Enthusiast

  • Donators
  • 539 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Hackintosh, Hardware Mods, Car Mechanics

View Posttheconnactic, on 14 December 2012 - 05:58 PM, said:

People, no offense meant, but i really think that kind of issues, since not related with the kernel development itself, should be dealth elsewhere. I would recommend the subforum Installation. :)

Thank you guys for your understanding.P.S.: Or else join #legacykernel on chat.osx86.irc, where folks can advise you real time.

Ok no problem.

Stupid question but how do I access the irc?

#964
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh

View PostIiTz ShAnE, on 14 December 2012 - 06:13 PM, said:

Ok no problem.

Stupid question but how do I access the irc?
Download mIRC or any other IRC program and come chat with us! :)

Some info about mIRC




EDIT: Xanthippus told me to include some choices for Mac users too:
Colloquy - http://colloquy.info/
Linkinus - http://www.conceited...re.com/linkinus

#965
Sinetek

Sinetek

    InsanelyMac Geek

  • Coders
  • 122 posts
  • Gender:Male
  • Location:Montreal
here's my patch set for 1699.32.7

http://www.sendspace.com/file/0dru50

salient files osfmk/x86_64/opemu.*
osfmk/x86_64/idt64.s
osfmk/x86_64/idt_table.h

#966
spakk

spakk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 803 posts
  • Gender:Male
  • Location:Germany

View PostSinetek, on 14 December 2012 - 08:57 PM, said:

here's my patch set for 1699.32.7

http://www.sendspace.com/file/0dru50

salient files osfmk/x86_64/opemu.*
osfmk/x86_64/idt64.s
osfmk/x86_64/idt_table.h

1. Test Test with Phenom II X6 with Lion 10.7.4 with last Kernel 10.7.5 with Patch. Boot flag: fips_mode=0 cpus=6 npci=0x2000 maxmem=4096 -enable_ssse3emu -s darkwake=0 pmVersion=0

stops at: PCI configuration begin



2. Test

Boot flag: fips_mode=0 cpus=6 npci=0x3000 maxmem=4096 -enable_ssse3emu -s darkwake=0 pmVersion=0

it stops at:

...................................
[RTL81xx@0xae00:getHardwareAddress()] Enter
[RTL81xx@0xae00:getHardwareAddress] returns rv=kIOReturnSuccess
[RTL81xx@0xae00:registerWithPolicyMaker()] Enter
[RTL81xx@0xae00:registerWithPolicyMaker] returns rv=0
[RTL81xx@0xae00:setPowerState(powerStateOrdinal=1)] Enter
[RTL81xx@0xae00:setPowerState] Nothing to do...
[RTL81xx@0xae00:setPowerState] returns rv=IOPMAckImplied
[RTL81xx@0xae00:configureInterface()] Enter
[RTL81xx@0xae00:configureInterface] attaching as en0 (com_lnx2mac_RealtekRTL81xx)
[en0:configureInterface] returns rv=true
[en0:start] returns rv=true

Still waiting for root device
Still waiting for root device
.......

Edited by spakk, 14 December 2012 - 09:58 PM.


#967
Sinetek

Sinetek

    InsanelyMac Geek

  • Coders
  • 122 posts
  • Gender:Male
  • Location:Montreal
Could this be useful?
http://www.puredarwi...launchd-verbose

#968
SS01

SS01

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 232 posts
  • Gender:Male
  • Location:Ottawa
Hmm.. What if we built the 10.7.5 connactic kernel with sinetek's emulator? In theory, arch=i386 combined with -force64 would work, on a non-FX CPU.

#969
spakk

spakk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 803 posts
  • Gender:Male
  • Location:Germany

View PostSS01, on 15 December 2012 - 12:40 PM, said:

Hmm.. What if we built the 10.7.5 connactic kernel with sinetek's emulator? In theory, arch=i386 combined with -force64 would work, on a non-FX CPU.

1. Test them then you will know that if the two files are compatible with your LION.

2. Test your hardware with the latest kernel and patch file of sinetek. I suspect that the reason of the error: waiting for root device, a problem with my USB IDE HDD's.
I need to install Lion 10.7.4 on USB SATA HDD, then I think that Lion will launch successfully. :wink2:

#970
SS01

SS01

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 232 posts
  • Gender:Male
  • Location:Ottawa
When I try to build vanilla lion kernel, http://pastebin.com/TFMJiC4a happens. :(

#971
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh

View PostSS01, on 15 December 2012 - 02:54 PM, said:

When I try to build vanilla lion kernel, http://pastebin.com/TFMJiC4a happens. :(

What version of XCode are you using? I managed to build vanilla Lion from SL using XCode for SL 4.2, didn't even try with 3.x.x.

#972
SS01

SS01

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 232 posts
  • Gender:Male
  • Location:Ottawa
XCode 3.2

#973
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh

View PostSS01, on 15 December 2012 - 03:50 PM, said:

XCode 3.2

Try with 4.2, download a torrent if you don't want to pay for the Apple Dev program to get access.

http://bit.ly/XqMlhj

#974
davisin666

davisin666

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
What if we add the ssse3 emu to the 10.6.8 legacy kernel? That kernel was the latest which fully worked in our AM2/AM2+/AM3 cpus.

Good work!

#975
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 138 posts
  • Gender:Male

View Postdavisin666, on 15 December 2012 - 05:05 PM, said:

What if we add the ssse3 emu to the 10.6.8 legacy kernel? That kernel was the latest which fully worked in our AM2/AM2+/AM3 cpus.

Good work!

I think a other good alternative wood be to integrate it in lion 32bit Kernel to enable 64 bit Userland like in SL.

But i think that would be the last option.

Can somebody compile the last lion kernel, also just have xcode 3?!

@ Developers
Any ideas about the 64 bit kernelmode in Lion and Mountain Lion?

#976
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 1,737 posts
  • Gender:Male
Folks. i compiled all my kernels with Xcode 3.2.6 under Snow Leopard! You must be sure 1) to download GCC for Snow Leopard GCC-10.6.pkg; 2) that all dependencies are satisfied http://shantonu.blogspot.com.br, and; 3) that all -werror flags are wiped out (do a search for it inside the XNU folder and wipe them all out!) before you start building.

But yeah! Do it! Try building yourselves! The more people become familiarized with this, the more valuable insights we'll have for what we want. It's fun. Worths the effort.

View Postwastez, on 15 December 2012 - 05:17 PM, said:

@ Developers
Any ideas about the 64 bit kernelmode in Lion and Mountain Lion?

We're having some issues with making the userland to boot: that's why all of us are stuck in "Kernel is LP64". Possible causes we're examining (among others):

1) The ssse3 emu aren't still working like it should;

2) Sysenter issues (I looked for sysenter instructions and found none, but whatever);

3) Issues with some launchd process.

P.S.: Delta, AFAIK the access to developer tools like Xcode is and will ever be free. You just have to register with your Apple ID and download the software. But i prefer Xcode 3.2.6

#977
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh

View Posttheconnactic, on 15 December 2012 - 05:40 PM, said:

Folks. i compiled all my kernels with Xcode 3.2.6 under Snow Leopard! You must be sure 1) to download GCC for Snow Leopard GCC-10.6.pkg; 2) that all dependencies are satisfied http://shantonu.blogspot.com.br, and; 3) that all -werror flags are wiped out (do a search for it inside the XNU folder and wipe them all out!) before you start building.

But yeah! Do it! Try building yourselves! The more people become familiarized with this, the more valuable insights we'll have for what we want. It's fun. Worths the effort.



We're having some issues with making the userland to boot: that's why all of us are stuck in "Kernel is LP64". Possible causes we're examining (among others):

1) The ssse3 emu aren't still working like it should;

2) Sysenter issues (I looked for sysenter instructions and found none, but whatever);

3) Issues with some launchd process.

P.S.: Delta, AFAIK the access to developer tools like Xcode is and will ever be free. You just have to register with your Apple ID and download the software. But i prefer Xcode 3.2.6

XCode 4.2 for Snow Leopard can now only be downloaded from paid subscription dev account. When Lion wasn't released, it was free for everyone or something like that.
But now, with free account @ Apple dev, you can only see 3.2.6 for SL.

#978
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 1,737 posts
  • Gender:Male
Hi, Delta! Thanks for the information! :)

But Xcode 3.2.6 (which i use) is more than enough for the job.

#979
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh

View Posttheconnactic, on 15 December 2012 - 09:21 PM, said:

Hi, Delta! Thanks for the information! :)

But Xcode 3.2.6 (which i use) is more than enough for the job.

Thanks for info, I'll download 3.2.6 next time I compile a kernel... Always thought that min. version is 4.x... :D

#980
Sinetek

Sinetek

    InsanelyMac Geek

  • Coders
  • 122 posts
  • Gender:Male
  • Location:Montreal
The sources for the Opcode emulator have been revamped and tested, and it works great for 32/64 now.
Sysenter emulation has been added, so 32b processes now start. However, there is a really strange problem on my hardware, NO 64b process starts successfully at all. This is with -force64. Why could that be??

-- Sinetek





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users

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