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
2468 replies to this topic

#521
gils83

gils83

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:France
  • Interests:le soleil du var et l'informatique
)-

#522
gils83

gils83

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:France
  • Interests:le soleil du var et l'informatique

View Postspakk, on 18 November 2012 - 11:07 PM, said:

We urgently need to look for the cause of the error Launched 86 , Request for feedback please


#523
IiTz ShAnE

IiTz ShAnE

    OSx86 Enthusiast

  • Donators
  • 539 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Hackintosh, Hardware Mods, Car Mechanics
I am getting the launchd errno 86 now aswell. The install starts loading as lion does then KP's. From what I found its something to do with drivers not being mounted. I have tried the launchd file from 10.8 DP1 and my 10.7.4 installation.

EDIT:
System froze instead of kp.
Booted using,

-legacy arch=i386 -force64 -v npci=0x2000

It freezes at BSD root: disk2s2, major 14, minor 11

On Lion right after that line is launchd loading...

Is this classed as progress or another brick wall?

#524
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 1,743 posts
  • Gender:Male
Watching closely this thread, at least twice a day. I didn't abandon the boat, my friends.

Very interested to see if you guys can succeed in booting ML DP1. That would be an enormous step!

Gilles, glad to see you here at last! :)

#525
spakk

spakk

    InsanelyMac Legend

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

View PostIiTz ShAnE, on 19 November 2012 - 01:25 AM, said:

I am getting the launchd errno 86 now aswell. The install starts loading as lion does then KP's. From what I found its something to do with drivers not being mounted. I have tried the launchd file from 10.8 DP1 and my 10.7.4 installation.

EDIT:
System froze instead of kp.
Booted using,

-legacy arch=i386 -force64 -v npci=0x2000

It freezes at BSD root: disk2s2, major 14, minor 11

On Lion right after that line is launchd loading...

Is this classed as progress or another brick wall?


Please boot with boot flag:
-v busratio=20 arch=i386 -force64 maxmem=4096 npci=0x2000

#526
Deltac0

Deltac0

    InsanelyMac Sage

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

I'm a little busy at this moment, but when I'm back home (about 6½h), I'll look the launchd source and find out the error 86!

Lion 10.7.4: http://www.opensourc...launchd-392.38/
Mountain Lion 10.8.0: http://www.opensourc...launchd-442.21/

EDIT: I FOUND IT!

/usr/lib/sys/errno.h says this:

#define EBADARCH 86 /* Bad CPU type in executable */

Have fun investigating more, I gotta go now... :)

#527
IiTz ShAnE

IiTz ShAnE

    OSx86 Enthusiast

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

View Postspakk, on 19 November 2012 - 06:17 AM, said:



Please boot with boot flag:
-v busratio=20 arch=i386 -force64 maxmem=4096 npci=0x2000

Didn't help. Still pauses before launchd loads.
Will take a look at the launchd source and see if there is anything I can do.

#528
spakk

spakk

    InsanelyMac Legend

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

View PostIiTz ShAnE, on 19 November 2012 - 01:25 AM, said:

I am getting the launchd errno 86 now aswell. The install starts loading as lion does then KP's. From what I found its something to do with drivers not being mounted. I have tried the launchd file from 10.8 DP1 and my 10.7.4 installation.

EDIT:
System froze instead of kp.
Booted using,

-legacy arch=i386 -force64 -v npci=0x2000

It freezes at BSD root: disk2s2, major 14, minor 11

On Lion right after that line is launchd loading...

Is this classed as progress or another brick wall?

nice to see you, :wink2:

View PostDeltac0, on 19 November 2012 - 06:29 AM, said:

Hi!

I'm a little busy at this moment, but when I'm back home (about 6½h), I'll look the launchd source and find out the error 86!

Lion 10.7.4: http://www.opensourc...launchd-392.38/
Mountain Lion 10.8.0: http://www.opensourc...launchd-442.21/

EDIT: I FOUND IT!

/usr/lib/sys/errno.h says this:

#define EBADARCH 86 /* Bad CPU type in executable */

Have fun investigating more, I gotta go now... :)
Great work, Deltac0 :wink2:

#529
Deltac0

Deltac0

    InsanelyMac Sage

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

View Postspakk, on 19 November 2012 - 11:53 AM, said:

Great work, Deltac0 :wink2:

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.

#530
spakk

spakk

    InsanelyMac Legend

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

View PostDeltac0, on 19 November 2012 - 12:58 PM, said:

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

#531
Deltac0

Deltac0

    InsanelyMac Sage

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

View Postspakk, on 19 November 2012 - 03:41 PM, said:

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

#532
spakk

spakk

    InsanelyMac Legend

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

View PostDeltac0, on 19 November 2012 - 04:10 PM, said:

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!

#533
spakk

spakk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 806 posts
  • Gender:Male
  • Location:Germany
:hbd: Deltac0


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

has anyone an idea?

#534
spakk

spakk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 806 posts
  • Gender:Male
  • Location:Germany
a very interesting website if it should interest anyone:
http://osxbook.com/software/xbinary/

#535
gils83

gils83

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:France
  • Interests:le soleil du var et l'informatique

View Posttheconnactic, on 19 November 2012 - 01:29 AM, said:

Watching closely this thread, at least twice a day. I didn't abandon the boat, my friends.

Very interested to see if you guys can succeed in booting ML DP1. That would be an enormous step!

Gilles, glad to see you here at last! :)

Merci , je fais ce que je peux au milieu de grosse tĂȘte ! :weight_lift: :moil:



Hi,

Did someone try it you virtualize ML DP1 10.8 on AMD PC?

#536
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.

:)

#537
gils83

gils83

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:France
  • Interests:le soleil du var et l'informatique

View PostDeltac0, on 19 November 2012 - 09:01 PM, said:

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.

:)

View PostDeltac0, on 19 November 2012 - 09:01 PM, said:

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.

:)


Give more details on the exact commands to write please?

#538
spakk

spakk

    InsanelyMac Legend

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

View PostDeltac0, on 19 November 2012 - 09:01 PM, said:

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:

#539
IiTz ShAnE

IiTz ShAnE

    OSx86 Enthusiast

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

View PostDeltac0, on 19 November 2012 - 09:01 PM, said:

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.21K   13 downloads

#540
gils83

gils83

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:France
  • Interests:le soleil du var et l'informatique

View PostIiTz ShAnE, on 19 November 2012 - 10:05 PM, said:

Here you go. The whole build folder,

Attachment build.zip


thank you!

it might be necessary that I install xcode !   :wallbash: :king:


Posted Image





4 user(s) are reading this topic

2 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