Jump to content

Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)

Mountain Lion AMD legacy kernel x64_86 ssse3 ssse3 emulator

  • Please log in to reply
6114 replies to this topic

#521
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português

Thanks! I'm back @ home now, time to start experimenting with some AMD patching ;)

EDIT: Don't know what is the problem with launchd... The error 86 is Bad CPU type, but the launchd runs fine when ran from SL.
The problem means that the launchd is x86_64... Don't understand, when I do "file launchd" it says that it IS universal PPC / i386 / x86_64...


I will now install Lion on my Phenom II machine (32-bit), then I will modify the XCode 4.2 for SL to run on Lion 32-bit.
Then I'll compile a new launchd with ARCHS="i386" option, it should work... But I just don't understand why it doesn't work with the universal binary.



Hello my friend,
On Windows I have in the Xnu-2050.7.9 (Mountain Lion 10.8)
after "Bad CPU type in executable" sought and found
15 files with this entry.
in the first file "nfs-vnops" on line 6931 "DUMPANDLOG, / * 86 EBADARCH Bad CPU type in executable * /"
Please look at the pictures.

>>>


Edit:

Info about various errors including "86 EBADARCH Bad CPU type in executable"

Network error codes

In the case of network errors (e.g. a connection to a proxy server fails) Proxifier outputs error code numbers. These are the standard error codes. This section contains the codes of network errors and their description.

see here:
http://www.proxifier...n/v2/errors.htm


Edit: search for: cputypes.h
result:
kern_exec
mkmakefile
thread
ast
kern_xxx

#522
Deltac0

Deltac0

    InsanelyMac Sage

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

Hello my friend,
On Windows I have in the Xnu-2050.7.9 (Mountain Lion 10.8)
after "Bad CPU type in executable" sought and found
15 files with this entry.
in the first file "nfs-vnops" on line 6931 "DUMPANDLOG, / * 86 EBADARCH Bad CPU type in executable * /"
Please look at the pictures.

>>>


Edit:

Info about various errors including "86 EBADARCH Bad CPU type in executable"

Network error codes

In the case of network errors (e.g. a connection to a proxy server fails) Proxifier outputs error code numbers. These are the standard error codes. This section contains the codes of network errors and their description.

see here:
http://www.proxifier...n/v2/errors.htm


Thanks for information! I just found a a book about some OS X things by searching the load_init_program().

And there was this explanation how the launchd is launched:
Posted Image

I underlined the main parts of it. This is exactly why the kernel panics!

Link: http://books.google....epage&q&f=false

#523
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português

Thanks for information! I just found a a book about some OS X things by searching the load_init_program().

And there was this explanation how the launchd is launched:
Posted Image

I underlined the main parts of it. This is exactly why the kernel panics!

Link: http://books.google....epage&q&f=false


Thanks for information!

#524
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português
:hbd: Deltac0


:help: and what are we doing now? :help:

has anyone an idea?

#525
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português
a very interesting website if it should interest anyone:
http://osxbook.com/software/xbinary/

#526
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh
Anyone with Lion or Mountain Lion could try to compile 32-bit launchd?

Here is some instructions:

1. Download this and extract to your desktop
2. Open terminal and navigate to the folder with "cd" command: "cd Desktop" should go to your desktop folder, then "cd launchd*" and it takes you to the launchd folder.
3. Type in terminal: sudo xcodebuild ARCHS="i386" <- WITH THE QUOTES ON "i386".
4. If it doesn't give any errors and says something like "Build succeeded", go to the build folder (usually named "BUILD"), there might be folder named "obj" (or not). Try to find the launchd there.
5. Upload the launchd somewhere, I'll try to boot with it and my custom kernel
6. ???
7. Profit. Pure profit.

:)

#527
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português

Anyone with Lion or Mountain Lion could try to compile 32-bit launchd?

Here is some instructions:

1. Download this and extract to your desktop
2. Open terminal and navigate to the folder with "cd" command: "cd Desktop" should go to your desktop folder, then "cd launchd*" and it takes you to the launchd folder.
3. Type in terminal: sudo xcodebuild ARCHS="i386" <- WITH THE QUOTES ON "i386".
4. If it doesn't give any errors and says something like "Build succeeded", go to the build folder (usually named "BUILD"), there might be folder named "obj" (or not). Try to find the launchd there.
5. Upload the launchd somewhere, I'll try to boot with it and my custom kernel
6. ???
7. Profit. Pure profit.

:)



Hi Deltac0 :thumbsup_anim:
I lie now in my bed and read all what you do. :superman:
I can today and tomorrow do not test because I have exams, unfortunately.
But I will read here in the forum and wishes to good succeed. :trumpet:

#528
Shaneee

Shaneee

    AMD Dev Tester

  • Local Moderators
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.

Anyone with Lion or Mountain Lion could try to compile 32-bit launchd?

Here is some instructions:

1. Download this and extract to your desktop
2. Open terminal and navigate to the folder with "cd" command: "cd Desktop" should go to your desktop folder, then "cd launchd*" and it takes you to the launchd folder.
3. Type in terminal: sudo xcodebuild ARCHS="i386" <- WITH THE QUOTES ON "i386".
4. If it doesn't give any errors and says something like "Build succeeded", go to the build folder (usually named "BUILD"), there might be folder named "obj" (or not). Try to find the launchd there.
5. Upload the launchd somewhere, I'll try to boot with it and my custom kernel
6. ???
7. Profit. Pure profit.

:)


Here you go. The whole build folder,

Attached File  build.zip   267.21KB   14 downloads

#529
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português

Anyone with Lion or Mountain Lion could try to compile 32-bit launchd?

Here is some instructions:

1. Download this and extract to your desktop
2. Open terminal and navigate to the folder with "cd" command: "cd Desktop" should go to your desktop folder, then "cd launchd*" and it takes you to the launchd folder.
3. Type in terminal: sudo xcodebuild ARCHS="i386" <- WITH THE QUOTES ON "i386".
4. If it doesn't give any errors and says something like "Build succeeded", go to the build folder (usually named "BUILD"), there might be folder named "obj" (or not). Try to find the launchd there.
5. Upload the launchd somewhere, I'll try to boot with it and my custom kernel
6. ???
7. Profit. Pure profit.

:)


I get error messages and gives me a messages to make xcode update

#530
Deltac0

Deltac0

    InsanelyMac Sage

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

Here you go. The whole build folder,

Attached File  build.zip   267.21KB   14 downloads


Thanks! :)
It seems that you built only the wait4path though (it is a part of the launchd), my instructions were maybe wrong :/
Could you try to open XCode and find how to build the launchd?

EDIT: Open XCode and change the top bar look like this:
NOTE: Where it says launchd in my picture, your XCode probably shows "wait4path", change it to launchd and "My Mac 32-bit" :)

Posted Image

Then Product -> Build

#531
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português
I accidentally the contents of /sw2/etc/ into /sw/, that is the reason why (launched Build) it did not work for me.
Is it possible that someone makes a picture of the folder content /sw2/etc/ (just a picture) so that I can move the files back to /sw2/etc/. Thank you for your efforts in advance

Last login: Tue Nov 20 19:42:13 on ttys002
/usr/bin/xcodebuild ; exit;
grep: /sw2/etc/fink.conf: No such file or directory
grep: /sw2/etc/fink.conf: No such file or directory
localhost:~ mein$ /usr/bin/xcodebuild ; exit;
Error: No developer directory found at /Volumes/Xcode/Xcode45-DP1.app/Contents/Developer. Run /usr/bin/xcode-select to update the developer directory path.
logout

[Prozess beendet]

Hi Deltac0,
or you now have everything you require?

#532
Deltac0

Deltac0

    InsanelyMac Sage

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

I accidentally the contents of /sw2/etc/ into /sw/, that is the reason why (launched Build) it did not work for me.
Is it possible that someone makes a picture of the folder content /sw2/etc/ (just a picture) so that I can move the files back to /sw2/etc/. Thank you for your efforts in advance

Last login: Tue Nov 20 19:42:13 on ttys002
/usr/bin/xcodebuild ; exit;
grep: /sw2/etc/fink.conf: No such file or directory
grep: /sw2/etc/fink.conf: No such file or directory
localhost:~ mein$ /usr/bin/xcodebuild ; exit;
Error: No developer directory found at /Volumes/Xcode/Xcode45-DP1.app/Contents/Developer. Run /usr/bin/xcode-select to update the developer directory path.
logout

[Prozess beendet]

Hi Deltac0,
or you now have everything you require?


Hi! I don't yet have the i386 compiled launchd. I think I will compile it myself, if anyone can't supply me it first. :)
And I don't have those folders, where are they located?

#533
Shaneee

Shaneee

    AMD Dev Tester

  • Local Moderators
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.
I just get alot of build errors when I try to build using xCode 4.2.2 on Lion 10.7.5 on intel laptop...

#534
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português
Hi IiTz ShAnE

Please send me a picture of the folder / sw / etc / so I can make the build for Deltac0

#535
Shaneee

Shaneee

    AMD Dev Tester

  • Local Moderators
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.

Hi IiTz ShAnE

Please send me a picture of the folder / sw / etc / so I can make the build for Deltac0


Where is that folder? I can't find it.

#536
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português
It is a pity that, so many read this and do not want to participate, do not understand wrong iiTZShAnE Please , I mean the other, the only sleep here

Where is that folder? I can't find it.


root directory , see here #543

or write me which files in / sw2/etc / must be.

#537
Shaneee

Shaneee

    AMD Dev Tester

  • Local Moderators
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.

It is a pity that, so many read this and do not want to participate, do not understand wrong iiTZShAnE Please , I mean the other, the only sleep here



root directory , see here #543

or write me which files in / sw2/etc / must be.


I don't have that directory anywhere on my Lion...

#538
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português
Edit:

Since, makes Deltac0 very much work and only asks us to create a ridiculous file and no one wants to help him. Except for the few here, it is very embarrassing :bag:.
But in the end only want to take advantage of it, and do not want help? :fishing1:
:blowup:
Because if it continues like this, then I can only advise Deltac0 working on a modified kernel to stop, because the majority here just wants to make fun of it. :ihw_pop:

Sorry for my bad english.

#539
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português

I don't have that directory anywhere on my Lion...


ok thank you my friend, I'll look like I'm going to fix the problem

#540
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,747 posts
  • Gender:Male
  • Location:português

hello ,

for those who want laucnd code on xcode, I have version 4.5.2 on ML10.8.2 I give my password in MP teamviewer to connect to my PC as the interface is in English, I do not understand nothing. :wallbash:

Posted Image


There is a french and a silly German, both have almost the same problems, little understanding of programming. And as a lonely man from Finland of a lot of work has taken it upon themselves to address the problems here and to possibly fix the problems. And on the other side are so many English speaking always looking over here, which may have good programming skills, and look away and do not want to help. We have a great team here, we're a good fit. :jester:

hi Gils accept the Agreement

There is a french and a silly German, both have almost the same problems, little understanding of programming. And as a lonely man from Finland of a lot of work has taken it upon themselves to address the problems here and to possibly fix the problems. And on the other side are so many English speaking always looking over here, which may have good programming skills, and look away and do not want to help. We have a great team here, we're a good fit. :jester:

hi Gils accept the Agreement


and follow these instructions #537





Also tagged with one or more of these keywords: Mountain Lion, AMD, legacy kernel, x64_86, ssse3, ssse3 emulator


3 user(s) are reading this topic

1 members, 2 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